1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 17:02:41 +01:00
phorge-phorge/webroot/rsrc/css/aphront/panel-view.css
Chad Little 30441fe208 Make Tables play well in PHUIObjectBoxView
Summary:
Updates table design to use new standards, work well in PHUIObjectBox. Fixes T4142

Comma

Test Plan: Tested on Diffusion, Settings, will roll out to more places soon

Reviewers: epriestley, btrahan

CC: Korvin, epriestley, aran

Maniphest Tasks: T4142

Differential Revision: https://secure.phabricator.com/D7901
2014-01-07 11:57:37 -08:00

124 lines
2 KiB
CSS

/**
* @provides aphront-panel-view-css
*/
.aphront-panel-view {
background: {$lightgreybackground};
border: 1px solid #c0c0c0;
border-width: 1px 0 0;
padding: 8px 16px;
margin: 20px 16px 40px 16px;
}
.device-phone .aphront-panel-view {
margin: 20px 8px 40px 8px;
}
.aphront-unpadded-panel-view {
padding: 0;
}
.aphront-panel-view.aphront-panel-plain {
padding: 0;
border: none;
background: transparent;
}
.aphront-panel-view .aphront-panel-header {
margin: 0 0 8px 0;
}
.aphront-panel-view h1 {
font-size: 16px;
font-weight: bold;
color: {$darkgreytext};
text-shadow: 0 1px 1px #fff;
padding: 4px 0 0 0;
}
.aphront-panel-plain h1 {
padding: 0 0 4px 0;
}
.aphront-panel-view-caption {
font-size: 11px;
color: {$greytext};
margin-top: -0.1em;
margin-bottom: 0.75em;
}
.aphront-panel-view-buttons {
float: right;
}
.device-desktop .aphront-panel-width-form {
width: 720px;
margin-right: auto;
margin-left: auto;
}
.device-desktop .aphront-panel-width-wide {
width: 1080px;
margin-right: auto;
margin-left: auto;
}
.aphront-panel-accent {
background: #f1f1f1;
border: 1px solid #ddd;
border-radius: 3px;
}
.aphront-panel-accent .phui-form-view {
background: {$lightgreybackground};
border: 1px solid #c4c4c0;
border-radius: 3px;
}
.aphront-panel-preview {
padding: 16px;
}
.device-phone .aphront-panel-preview {
display: none;
}
.aphront-panel-preview-wide {
width: 1080px;
margin-left: auto;
margin-right: auto;
padding-left: 2em;
padding-right: 2em;
}
.aphront-panel-preview-loading-text {
color: {$greytext};
}
.aphront-panel-flush {
margin: 0;
}
.aphront-panel-view-drag-and-drop {
background: #99ff99;
border-color: #669966;
}
.aphront-panel-view-drag-and-drop .phui-form-view {
background: #ccffcc;
border-color: #669966;
}
.aphront-mini-panel-view {
background: #fff;
padding: 10px;
margin: 5px 20px;
border: 1px solid {$lightgreyborder};
border-bottom: 1px solid {$greyborder};
}
.aphront-mini-panel-view p {
font-size: 12px;
color: {$greytext};
}