mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-23 15:22:41 +01:00
b381265d92
Summary: First pass at a new Project Home page. This is starting to sprawl, so punting this up now before it gets too large. - Project homes now have "large header" - Custom Fields / Descriptions are in the main column - Feed is simpler visually - new "Background" option for PHUIObjectBoxView - move header buttons globally to "Grey" instead of "Simple" - New color and hover states for "Grey" - Transitions on Buttons haha - Edit Icon on Nav is now under "Manage" panel - New "Manage" Panel TODO: - More testing of bad cases of Custom Fields - Members Page in flux, needs design - Um still not sure how to make Custom Field not show UI Test Plan: Lots of random Project page visits. Save project, watch project, edit project, etc. {F1068191} Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D15097
298 lines
7.2 KiB
CSS
298 lines
7.2 KiB
CSS
/**
|
|
* @provides phui-profile-menu-css
|
|
*/
|
|
|
|
.device-desktop .phui-navigation-shell.phui-profile-menu {
|
|
display: table;
|
|
width: 100%;
|
|
height: calc(100vh - {$menu.main.height});
|
|
}
|
|
|
|
.device-desktop .phui-profile-menu .phabricator-nav {
|
|
display: table-row;
|
|
}
|
|
|
|
.device-desktop .phui-profile-menu .phabricator-nav-local {
|
|
display: table-cell;
|
|
position: relative;
|
|
vertical-align: top;
|
|
width: {$menu.profile.width};
|
|
max-width: {$menu.profile.width};
|
|
margin-top: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.device-desktop .phui-profile-menu-collapsed .phabricator-nav-local {
|
|
width: {$menu.profile.width.collapsed};
|
|
max-width: {$menu.profile.width.collapsed};
|
|
}
|
|
|
|
.device-desktop .phui-profile-menu .phabricator-nav-content {
|
|
display: table-cell;
|
|
margin-left: 0;
|
|
}
|
|
|
|
.phui-profile-menu .phabricator-side-menu {
|
|
background: {$menu.profile.background};
|
|
box-shadow: inset -2px 0 2px rgba(0, 0, 0, 0.150);
|
|
width: 240px;
|
|
}
|
|
|
|
.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: 0 8px 0 48px;
|
|
height: 48px;
|
|
font-size: {$biggerfontsize};
|
|
-webkit-font-smoothing: antialiased;
|
|
color: {$menu.profile.text};
|
|
line-height: 22px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
line-height: 48px;
|
|
}
|
|
|
|
.phui-profile-menu .phabricator-side-menu .phui-list-item-icon,
|
|
.phui-profile-menu .phabricator-side-menu
|
|
.phui-list-item-href .phui-list-item-icon {
|
|
position: absolute;
|
|
top: 12px;
|
|
left: 13px;
|
|
font-size: 24px;
|
|
width: 24px;
|
|
height: 24px;
|
|
line-height: 24px;
|
|
text-align: center;
|
|
color: {$menu.profile.text};
|
|
background-size: 100%;
|
|
}
|
|
|
|
.phui-profile-menu .phui-profile-menu-collapsed .phabricator-side-menu
|
|
.phui-list-item-href {
|
|
text-align: center;
|
|
padding: 42px 4px 14px;
|
|
line-height: 14px;
|
|
height: auto;
|
|
font-size: {$smallerfontsize};
|
|
}
|
|
|
|
.phui-profile-menu .phui-profile-menu-collapsed .phabricator-side-menu
|
|
.phui-list-item-name {
|
|
display: block;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.phui-profile-menu .phui-profile-menu-collapsed .phabricator-side-menu
|
|
.phui-list-item-icon,
|
|
.phui-profile-menu .phui-profile-menu-collapsed .phabricator-side-menu
|
|
.phui-list-item-href .phui-list-item-icon {
|
|
top: 14px;
|
|
left: 32px;
|
|
}
|
|
|
|
.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 {
|
|
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 {
|
|
color: {$menu.profile.text.selected};
|
|
}
|
|
|
|
.phui-profile-menu .phabricator-side-menu .phui-list-item-selected
|
|
.phui-list-item-href {
|
|
background-color: {$menu.profile.background.selected};
|
|
color: {$menu.profile.text.selected};
|
|
}
|
|
|
|
.phui-profile-menu .phabricator-side-menu .phui-divider {
|
|
margin: 4px 0;
|
|
border-bottom: 1px solid rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.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};
|
|
}
|
|
|
|
.phui-profile-menu .phabricator-side-menu .phui-profile-menu-spacer {
|
|
box-sizing: border-box;
|
|
height: {$menu.profile.item.height};
|
|
}
|
|
|
|
.phui-profile-menu .phui-profile-menu-collapsed .phabricator-side-menu
|
|
.phui-profile-menu-footer
|
|
.phui-list-item-name {
|
|
display: none;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
|
|
.phui-profile-menu .phui-profile-menu-collapsed .phabricator-side-menu
|
|
.phui-profile-menu-footer .phui-list-item-href {
|
|
padding: 20px 0 24px;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.phui-profile-menu .phui-profile-menu-footer .phui-icon-circle {
|
|
border-color: {$menu.profile.text};
|
|
}
|
|
|
|
.phui-profile-menu .phui-profile-menu-footer .phui-icon-circle .phui-icon-view {
|
|
color: {$menu.profile.text};
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.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 {
|
|
color: #fff;
|
|
}
|
|
|
|
.phui-profile-menu .phui-profile-menu-footer
|
|
.phui-icon-circle.phui-list-item-icon {
|
|
font-size: 12px;
|
|
}
|
|
|
|
div.phui-profile-menu .phabricator-side-menu .phui-profile-menu-footer-1 {
|
|
bottom: 0;
|
|
position: fixed;
|
|
background-color: {$menu.profile.background};
|
|
}
|
|
|
|
.phui-profile-menu .phui-profile-menu-footer-1 {
|
|
width: {$menu.profile.width};
|
|
}
|
|
|
|
.phui-profile-menu .phui-profile-menu-collapsed .phui-profile-menu-footer-1 {
|
|
width: {$menu.profile.width.collapsed};
|
|
}
|
|
|
|
.phui-profile-menu .phabricator-side-menu
|
|
.phui-list-item-selected.phui-profile-menu-footer .phui-list-item-href {
|
|
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};
|
|
}
|
|
}
|