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