2019-12-08 00:32:00 +05:30
|
|
|
@import '~app/components/ui/colors.scss';
|
|
|
|
@import '~app/components/ui/fonts.scss';
|
2016-11-06 05:05:09 +05:30
|
|
|
|
2016-11-06 19:49:52 +05:30
|
|
|
// TODO: эту константу можно заимпортить из panel.scss, но это приводит к странным ошибкам
|
2019-12-08 00:32:00 +05:30
|
|
|
//@import '~app/components/ui/panel.scss';
|
2016-11-06 19:49:52 +05:30
|
|
|
$bodyLeftRightPadding: 20px;
|
|
|
|
|
2016-11-11 13:09:01 +05:30
|
|
|
$lightBorderColor: #eee;
|
2016-11-06 01:53:56 +05:30
|
|
|
|
2016-11-05 16:27:01 +05:30
|
|
|
.accountSwitcher {
|
2019-11-27 14:33:32 +05:30
|
|
|
text-align: left;
|
2016-11-06 19:49:52 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.accountInfo {
|
|
|
|
}
|
|
|
|
|
2016-11-13 02:12:12 +05:30
|
|
|
.accountUsername,
|
2016-11-06 19:49:52 +05:30
|
|
|
.accountEmail {
|
2019-11-27 14:33:32 +05:30
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2016-11-06 19:49:52 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.lightAccountSwitcher {
|
2019-11-27 14:33:32 +05:30
|
|
|
background: #fff;
|
|
|
|
color: #444;
|
|
|
|
min-width: 205px;
|
2016-11-06 19:49:52 +05:30
|
|
|
|
2019-11-27 14:33:32 +05:30
|
|
|
$border: 1px solid $lightBorderColor;
|
|
|
|
border-left: $border;
|
|
|
|
border-right: $border;
|
|
|
|
border-bottom: 7px solid darker($green);
|
2016-11-06 19:49:52 +05:30
|
|
|
|
2019-11-27 14:33:32 +05:30
|
|
|
.item {
|
|
|
|
padding: 15px;
|
|
|
|
border-bottom: 1px solid $lightBorderColor;
|
|
|
|
}
|
2016-11-06 19:49:52 +05:30
|
|
|
|
2019-11-27 14:33:32 +05:30
|
|
|
.accountSwitchItem {
|
|
|
|
cursor: pointer;
|
|
|
|
transition: 0.25s;
|
2016-11-06 19:49:52 +05:30
|
|
|
|
2019-11-27 14:33:32 +05:30
|
|
|
&:hover {
|
|
|
|
background-color: $whiteButtonLight;
|
2016-11-06 19:49:52 +05:30
|
|
|
}
|
|
|
|
|
2019-11-27 14:33:32 +05:30
|
|
|
&:active {
|
|
|
|
background-color: $whiteButtonDark;
|
2016-11-06 19:49:52 +05:30
|
|
|
}
|
2019-11-27 14:33:32 +05:30
|
|
|
}
|
2016-11-06 19:49:52 +05:30
|
|
|
|
2019-11-27 14:33:32 +05:30
|
|
|
.accountIcon {
|
|
|
|
font-size: 27px;
|
|
|
|
width: 20px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2016-11-06 19:49:52 +05:30
|
|
|
|
2019-11-27 14:33:32 +05:30
|
|
|
.activeAccountIcon {
|
|
|
|
font-size: 40px;
|
|
|
|
}
|
2016-11-06 19:49:52 +05:30
|
|
|
|
2019-11-27 14:33:32 +05:30
|
|
|
.activeAccountInfo {
|
|
|
|
margin-left: 29px;
|
|
|
|
}
|
2016-11-06 19:49:52 +05:30
|
|
|
|
2019-11-27 14:33:32 +05:30
|
|
|
.activeAccountUsername {
|
|
|
|
font-family: $font-family-title;
|
|
|
|
font-size: 20px;
|
|
|
|
color: $green;
|
|
|
|
}
|
2016-11-06 19:49:52 +05:30
|
|
|
|
2019-11-27 14:33:32 +05:30
|
|
|
.activeAccountEmail {
|
|
|
|
}
|
2016-11-06 19:49:52 +05:30
|
|
|
|
2019-11-27 14:33:32 +05:30
|
|
|
.links {
|
|
|
|
margin-top: 6px;
|
|
|
|
}
|
2016-11-06 19:49:52 +05:30
|
|
|
|
2019-11-27 14:33:32 +05:30
|
|
|
.link {
|
|
|
|
font-size: 12px;
|
|
|
|
margin-bottom: 3px;
|
|
|
|
white-space: nowrap;
|
2016-11-06 19:49:52 +05:30
|
|
|
|
2019-11-27 14:33:32 +05:30
|
|
|
&:last-of-type {
|
|
|
|
margin-bottom: 0;
|
2016-11-06 19:49:52 +05:30
|
|
|
}
|
2019-11-27 14:33:32 +05:30
|
|
|
}
|
2016-11-06 19:49:52 +05:30
|
|
|
|
2019-11-27 14:33:32 +05:30
|
|
|
.accountInfo {
|
|
|
|
margin-left: 29px;
|
|
|
|
margin-right: 25px;
|
|
|
|
}
|
2016-11-06 19:49:52 +05:30
|
|
|
|
2019-11-27 14:33:32 +05:30
|
|
|
.accountUsername {
|
|
|
|
font-family: $font-family-title;
|
|
|
|
font-size: 14px;
|
|
|
|
color: #666;
|
|
|
|
}
|
2016-11-06 01:53:56 +05:30
|
|
|
|
2019-11-27 14:33:32 +05:30
|
|
|
.accountEmail {
|
|
|
|
font-size: 10px;
|
|
|
|
color: #999;
|
|
|
|
}
|
2016-11-05 16:27:01 +05:30
|
|
|
|
2019-11-27 14:33:32 +05:30
|
|
|
.addAccount {
|
|
|
|
}
|
|
|
|
}
|
2016-11-06 19:49:52 +05:30
|
|
|
|
2019-11-27 14:33:32 +05:30
|
|
|
.darkAccountSwitcher {
|
|
|
|
background: $black;
|
2016-11-06 19:49:52 +05:30
|
|
|
|
2019-11-27 14:33:32 +05:30
|
|
|
$border: 1px solid lighter($black);
|
2016-11-06 19:49:52 +05:30
|
|
|
|
2019-11-27 14:33:32 +05:30
|
|
|
.item {
|
|
|
|
padding: 15px 20px;
|
|
|
|
border-top: 1px solid lighter($black);
|
|
|
|
transition: 0.25s;
|
|
|
|
cursor: pointer;
|
2016-11-06 19:49:52 +05:30
|
|
|
|
2019-11-27 14:33:32 +05:30
|
|
|
&:hover {
|
|
|
|
background-color: lighter($black);
|
2016-11-06 19:49:52 +05:30
|
|
|
}
|
|
|
|
|
2019-11-27 14:33:32 +05:30
|
|
|
&:active {
|
|
|
|
background-color: darker($black);
|
2016-11-06 19:49:52 +05:30
|
|
|
}
|
|
|
|
|
2019-11-27 14:33:32 +05:30
|
|
|
&:last-of-type {
|
|
|
|
border-bottom: $border;
|
2016-11-06 19:49:52 +05:30
|
|
|
}
|
2019-11-27 14:33:32 +05:30
|
|
|
}
|
2016-11-06 19:49:52 +05:30
|
|
|
|
2019-11-27 14:33:32 +05:30
|
|
|
.accountIcon {
|
|
|
|
font-size: 35px;
|
|
|
|
}
|
2016-11-06 19:49:52 +05:30
|
|
|
|
2019-11-27 14:33:32 +05:30
|
|
|
.accountInfo {
|
|
|
|
margin-left: 30px;
|
|
|
|
margin-right: 26px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.accountUsername {
|
|
|
|
font-family: $font-family-title;
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.accountEmail {
|
|
|
|
color: #666;
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
2016-11-06 05:05:09 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.accountIcon {
|
2019-12-08 00:32:00 +05:30
|
|
|
composes: minecraft-character from '~app/components/ui/icons.scss';
|
2016-11-06 05:05:09 +05:30
|
|
|
|
2019-11-27 14:33:32 +05:30
|
|
|
float: left;
|
2016-11-06 05:05:09 +05:30
|
|
|
|
2019-11-27 14:33:32 +05:30
|
|
|
&1 {
|
|
|
|
color: $green;
|
|
|
|
}
|
2016-11-06 05:05:09 +05:30
|
|
|
|
2019-11-27 14:33:32 +05:30
|
|
|
&2 {
|
|
|
|
color: $blue;
|
|
|
|
}
|
2016-11-06 05:05:09 +05:30
|
|
|
|
2019-11-27 14:33:32 +05:30
|
|
|
&3 {
|
|
|
|
color: $violet;
|
|
|
|
}
|
2016-11-06 05:05:09 +05:30
|
|
|
|
2019-11-27 14:33:32 +05:30
|
|
|
&4 {
|
|
|
|
color: $orange;
|
|
|
|
}
|
2016-11-06 19:49:52 +05:30
|
|
|
|
2019-11-27 14:33:32 +05:30
|
|
|
&5 {
|
|
|
|
color: $dark_blue;
|
|
|
|
}
|
2016-11-06 19:49:52 +05:30
|
|
|
|
2019-11-27 14:33:32 +05:30
|
|
|
&6 {
|
|
|
|
color: $light_violet;
|
|
|
|
}
|
2016-11-06 19:49:52 +05:30
|
|
|
|
2019-11-27 14:33:32 +05:30
|
|
|
&7 {
|
|
|
|
color: $red;
|
|
|
|
}
|
2016-11-06 05:05:09 +05:30
|
|
|
}
|
|
|
|
|
2016-11-06 19:49:52 +05:30
|
|
|
.addIcon {
|
2019-12-08 00:32:00 +05:30
|
|
|
composes: plus from '~app/components/ui/icons.scss';
|
2016-11-06 19:49:52 +05:30
|
|
|
|
2019-11-27 14:33:32 +05:30
|
|
|
color: $green;
|
|
|
|
position: relative;
|
|
|
|
bottom: 1px;
|
|
|
|
margin-right: 3px;
|
2016-11-06 05:05:09 +05:30
|
|
|
}
|
|
|
|
|
2016-11-06 19:49:52 +05:30
|
|
|
.nextIcon {
|
2019-12-08 00:32:00 +05:30
|
|
|
composes: arrowRight from '~app/components/ui/icons.scss';
|
2016-11-06 05:05:09 +05:30
|
|
|
|
2019-11-27 14:33:32 +05:30
|
|
|
position: relative;
|
|
|
|
float: right;
|
2016-11-06 05:05:09 +05:30
|
|
|
|
2019-11-27 14:33:32 +05:30
|
|
|
font-size: 24px;
|
|
|
|
color: #4e4e4e;
|
|
|
|
line-height: 35px;
|
|
|
|
left: 0;
|
2016-11-06 05:05:09 +05:30
|
|
|
|
2019-11-27 14:33:32 +05:30
|
|
|
transition: color 0.25s, left 0.5s;
|
2016-11-06 19:49:52 +05:30
|
|
|
|
2019-11-27 14:33:32 +05:30
|
|
|
.item:hover & {
|
|
|
|
color: #aaa;
|
|
|
|
left: 5px;
|
|
|
|
}
|
2016-11-06 05:05:09 +05:30
|
|
|
}
|
|
|
|
|
2016-11-05 16:27:01 +05:30
|
|
|
.logoutIcon {
|
2019-12-08 00:32:00 +05:30
|
|
|
composes: exit from '~app/components/ui/icons.scss';
|
2016-11-05 16:27:01 +05:30
|
|
|
|
2019-11-27 14:33:32 +05:30
|
|
|
color: #cdcdcd;
|
|
|
|
float: right;
|
|
|
|
line-height: 27px;
|
|
|
|
transition: 0.25s;
|
2016-11-06 01:53:56 +05:30
|
|
|
|
2019-11-27 14:33:32 +05:30
|
|
|
&:hover {
|
|
|
|
color: #777;
|
|
|
|
}
|
2016-11-06 01:53:56 +05:30
|
|
|
}
|