1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-22 21:40:55 +01:00
phorge-phorge/webroot/rsrc/css/phui/phui-action-list.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

126 lines
2.8 KiB
CSS

/**
* @provides phabricator-action-list-view-css
*/
.device-desktop .phabricator-action-list-view {
font-size: 12px;
}
.phuix-dropdown-menu .phabricator-action-list-view {
font-size: 13px;
}
.device .phabricator-action-list-view {
padding: 4px 0;
display: none;
}
.device .phuix-dropdown-menu .phabricator-action-list-view {
/* When an action list view appears inside a dropdown menu, don't hide it
by default. */
display: block;
}
.device .phabricator-action-list-view.phabricator-action-list-toggle {
display: block;
}
.device .phui-property-list-view
.phabricator-action-view button.phabricator-action-view-item,
.device .phui-property-list-view .phabricator-action-view-item {
font-size: 14px;
line-height: 22px;
padding-bottom: 4px;
border-bottom: 1px solid {$thinblueborder};
padding-left: 30px;
}
.device .phui-property-list-actions .phabricator-action-view .phui-icon-view {
font-size: 14px;
line-height: 18px;
}
.phabricator-action-view {
position: relative;
}
.phabricator-action-view button.phabricator-action-view-item {
border: none;
background: transparent;
box-shadow: none;
outline: 0;
padding: 0;
margin: 0;
font-weight: normal;
width: 100%;
text-align: left;
text-shadow: none;
border-radius: 0;
color: #18559D;
font: inherit;
display: inline;
min-width: 0;
}
.phabricator-action-view button.phabricator-action-view-item,
.phabricator-action-view-item {
padding: 3px 4px 3px 28px;
line-height: 18px;
display: block;
text-decoration: none;
color: {$darkgreytext};
}
.phabricator-action-view-icon {
width: 14px;
height: 14px;
position: absolute;
top: 5px;
left: 9px;
font-size: 13px;
}
.device-desktop .phabricator-action-view:hover .phabricator-action-view-item {
text-decoration: none;
background-color: {$sky};
color: #fff;
}
.device-desktop .phabricator-action-view:hover .phabricator-action-view-icon {
color: #fff;
}
.phabricator-action-view-disabled .phabricator-action-view-item,
.phabricator-action-view-disabled button.phabricator-action-view-item {
color: {$lightgreytext};
}
.phabricator-action-view-selected {
border-left: 3px solid {$sky};
background: {$hoverblue};
}
.phabricator-action-view-selected .phabricator-action-view-item {
padding-left: 25px;
}
.phabricator-action-view-selected .phabricator-action-view-icon {
left: 6px;
}
.phabricator-action-view button[disabled] {
opacity: 1.0;
}
.device-desktop .phabricator-action-view-disabled:hover
.phabricator-action-view-item,
.device-desktop .phabricator-action-view-disabled:hover
button.phabricator-action-view-item,
.device-desktop .phabricator-action-view-disabled:hover
.phabricator-action-view-icon,
.device-desktop .phabricator-action-view-disabled:hover
button.phabricator-action-view-icon {
background-color: {$greybackground};
color: {$lightgreytext};
}