2012-12-07 22:35:17 +01:00
|
|
|
/**
|
|
|
|
* @provides phabricator-crumbs-view-css
|
|
|
|
*/
|
|
|
|
|
|
|
|
.phabricator-crumbs-view {
|
2012-12-07 22:35:49 +01:00
|
|
|
background-color: #d8dce2;
|
|
|
|
height: 31px;
|
2012-12-07 22:35:17 +01:00
|
|
|
overflow: hidden;
|
|
|
|
vertical-align: top;
|
2013-03-16 01:16:39 +01:00
|
|
|
border-bottom: 1px solid #aaa;
|
2012-12-07 22:35:49 +01:00
|
|
|
|
2013-03-16 01:16:39 +01:00
|
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
|
2012-12-07 22:37:45 +01:00
|
|
|
|
|
|
|
/* TODO: Position this over the slider for Differential's file tree view.
|
|
|
|
Remove this once that gets sorted out. */
|
|
|
|
position: relative;
|
2012-12-07 22:35:17 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.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);
|
|
|
|
}
|
|
|
|
|
2013-03-16 01:16:39 +01:00
|
|
|
.phabricator-crumbs-view + .phabricator-header-shell {
|
|
|
|
border-top: none;
|
|
|
|
}
|
|
|
|
|
2012-12-08 17:35:20 +01:00
|
|
|
.phabricator-crumbs-view a:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
2012-12-07 22:35:17 +01:00
|
|
|
.phabricator-crumb-view {
|
|
|
|
display: inline-block;
|
2012-12-07 22:35:49 +01:00
|
|
|
height: 31px;
|
|
|
|
line-height: 31px;
|
2012-12-07 22:35:17 +01:00
|
|
|
}
|
|
|
|
|
2013-03-26 21:15:15 +01:00
|
|
|
.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;
|
|
|
|
}
|
|
|
|
|
2012-12-07 22:35:17 +01:00
|
|
|
.phabricator-crumb-icon {
|
|
|
|
display: inline-block;
|
Use application icons for "Eye" menu and Crumbs
Summary:
Issues here:
- Need an application-sized "eye", or a "home" icon for "Phabricator Home".
- Some of the "apps_lb_2x" sliced images are the "_dark_" versions, not the light versions.
- If you slice an application-sized "logout" (power off) icon and application-sized "help" (questionmark in circle) icon I can replace the current menu icons and nearly get rid of "autosprite".
- To replace the icons on /applications/, the non-retina size is "4x", so we'd need "8x" for retina. Alternatively I can reduce the icon sizes by 50%.
- The "Help", "Settings" and "Logout" items currently have a "glowing" hover state, which needs a variant (or we can drop it).
- The /applications/ icons have a white hover state (or we can drop it).
- The 1x application (14x14) icons aren't used anywhere right now, should they be? Maybe in the feed in the future, etc?
- The "apps-2x" and "apps-large" sheets are the same image, but getting them to actually use the same file is a bit tricky, so I just left them separate for now.
Test Plan:
{F26698}
{F26699}
Reviewers: chad
Reviewed By: chad
CC: aran
Maniphest Tasks: T1960
Differential Revision: https://secure.phabricator.com/D4108
2012-12-07 22:37:28 +01:00
|
|
|
width: 28px;
|
|
|
|
height: 28px;
|
2012-12-08 17:35:20 +01:00
|
|
|
margin: 2px 2px 0 13px;
|
2012-12-07 22:35:17 +01:00
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
2013-03-26 21:15:15 +01:00
|
|
|
.device-phone .phabricator-crumb-icon {
|
|
|
|
margin-left: 7px;
|
|
|
|
}
|
|
|
|
|
2012-12-07 22:35:17 +01:00
|
|
|
.phabricator-crumbs-actions {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.phabricator-crumbs-action {
|
|
|
|
display: inline-block;
|
|
|
|
height: 17px;
|
|
|
|
padding: 8px 14px 8px 24px;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2013-03-26 21:15:15 +01:00
|
|
|
.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;
|
|
|
|
}
|
|
|
|
|
2012-12-07 22:35:17 +01:00
|
|
|
.phabricator-crumbs-action .sprite-icon {
|
|
|
|
width: 14px;
|
|
|
|
height: 14px;
|
|
|
|
left: 4px;
|
|
|
|
top: 9px;
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
|
|
|
|
.phabricator-crumb-divider {
|
|
|
|
display: inline-block;
|
|
|
|
width: 9px;
|
2012-12-07 22:35:49 +01:00
|
|
|
height: 31px;
|
2012-12-07 22:35:17 +01:00
|
|
|
vertical-align: top;
|
|
|
|
margin: 0 9px;
|
|
|
|
}
|