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

62 lines
977 B
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);
}
}
.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;
2020-05-24 04:38:24 +05:30
padding-right: 5px;
}
.expandIcon {
2020-05-24 04:38:24 +05:30
composes: caret from '~app/components/ui/icons.scss';
2020-05-24 04:38:24 +05:30
margin-left: 4px;
font-size: 6px;
color: #ccc;
transition: 0.2s;
}
.userName {
}
.accountSwitcherContainer {
2020-05-24 04:38:24 +05:30
position: absolute;
top: 100%;
right: -2px;
cursor: auto;
2020-05-24 04:38:24 +05:30
display: none;
}