2015-02-02 05:14:56 +01:00
|
|
|
/**
|
|
|
|
* @provides phui-error-view-css
|
|
|
|
*/
|
|
|
|
|
|
|
|
.phui-error-view {
|
|
|
|
border-style: solid;
|
|
|
|
border-left-width: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.phui-error-view {
|
|
|
|
margin: 16px;
|
|
|
|
padding: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.device-phone .phui-error-view {
|
|
|
|
margin: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.phui-error-view .phui-form-view {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.phui-error-view-body {
|
|
|
|
line-height: 1.45em;
|
|
|
|
}
|
|
|
|
|
2015-02-23 20:03:09 +01:00
|
|
|
.phui-error-view-actions {
|
|
|
|
margin-top: -3px;
|
|
|
|
margin-bottom: -4px;
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
2015-02-02 05:14:56 +01:00
|
|
|
.phui-error-view-head + .phui-error-view-body {
|
|
|
|
padding-top: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.aphront-panel-plain .phui-error-view {
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1.phui-error-view-head {
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.phui-error-view-list {
|
|
|
|
margin: 0 0 0 16px;
|
|
|
|
list-style: disc;
|
|
|
|
line-height: 1.5em;
|
|
|
|
}
|
|
|
|
|
2015-02-23 20:03:09 +01:00
|
|
|
.phui-error-view .phui-error-view-actions .button:hover {
|
|
|
|
background: #fff;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.phui-error-severity-error,
|
|
|
|
.phui-error-severity-error .button {
|
2015-02-02 05:14:56 +01:00
|
|
|
border-color: {$red};
|
|
|
|
background: {$lightred};
|
|
|
|
}
|
|
|
|
|
2015-02-23 20:03:09 +01:00
|
|
|
.phui-error-severity-error .button {
|
|
|
|
color: {$red};
|
|
|
|
}
|
|
|
|
|
|
|
|
.phui-error-severity-warning,
|
|
|
|
.phui-error-severity-warning .button {
|
2015-02-02 05:14:56 +01:00
|
|
|
border-color: {$yellow};
|
|
|
|
background: {$lightyellow};
|
|
|
|
}
|
|
|
|
|
2015-02-23 20:03:09 +01:00
|
|
|
.phui-error-severity-warning .button {
|
|
|
|
color: #bc7837;
|
|
|
|
}
|
|
|
|
|
|
|
|
.phui-error-severity-notice,
|
|
|
|
.phui-error-severity-notice .button {
|
2015-02-02 05:14:56 +01:00
|
|
|
border-color: {$blue};
|
|
|
|
background: {$lightblue};
|
|
|
|
}
|
|
|
|
|
2015-02-23 20:03:09 +01:00
|
|
|
.phui-error-severity-notice .button {
|
|
|
|
color: {$blue};
|
|
|
|
}
|
|
|
|
|
|
|
|
.phui-error-severity-nodata,
|
|
|
|
.phui-error-severity-nodata .button {
|
2015-02-02 05:14:56 +01:00
|
|
|
border-color: {$lightgreyborder};
|
2015-02-23 20:03:09 +01:00
|
|
|
background: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.phui-error-severity-nodata .button {
|
|
|
|
color: {$greytext};
|
|
|
|
}
|
|
|
|
|
|
|
|
.phui-error-severity-success,
|
|
|
|
.phui-error-severity-success .button {
|
|
|
|
border-color: {$green};
|
|
|
|
background: {$lightgreen};
|
|
|
|
}
|
|
|
|
|
|
|
|
.phui-error-severity-success .button {
|
|
|
|
color: {$green};
|
2015-02-02 05:14:56 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.legalpad .phui-error-view {
|
|
|
|
margin: 0;
|
|
|
|
border-width: 0 0 1px 0;
|
|
|
|
border-bottom: 1px solid {$lightblueborder};
|
|
|
|
}
|
|
|
|
|
|
|
|
.aphront-dialog-body .phui-error-view {
|
|
|
|
margin: -16px -16px 16px -16px;
|
|
|
|
border-width: 0 0 1px 0;
|
|
|
|
border-bottom: 1px solid {$lightblueborder};
|
|
|
|
}
|
|
|
|
|
|
|
|
.aphront-dialog-body .phui-error-view .phui-error-view-list {
|
|
|
|
margin: 0 0 0 16px;
|
|
|
|
list-style: disc;
|
|
|
|
}
|
|
|
|
|
2015-02-03 16:02:22 +01:00
|
|
|
.phui-object-box .phui-error-severity-error,
|
|
|
|
.aphront-dialog-body .phui-error-severity-error {
|
2015-02-02 05:14:56 +01:00
|
|
|
color: {$red};
|
|
|
|
}
|
|
|
|
|
2015-02-03 16:02:22 +01:00
|
|
|
.phui-object-box .phui-error-severity-warning,
|
|
|
|
.aphront-dialog-body .phui-error-severity-warning {
|
2015-02-02 05:14:56 +01:00
|
|
|
color: #bc7837;
|
|
|
|
}
|
|
|
|
|
2015-02-03 16:02:22 +01:00
|
|
|
.phui-object-box .phui-error-severity-notice,
|
|
|
|
.aphront-dialog-body .phui-error-severity-notice {
|
2015-02-02 05:14:56 +01:00
|
|
|
color: {$blue};
|
|
|
|
}
|
|
|
|
|
2015-02-23 20:03:09 +01:00
|
|
|
.phui-object-box .phui-error-severity-success,
|
|
|
|
.aphront-dialog-body .phui-error-severity-success {
|
|
|
|
color: {$green};
|
|
|
|
}
|
|
|
|
|
2015-02-02 05:14:56 +01:00
|
|
|
.phui-crumbs-view + .phui-error-view {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.phui-crumbs-view.phui-crumbs-border + .phui-error-view {
|
|
|
|
margin-top: 16px;
|
|
|
|
}
|