2016-01-14 01:07:04 +01:00
|
|
|
/**
|
|
|
|
* @provides phui-profile-menu-css
|
|
|
|
*/
|
|
|
|
|
2016-01-14 02:29:25 +01:00
|
|
|
.device-desktop .phui-navigation-shell.phui-profile-menu {
|
|
|
|
display: table;
|
2016-01-14 16:17:10 +01:00
|
|
|
width: 100%;
|
2016-01-14 02:29:25 +01:00
|
|
|
height: calc(100vh - {$menu.main.height});
|
|
|
|
}
|
|
|
|
|
|
|
|
.device-desktop .phui-profile-menu .phabricator-nav {
|
|
|
|
display: table-row;
|
2016-01-14 01:07:04 +01:00
|
|
|
}
|
|
|
|
|
2016-01-14 02:29:25 +01:00
|
|
|
.device-desktop .phui-profile-menu .phabricator-nav-local {
|
|
|
|
display: table-cell;
|
|
|
|
position: relative;
|
|
|
|
vertical-align: top;
|
2016-01-19 19:35:32 +01:00
|
|
|
width: {$menu.profile.width};
|
|
|
|
max-width: {$menu.profile.width};
|
2016-01-14 01:07:04 +01:00
|
|
|
margin-top: 0;
|
2016-01-18 17:32:36 +01:00
|
|
|
overflow: hidden;
|
2016-01-14 01:07:04 +01:00
|
|
|
}
|
|
|
|
|
2016-01-19 19:35:32 +01:00
|
|
|
.device-desktop .phui-profile-menu-collapsed .phabricator-nav-local {
|
|
|
|
width: {$menu.profile.width.collapsed};
|
|
|
|
max-width: {$menu.profile.width.collapsed};
|
|
|
|
}
|
|
|
|
|
2016-01-14 01:07:04 +01:00
|
|
|
.device-desktop .phui-profile-menu .phabricator-nav-content {
|
2016-01-14 02:29:25 +01:00
|
|
|
display: table-cell;
|
|
|
|
margin-left: 0;
|
2016-01-14 01:07:04 +01:00
|
|
|
}
|
|
|
|
|
2016-01-14 02:29:25 +01:00
|
|
|
.phui-profile-menu .phabricator-side-menu {
|
|
|
|
background: {$menu.profile.background};
|
|
|
|
box-shadow: inset -2px 0 2px rgba(0, 0, 0, 0.150);
|
|
|
|
width: 240px;
|
2016-01-14 01:07:04 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.phui-profile-menu .phabricator-side-menu .phui-list-item-view {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.phui-profile-menu .phabricator-side-menu .phui-list-item-href {
|
|
|
|
display: block;
|
|
|
|
text-decoration: none;
|
|
|
|
padding: 12px 8px 12px 48px;
|
|
|
|
font-size: 15px;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
color: {$menu.profile.text};
|
|
|
|
line-height: 22px;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2016-01-19 19:35:32 +01:00
|
|
|
|
|
|
|
/* NOTE: We must have an opaque background on these items so the footer
|
|
|
|
items appear opaque when the render over normal items. */
|
|
|
|
background: {$menu.profile.background};
|
2016-01-14 01:07:04 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.phui-profile-menu .phabricator-side-menu .phui-list-item-icon,
|
2016-01-15 00:29:21 +01:00
|
|
|
.phui-profile-menu .phabricator-side-menu
|
|
|
|
.phui-list-item-href .phui-icon-view {
|
2016-01-14 01:07:04 +01:00
|
|
|
position: absolute;
|
|
|
|
top: 12px;
|
2016-01-19 19:35:32 +01:00
|
|
|
left: 13px;
|
2016-01-14 01:07:04 +01:00
|
|
|
font-size: 20px;
|
|
|
|
width: 22px;
|
|
|
|
height: 22px;
|
|
|
|
line-height: 22px;
|
|
|
|
text-align: center;
|
2016-01-19 19:35:32 +01:00
|
|
|
color: {$menu.profile.text};
|
2016-01-14 01:07:04 +01:00
|
|
|
background-size: 100%;
|
|
|
|
}
|
|
|
|
|
2016-01-20 01:27:36 +01:00
|
|
|
.phui-profile-menu .phui-profile-menu-collapsed .phabricator-side-menu
|
|
|
|
.phui-list-item-href {
|
2016-01-19 19:35:32 +01:00
|
|
|
text-align: center;
|
|
|
|
padding: 42px 8px 12px;
|
|
|
|
font-size: 11px;
|
|
|
|
line-height: 13px;
|
|
|
|
}
|
|
|
|
|
2016-01-20 01:27:36 +01:00
|
|
|
.phui-profile-menu .phui-profile-menu-collapsed .phabricator-side-menu
|
|
|
|
.phui-list-item-name {
|
2016-01-19 19:35:32 +01:00
|
|
|
display: block;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
2016-01-20 01:27:36 +01:00
|
|
|
.phui-profile-menu .phui-profile-menu-collapsed .phabricator-side-menu
|
|
|
|
.phui-list-item-icon,
|
|
|
|
.phui-profile-menu .phui-profile-menu-collapsed .phabricator-side-menu
|
2016-01-19 19:35:32 +01:00
|
|
|
.phui-list-item-href .phui-icon-view {
|
|
|
|
top: 10px;
|
|
|
|
left: 29px;
|
|
|
|
}
|
|
|
|
|
2016-01-14 01:07:04 +01:00
|
|
|
.phui-profile-menu .phabricator-side-menu
|
|
|
|
.phui-list-item-disabled
|
|
|
|
.phui-list-item-icon {
|
|
|
|
color: {$menu.profile.icon.disabled};
|
|
|
|
}
|
|
|
|
|
|
|
|
.phui-profile-menu .phabricator-side-menu .phui-icon-view {
|
|
|
|
border-radius: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.device-desktop .phui-profile-menu .phabricator-side-menu
|
|
|
|
.phui-list-item-href:hover {
|
2016-01-19 19:35:32 +01:00
|
|
|
background-color: {$menu.profile.background.hover};
|
|
|
|
color: {$menu.profile.text.selected};
|
|
|
|
}
|
|
|
|
|
|
|
|
.phui-profile-menu .phabricator-side-menu
|
|
|
|
.phui-list-item-selected
|
|
|
|
.phui-list-item-icon,
|
|
|
|
.device-desktop .phui-profile-menu .phabricator-side-menu
|
|
|
|
.phui-list-item-href:hover
|
|
|
|
.phui-list-item-icon {
|
2016-01-14 01:07:04 +01:00
|
|
|
color: {$menu.profile.text.selected};
|
|
|
|
}
|
|
|
|
|
|
|
|
.phui-profile-menu .phabricator-side-menu .phui-list-item-selected
|
|
|
|
.phui-list-item-href,
|
|
|
|
.device-desktop .phui-profile-menu .phabricator-side-menu
|
|
|
|
.phui-list-item-selected
|
|
|
|
.phui-list-item-href:hover {
|
2016-01-19 19:35:32 +01:00
|
|
|
background-color: {$menu.profile.background.selected};
|
2016-01-14 01:07:04 +01:00
|
|
|
color: {$menu.profile.text.selected};
|
|
|
|
}
|
2016-01-14 23:34:21 +01:00
|
|
|
|
|
|
|
|
|
|
|
.phui-profile-menu .phabricator-side-menu .phui-divider {
|
|
|
|
margin: 4px 0;
|
|
|
|
border-bottom: 1px solid rgba(0, 0, 0, 0.200);
|
|
|
|
}
|
2016-01-15 00:29:21 +01:00
|
|
|
|
|
|
|
.phui-profile-menu .phabricator-side-menu .phui-motivator {
|
|
|
|
white-space: normal;
|
|
|
|
padding: 18px 15px;
|
|
|
|
font-size: 12px;
|
|
|
|
color: {$menu.profile.text};
|
|
|
|
}
|
|
|
|
|
|
|
|
.phui-profile-menu .phabricator-side-menu .phui-motivator .phui-icon-view {
|
|
|
|
position: static;
|
|
|
|
font-size: 12px;
|
|
|
|
color: {$menu.profile.text};
|
|
|
|
}
|
2016-01-19 19:35:32 +01:00
|
|
|
|
|
|
|
.phui-profile-menu .phabricator-side-menu .phui-profile-menu-spacer {
|
|
|
|
box-sizing: border-box;
|
|
|
|
height: {$menu.profile.item.height};
|
|
|
|
}
|
|
|
|
|
|
|
|
.phui-profile-menu .phabricator-side-menu .phui-profile-menu-footer {
|
|
|
|
position: fixed;
|
|
|
|
box-sizing: border-box;
|
|
|
|
width: {$menu.profile.width};
|
|
|
|
bottom: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.phui-profile-menu .phabricator-side-menu .phui-profile-menu-footer-1 {
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.phui-profile-menu .phabricator-side-menu .phui-profile-menu-footer-2 {
|
|
|
|
left: 120px;
|
|
|
|
}
|
|
|
|
|
2016-01-20 01:27:36 +01:00
|
|
|
.phui-profile-menu .phui-profile-menu-collapsed .phabricator-side-menu
|
|
|
|
.phui-profile-menu-footer {
|
2016-01-19 19:35:32 +01:00
|
|
|
width: 40px;
|
|
|
|
height: {$menu.profile.item.height};
|
|
|
|
bottom: 0px;
|
|
|
|
}
|
|
|
|
|
2016-01-20 01:27:36 +01:00
|
|
|
.phui-profile-menu .phui-profile-menu-collapsed .phabricator-side-menu
|
|
|
|
.phui-profile-menu-footer-1 {
|
2016-01-19 19:35:32 +01:00
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
|
2016-01-20 01:27:36 +01:00
|
|
|
.phui-profile-menu .phui-profile-menu-collapsed .phabricator-side-menu
|
|
|
|
.phui-profile-menu-footer-2 {
|
2016-01-19 19:35:32 +01:00
|
|
|
left: 40px;
|
|
|
|
}
|
|
|
|
|
2016-01-20 01:27:36 +01:00
|
|
|
.phui-profile-menu .phui-profile-menu-collapsed .phabricator-side-menu
|
|
|
|
.phui-profile-menu-footer
|
2016-01-19 19:35:32 +01:00
|
|
|
.phui-list-item-name {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2016-01-20 01:27:36 +01:00
|
|
|
.phui-profile-menu .phui-profile-menu-collapsed .phabricator-side-menu
|
|
|
|
.phui-profile-menu-footer
|
2016-01-19 19:35:32 +01:00
|
|
|
.phui-list-item-icon {
|
|
|
|
top: 10px;
|
|
|
|
left: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.phui-profile-menu .phui-profile-menu-expanded
|
|
|
|
.phui-profile-menu-visible-when-collapsed,
|
|
|
|
.phui-profile-menu .phui-profile-menu-collapsed
|
|
|
|
.phui-profile-menu-visible-when-expanded {
|
|
|
|
display: none;
|
|
|
|
}
|