2011-02-06 01:43:28 +01:00
|
|
|
/**
|
|
|
|
* @provides aphront-error-view-css
|
|
|
|
*/
|
|
|
|
|
2014-04-03 20:23:03 +02:00
|
|
|
.aphront-error-view {
|
2012-09-11 18:55:27 +02:00
|
|
|
border-style: solid;
|
|
|
|
border-width: 1px;
|
2012-04-08 02:25:31 +02:00
|
|
|
}
|
|
|
|
|
2013-01-27 02:14:58 +01:00
|
|
|
.aphront-error-view {
|
2013-08-26 20:53:11 +02:00
|
|
|
margin: 16px;
|
2013-01-27 02:14:58 +01:00
|
|
|
}
|
|
|
|
|
2013-01-23 03:37:09 +01:00
|
|
|
.device-phone .aphront-error-view {
|
2013-08-26 20:53:11 +02:00
|
|
|
margin: 8px;
|
2013-01-23 03:37:09 +01:00
|
|
|
}
|
|
|
|
|
2014-01-13 21:17:37 +01:00
|
|
|
.aphront-error-view .phui-form-view {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2012-04-08 02:25:31 +02:00
|
|
|
.aphront-error-view-body {
|
2013-08-26 20:53:11 +02:00
|
|
|
padding: 12px;
|
2012-04-08 02:25:31 +02:00
|
|
|
}
|
|
|
|
|
2013-10-30 17:20:48 +01:00
|
|
|
.aphront-panel-plain .aphront-error-view {
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1.aphront-error-view-head {
|
2014-01-09 17:51:57 +01:00
|
|
|
padding: 12px 8px 0 12px;
|
2012-04-08 02:25:31 +02:00
|
|
|
font-weight: bold;
|
2014-01-09 17:51:57 +01:00
|
|
|
font-size: 15px;
|
2013-09-02 22:57:48 +02:00
|
|
|
color: {$darkgreytext};
|
2012-04-08 02:25:31 +02:00
|
|
|
}
|
|
|
|
|
2012-09-11 18:55:27 +02:00
|
|
|
.aphront-error-view-list {
|
2013-08-26 20:53:11 +02:00
|
|
|
margin: 0 0 0 16px;
|
2012-04-08 02:25:31 +02:00
|
|
|
list-style: disc;
|
2011-02-06 01:43:28 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.aphront-error-severity-error {
|
2013-06-20 05:25:41 +02:00
|
|
|
color: {$red};
|
|
|
|
border-color: {$red};
|
|
|
|
background: {$lightred};
|
2012-04-08 02:25:31 +02:00
|
|
|
}
|
|
|
|
|
2012-09-11 18:55:27 +02:00
|
|
|
.aphront-error-severity-error .aphront-error-view-head {
|
2013-06-20 05:25:41 +02:00
|
|
|
color: {$red};
|
2011-02-06 01:43:28 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.aphront-error-severity-warning {
|
2013-01-23 03:37:09 +01:00
|
|
|
color: #bc7837;
|
2013-06-20 05:25:41 +02:00
|
|
|
border-color: {$yellow};
|
|
|
|
background: {$lightyellow};
|
2012-04-08 02:25:31 +02:00
|
|
|
}
|
|
|
|
|
2012-09-11 18:55:27 +02:00
|
|
|
.aphront-error-severity-warning .aphront-error-view-head {
|
2013-01-23 03:37:09 +01:00
|
|
|
color: #bc7837;
|
2011-02-06 01:43:28 +01:00
|
|
|
}
|
2011-02-06 07:36:21 +01:00
|
|
|
|
|
|
|
.aphront-error-severity-notice {
|
2013-06-20 05:25:41 +02:00
|
|
|
color: {$blue};
|
|
|
|
border-color: {$blue};
|
|
|
|
background: {$lightblue};
|
2012-04-08 02:25:31 +02:00
|
|
|
}
|
|
|
|
|
2012-09-11 18:55:27 +02:00
|
|
|
.aphront-error-severity-notice .aphront-error-view-head {
|
2013-06-20 05:25:41 +02:00
|
|
|
color: {$blue};
|
2011-02-06 07:36:21 +01:00
|
|
|
}
|
|
|
|
|
2012-02-28 04:21:41 +01:00
|
|
|
.aphront-error-severity-nodata {
|
2013-09-02 22:57:48 +02:00
|
|
|
border-color: {$lightgreyborder};
|
|
|
|
border-bottom: 1px solid {$greyborder};
|
|
|
|
color: {$greytext};
|
2013-08-26 20:53:11 +02:00
|
|
|
background-color: #fff;
|
[Rough Sketch] Differential ObjectItemView Smexyness
Summary:
Tried out `PhabricatorObjectItemView` for Differential. It looks smexy and smooth.
Refs T2014
- Title and Date as Maniphest
- Author in the handle icon
- Bar color reflects revision status (Needs Review, Accepted, Abandoned etc.) @chad looking for non-blue is faster than keeping watch for everything that's not "Closed" in old table form
- Some status information are in footer icons; currently only stale/old status display as well as saved drafts, maybe more in future; these come into my mind:
- No reviewer warning
- Push Blocking Priority (T2730)
- Trivial, fast review guaranteed
- Sketch / Just looking for advice/help
- Arcanist Project (T2614)
- Denote "Public Send-in" (T1476)
{F37662}
{F37663}
{F37664}
{F37665}
Some flaws:
- Date and reviewers on every entry the same?
- No respect for Differential fields (for some reason, every entry appeared the same, so broke it to parts)
- Plenty of (potential) increase in height - advise reducing paging length from 100 to 50 - or just ignore me
Suggestions for the future:
- Expand the meta information regarding revisions; e.g. the various status displays above
- Uh... T2543, T1279, T793, T731 and what else I want for Differential, because they are awesome!
- T793 should be in particular easy appearance-wise, just copy-paste from Maniphest
Test Plan: By looking at it, of course. Verified there are no errors or crashed
Reviewers: epriestley, chad, btrahan, liguobig
Reviewed By: chad
CC: aran, Korvin, edward, nh
Maniphest Tasks: T2014
Differential Revision: https://secure.phabricator.com/D5451
Conflicts:
src/__celerity_resource_map__.php
2013-07-02 21:14:33 +02:00
|
|
|
}
|
2014-04-03 20:23:03 +02:00
|
|
|
|
|
|
|
.aphront-dialog-body .aphront-error-view {
|
|
|
|
margin: -16px -16px 16px -16px;
|
|
|
|
border-width: 0 0 1px 0;
|
|
|
|
border-bottom: 1px solid {$lightblueborder};
|
|
|
|
}
|
|
|
|
|
|
|
|
.aphront-dialog-body .aphront-error-view .aphront-error-view-list {
|
|
|
|
margin: 0 0 0 16px;
|
|
|
|
list-style: disc;
|
|
|
|
}
|