2012-12-07 22:35:17 +01:00
|
|
|
/**
|
2015-01-23 20:35:09 +01:00
|
|
|
* @provides phui-crumbs-view-css
|
2012-12-07 22:35:17 +01:00
|
|
|
*/
|
|
|
|
|
2015-01-23 20:35:09 +01:00
|
|
|
.phui-crumbs-view {
|
2014-05-25 06:56:45 +02:00
|
|
|
background-color: #ebecee;
|
|
|
|
background-image: none !important;
|
2012-12-07 22:35:49 +01:00
|
|
|
height: 31px;
|
2012-12-07 22:35:17 +01:00
|
|
|
overflow: hidden;
|
|
|
|
vertical-align: top;
|
2014-05-25 06:56:45 +02:00
|
|
|
border-bottom: 1px solid rgba(205, 207, 211, 1);
|
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;
|
2014-05-25 22:18:51 +02:00
|
|
|
-webkit-font-smoothing: antialiased;
|
2012-12-07 22:35:17 +01:00
|
|
|
}
|
|
|
|
|
2015-01-23 20:35:09 +01:00
|
|
|
.phui-crumbs-view,
|
|
|
|
.phui-crumbs-view a.phui-crumb-view,
|
|
|
|
.phui-crumbs-view a.phui-crumbs-action {
|
2014-06-10 01:06:20 +02:00
|
|
|
color: {$darkbluetext};
|
2012-12-07 22:35:17 +01:00
|
|
|
font-weight: bold;
|
|
|
|
text-decoration: none;
|
2014-05-25 22:18:51 +02:00
|
|
|
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.9);
|
2012-12-07 22:35:17 +01:00
|
|
|
}
|
|
|
|
|
2015-01-23 20:35:09 +01:00
|
|
|
.phui-crumbs-view a.phui-crumbs-action-disabled {
|
2013-10-15 03:21:06 +02:00
|
|
|
color: {$lightgreytext};
|
|
|
|
}
|
|
|
|
|
2015-01-23 20:35:09 +01:00
|
|
|
.phui-crumbs-view + .phui-header-shell {
|
2013-03-16 01:16:39 +01:00
|
|
|
border-top: none;
|
|
|
|
}
|
|
|
|
|
2015-01-23 20:35:09 +01:00
|
|
|
.device-desktop .phui-crumbs-view a:hover {
|
2012-12-08 17:35:20 +01:00
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
2015-01-23 20:35:09 +01:00
|
|
|
.phui-crumb-view {
|
2014-08-25 21:46:30 +02:00
|
|
|
float: left;
|
2012-12-07 22:35:49 +01:00
|
|
|
height: 31px;
|
|
|
|
line-height: 31px;
|
2012-12-07 22:35:17 +01:00
|
|
|
}
|
|
|
|
|
2015-01-23 20:35:09 +01:00
|
|
|
.device-phone .phui-crumb-view {
|
2013-03-26 21:15:15 +01:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2015-01-23 20:35:09 +01:00
|
|
|
.device-phone .phui-crumb-view.phabricator-last-crumb,
|
|
|
|
.device-phone .phui-crumb-view.phui-crumb-has-icon {
|
2013-03-26 21:15:15 +01:00
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2015-01-23 20:35:09 +01:00
|
|
|
.phui-crumb-icon {
|
2012-12-07 22:35:17 +01:00
|
|
|
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;
|
2014-06-10 01:06:20 +02:00
|
|
|
margin: 2px 2px 2px 10px;
|
2012-12-07 22:35:17 +01:00
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
2015-01-23 20:35:09 +01:00
|
|
|
.device-phone .phui-crumb-icon {
|
2013-03-26 21:15:15 +01:00
|
|
|
margin-left: 7px;
|
|
|
|
}
|
|
|
|
|
2015-01-23 20:35:09 +01:00
|
|
|
.phui-crumbs-actions {
|
2012-12-07 22:35:17 +01:00
|
|
|
float: right;
|
2014-04-27 18:48:31 +02:00
|
|
|
white-space: nowrap;
|
2012-12-07 22:35:17 +01:00
|
|
|
}
|
|
|
|
|
2015-01-23 20:35:09 +01:00
|
|
|
.phui-crumbs-action {
|
2012-12-07 22:35:17 +01:00
|
|
|
display: inline-block;
|
|
|
|
height: 17px;
|
2014-05-25 22:18:51 +02:00
|
|
|
padding: 8px 12px;
|
2012-12-07 22:35:17 +01:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2015-01-23 20:35:09 +01:00
|
|
|
.device-phone a.phui-crumbs-action {
|
2014-05-12 19:08:32 +02:00
|
|
|
padding: 7px;
|
2014-05-25 22:18:51 +02:00
|
|
|
border-left: 1px solid {$hovergrey};
|
|
|
|
}
|
|
|
|
|
2015-01-23 20:35:09 +01:00
|
|
|
.device-desktop a.phui-crumbs-action:hover {
|
2014-05-25 22:18:51 +02:00
|
|
|
background: rgba(205, 207, 211, .5);
|
|
|
|
text-decoration: none;
|
2013-03-26 21:15:15 +01:00
|
|
|
}
|
|
|
|
|
2015-01-23 20:35:09 +01:00
|
|
|
.device-phone .phui-crumbs-action-name {
|
2013-03-26 21:15:15 +01:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2015-01-23 20:35:09 +01:00
|
|
|
a.phui-crumbs-action .phui-icon-view {
|
2014-05-12 19:08:32 +02:00
|
|
|
margin-right: 5px;
|
2014-06-10 01:06:20 +02:00
|
|
|
color: {$darkbluetext};
|
2013-03-26 21:15:15 +01:00
|
|
|
}
|
|
|
|
|
2015-01-23 20:35:09 +01:00
|
|
|
.device-phone a.phui-crumbs-action .phui-icon-view {
|
2014-05-12 19:08:32 +02:00
|
|
|
margin-left: 5px;
|
2012-12-07 22:35:17 +01:00
|
|
|
}
|
|
|
|
|
2015-01-23 20:35:09 +01:00
|
|
|
.phui-crumb-divider {
|
2012-12-07 22:35:17 +01:00
|
|
|
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;
|
2014-06-10 01:06:20 +02:00
|
|
|
margin: 0 8px 0 4px;
|
2012-12-07 22:35:17 +01:00
|
|
|
}
|