2021-01-19 20:56:42 +00:00
|
|
|
#personalmenu {
|
|
|
|
position: relative;
|
|
|
|
font-size: @ui-menu-text;
|
|
|
|
opacity: 0;
|
|
|
|
pointer-events: none;
|
|
|
|
transition: @transition-opacity-quick;
|
|
|
|
user-select: none;
|
|
|
|
visibility: hidden;
|
|
|
|
|
|
|
|
&-checkbox {
|
|
|
|
&:checked {
|
|
|
|
~ #personalmenu {
|
|
|
|
opacity: 1;
|
|
|
|
pointer-events: auto;
|
|
|
|
visibility: visible;
|
|
|
|
|
|
|
|
&-button {
|
2021-05-10 16:00:04 +00:00
|
|
|
&:after {
|
|
|
|
opacity: var( --opacity-icon-base--hover );
|
|
|
|
}
|
2021-01-19 20:56:42 +00:00
|
|
|
|
2021-05-10 16:00:04 +00:00
|
|
|
&:active:after {
|
2021-01-19 20:56:42 +00:00
|
|
|
opacity: var( --opacity-icon-base--active );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-button {
|
2021-05-10 16:00:04 +00:00
|
|
|
position: relative;
|
2021-05-04 17:27:47 +00:00
|
|
|
font-size: 0; // Hide label text
|
2021-01-19 20:56:42 +00:00
|
|
|
|
2021-05-10 16:00:04 +00:00
|
|
|
&:after {
|
2021-01-19 20:56:42 +00:00
|
|
|
display: block;
|
|
|
|
width: inherit;
|
|
|
|
height: inherit;
|
|
|
|
background-position: center;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
content: '';
|
2021-05-10 16:00:04 +00:00
|
|
|
opacity: var( --opacity-icon-base );
|
|
|
|
transition: @transition-opacity-quick;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover:after {
|
|
|
|
opacity: var( --opacity-icon-base--hover );
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active:after {
|
|
|
|
opacity: var( --opacity-icon-base--active );
|
2021-01-19 20:56:42 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#p-personal {
|
|
|
|
position: fixed;
|
|
|
|
top: var( --height-header );
|
2021-03-06 14:48:58 +00:00
|
|
|
right: var( --padding-page );
|
|
|
|
left: var( --padding-page );
|
2021-01-19 20:56:42 +00:00
|
|
|
margin: 0;
|
|
|
|
|
|
|
|
ul {
|
|
|
|
overflow: hidden; // So that hover state is rounded
|
|
|
|
border: 1px solid var( --border-color-base--lighter );
|
|
|
|
background-color: var( --background-color-dp-08 );
|
2021-05-27 14:35:21 +00:00
|
|
|
border-radius: var( --border-radius--medium );
|
2021-01-19 20:56:42 +00:00
|
|
|
.boxshadow(4);
|
|
|
|
}
|
|
|
|
|
2021-01-22 00:16:21 +00:00
|
|
|
li:not( #pt-usergroups ):not( #pt-userpage ) {
|
|
|
|
a {
|
|
|
|
.menu-item-link;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
padding: 10px 20px;
|
2021-01-19 20:56:42 +00:00
|
|
|
|
|
|
|
&:after {
|
2021-01-22 00:16:21 +00:00
|
|
|
.resource-loader-list-icon;
|
|
|
|
display: block;
|
|
|
|
margin-left: @icon-padding;
|
|
|
|
background-size: contain;
|
|
|
|
opacity: var( --opacity-icon-base );
|
|
|
|
transition: @transition-opacity-quick;
|
2021-01-19 20:56:42 +00:00
|
|
|
}
|
|
|
|
|
2021-01-22 00:16:21 +00:00
|
|
|
&:hover {
|
|
|
|
.menu-item-link-hover;
|
2021-01-19 20:56:42 +00:00
|
|
|
|
2021-01-22 00:16:21 +00:00
|
|
|
&:after {
|
|
|
|
opacity: var( --opacity-icon-base--hover );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
.menu-item-link-active;
|
|
|
|
|
|
|
|
&:after {
|
|
|
|
opacity: var( --opacity-icon-base--active );
|
|
|
|
}
|
2021-01-19 20:56:42 +00:00
|
|
|
}
|
|
|
|
}
|
2021-01-26 19:37:22 +00:00
|
|
|
|
|
|
|
// Need to be specific to override
|
|
|
|
&#pt-login {
|
|
|
|
a {
|
|
|
|
.button-blue;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
.button-blue-hover;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
.button-blue-active;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&#pt-logout {
|
|
|
|
a {
|
|
|
|
.button-red;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
.button-red-hover;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
.button-red-active;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-01-19 20:56:42 +00:00
|
|
|
}
|
|
|
|
|
2021-03-09 20:04:48 +00:00
|
|
|
#pt-user {
|
|
|
|
&page {
|
|
|
|
padding: 16px 12px 0 12px;
|
2021-01-22 00:16:21 +00:00
|
|
|
|
2021-03-09 20:04:48 +00:00
|
|
|
a {
|
|
|
|
justify-content: flex-start;
|
|
|
|
padding: 4px 8px;
|
|
|
|
color: var( --color-base--emphasized ) !important;
|
|
|
|
font-size: 16px;
|
|
|
|
font-weight: 600;
|
|
|
|
word-break: break-word;
|
|
|
|
}
|
2021-01-22 00:16:21 +00:00
|
|
|
}
|
2021-01-19 20:56:42 +00:00
|
|
|
|
2021-03-09 20:04:48 +00:00
|
|
|
&groups {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
padding: 0 16px;
|
|
|
|
margin-bottom: 8px;
|
2021-01-22 00:16:21 +00:00
|
|
|
|
2021-03-09 20:04:48 +00:00
|
|
|
a {
|
|
|
|
padding: 2px 4px;
|
|
|
|
color: var( --color-base--subtle );
|
|
|
|
}
|
2021-01-22 00:16:21 +00:00
|
|
|
}
|
|
|
|
|
2021-03-09 20:04:48 +00:00
|
|
|
&page,
|
|
|
|
&groups {
|
|
|
|
line-height: 1;
|
2021-01-22 00:16:21 +00:00
|
|
|
|
2021-03-09 20:04:48 +00:00
|
|
|
a {
|
|
|
|
display: block;
|
|
|
|
transition: @transition-color-quick;
|
2021-01-22 00:16:21 +00:00
|
|
|
|
2021-03-09 20:04:48 +00:00
|
|
|
&:hover {
|
|
|
|
color: var( --color-primary--hover ) !important;
|
|
|
|
}
|
2021-01-22 00:16:21 +00:00
|
|
|
|
2021-03-09 20:04:48 +00:00
|
|
|
&:active {
|
|
|
|
color: var( --color-primary--active ) !important;
|
|
|
|
}
|
2021-01-19 20:56:42 +00:00
|
|
|
}
|
|
|
|
}
|
2021-03-09 20:04:48 +00:00
|
|
|
|
|
|
|
&contris {
|
|
|
|
padding: 0 20px 10px 20px;
|
|
|
|
border-bottom: 1px solid var( --border-color-base );
|
|
|
|
font-weight: 450;
|
|
|
|
}
|
2021-01-19 20:56:42 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.skin-citizen-dark {
|
2021-05-10 16:00:04 +00:00
|
|
|
#personalmenu-button:after,
|
2021-01-19 20:56:42 +00:00
|
|
|
#p-personal a:after {
|
|
|
|
filter: invert( 1 );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media ( min-width: @width-breakpoint-tablet ) {
|
|
|
|
#p-personal {
|
|
|
|
position: absolute;
|
2021-03-07 19:11:22 +00:00
|
|
|
right: 0;
|
2021-03-07 19:12:02 +00:00
|
|
|
left: unset;
|
2021-03-06 14:48:58 +00:00
|
|
|
min-width: 250px;
|
2021-01-19 20:56:42 +00:00
|
|
|
}
|
|
|
|
}
|