mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-28 00:10:57 +01:00
b2f3001ec4
Summary: The removes the sprite sheet 'icons' and replaces it with FontAwesome fonts. Test Plan: - Grep for SPRITE_ICONS and replace - Grep for sprite-icons and replace - Grep for PhabricatorActionList and choose all new icons - Grep for Crumbs and fix icons - Test/Replace PHUIList Icon support - Test/Replace ObjectList Icon support (foot, epoch, etc) - Browse as many pages as I could get to - Remove sprite-icons and move remarkup to own sheet - Review this diff in Differential Reviewers: btrahan, epriestley Reviewed By: epriestley Subscribers: epriestley, Korvin, hach-que Differential Revision: https://secure.phabricator.com/D9052
114 lines
2.2 KiB
CSS
114 lines
2.2 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: {$darkgreytext};
|
|
font-weight: bold;
|
|
text-decoration: none;
|
|
text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9);
|
|
}
|
|
|
|
.phabricator-crumbs-view a.phabricator-crumbs-action-disabled {
|
|
color: {$lightgreytext};
|
|
}
|
|
|
|
.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);
|
|
}
|
|
|
|
.phabricator-crumbs-view + .phui-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;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.phabricator-crumbs-action {
|
|
display: inline-block;
|
|
height: 17px;
|
|
padding: 8px 14px 8px 24px;
|
|
position: relative;
|
|
}
|
|
|
|
.device-phone a.phabricator-crumbs-action {
|
|
padding: 7px;
|
|
border-left: 1px solid #ccc;
|
|
}
|
|
|
|
.device-phone .phabricator-crumbs-action-name {
|
|
display: none;
|
|
}
|
|
|
|
a.phabricator-crumbs-action .phui-icon-view {
|
|
margin-right: 5px;
|
|
}
|
|
|
|
.device-phone a.phabricator-crumbs-action .phui-icon-view {
|
|
margin-left: 5px;
|
|
}
|
|
|
|
.phabricator-crumb-divider {
|
|
display: inline-block;
|
|
width: 9px;
|
|
height: 31px;
|
|
vertical-align: top;
|
|
margin: 0 9px;
|
|
}
|