2022-05-10 15:56:50 +00:00
|
|
|
.citizen-personalMenu {
|
2022-05-10 16:55:20 +00:00
|
|
|
&__card {
|
|
|
|
font-size: 0.875rem;
|
2022-09-29 23:12:56 +00:00
|
|
|
.citizen-header-card( right );
|
2021-01-19 20:56:42 +00:00
|
|
|
}
|
2022-05-23 20:10:14 +00:00
|
|
|
}
|
2021-01-19 20:56:42 +00:00
|
|
|
|
2022-05-23 20:10:14 +00:00
|
|
|
.mw-portlet {
|
|
|
|
&-personal-header {
|
|
|
|
padding: 0.75rem 0 0.5rem;
|
|
|
|
border-bottom: 1px solid var( --border-color-base );
|
2021-01-19 20:56:42 +00:00
|
|
|
|
2022-05-23 20:10:14 +00:00
|
|
|
li {
|
|
|
|
margin: 0 0.75rem;
|
|
|
|
}
|
|
|
|
}
|
2021-01-19 20:56:42 +00:00
|
|
|
|
2022-05-23 20:10:14 +00:00
|
|
|
&-personal {
|
|
|
|
li {
|
|
|
|
a {
|
|
|
|
.menu-item-link;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
padding: 0.625rem 1.25rem;
|
2021-01-19 20:56:42 +00:00
|
|
|
|
2021-01-22 00:16:21 +00:00
|
|
|
&:after {
|
2022-05-23 20:10:14 +00:00
|
|
|
.resource-loader-list-icon;
|
|
|
|
display: block;
|
|
|
|
margin-left: @icon-padding;
|
|
|
|
background-size: contain;
|
|
|
|
opacity: var( --opacity-icon-base );
|
|
|
|
transition: @transition-opacity;
|
2021-01-22 00:16:21 +00:00
|
|
|
}
|
|
|
|
|
2022-05-23 20:10:14 +00:00
|
|
|
&:hover {
|
|
|
|
.menu-item-link-hover;
|
2021-01-22 00:16:21 +00:00
|
|
|
|
2022-05-23 20:10:14 +00:00
|
|
|
&:after {
|
|
|
|
opacity: var( --opacity-icon-base--hover );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
.menu-item-link-active;
|
|
|
|
|
|
|
|
&:after {
|
|
|
|
opacity: var( --opacity-icon-base--active );
|
|
|
|
}
|
2021-01-22 00:16:21 +00:00
|
|
|
}
|
2021-01-19 20:56:42 +00:00
|
|
|
}
|
|
|
|
}
|
2022-05-23 20:10:14 +00:00
|
|
|
}
|
|
|
|
}
|
2021-01-26 19:37:22 +00:00
|
|
|
|
2022-05-23 20:10:14 +00:00
|
|
|
#pt {
|
|
|
|
&-user {
|
|
|
|
&page {
|
2021-01-26 19:37:22 +00:00
|
|
|
a {
|
2022-05-23 20:10:14 +00:00
|
|
|
padding: 0.5rem 0.5rem 0.25rem;
|
|
|
|
color: var( --color-base--emphasized );
|
|
|
|
font-size: 1rem;
|
|
|
|
font-weight: 600;
|
|
|
|
word-break: break-word;
|
|
|
|
}
|
|
|
|
}
|
2021-01-26 19:37:22 +00:00
|
|
|
|
2022-05-23 20:10:14 +00:00
|
|
|
&groups {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
padding: 0 0.3125rem;
|
|
|
|
gap: 0.125rem;
|
2021-01-26 19:37:22 +00:00
|
|
|
|
2022-05-23 20:10:14 +00:00
|
|
|
a {
|
|
|
|
padding: 0.125rem;
|
|
|
|
color: var( --color-base--subtle );
|
2021-01-26 19:37:22 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-05-23 20:10:14 +00:00
|
|
|
&page,
|
|
|
|
&groups {
|
|
|
|
line-height: 1;
|
|
|
|
|
2021-01-26 19:37:22 +00:00
|
|
|
a {
|
2022-05-23 20:10:14 +00:00
|
|
|
display: block;
|
|
|
|
transition: @transition-color;
|
2021-01-26 19:37:22 +00:00
|
|
|
|
|
|
|
&:hover {
|
2022-05-23 20:10:14 +00:00
|
|
|
color: var( --color-primary--hover );
|
2021-01-26 19:37:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
2022-05-23 20:10:14 +00:00
|
|
|
color: var( --color-primary--active );
|
2021-01-26 19:37:22 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-01-19 20:56:42 +00:00
|
|
|
|
2022-05-23 20:10:14 +00:00
|
|
|
&contris {
|
|
|
|
padding: 0 0.5rem;
|
|
|
|
margin-top: 0.5rem;
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
}
|
2021-01-22 00:16:21 +00:00
|
|
|
|
2022-05-23 20:10:14 +00:00
|
|
|
&-anonuserpage {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2021-01-22 00:16:21 +00:00
|
|
|
|
2022-05-23 20:10:14 +00:00
|
|
|
#pt-login {
|
|
|
|
a {
|
|
|
|
.button-blue;
|
2021-01-22 00:16:21 +00:00
|
|
|
|
2022-05-23 20:10:14 +00:00
|
|
|
&:hover {
|
|
|
|
.button-blue-hover;
|
|
|
|
}
|
2021-01-22 00:16:21 +00:00
|
|
|
|
2022-05-23 20:10:14 +00:00
|
|
|
&:active {
|
|
|
|
.button-blue-active;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-01-22 00:16:21 +00:00
|
|
|
|
2022-05-23 20:10:14 +00:00
|
|
|
#pt-logout {
|
|
|
|
a {
|
|
|
|
.button-red;
|
2021-03-09 20:04:48 +00:00
|
|
|
|
2022-05-23 20:10:14 +00:00
|
|
|
&:hover {
|
|
|
|
.button-red-hover;
|
2021-06-15 14:25:59 +00:00
|
|
|
}
|
2021-06-15 14:27:00 +00:00
|
|
|
|
2022-05-23 20:10:14 +00:00
|
|
|
&:active {
|
|
|
|
.button-red-active;
|
2021-03-09 20:04:48 +00:00
|
|
|
}
|
2021-01-19 20:56:42 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-05-10 16:55:20 +00:00
|
|
|
// Checkbox hack
|
|
|
|
#citizen-personalMenu__checkbox:checked {
|
|
|
|
~ .citizen-personalMenu__card {
|
|
|
|
.citizen-card-show();
|
2021-01-19 20:56:42 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-05-02 02:12:47 +00:00
|
|
|
.citizen-animations-ready {
|
2022-05-10 16:55:20 +00:00
|
|
|
.citizen-personalMenu__card {
|
2022-05-02 02:12:47 +00:00
|
|
|
.citizen-card-transition();
|
|
|
|
}
|
|
|
|
}
|