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;
|
2016-01-21 23:07:09 +01:00
|
|
|
padding: 0 8px 0 48px;
|
|
|
|
height: 48px;
|
|
|
|
font-size: {$biggerfontsize};
|
2016-01-14 01:07:04 +01:00
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
color: {$menu.profile.text};
|
|
|
|
line-height: 22px;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2016-01-21 23:07:09 +01:00
|
|
|
line-height: 48px;
|
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
|
2016-01-21 23:07:09 +01:00
|
|
|
.phui-list-item-href .phui-list-item-icon {
|
2016-01-14 01:07:04 +01:00
|
|
|
position: absolute;
|
|
|
|
top: 12px;
|
2016-01-19 19:35:32 +01:00
|
|
|
left: 13px;
|
2016-01-21 23:07:09 +01:00
|
|
|
font-size: 24px;
|
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
|
|
|
line-height: 24px;
|
2016-01-14 01:07:04 +01:00
|
|
|
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;
|
2016-01-21 23:07:09 +01:00
|
|
|
padding: 42px 4px 14px;
|
|
|
|
line-height: 14px;
|
|
|
|
height: auto;
|
|
|
|
font-size: {$smallerfontsize};
|
2016-01-19 19:35:32 +01:00
|
|
|
}
|
|
|
|
|
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-21 23:07:09 +01:00
|
|
|
.phui-list-item-href .phui-list-item-icon {
|
|
|
|
top: 14px;
|
2016-01-22 04:02:08 +01:00
|
|
|
left: 32px;
|
2016-01-19 19:35:32 +01:00
|
|
|
}
|
|
|
|
|
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
|
2016-01-22 04:02:08 +01:00
|
|
|
.phui-list-item-href {
|
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;
|
2016-01-21 23:07:09 +01:00
|
|
|
border-bottom: 1px solid rgba(0, 0, 0, 0.2);
|
2016-01-14 23:34:21 +01:00
|
|
|
}
|
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};
|
|
|
|
}
|
|
|
|
|
2016-01-21 23:07:09 +01:00
|
|
|
.phui-profile-menu .phui-profile-menu-collapsed .phabricator-side-menu
|
|
|
|
.phui-profile-menu-footer
|
|
|
|
.phui-list-item-name {
|
|
|
|
display: none;
|
2016-01-19 19:35:32 +01:00
|
|
|
}
|
|
|
|
|
2016-01-21 23:07:09 +01:00
|
|
|
.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;
|
2016-01-19 19:35:32 +01:00
|
|
|
}
|
|
|
|
|
2016-01-22 04:02:08 +01:00
|
|
|
|
|
|
|
.phui-profile-menu .phui-profile-menu-collapsed .phabricator-side-menu
|
|
|
|
.phui-profile-menu-footer .phui-list-item-href {
|
2016-01-24 01:02:29 +01:00
|
|
|
padding: 20px 0 24px;
|
2016-01-22 04:02:08 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.phui-profile-menu .phabricator-side-menu .phui-profile-menu-footer
|
|
|
|
.phui-list-item-href:hover {
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.phui-profile-menu .phui-profile-menu-collapsed .phabricator-side-menu
|
|
|
|
.phui-profile-menu-footer .phui-list-item-href .phui-list-item-icon {
|
|
|
|
top: 8px;
|
|
|
|
}
|
|
|
|
|
2016-01-21 23:07:09 +01:00
|
|
|
.phui-profile-menu .phui-profile-menu-footer .phui-icon-circle {
|
|
|
|
border-color: {$menu.profile.text};
|
2016-01-19 19:35:32 +01:00
|
|
|
}
|
|
|
|
|
2016-01-21 23:07:09 +01:00
|
|
|
.phui-profile-menu .phui-profile-menu-footer .phui-icon-circle .phui-icon-view {
|
|
|
|
color: {$menu.profile.text};
|
2016-01-19 19:35:32 +01:00
|
|
|
}
|
|
|
|
|
2016-01-22 04:02:08 +01:00
|
|
|
.phui-profile-menu .phui-profile-menu-footer .phui-list-item-href:hover
|
|
|
|
.phui-icon-circle,
|
|
|
|
.phui-profile-menu .phui-list-item-selected.phui-profile-menu-footer
|
|
|
|
.phui-icon-circle {
|
|
|
|
border-color: #fff;
|
2016-01-19 19:35:32 +01:00
|
|
|
}
|
|
|
|
|
2016-01-22 04:02:08 +01:00
|
|
|
.phui-profile-menu .phui-profile-menu-footer .phui-list-item-href:hover
|
|
|
|
.phui-icon-circle .phui-icon-view,
|
|
|
|
.phui-profile-menu .phui-list-item-selected.phui-profile-menu-footer
|
|
|
|
.phui-icon-circle .phui-icon-view {
|
2016-01-21 23:07:09 +01:00
|
|
|
color: #fff;
|
2016-01-19 19:35:32 +01:00
|
|
|
}
|
|
|
|
|
2016-01-21 23:07:09 +01:00
|
|
|
.phui-profile-menu .phui-profile-menu-footer
|
|
|
|
.phui-icon-circle.phui-list-item-icon {
|
2016-01-24 01:02:29 +01:00
|
|
|
font-size: 12px;
|
2016-01-19 19:35:32 +01:00
|
|
|
}
|
2016-01-22 04:02:08 +01:00
|
|
|
|
|
|
|
div.phui-profile-menu .phabricator-side-menu .phui-profile-menu-footer-1 {
|
|
|
|
bottom: 0;
|
|
|
|
position: fixed;
|
|
|
|
background-color: {$menu.profile.background};
|
|
|
|
}
|
|
|
|
|
2016-01-24 01:02:29 +01:00
|
|
|
.phui-profile-menu .phui-profile-menu-footer-1 {
|
2016-01-22 04:02:08 +01:00
|
|
|
width: {$menu.profile.width};
|
|
|
|
}
|
|
|
|
|
2016-01-24 01:02:29 +01:00
|
|
|
.phui-profile-menu .phui-profile-menu-collapsed .phui-profile-menu-footer-1 {
|
2016-01-22 04:02:08 +01:00
|
|
|
width: {$menu.profile.width.collapsed};
|
|
|
|
}
|
|
|
|
|
|
|
|
.phui-profile-menu .phabricator-side-menu
|
|
|
|
.phui-list-item-selected.phui-profile-menu-footer .phui-list-item-href {
|
2016-01-23 23:24:09 +01:00
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.phui-profile-menu .phui-profile-menu-collapsing
|
|
|
|
.phabricator-nav-local {
|
|
|
|
animation: profile-menu-collapse 0.2s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.phui-profile-menu .phui-profile-menu-expanding
|
|
|
|
.phabricator-nav-local {
|
|
|
|
animation: profile-menu-expand 0.2s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.phui-profile-menu .phui-profile-menu-collapsing
|
|
|
|
.phabricator-side-menu .phui-list-item-href {
|
|
|
|
animation: profile-menu-blink 0.2s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.phui-profile-menu .phui-profile-menu-expanding
|
|
|
|
.phabricator-side-menu .phui-list-item-href {
|
|
|
|
animation: profile-menu-blink 0.2s;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes profile-menu-blink {
|
|
|
|
0% {
|
|
|
|
opacity: 1.0;
|
|
|
|
}
|
|
|
|
25% {
|
|
|
|
opacity: 0.0;
|
|
|
|
}
|
|
|
|
75% {
|
|
|
|
opacity: 0.0;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
opacity: 1.0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes profile-menu-collapse {
|
|
|
|
0% {
|
|
|
|
width: {$menu.profile.width};
|
|
|
|
max-width: {$menu.profile.width};
|
|
|
|
}
|
|
|
|
33% {
|
|
|
|
width: {$menu.profile.width};
|
|
|
|
max-width: {$menu.profile.width};
|
|
|
|
}
|
|
|
|
66% {
|
|
|
|
width: {$menu.profile.width.collapsed};
|
|
|
|
max-width: {$menu.profile.width.collapsed};
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
width: {$menu.profile.width.collapsed};
|
|
|
|
max-width: {$menu.profile.width.collapsed};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes profile-menu-expand {
|
|
|
|
0% {
|
|
|
|
width: {$menu.profile.width.collapsed};
|
|
|
|
max-width: {$menu.profile.width.collapsed};
|
|
|
|
}
|
|
|
|
33% {
|
|
|
|
width: {$menu.profile.width.collapsed};
|
|
|
|
max-width: {$menu.profile.width.collapsed};
|
|
|
|
}
|
|
|
|
66% {
|
|
|
|
width: {$menu.profile.width};
|
|
|
|
max-width: {$menu.profile.width};
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
width: {$menu.profile.width};
|
|
|
|
max-width: {$menu.profile.width};
|
|
|
|
}
|
2016-01-22 04:02:08 +01:00
|
|
|
}
|