1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-19 13:22:42 +01:00
phorge-phorge/webroot/rsrc/css/phui/phui-object-box.css
Chad Little f8e7d8f65c Move ActionHeaders to PHUI, add ObjectBox Support, new Colors
Summary: Moves PhabricatorActionHeaderView to PHUIActionHeaderView, adds Red, Green, and Violet colors and extend ObjectBox to take colors and action headers.

Test Plan:
Tested new Welcome layout as well as UIExamples, Workboards, and Hovercards

{F169669}

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D9707
2014-06-24 09:39:32 -07:00

69 lines
1.6 KiB
CSS

/**
* @provides phui-object-box-css
*/
div.phui-object-box.phui-object-box-flush {
margin-top: 0;
}
.phui-object-box .phui-header-shell {
padding: 4px 5px 4px 12px;
border-bottom: 1px solid {$lightblueborder};
border-top: none;
}
.phui-object-box .phui-header-image {
margin: 1px 8px 0px -7px;
}
.phui-object-box .phui-header-shell h1 {
color: {$bluetext};
text-shadow: 0 1px #fff;
padding: 8px 0;
}
.phui-object-box .phui-header-shell + .aphront-error-view {
margin: 0;
border-width: 0;
border-bottom: 1px solid {$lightblueborder};
}
.device-phone .phui-object-box {
margin: 8px 8px 0 8px;
}
.phui-box-border.phui-object-box-lightgreen {
border: 1px solid {$lightgreenborder};
border-bottom: 1px solid {$greenborder};
}
.phui-box-border.phui-object-box-lightgreen .phui-action-header {
border-bottom: 1px solid {$lightgreenborder};
}
.phui-box-border.phui-object-box-lightblue {
border: 1px solid {$lightblueborder};
border-bottom: 1px solid {$blueborder};
}
.phui-box-border.phui-object-box-lightblue .phui-action-header {
border-bottom: 1px solid {$lightblueborder};
}
.phui-box-border.phui-object-box-lightred {
border: 1px solid {$lightredborder};
border-bottom: 1px solid {$redborder};
}
.phui-box-border.phui-object-box-lightred .phui-action-header {
border-bottom: 1px solid {$lightredborder};
}
.phui-box-border.phui-object-box-lightviolet {
border: 1px solid {$lightvioletborder};
border-bottom: 1px solid {$violetborder};
}
.phui-box-border.phui-object-box-lightviolet .phui-action-header {
border-bottom: 1px solid {$lightvioletborder};
}