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 {
|
2013-09-07 18:13:55 +02:00
|
|
|
color: {$darkgreytext};
|
2012-12-07 22:35:17 +01:00
|
|
|
font-weight: bold;
|
|
|
|
text-decoration: none;
|
|
|
|
text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9);
|
|
|
|
}
|
|
|
|
|
2013-10-15 03:21:06 +02:00
|
|
|
.phabricator-crumbs-view a.phabricator-crumbs-action-disabled {
|
|
|
|
color: {$lightgreytext};
|
|
|
|
}
|
|
|
|
|
2013-04-09 21:42:03 +02:00
|
|
|
.phabricator-crumbs-action.phabricator-crumbs-action-menu {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.device .phabricator-crumbs-action.phabricator-crumbs-action-menu {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.device .phabricator-crumbs-action-menu-open {
|
|
|
|
background: rgba(0,0,0,.1);
|
|
|
|
}
|
|
|
|
|
2013-09-17 18:12:37 +02:00
|
|
|
.phabricator-crumbs-view + .phui-header-shell {
|
2013-03-16 01:16:39 +01:00
|
|
|
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;
|
2014-04-27 18:48:31 +02:00
|
|
|
white-space: nowrap;
|
2012-12-07 22:35:17 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.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 {
|
2014-05-12 19:08:32 +02:00
|
|
|
padding: 7px;
|
2013-03-26 21:15:15 +01:00
|
|
|
border-left: 1px solid #ccc;
|
|
|
|
}
|
|
|
|
|
|
|
|
.device-phone .phabricator-crumbs-action-name {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2014-05-12 19:08:32 +02:00
|
|
|
a.phabricator-crumbs-action .phui-icon-view {
|
|
|
|
margin-right: 5px;
|
2013-03-26 21:15:15 +01:00
|
|
|
}
|
|
|
|
|
2014-05-12 19:08:32 +02:00
|
|
|
.device-phone a.phabricator-crumbs-action .phui-icon-view {
|
|
|
|
margin-left: 5px;
|
2012-12-07 22:35:17 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
|
|
|
}
|