2015-02-02 05:14:56 +01:00
|
|
|
/**
|
2015-03-01 23:45:56 +01:00
|
|
|
* @provides phui-info-view-css
|
2015-02-02 05:14:56 +01:00
|
|
|
*/
|
|
|
|
|
2015-03-01 23:45:56 +01:00
|
|
|
.phui-info-view {
|
2015-02-02 05:14:56 +01:00
|
|
|
border-style: solid;
|
2015-05-08 06:18:57 +02:00
|
|
|
border-width: 1px;
|
2017-07-17 20:08:17 +02:00
|
|
|
background: {$page.content};
|
2015-02-02 05:14:56 +01:00
|
|
|
margin: 16px;
|
|
|
|
padding: 12px;
|
2015-05-08 06:18:57 +02:00
|
|
|
border-radius: 3px;
|
2015-02-02 05:14:56 +01:00
|
|
|
}
|
|
|
|
|
2017-05-16 00:44:50 +02: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 20:01:22 +01:00
|
|
|
.phui-info-view.phui-info-view-flush {
|
|
|
|
margin: 0 0 20px 0;
|
|
|
|
}
|
|
|
|
|
2015-05-23 20:01:29 +02:00
|
|
|
.device .phui-info-view {
|
2015-02-02 05:14:56 +01:00
|
|
|
margin: 8px;
|
|
|
|
}
|
|
|
|
|
2015-03-01 23:45:56 +01:00
|
|
|
.phui-info-view .phui-form-view {
|
2015-02-02 05:14:56 +01:00
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2016-11-13 05:59:22 +01:00
|
|
|
.phui-info-view-icon {
|
|
|
|
width: 24px;
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
2015-03-01 23:45:56 +01:00
|
|
|
.phui-info-view-body {
|
2015-05-08 06:18:57 +02:00
|
|
|
line-height: 1.6em;
|
2017-07-17 20:08:17 +02:00
|
|
|
color: {$blacktext};
|
2015-02-02 05:14:56 +01:00
|
|
|
}
|
|
|
|
|
2016-11-13 05:59:22 +01: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 18:20:51 +02:00
|
|
|
.phui-info-view-body tt {
|
2017-09-03 18:39:19 +02: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 18:20:51 +02:00
|
|
|
}
|
|
|
|
|
2015-03-01 23:45:56 +01:00
|
|
|
.phui-info-view-actions {
|
2015-02-23 20:03:09 +01:00
|
|
|
margin-top: -3px;
|
|
|
|
margin-bottom: -4px;
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
2015-03-02 01:07:04 +01:00
|
|
|
.phui-info-view-actions .button {
|
|
|
|
margin-left: 4px;
|
|
|
|
}
|
|
|
|
|
2015-03-01 23:45:56 +01:00
|
|
|
.phui-info-view-head + .phui-info-view-body {
|
2015-02-02 05:14:56 +01:00
|
|
|
padding-top: 4px;
|
|
|
|
}
|
|
|
|
|
2015-03-01 23:45:56 +01:00
|
|
|
h1.phui-info-view-head {
|
2015-02-02 05:14:56 +01:00
|
|
|
font-weight: bold;
|
2015-06-26 18:33:03 +02:00
|
|
|
font-size: {$biggerfontsize};
|
2016-11-13 05:59:22 +01:00
|
|
|
line-height: 1.3em;
|
2015-02-02 05:14:56 +01:00
|
|
|
}
|
|
|
|
|
2015-03-01 23:45:56 +01:00
|
|
|
.phui-info-view-list {
|
2016-11-13 05:59:22 +01:00
|
|
|
margin: 0;
|
|
|
|
list-style: none;
|
|
|
|
line-height: 1.6em;
|
2015-02-02 05:14:56 +01:00
|
|
|
}
|
|
|
|
|
2016-11-13 05:59:22 +01:00
|
|
|
.phui-info-view .phui-info-icon {
|
|
|
|
padding-top: 1px;
|
|
|
|
font-size: 16px;
|
2015-02-23 20:03:09 +01:00
|
|
|
}
|
|
|
|
|
2016-11-13 05:59:22 +01:00
|
|
|
.phui-info-severity-error {
|
|
|
|
border-color: {$red};
|
|
|
|
border-left-width: 6px;
|
2015-02-02 05:14:56 +01:00
|
|
|
}
|
|
|
|
|
2016-11-13 05:59:22 +01:00
|
|
|
.phui-info-severity-error .phui-info-icon {
|
|
|
|
color: {$red};
|
2015-02-23 20:03:09 +01:00
|
|
|
}
|
|
|
|
|
2016-11-13 05:59:22 +01:00
|
|
|
.phui-info-severity-warning {
|
|
|
|
border-color: {$yellow};
|
|
|
|
border-left-width: 6px;
|
2015-02-02 05:14:56 +01:00
|
|
|
}
|
|
|
|
|
2016-11-13 05:59:22 +01:00
|
|
|
.phui-info-severity-warning .phui-info-icon {
|
|
|
|
color: {$yellow};
|
2015-02-23 20:03:09 +01:00
|
|
|
}
|
|
|
|
|
2016-11-13 05:59:22 +01:00
|
|
|
.phui-info-severity-notice {
|
|
|
|
border-color: {$blue};
|
|
|
|
border-left-width: 6px;
|
2015-02-02 05:14:56 +01:00
|
|
|
}
|
|
|
|
|
2016-11-13 05:59:22 +01:00
|
|
|
.phui-info-severity-notice .phui-info-icon {
|
|
|
|
color: {$blue};
|
2015-02-23 20:03:09 +01:00
|
|
|
}
|
|
|
|
|
2016-11-13 05:59:22 +01:00
|
|
|
.phui-info-severity-nodata {
|
2015-02-02 05:14:56 +01:00
|
|
|
border-color: {$lightgreyborder};
|
2015-02-23 20:03:09 +01:00
|
|
|
}
|
|
|
|
|
2016-11-13 05:59:22 +01:00
|
|
|
.phui-info-severity-success {
|
|
|
|
border-color: {$green};
|
|
|
|
border-left-width: 6px;
|
2015-02-23 20:03:09 +01:00
|
|
|
}
|
|
|
|
|
2016-11-13 05:59:22 +01:00
|
|
|
.phui-info-severity-success .phui-info-icon {
|
|
|
|
color: {$green};
|
2015-02-02 05:14:56 +01:00
|
|
|
}
|
|
|
|
|
2015-03-01 23:45:56 +01:00
|
|
|
.aphront-dialog-body .phui-info-view {
|
2015-05-08 06:18:57 +02:00
|
|
|
margin: 0 0 8px 0;
|
2015-02-02 05:14:56 +01:00
|
|
|
}
|
|
|
|
|
2015-03-01 23:45:56 +01:00
|
|
|
.phui-crumbs-view + .phui-info-view {
|
2015-02-02 05:14:56 +01:00
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2015-03-01 23:45:56 +01:00
|
|
|
.phui-crumbs-view.phui-crumbs-border + .phui-info-view {
|
2015-02-02 05:14:56 +01:00
|
|
|
margin-top: 16px;
|
|
|
|
}
|
2016-11-13 05:59:22 +01:00
|
|
|
|
|
|
|
div.phui-object-box .phui-header-shell + .phui-info-view {
|
|
|
|
margin: 16px 0 8px;
|
|
|
|
}
|