1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-14 02:42:40 +01:00
phorge-phorge/webroot/rsrc/css/aphront/error-view.css
epriestley c9311a9eae Make errors in dialogs look reasonable instead of hideous
Summary: I accidentally made these exceptionally ugly recently.

Test Plan: {F137411}

Reviewers: btrahan, chad

Reviewed By: chad

Subscribers: epriestley, chad

Differential Revision: https://secure.phabricator.com/D8684
2014-04-03 11:23:03 -07:00

89 lines
1.5 KiB
CSS

/**
* @provides aphront-error-view-css
*/
.aphront-error-view {
border-style: solid;
border-width: 1px;
}
.aphront-error-view {
margin: 16px;
}
.device-phone .aphront-error-view {
margin: 8px;
}
.aphront-error-view .phui-form-view {
padding: 0;
}
.aphront-error-view-body {
padding: 12px;
}
.aphront-panel-plain .aphront-error-view {
margin-left: 0;
margin-right: 0;
}
h1.aphront-error-view-head {
padding: 12px 8px 0 12px;
font-weight: bold;
font-size: 15px;
color: {$darkgreytext};
}
.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: {$lightgreyborder};
border-bottom: 1px solid {$greyborder};
color: {$greytext};
background-color: #fff;
}
.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;
}