66 lines
1.1 KiB
SCSS
Raw Normal View History

@import '~app/components/ui/colors.scss';
.loggedInPanel {
}
.activeAccount {
2020-05-24 02:08:24 +03:00
position: relative;
display: inline-block;
2020-05-24 02:08:24 +03:00
$border: 1px solid rgba(#fff, 0.15);
border-left: $border;
border-right: $border;
}
.activeAccountButton {
2020-05-24 02:08:24 +03:00
composes: green from '~app/components/ui/buttons.scss';
}
.activeAccountExpanded {
2020-05-24 02:08:24 +03:00
.activeAccountButton {
background-color: darker($green);
}
2020-05-24 02:08:24 +03:00
.accountSwitcherContainer {
display: block;
}
2020-05-24 02:08:24 +03:00
.expandIcon {
transform: rotate(-180deg);
2021-03-26 04:19:04 +01:00
html[dir='rtl'] & {
transform: rotate(180deg); // Fix spin direction
}
2020-05-24 02:08:24 +03:00
}
}
.userIcon {
2020-05-24 02:08:24 +03:00
composes: user from '~app/components/ui/icons.scss';
2020-05-24 02:08:24 +03:00
position: relative;
bottom: 2px;
2021-03-26 04:19:04 +01:00
padding-inline-end: 5px;
}
.expandIcon {
2020-05-24 02:08:24 +03:00
composes: caret from '~app/components/ui/icons.scss';
2021-03-26 04:19:04 +01:00
margin-inline-start: 4px;
2020-05-24 02:08:24 +03:00
font-size: 6px;
color: #ccc;
transition: 0.2s;
}
.userName {
}
.accountSwitcherContainer {
2020-05-24 02:08:24 +03:00
position: absolute;
top: 100%;
2021-03-26 04:19:04 +01:00
inset-inline-end: -2px;
2020-05-24 02:08:24 +03:00
cursor: auto;
2020-05-24 02:08:24 +03:00
display: none;
}