1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-21 04:50:55 +01:00
phorge-phorge/webroot/rsrc/css/phui/phui-crumbs-view.css
Chad Little 170dc15c05 Make border conditional in crumbs
Summary: Add a setBorder call to CrumbsView to be more deliberate when a border is drawn. Could not find any CSS hacks to set it conditionally CSS.

Test Plan: Browsed every application that called crumbs and make a design decision. Also fixed a few bad layouts.

Reviewers: btrahan, epriestley

Reviewed By: btrahan

Subscribers: Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D11533
2015-01-28 09:33:49 -08:00

112 lines
2 KiB
CSS

/**
* @provides phui-crumbs-view-css
*/
.phui-crumbs-view {
overflow: hidden;
vertical-align: top;
padding: 0 8px 0 16px;
/* TODO: Position this over the slider for Differential's file tree view.
Remove this once that gets sorted out. */
position: relative;
-webkit-font-smoothing: antialiased;
}
.phui-crumbs-view,
.phui-crumbs-view a.phui-crumb-view,
.phui-crumbs-view a.phui-crumbs-action {
color: {$darkbluetext};
font-weight: bold;
text-decoration: none;
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.9);
}
.device-phone .phui-crumbs-view {
padding-left: 8px;
padding-right: 8px;
}
.phui-crumbs-view a.phui-crumbs-action-disabled {
color: {$lightgreytext};
}
.phui-crumbs-view + .phui-header-shell {
border-top: none;
}
.device-desktop .phui-crumbs-view a:hover {
text-decoration: underline;
}
.phui-crumb-view {
float: left;
padding: 8px 0;
}
.device-phone .phui-crumb-view.phabricator-last-crumb,
.device-phone .phui-crumb-view.phui-crumb-has-icon {
display: inline-block;
}
.device-phone .phui-crumb-has-icon .phui-crumb-name {
display: none;
}
.phui-crumb-has-icon .phui-icon-view {
margin: 0 4px;
}
.device-phone .phui-crumb-icon {
margin-left: 7px;
}
.phui-crumbs-actions {
float: right;
white-space: nowrap;
}
.phui-crumbs-action {
display: inline-block;
height: 17px;
padding: 8px 12px;
position: relative;
}
.device-phone a.phui-crumbs-action {
padding: 7px;
}
.device-desktop .phui-crumbs-view a:hover,
.device-desktop .phui-crumbs-view a:hover .phui-icon-view {
color: {$sky};
text-decoration: none;
}
.device-phone .phui-crumbs-action-name {
display: none;
}
a.phui-crumbs-action .phui-icon-view {
margin-right: 5px;
color: {$darkbluetext};
}
.device-phone a.phui-crumbs-action .phui-icon-view {
margin-left: 5px;
}
.phui-crumb-divider {
margin: 2px 8px;
}
.phui-crumbs-view.phui-crumbs-border {
border-bottom: 1px solid rgba(205, 207, 211, 1);
}
.phui-crumbs-view + .phui-object-box {
margin-top: 0;
}
body .phui-crumbs-view + .phui-object-item-list-view {
padding-top: 0;
}