1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-25 06:50:55 +01:00
phorge-phorge/webroot/rsrc/css/aphront/panel-view.css
Chad Little fe2a96e37f Update Form Layouts
Summary:
This attempts some consistency in form layouts. Notably, they all now contain headers and are 16px off the sides and tops of pages. Also updated dialogs to the same look and feel. I think I got 98% of forms with this pass, but it's likely I missed some buried somewhere.

TODO: will take another pass as consolidating these colors and new gradients in another diff.

Test Plan: Played in my sandbox all week. Please play with it too and let me know how they feel.

Reviewers: epriestley, btrahan

Reviewed By: epriestley

CC: Korvin, aran

Differential Revision: https://secure.phabricator.com/D6806
2013-08-26 11:53:11 -07:00

126 lines
2 KiB
CSS

/**
* @provides aphront-panel-view-css
*/
.aphront-panel-view {
background: #f3f3f3;
border: 1px solid #c0c0c0;
border-width: 1px 0 0;
padding: 1em 2em;
margin: 20px 20px 40px 20px;
}
.device-phone .aphront-panel-view {
margin: 20px 10px 40px 10px;
}
.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: #555;
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: #666666;
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: #f7f7f7;
border: 1px solid #c4c4c0;
border-radius: 3px;
}
.aphront-panel-preview {
background: #fbfbfb;
border-bottom: 1px solid #aaaaaa;
padding: 15px 20px;
}
.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: #666666;
}
.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 #e6e6e6;
}
.aphront-mini-panel-view p {
font-size: 12px;
color: #666666;
}