mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 17:02:41 +01:00
8a0fccf97a
Summary: Not for full review. This makes crumbs appear consistently in mobile. It helps give a quick link to the apps home, the page title currently on, and action icons for the object. It will take additional clean-up to make this consistent across apps. Passing for early review from a UEX perspective. I actually really like it and think onces it's everywhere, helps mobile feel complete. Test Plan: Testing in iOS and Simulator. Reviewers: epriestley, btrahan Reviewed By: epriestley CC: aran, Korvin Maniphest Tasks: T2796 Differential Revision: https://secure.phabricator.com/D5446
101 lines
1.9 KiB
CSS
101 lines
1.9 KiB
CSS
/**
|
|
* @provides phabricator-crumbs-view-css
|
|
*/
|
|
|
|
.phabricator-crumbs-view {
|
|
background-color: #d8dce2;
|
|
height: 31px;
|
|
overflow: hidden;
|
|
vertical-align: top;
|
|
border-bottom: 1px solid #aaa;
|
|
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
|
|
|
|
/* TODO: Position this over the slider for Differential's file tree view.
|
|
Remove this once that gets sorted out. */
|
|
position: relative;
|
|
}
|
|
|
|
.phabricator-crumbs-view,
|
|
.phabricator-crumbs-view a.phabricator-crumb-view,
|
|
.phabricator-crumbs-view a.phabricator-crumbs-action {
|
|
color: #3d3d3d;
|
|
font-weight: bold;
|
|
text-decoration: none;
|
|
text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9);
|
|
}
|
|
|
|
.phabricator-crumbs-view + .phabricator-header-shell {
|
|
border-top: none;
|
|
}
|
|
|
|
.phabricator-crumbs-view a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.phabricator-crumb-view {
|
|
display: inline-block;
|
|
height: 31px;
|
|
line-height: 31px;
|
|
}
|
|
|
|
.device-phone .phabricator-crumb-view {
|
|
display: none;
|
|
}
|
|
|
|
.device-phone .phabricator-crumb-view.phabricator-last-crumb,
|
|
.device-phone .phabricator-crumb-view.phabricator-crumb-has-icon {
|
|
display: inline-block;
|
|
}
|
|
|
|
.phabricator-crumb-icon {
|
|
display: inline-block;
|
|
width: 28px;
|
|
height: 28px;
|
|
margin: 2px 2px 0 13px;
|
|
vertical-align: top;
|
|
}
|
|
|
|
.device-phone .phabricator-crumb-icon {
|
|
margin-left: 7px;
|
|
}
|
|
|
|
.phabricator-crumbs-actions {
|
|
float: right;
|
|
}
|
|
|
|
.phabricator-crumbs-action {
|
|
display: inline-block;
|
|
height: 17px;
|
|
padding: 8px 14px 8px 24px;
|
|
position: relative;
|
|
}
|
|
|
|
.device-phone a.phabricator-crumbs-action {
|
|
padding: 13px 20px 4px 10px;
|
|
border-left: 1px solid #ccc;
|
|
}
|
|
|
|
.device-phone .phabricator-crumbs-action-name {
|
|
display: none;
|
|
}
|
|
|
|
.device-phone a.phabricator-crumbs-action .sprite-icon {
|
|
margin-left: 5px;
|
|
}
|
|
|
|
.phabricator-crumbs-action .sprite-icon {
|
|
width: 14px;
|
|
height: 14px;
|
|
left: 4px;
|
|
top: 9px;
|
|
position: absolute;
|
|
}
|
|
|
|
.phabricator-crumb-divider {
|
|
display: inline-block;
|
|
width: 9px;
|
|
height: 31px;
|
|
vertical-align: top;
|
|
margin: 0 9px;
|
|
}
|