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/phui/phui-box.css
Chad Little af7c92f2c6 Config re-design
Summary:
This is a full UI pass at a cleaner "Config" application. The main idea is to simplify the UI, center it, and have a different feel than other UI, a sort of "manage" UI theme for objects with loads of settings. Also adds a new minimalistic "WHITE_CONFIG" box type which may get re-used in Diffusion settings. This is a 90% pass, I'll have a few follow up diffs. Specifically:

 - Build breadcrumbs as a flexible UI to go into headers.
 - One click ObjectItemView option, for hover states.
 - Sidenav doesn't always select (AphrontFilter issue)
 - Mobile touchups, though it's pretty reasonable.

Test Plan:
Click through every page here, edit options, see new navigation UI. Test a few various setup issue layouts including fatals.

{F5163228}

{F5163229}

{F5163230}

{F5163231}

{F5163232}

{F5163233}

{F5163234}

Reviewers: epriestley

Reviewed By: epriestley

Spies: Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D18519
2017-09-05 15:24:15 -07:00

138 lines
2.8 KiB
CSS

/**
* @provides phui-box-css
*/
.phui-box-border {
border: 1px solid {$lightblueborder};
background-color: {$page.content};
border-radius: 3px;
}
.phui-box.focus {
box-shadow: 0 0 5px 5px rgba(255, 255, 0, 0.90);
}
.phui-box-grey {
background-color: {$lightgreybackground};
border-radius: 3px;
border-color: rgba({$alphagrey},.2);
}
.phui-box-blue {
background-color: {$bluebackground};
border-radius: 3px;
border-color: {$thinblueborder};
}
.phui-box-blue .phui-oi,
.phui-box-grey .phui-oi {
background: transparent;
}
.phui-box-blue .phui-oi-link,
.phui-box-grey .phui-oi-link {
color: {$darkbluetext};
}
.phui-box-blue .phui-oi-list-view,
.phui-box-grey .phui-oi-list-view {
background-color: {$page.content};
}
.phui-box-blue .phui-header-shell {
border-color: {$thinblueborder};
}
.phui-box-grey .phui-header-shell {
border-color: rgba({$alphagrey},.1);
}
.phui-object-box.phui-box-blue div.phui-info-severity-nodata,
.phui-object-box.phui-box-grey div.phui-info-severity-nodata {
background: {$page.content};
padding: 32px 0;
text-align: center;
border: none;
margin: 0;
color: {$greytext};
}
/* Property Boxes */
.phui-box.phui-box-blue-property {
border-radius: 3px;
border-color: {$lightblueborder};
margin: 0;
padding: 0;
}
.phui-box.phui-box-blue-property .phui-header-header .phui-header-icon {
margin-right: 6px;
}
.phui-box.phui-box-blue-property .phui-header-action-link {
margin-top: 0;
margin-bottom: 0;
}
.device .phui-box.phui-box-blue-property {
padding: 0;
}
.phui-box.phui-object-box.phui-box-blue-property .phui-header-shell {
background-color: {$bluepropertybackground};
border-top-right-radius: 3px;
border-top-left-radius: 3px;
padding: 6px 16px;
}
body.device .phui-box.phui-box-blue-property .phui-header-shell,
body.device .phui-box-blue-property.phui-object-box.phui-object-box-collapsed
.phui-header-shell {
padding: 6px 12px;
margin-top: 0;
}
.phui-box.phui-box-blue-property .phui-header-header {
font-size: {$biggerfontsize};
color: {$bluetext};
}
.phui-box-blue-property .phui-oi-list-view {
padding: 2px 8px;
}
body .phui-box-blue-property.phui-object-box.phui-object-box-collapsed {
padding: 0;
}
body .phui-box-blue-property .phui-header-shell + .phui-object-box {
margin-bottom: 0;
}
.phui-box-blue-property .phui-header-shell + .phui-object-box
.phui-header-shell {
background: {$page.content};
}
/* Config Boxes */
.phui-box-white-config.phui-box-border {
border-color: #e2e2e2;
border-radius: 5px;
}
.phui-box-white-config.phui-object-box {
padding: 16px 0 0 0;
}
.phui-box-white-config .phui-header-shell {
border-bottom: 1px solid #e2e2e2;
overflow: hidden;
padding: 0 16px 16px;
}
.phui-box-white-config .phui-header-header {
color: {$bluetext};
}