phorge/webroot/rsrc/css/layout/phabricator-property-list-view.css
Chad Little 7d8367a552 Color tweaks for action list, headers
Summary: Starting to roll out the standard colors and spacing to action list, headers, and property views. Also softened the grey borders a hex.

Test Plan: Review Maniphest and Differential on desktop and mobile. Felt the flow of standardization waft over me.

Reviewers: epriestley, btrahan

Reviewed By: epriestley

CC: Korvin, aran

Differential Revision: https://secure.phabricator.com/D6869
2013-09-03 07:00:06 -07:00

116 lines
2.3 KiB
CSS

/**
* @provides phabricator-property-list-view-css
*/
.phabricator-property-list-view {
background-color: {$lightgreybackground};
}
.phabricator-property-list-view .keyboard-shortcuts-available {
float: right;
height: 16px;
margin: 12px 10px -28px 0px;
padding: 0px 20px 0px 0px;
vertical-align: middle;
color: {$greytext};
text-align: right;
font-size: 11px;
background:
url('/rsrc/image/icon/fatcow/key_question.png') right center no-repeat;
}
.phabricator-property-list-container {
border-color: {$lightgreyborder};
border-style: solid;
border-width: 0 0 1px;
}
.device-desktop .phabricator-property-list-container {
padding: 12px 0 4px 0;
}
.device .phabricator-property-list-container {
padding: 12px 0 0 0;
}
.phabricator-property-list-key {
color: {$darkbluetext};
font-weight: bold;
overflow: hidden;
white-space: nowrap;
}
.device-desktop .phabricator-property-list-key {
width: 15%;
margin-left: 1%;
text-align: right;
float: left;
clear: left;
margin-bottom: 4px;
}
.device .phabricator-property-list-key {
padding-left: 16px;
}
.phabricator-property-list-value {
color: {$darkgreytext};
overflow: hidden;
}
.device-desktop .phabricator-property-list-value {
width: 50%;
margin-left: 1%;
float: left;
margin-bottom: .5em;
}
.device .phabricator-property-list-value {
padding-left: 16px;
margin-bottom: 8px;
}
.phabriator-property-list-view-end {
clear: both;
}
.phabricator-property-list-section-header {
color: #9CA5B5;
padding: 12px 16px 0px;
text-transform: uppercase;
font-weight: 700;
}
.phabricator-property-list-text-content {
padding: 12px 16px;
background: {$lightgreybackground};
border-bottom: 1px solid {$lightgreyborder};
overflow: hidden;
}
.phabricator-property-list-image-content {
background: #282828;
border-color: #101010;
color: #fff;
}
/* In the common case where we immediately follow a header, move back up 30px
so we snuggle next to the header. */
.device-desktop .phabricator-header-view
+ .phabricator-action-list-view {
margin-top: -30px;
}
.device-desktop .phabricator-header-view
+ .phabricator-action-list-view
+ .phabricator-property-list-view {
margin-top: 0px;
}
.phabricator-property-list-image {
margin: auto;
max-width: 95%;
}