mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 08:52:39 +01:00
e66d6448b6
Summary: Simplifies some common CSS rules. Test Plan: Test some dialogs and menus. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin, epriestley Differential Revision: https://secure.phabricator.com/D12406
142 lines
2.4 KiB
CSS
142 lines
2.4 KiB
CSS
/**
|
|
* @provides aphront-dialog-view-css
|
|
*/
|
|
|
|
.aphront-dialog-view {
|
|
width: 540px;
|
|
margin: 32px auto 16px;
|
|
border: 1px solid {$lightblueborder};
|
|
border-bottom: 1px solid {$blueborder};
|
|
box-shadow: {$dropshadow};
|
|
}
|
|
|
|
.device-phone .aphront-dialog-view {
|
|
margin: 16px;
|
|
width: auto;
|
|
}
|
|
|
|
.aphront-dialog-view-standalone {
|
|
margin: auto;
|
|
}
|
|
|
|
.aphront-dialog-head .phui-action-header {
|
|
border-bottom: 1px solid {$lightblueborder};
|
|
padding: 4px 16px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.aphront-dialog-head .phui-action-header
|
|
.phui-action-header-title {
|
|
font-size: 15px;
|
|
color: {$darkbluetext};
|
|
text-shadow: 0 1px 2px #fff;
|
|
}
|
|
|
|
.aphront-dialog-flush .aphront-dialog-body {
|
|
padding: 0;
|
|
}
|
|
|
|
.aphront-dialog-view-width-form {
|
|
width: 600px;
|
|
}
|
|
|
|
.aphront-dialog-view-width-full {
|
|
width: 90%;
|
|
}
|
|
|
|
.aphront-dialog-body {
|
|
background: #ffffff;
|
|
padding: 16px;
|
|
border: none;
|
|
}
|
|
|
|
.aphront-dialog-tail {
|
|
border: none;
|
|
background: {$lightgreybackground};
|
|
padding: 8px 16px;
|
|
border-top: 1px solid {$thinblueborder};
|
|
}
|
|
|
|
.aphront-dialog-foot {
|
|
padding: 6px 0;
|
|
float: left;
|
|
}
|
|
|
|
.aphront-dialog-tail button,
|
|
.aphront-dialog-tail a.button {
|
|
float: right;
|
|
margin-left: 8px;
|
|
}
|
|
|
|
.jx-client-dialog {
|
|
position: absolute;
|
|
width: 100%;
|
|
}
|
|
|
|
.jx-mask {
|
|
opacity: .75;
|
|
background: #fff;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
}
|
|
|
|
.jx-dark-mask {
|
|
background: #000000;
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.aphront-exception-dialog {
|
|
width: 95%;
|
|
}
|
|
|
|
.aphront-exception-dialog .exception-message {
|
|
font-size: 14px;
|
|
background: {$sh-yellowbackground};
|
|
border: 1px solid {$sh-yellowborder};
|
|
padding: 12px;
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
.aphront-exception-dialog .exception-trace {
|
|
margin-top: 16px;
|
|
}
|
|
|
|
.aphront-access-dialog {
|
|
width: 50%;
|
|
}
|
|
|
|
.aphront-dialog-view ul {
|
|
margin: 12px 24px;
|
|
list-style: circle;
|
|
}
|
|
|
|
.aphront-policy-rejection {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.aphront-capability-details {
|
|
margin: 20px 0 4px;
|
|
}
|
|
|
|
.aphront-dialog-view-paragraph + .aphront-dialog-view-paragraph {
|
|
margin-top: 16px;
|
|
}
|
|
|
|
.device-desktop .aphront-dialog-flush .phui-object-item-list-view {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.aphront-dialog-flush .phui-object-item-list-view.phui-object-list-stackable
|
|
.phui-object-item {
|
|
border: 0;
|
|
}
|
|
|
|
.aphront-dialog-flush .phui-object-item-list-view.phui-object-list-stackable
|
|
.phui-object-item-frame {
|
|
border: 0;
|
|
border-top: 1px solid {$thinblueborder};
|
|
}
|