2015-02-01 20:14:56 -08:00
|
|
|
/**
|
2015-03-01 14:45:56 -08:00
|
|
|
* @provides phui-info-view-css
|
2015-02-01 20:14:56 -08:00
|
|
|
*/
|
|
|
|
|
2015-03-01 14:45:56 -08:00
|
|
|
.phui-info-view {
|
2015-02-01 20:14:56 -08:00
|
|
|
border-style: solid;
|
2015-05-07 21:18:57 -07:00
|
|
|
border-width: 1px;
|
2017-07-17 11:08:17 -07:00
|
|
|
background: {$page.content};
|
2015-02-01 20:14:56 -08:00
|
|
|
margin: 16px;
|
|
|
|
padding: 12px;
|
2015-05-07 21:18:57 -07:00
|
|
|
border-radius: 3px;
|
2015-02-01 20:14:56 -08:00
|
|
|
}
|
|
|
|
|
2017-05-15 15:44:50 -07:00
|
|
|
div.phui-info-view.phui-info-severity-plain {
|
|
|
|
background: {$lightgreybackground};
|
|
|
|
color: {$bluetext};
|
|
|
|
border: none;
|
|
|
|
padding: 8px 12px;
|
|
|
|
margin-bottom: 4px !important;
|
|
|
|
}
|
|
|
|
|
2016-03-17 12:01:22 -07:00
|
|
|
.phui-info-view.phui-info-view-flush {
|
|
|
|
margin: 0 0 20px 0;
|
|
|
|
}
|
|
|
|
|
2015-05-23 11:01:29 -07:00
|
|
|
.device .phui-info-view {
|
2015-02-01 20:14:56 -08:00
|
|
|
margin: 8px;
|
|
|
|
}
|
|
|
|
|
2015-03-01 14:45:56 -08:00
|
|
|
.phui-info-view .phui-form-view {
|
2015-02-01 20:14:56 -08:00
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2016-11-12 20:59:22 -08:00
|
|
|
.phui-info-view-icon {
|
|
|
|
width: 24px;
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
2015-03-01 14:45:56 -08:00
|
|
|
.phui-info-view-body {
|
2015-05-07 21:18:57 -07:00
|
|
|
line-height: 1.6em;
|
2017-07-17 11:08:17 -07:00
|
|
|
color: {$blacktext};
|
2015-02-01 20:14:56 -08:00
|
|
|
}
|
|
|
|
|
2016-11-12 20:59:22 -08:00
|
|
|
.phui-info-view.phui-info-has-icon .phui-info-view-body {
|
|
|
|
margin-left: 24px;
|
|
|
|
}
|
|
|
|
|
[Redesign] Swap Slabo for Roboto Slab
Summary: Ref T8099, Moving to Roboto Slab for Document Headers. It's a little less serif-y and fits well with Lato. Also took a pass at cleaning up edge cases in Documents, Diviner, Phriction, Legalpad, and Welcome Screen.
Test Plan: Test Phriction, Diviner, Legalpad, Welcome Screen
Reviewers: btrahan, epriestley
Reviewed By: epriestley
Subscribers: epriestley, Korvin
Maniphest Tasks: T8099
Differential Revision: https://secure.phabricator.com/D13439
2015-06-25 09:20:51 -07:00
|
|
|
.phui-info-view-body tt {
|
2017-09-03 09:39:19 -07:00
|
|
|
color: {$blacktext};
|
|
|
|
background: rgba({$alphablue},0.1);
|
|
|
|
padding: 1px 4px;
|
|
|
|
border-radius: 3px;
|
|
|
|
white-space: pre-wrap;
|
[Redesign] Swap Slabo for Roboto Slab
Summary: Ref T8099, Moving to Roboto Slab for Document Headers. It's a little less serif-y and fits well with Lato. Also took a pass at cleaning up edge cases in Documents, Diviner, Phriction, Legalpad, and Welcome Screen.
Test Plan: Test Phriction, Diviner, Legalpad, Welcome Screen
Reviewers: btrahan, epriestley
Reviewed By: epriestley
Subscribers: epriestley, Korvin
Maniphest Tasks: T8099
Differential Revision: https://secure.phabricator.com/D13439
2015-06-25 09:20:51 -07:00
|
|
|
}
|
|
|
|
|
2015-03-01 14:45:56 -08:00
|
|
|
.phui-info-view-actions {
|
2015-02-23 11:03:09 -08:00
|
|
|
margin-top: -3px;
|
|
|
|
margin-bottom: -4px;
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
2015-03-01 16:07:04 -08:00
|
|
|
.phui-info-view-actions .button {
|
|
|
|
margin-left: 4px;
|
|
|
|
}
|
|
|
|
|
2015-03-01 14:45:56 -08:00
|
|
|
.phui-info-view-head + .phui-info-view-body {
|
2015-02-01 20:14:56 -08:00
|
|
|
padding-top: 4px;
|
|
|
|
}
|
|
|
|
|
2015-03-01 14:45:56 -08:00
|
|
|
h1.phui-info-view-head {
|
2015-02-01 20:14:56 -08:00
|
|
|
font-weight: bold;
|
2015-06-26 09:33:03 -07:00
|
|
|
font-size: {$biggerfontsize};
|
2016-11-12 20:59:22 -08:00
|
|
|
line-height: 1.3em;
|
2015-02-01 20:14:56 -08:00
|
|
|
}
|
|
|
|
|
2015-03-01 14:45:56 -08:00
|
|
|
.phui-info-view-list {
|
2016-11-12 20:59:22 -08:00
|
|
|
margin: 0;
|
|
|
|
list-style: none;
|
|
|
|
line-height: 1.6em;
|
2015-02-01 20:14:56 -08:00
|
|
|
}
|
|
|
|
|
2016-11-12 20:59:22 -08:00
|
|
|
.phui-info-view .phui-info-icon {
|
|
|
|
padding-top: 1px;
|
|
|
|
font-size: 16px;
|
2015-02-23 11:03:09 -08:00
|
|
|
}
|
|
|
|
|
2016-11-12 20:59:22 -08:00
|
|
|
.phui-info-severity-error {
|
|
|
|
border-color: {$red};
|
|
|
|
border-left-width: 6px;
|
2015-02-01 20:14:56 -08:00
|
|
|
}
|
|
|
|
|
2016-11-12 20:59:22 -08:00
|
|
|
.phui-info-severity-error .phui-info-icon {
|
|
|
|
color: {$red};
|
2015-02-23 11:03:09 -08:00
|
|
|
}
|
|
|
|
|
2016-11-12 20:59:22 -08:00
|
|
|
.phui-info-severity-warning {
|
|
|
|
border-color: {$yellow};
|
|
|
|
border-left-width: 6px;
|
2015-02-01 20:14:56 -08:00
|
|
|
}
|
|
|
|
|
2016-11-12 20:59:22 -08:00
|
|
|
.phui-info-severity-warning .phui-info-icon {
|
|
|
|
color: {$yellow};
|
2015-02-23 11:03:09 -08:00
|
|
|
}
|
|
|
|
|
2016-11-12 20:59:22 -08:00
|
|
|
.phui-info-severity-notice {
|
|
|
|
border-color: {$blue};
|
|
|
|
border-left-width: 6px;
|
2015-02-01 20:14:56 -08:00
|
|
|
}
|
|
|
|
|
2016-11-12 20:59:22 -08:00
|
|
|
.phui-info-severity-notice .phui-info-icon {
|
|
|
|
color: {$blue};
|
2015-02-23 11:03:09 -08:00
|
|
|
}
|
|
|
|
|
2016-11-12 20:59:22 -08:00
|
|
|
.phui-info-severity-nodata {
|
2015-02-01 20:14:56 -08:00
|
|
|
border-color: {$lightgreyborder};
|
2015-02-23 11:03:09 -08:00
|
|
|
}
|
|
|
|
|
2016-11-12 20:59:22 -08:00
|
|
|
.phui-info-severity-success {
|
|
|
|
border-color: {$green};
|
|
|
|
border-left-width: 6px;
|
2015-02-23 11:03:09 -08:00
|
|
|
}
|
|
|
|
|
2016-11-12 20:59:22 -08:00
|
|
|
.phui-info-severity-success .phui-info-icon {
|
|
|
|
color: {$green};
|
2015-02-01 20:14:56 -08:00
|
|
|
}
|
|
|
|
|
2015-03-01 14:45:56 -08:00
|
|
|
.aphront-dialog-body .phui-info-view {
|
2015-05-07 21:18:57 -07:00
|
|
|
margin: 0 0 8px 0;
|
2015-02-01 20:14:56 -08:00
|
|
|
}
|
|
|
|
|
2015-03-01 14:45:56 -08:00
|
|
|
.phui-crumbs-view + .phui-info-view {
|
2015-02-01 20:14:56 -08:00
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2015-03-01 14:45:56 -08:00
|
|
|
.phui-crumbs-view.phui-crumbs-border + .phui-info-view {
|
2015-02-01 20:14:56 -08:00
|
|
|
margin-top: 16px;
|
|
|
|
}
|
2016-11-12 20:59:22 -08:00
|
|
|
|
|
|
|
div.phui-object-box .phui-header-shell + .phui-info-view {
|
|
|
|
margin: 16px 0 8px;
|
|
|
|
}
|
2017-09-07 13:15:07 -07:00
|
|
|
|
|
|
|
div.phui-object-box.phui-box-white-config .phui-header-shell + .phui-info-view {
|
|
|
|
margin: 20px 16px 8px;
|
|
|
|
}
|