2022-10-05 22:22:40 +00:00
|
|
|
.citizen-userMenu {
|
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-10-05 22:22:40 +00:00
|
|
|
|
|
|
|
&__header {
|
|
|
|
padding: var( --space-md ) 0;
|
|
|
|
border-bottom: 1px solid var( --border-color-base );
|
|
|
|
}
|
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;
|
2022-10-05 22:22:40 +00:00
|
|
|
// TODO: Need to revisit this spacing, maybe set a min-height instead?
|
2022-10-05 22:06:38 +00:00
|
|
|
padding: 0.625rem var( --space-md );
|
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-10-05 21:52:19 +00:00
|
|
|
#p-user-info {
|
|
|
|
> ul > li {
|
|
|
|
margin-right: var( --space-md );
|
|
|
|
margin-left: var( --space-md );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-05-23 20:10:14 +00:00
|
|
|
#pt {
|
2022-10-05 21:55:33 +00:00
|
|
|
&-anonuserpage span,
|
2022-10-06 00:06:48 +00:00
|
|
|
&-tmpuserpage-2,
|
2022-10-05 22:22:40 +00:00
|
|
|
&-userpage-2 a {
|
2022-10-05 21:55:33 +00:00
|
|
|
padding: var( --space-xs ) 0;
|
|
|
|
color: var( --color-base--emphasized );
|
|
|
|
font-size: 1rem;
|
2022-10-23 23:40:19 +00:00
|
|
|
font-weight: var( --font-weight-semibold );
|
2022-10-05 21:55:33 +00:00
|
|
|
word-break: break-word;
|
|
|
|
}
|
2021-01-26 19:37:22 +00:00
|
|
|
|
2022-10-05 21:55:33 +00:00
|
|
|
&-user {
|
2022-05-23 20:10:14 +00:00
|
|
|
&groups {
|
2022-10-06 00:06:48 +00:00
|
|
|
margin-bottom: var( --space-sm );
|
|
|
|
|
2022-10-05 21:52:19 +00:00
|
|
|
ul {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
gap: var( --space-xs );
|
|
|
|
}
|
2021-01-26 19:37:22 +00:00
|
|
|
|
2022-05-23 20:10:14 +00:00
|
|
|
a {
|
|
|
|
color: var( --color-base--subtle );
|
2021-01-26 19:37:22 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-10-05 21:52:19 +00:00
|
|
|
&page-2,
|
2022-05-23 20:10:14 +00:00
|
|
|
&groups {
|
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 {
|
2022-10-23 23:40:19 +00:00
|
|
|
font-weight: var( --font-weight-medium );
|
2022-05-23 20:10:14 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
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
|
2022-10-05 22:22:40 +00:00
|
|
|
#citizen-userMenu__checkbox:checked {
|
|
|
|
~ .citizen-userMenu__card {
|
2022-05-10 16:55:20 +00:00
|
|
|
.citizen-card-show();
|
2021-01-19 20:56:42 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-05-02 02:12:47 +00:00
|
|
|
.citizen-animations-ready {
|
2022-10-05 22:22:40 +00:00
|
|
|
.citizen-userMenu__card {
|
2022-05-02 02:12:47 +00:00
|
|
|
.citizen-card-transition();
|
|
|
|
}
|
|
|
|
}
|