accounts-frontend/packages/app/components/userbar/loggedInPanel.scss

66 lines
1.1 KiB
SCSS
Raw Normal View History

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