mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-30 02:32:42 +01:00
9a36e6931c
Summary: Ref T13411. When users click a link to explain a capability (like the policy header on many objects, or the link next to specific capabilities in "Applications", "Diffusion", etc), inline the full ruleset for the custom policy into the dialog if the object has a custom policy. Test Plan: {F6856365} Maniphest Tasks: T13411 Differential Revision: https://secure.phabricator.com/D20805
62 lines
1.1 KiB
CSS
62 lines
1.1 KiB
CSS
/**
|
|
* @provides phui-policy-section-view-css
|
|
*/
|
|
|
|
.phui-policy-section-view {
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.phui-policy-section-view-header {
|
|
background: {$bluebackground};
|
|
border-bottom: 1px solid {$lightblueborder};
|
|
padding: 4px 8px;
|
|
color: {$darkbluetext};
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.phui-policy-section-view-header-text {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.phui-policy-section-view-header .phui-icon-view {
|
|
margin-right: 8px;
|
|
}
|
|
|
|
.phui-policy-section-view-link {
|
|
float: right;
|
|
}
|
|
|
|
.phui-policy-section-view-link .phui-icon-view {
|
|
color: {$bluetext};
|
|
}
|
|
|
|
.phui-policy-section-view-hint {
|
|
color: {$greytext};
|
|
background: {$lightbluebackground};
|
|
padding: 8px;
|
|
}
|
|
|
|
.phui-policy-section-view-body {
|
|
padding: 0 12px;
|
|
}
|
|
|
|
.phui-policy-section-view-inactive-rule {
|
|
color: {$greytext};
|
|
}
|
|
|
|
.phui-policy-section-view-rules {
|
|
margin: 8px 0;
|
|
padding: 8px;
|
|
background: {$lightbluebackground};
|
|
border: 1px solid {$lightblueborder};
|
|
}
|
|
|
|
.phui-policy-section-view .phui-policy-section-view-body ul {
|
|
margin: 8px 0;
|
|
padding: 0 16px 0 24px;
|
|
list-style: disc;
|
|
}
|
|
|
|
.phui-policy-section-view .phui-policy-section-view-body p + p {
|
|
margin-top: 8px;
|
|
}
|