Move PHUIErrorView to PHUIInfoView
Summary: Since this element isn't strictly about errors, re-label as info view instead. Test Plan: Grepped for all callsites, tested UIExamples and a few other random pages. Reviewers: btrahan, epriestley Reviewed By: epriestley Subscribers: hach-que, Korvin, epriestley Differential Revision: https://secure.phabricator.com/D11867
This commit is contained in:
@@ -66,11 +66,11 @@
|
||||
|
||||
.aphront-multi-column-fluid
|
||||
.aphront-multi-column-column-outer
|
||||
.aphront-multi-column-column .phui-error-view {
|
||||
.aphront-multi-column-column .phui-info-view {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.dashboard-panel .phui-object-item-empty .phui-error-view {
|
||||
.dashboard-panel .phui-object-item-empty .phui-info-view {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
max-width: 600px;
|
||||
}
|
||||
|
||||
.phame-post-list .phui-error-view {
|
||||
.phame-post-list .phui-info-view {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
max-width: 640px;
|
||||
}
|
||||
|
||||
.phabricator-project-feed .phui-error-view {
|
||||
.phabricator-project-feed .phui-info-view {
|
||||
margin: 12px 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -148,6 +148,6 @@
|
||||
border-bottom: 1px solid {$thinblueborder};
|
||||
}
|
||||
|
||||
.phui-document-view .phui-error-severity-nodata {
|
||||
.phui-document-view .phui-info-severity-nodata {
|
||||
background-color: {$lightgreybackground};
|
||||
}
|
||||
|
||||
@@ -1,151 +1,151 @@
|
||||
/**
|
||||
* @provides phui-error-view-css
|
||||
* @provides phui-info-view-css
|
||||
*/
|
||||
|
||||
.phui-error-view {
|
||||
.phui-info-view {
|
||||
border-style: solid;
|
||||
border-left-width: 4px;
|
||||
}
|
||||
|
||||
.phui-error-view {
|
||||
.phui-info-view {
|
||||
margin: 16px;
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
.device-phone .phui-error-view {
|
||||
.device-phone .phui-info-view {
|
||||
margin: 8px;
|
||||
}
|
||||
|
||||
.phui-error-view .phui-form-view {
|
||||
.phui-info-view .phui-form-view {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.phui-error-view-body {
|
||||
.phui-info-view-body {
|
||||
line-height: 1.45em;
|
||||
}
|
||||
|
||||
.phui-error-view-actions {
|
||||
.phui-info-view-actions {
|
||||
margin-top: -3px;
|
||||
margin-bottom: -4px;
|
||||
float: right;
|
||||
}
|
||||
|
||||
.phui-error-view-head + .phui-error-view-body {
|
||||
.phui-info-view-head + .phui-info-view-body {
|
||||
padding-top: 4px;
|
||||
}
|
||||
|
||||
.aphront-panel-plain .phui-error-view {
|
||||
.aphront-panel-plain .phui-info-view {
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
h1.phui-error-view-head {
|
||||
h1.phui-info-view-head {
|
||||
font-weight: bold;
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.phui-error-view-list {
|
||||
.phui-info-view-list {
|
||||
margin: 0 0 0 16px;
|
||||
list-style: disc;
|
||||
line-height: 1.5em;
|
||||
}
|
||||
|
||||
.phui-error-view .phui-error-view-actions .button:hover {
|
||||
.phui-info-view .phui-info-view-actions .button:hover {
|
||||
background: #fff;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.phui-error-severity-error,
|
||||
.phui-error-severity-error .button {
|
||||
.phui-info-severity-error,
|
||||
.phui-info-severity-error .button {
|
||||
border-color: {$red};
|
||||
background: {$lightred};
|
||||
}
|
||||
|
||||
.phui-error-severity-error .button {
|
||||
.phui-info-severity-error .button {
|
||||
color: {$red};
|
||||
}
|
||||
|
||||
.phui-error-severity-warning,
|
||||
.phui-error-severity-warning .button {
|
||||
.phui-info-severity-warning,
|
||||
.phui-info-severity-warning .button {
|
||||
border-color: {$yellow};
|
||||
background: {$lightyellow};
|
||||
}
|
||||
|
||||
.phui-error-severity-warning .button {
|
||||
.phui-info-severity-warning .button {
|
||||
color: #bc7837;
|
||||
}
|
||||
|
||||
.phui-error-severity-notice,
|
||||
.phui-error-severity-notice .button {
|
||||
.phui-info-severity-notice,
|
||||
.phui-info-severity-notice .button {
|
||||
border-color: {$blue};
|
||||
background: {$lightblue};
|
||||
}
|
||||
|
||||
.phui-error-severity-notice .button {
|
||||
.phui-info-severity-notice .button {
|
||||
color: {$blue};
|
||||
}
|
||||
|
||||
.phui-error-severity-nodata,
|
||||
.phui-error-severity-nodata .button {
|
||||
.phui-info-severity-nodata,
|
||||
.phui-info-severity-nodata .button {
|
||||
border-color: {$lightgreyborder};
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.phui-error-severity-nodata .button {
|
||||
.phui-info-severity-nodata .button {
|
||||
color: {$greytext};
|
||||
}
|
||||
|
||||
.phui-error-severity-success,
|
||||
.phui-error-severity-success .button {
|
||||
.phui-info-severity-success,
|
||||
.phui-info-severity-success .button {
|
||||
border-color: {$green};
|
||||
background: {$lightgreen};
|
||||
}
|
||||
|
||||
.phui-error-severity-success .button {
|
||||
.phui-info-severity-success .button {
|
||||
color: {$green};
|
||||
}
|
||||
|
||||
.legalpad .phui-error-view {
|
||||
.legalpad .phui-info-view {
|
||||
margin: 0;
|
||||
border-width: 0 0 1px 0;
|
||||
border-bottom: 1px solid {$lightblueborder};
|
||||
}
|
||||
|
||||
.aphront-dialog-body .phui-error-view {
|
||||
.aphront-dialog-body .phui-info-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 {
|
||||
.aphront-dialog-body .phui-info-view .phui-info-view-list {
|
||||
margin: 0 0 0 16px;
|
||||
list-style: disc;
|
||||
}
|
||||
|
||||
.phui-object-box .phui-error-severity-error,
|
||||
.aphront-dialog-body .phui-error-severity-error {
|
||||
.phui-object-box .phui-info-severity-error,
|
||||
.aphront-dialog-body .phui-info-severity-error {
|
||||
color: {$red};
|
||||
}
|
||||
|
||||
.phui-object-box .phui-error-severity-warning,
|
||||
.aphront-dialog-body .phui-error-severity-warning {
|
||||
.phui-object-box .phui-info-severity-warning,
|
||||
.aphront-dialog-body .phui-info-severity-warning {
|
||||
color: #bc7837;
|
||||
}
|
||||
|
||||
.phui-object-box .phui-error-severity-notice,
|
||||
.aphront-dialog-body .phui-error-severity-notice {
|
||||
.phui-object-box .phui-info-severity-notice,
|
||||
.aphront-dialog-body .phui-info-severity-notice {
|
||||
color: {$blue};
|
||||
}
|
||||
|
||||
.phui-object-box .phui-error-severity-success,
|
||||
.aphront-dialog-body .phui-error-severity-success {
|
||||
.phui-object-box .phui-info-severity-success,
|
||||
.aphront-dialog-body .phui-info-severity-success {
|
||||
color: {$green};
|
||||
}
|
||||
|
||||
.phui-crumbs-view + .phui-error-view {
|
||||
.phui-crumbs-view + .phui-info-view {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.phui-crumbs-view.phui-crumbs-border + .phui-error-view {
|
||||
.phui-crumbs-view.phui-crumbs-border + .phui-info-view {
|
||||
margin-top: 16px;
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@ div.phui-object-box.phui-object-box-flush {
|
||||
padding: 8px 0;
|
||||
}
|
||||
|
||||
.phui-object-box .phui-header-shell + .phui-error-view {
|
||||
.phui-object-box .phui-header-shell + .phui-info-view {
|
||||
margin: 0;
|
||||
border-width: 0;
|
||||
border-bottom: 1px solid {$lightblueborder};
|
||||
|
||||
@@ -24,11 +24,11 @@ ul.phui-object-item-list-view {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.phui-object-item-list-view .phui-error-view {
|
||||
.phui-object-item-list-view .phui-info-view {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.phui-object-box .phui-object-item-list-view .phui-error-view {
|
||||
.phui-object-box .phui-object-item-list-view .phui-info-view {
|
||||
margin: 4px 0;
|
||||
color: {$greytext};
|
||||
border: none;
|
||||
@@ -636,7 +636,7 @@ ul.phui-object-item-icons {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.phui-object-list-states .phui-error-view {
|
||||
.phui-object-list-states .phui-info-view {
|
||||
margin: 0;
|
||||
border: none;
|
||||
}
|
||||
@@ -675,7 +675,7 @@ ul.phui-object-item-icons {
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
|
||||
.dashboard-panel .phui-object-item-empty .phui-error-view {
|
||||
.dashboard-panel .phui-object-item-empty .phui-info-view {
|
||||
border: none;
|
||||
border-bottom: 1px solid {$thinblueborder};
|
||||
margin: 0;
|
||||
|
||||
Reference in New Issue
Block a user