mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-30 17:30:59 +01:00
fe2a96e37f
Summary: This attempts some consistency in form layouts. Notably, they all now contain headers and are 16px off the sides and tops of pages. Also updated dialogs to the same look and feel. I think I got 98% of forms with this pass, but it's likely I missed some buried somewhere. TODO: will take another pass as consolidating these colors and new gradients in another diff. Test Plan: Played in my sandbox all week. Please play with it too and let me know how they feel. Reviewers: epriestley, btrahan Reviewed By: epriestley CC: Korvin, aran Differential Revision: https://secure.phabricator.com/D6806
75 lines
1.2 KiB
CSS
75 lines
1.2 KiB
CSS
/**
|
|
* @provides aphront-error-view-css
|
|
*/
|
|
|
|
.aphront-error-view,
|
|
.aphront-error-view-dialogue {
|
|
border-style: solid;
|
|
border-width: 1px;
|
|
}
|
|
|
|
form.aphront-dialog-view .aphront-error-view {
|
|
margin: 8px 0;
|
|
}
|
|
|
|
.aphront-error-view {
|
|
margin: 16px;
|
|
}
|
|
.aphront-error-view-dialogue {
|
|
margin: 0px 0px 16px 0px;
|
|
}
|
|
|
|
.device-phone .aphront-error-view {
|
|
margin: 8px;
|
|
}
|
|
|
|
.aphront-error-view-body {
|
|
padding: 12px;
|
|
}
|
|
|
|
.aphront-error-view-head {
|
|
padding: 10px 10px 0 10px;
|
|
font-weight: bold;
|
|
color: #333333;
|
|
}
|
|
|
|
.aphront-error-view-list {
|
|
margin: 0 0 0 16px;
|
|
list-style: disc;
|
|
}
|
|
|
|
.aphront-error-severity-error {
|
|
color: {$red};
|
|
border-color: {$red};
|
|
background: {$lightred};
|
|
}
|
|
|
|
.aphront-error-severity-error .aphront-error-view-head {
|
|
color: {$red};
|
|
}
|
|
|
|
.aphront-error-severity-warning {
|
|
color: #bc7837;
|
|
border-color: {$yellow};
|
|
background: {$lightyellow};
|
|
}
|
|
|
|
.aphront-error-severity-warning .aphront-error-view-head {
|
|
color: #bc7837;
|
|
}
|
|
|
|
.aphront-error-severity-notice {
|
|
color: {$blue};
|
|
border-color: {$blue};
|
|
background: {$lightblue};
|
|
}
|
|
|
|
.aphront-error-severity-notice .aphront-error-view-head {
|
|
color: {$blue};
|
|
}
|
|
|
|
.aphront-error-severity-nodata {
|
|
border-color: #ccc;
|
|
color: #6b748c;
|
|
background-color: #fff;
|
|
}
|