mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-30 10:42:41 +01:00
dd94512837
Summary: - Adds `PhabricatorMenuItemView` which is a non-hacky object representing a single menu item. - Adds `PhabricatorMenuView`, a collection of items. - Deletes some busted/old interfaces full of garbage nonsense. - Merges menu item styles from `aphront-side-nav-view-css` and `phabricator-nav-view-css`. These are old-style and new-style rules which got partially updated recently. - The new-style menus have a darker background (#ececec) than the old-style menus (#f7f7f7) so some of the highlight/hover colors weren't visible. I shuffled them around but something or other might need further adjustment. Test Plan: looked at every menu I could Reviewers: chad Reviewed By: chad CC: aran Maniphest Tasks: T1960 Differential Revision: https://secure.phabricator.com/D4036
62 lines
1.3 KiB
CSS
62 lines
1.3 KiB
CSS
/**
|
|
* @provides phabricator-filetree-view-css
|
|
*/
|
|
|
|
.phabricator-filetree {
|
|
background: #fcfcfc;
|
|
border-style: solid;
|
|
border-width: 1px 0;
|
|
border-color: #a0a0a0;
|
|
padding: 4px 0;
|
|
}
|
|
|
|
/* NOTE: Until the whole side nav situation gets cleaned up, we need to be
|
|
highly specific in specifying selectors here, to override side nav styles.
|
|
*/
|
|
|
|
.phabricator-filetree .phabricator-filetree-item {
|
|
margin: 0;
|
|
padding: 0;
|
|
display: block;
|
|
}
|
|
|
|
.phabricator-filetree span.phabricator-filetree-icon {
|
|
background-repeat: no-repeat;
|
|
background-position: 0 2px;
|
|
width: 16px;
|
|
height: 20px;
|
|
padding: 0;
|
|
float: left;
|
|
}
|
|
|
|
.phabricator-filetree span.phabricator-filetree-name {
|
|
padding: 0;
|
|
margin-left: 4px;
|
|
font-size: 11px;
|
|
font-weight: normal;
|
|
line-height: 20px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.phabricator-filetree span.phabricator-filetree-item
|
|
.phabricator-filetree-name {
|
|
color: #666666;
|
|
}
|
|
|
|
.phabricator-filetree a.phabricator-filetree-item
|
|
.phabricator-filetree-name {
|
|
color: #3b5998;
|
|
}
|
|
|
|
.phabricator-filetree-icon-file {
|
|
background-image: url(/rsrc/image/icon/fatcow/page_white_text.png);
|
|
}
|
|
|
|
.phabricator-filetree-icon-dir {
|
|
background-image: url(/rsrc/image/icon/fatcow/folder.png);
|
|
}
|
|
|
|
.phabricator-nav-local
|
|
a.phabricator-active-nav-focus {
|
|
background: #9caccf;
|
|
}
|