accounts-frontend/src/components/userbar/loggedInPanel.scss

63 lines
960 B
SCSS
Raw Normal View History

@import '~components/ui/colors.scss';
.loggedInPanel {
}
.activeAccount {
position: relative;
display: inline-block;
$border: 1px solid rgba(#fff, .15);
border-left: $border;
border-right: $border;
}
.activeAccountButton {
2019-07-01 09:09:59 +05:30
composes: green from '~components/ui/buttons.scss';
}
.activeAccountExpanded {
.activeAccountButton {
background-color: darker($green);
}
.accountSwitcherContainer {
display: block;
}
.expandIcon {
transform: rotate(-180deg);
}
}
.userIcon {
2019-07-01 09:09:59 +05:30
composes: user from '~components/ui/icons.scss';
position: relative;
bottom: 2px;
padding-right: 5px;
}
.expandIcon {
2019-07-01 09:09:59 +05:30
composes: caret from '~components/ui/icons.scss';
margin-left: 4px;
font-size: 6px;
color: #CCC;
transition: .2s;
}
.userName {
}
.accountSwitcherContainer {
position: absolute;
top: 100%;
right: -2px;
cursor: auto;
display: none;
}