mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-21 21:10:56 +01:00
f1bf27959f
Summary: This diff covers a bit of ground. - PHUIDocumentExample has been added - PHUIDocument has been extended with new features - PhabricatorMenuView is now PHUIListView - PhabricatorMenuItemView is now PHUIItemListView Overall - I think I've gotten all the edges covered here. There is some derpi-ness that we can talk about, comments in the code. Responsive design is missing from the new features on PHUIDocument, will follow up later. Test Plan: Tested mobile and desktop menus, old phriction layout, new document views, new lists, and object lists. Reviewers: epriestley, btrahan Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D6130
58 lines
1.3 KiB
CSS
58 lines
1.3 KiB
CSS
/**
|
|
* @provides phabricator-side-menu-view-css
|
|
*/
|
|
|
|
.phabricator-side-menu .phui-list-item-view {
|
|
display: block;
|
|
white-space: nowrap;
|
|
text-decoration: none;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.phabricator-side-menu .phui-list-item-href {
|
|
display: block;
|
|
padding: 6px 8px 6px 24px;
|
|
color: #e1e2e5;
|
|
text-shadow: rgba(0, 0, 0, 1) 0px 1px 1px;
|
|
}
|
|
|
|
.phabricator-side-menu .phui-list-item-selected,
|
|
.device-desktop .phui-side-menu
|
|
.phui-list-item-selected.phui-list-item-href:hover {
|
|
background-color: #305c85;
|
|
color: #fff;
|
|
}
|
|
|
|
.phabricator-side-menu .phui-list-item-type-label {
|
|
padding: 6px 8px 4px 12px;
|
|
color: #f7f7f7;
|
|
text-transform: uppercase;
|
|
font-size: 12px;
|
|
font-weight: bold;
|
|
border-style: solid;
|
|
background-color: #000;
|
|
}
|
|
|
|
.phabricator-dark-menu .phui-list-item-type-button,
|
|
.phabricator-side-menu .phui-list-item-type-button {
|
|
width: 50%;
|
|
padding: 5px 8px;
|
|
display: block;
|
|
border-radius: 4px;
|
|
border: 2px solid #000;
|
|
margin: 10px auto;
|
|
color: #fff;
|
|
font-size: 14px;
|
|
text-shadow: 0px 1px 1px #000000;
|
|
font-weight: bold;
|
|
text-align: center;
|
|
}
|
|
|
|
.phabricator-side-menu .phui-list-item-type-button:hover {
|
|
background-color: #1e2225;
|
|
}
|
|
|
|
.device-desktop .phabricator-side-menu a.phui-list-item-href:hover {
|
|
text-decoration: none;
|
|
background-color: #1e2225;
|
|
}
|