mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-14 21:57:55 +08:00
c059b51fe3
Summary: WIP: changing the rest of items to make them look correct fix last draft item in sidebar add more padding Test Plan: tested manually. all tests remain green. Reviewers: evan, bengotow Reviewed By: bengotow Maniphest Tasks: T3402 Differential Revision: https://phab.nylas.com/D1943
111 lines
2.3 KiB
Text
111 lines
2.3 KiB
Text
@import "ui-variables";
|
|
@import "ui-mixins";
|
|
|
|
#account-switcher {
|
|
background-color: #212831;
|
|
flex: 1;
|
|
.account {
|
|
position: relative;
|
|
margin:15px 10px;
|
|
margin-bottom: 0;
|
|
display:block;
|
|
border-radius: 8px;
|
|
opacity: 0.7;
|
|
img {
|
|
-webkit-filter: ~"saturate(0%)";
|
|
}
|
|
img.gravatar {
|
|
width: 44px;
|
|
height: 44px;
|
|
position: absolute;
|
|
z-index: 2;
|
|
border-radius: 7px;
|
|
}
|
|
}
|
|
.account.active {
|
|
opacity: 1.0;
|
|
img {
|
|
-webkit-filter: ~"saturate(100%)";
|
|
}
|
|
}
|
|
.account.active::after {
|
|
box-shadow: inset 0 0 1px 2px @source-list-active-color;
|
|
border-radius: 7px;
|
|
width:100%;
|
|
height:100%;
|
|
content: ' ';
|
|
left: 0;
|
|
position:absolute;
|
|
z-index: 3;
|
|
}
|
|
}
|
|
|
|
#account-sidebar {
|
|
order: 1;
|
|
height: 100%;
|
|
background-color: @source-list-bg;
|
|
|
|
section {
|
|
padding-bottom: @padding-base-vertical;
|
|
}
|
|
|
|
.heading {
|
|
color: @text-color-very-subtle;
|
|
font-weight: @font-weight-semi-bold;
|
|
font-size: @font-size-small;
|
|
padding-left:@padding-small-horizontal;
|
|
padding-top:@padding-small-horizontal;
|
|
}
|
|
|
|
.item {
|
|
color: @text-color-subtle;
|
|
img.content-mask {
|
|
background-color: @text-color-subtle;
|
|
vertical-align: text-bottom;
|
|
}
|
|
font-size: @font-size-small;
|
|
font-weight: 400;
|
|
padding: 0 @spacing-standard;
|
|
line-height: @line-height-large * 1.1;
|
|
clear: both;
|
|
|
|
.unread {
|
|
font-weight: @font-weight-medium;
|
|
color: @source-list-active-bg;
|
|
background: @source-list-active-color;
|
|
margin-left:@padding-small-horizontal;
|
|
}
|
|
.icon {
|
|
float: left;
|
|
}
|
|
.name {
|
|
text-transform: capitalize;
|
|
padding-left: @padding-small-horizontal;
|
|
position:relative;
|
|
top:1px;
|
|
overflow: hidden;
|
|
padding-top: @padding-small-vertical;
|
|
line-height: @line-height-small;
|
|
}
|
|
&.selected {
|
|
background: @source-list-active-bg;
|
|
color: @source-list-active-color;
|
|
img.content-mask { background-color: @source-list-active-color; }
|
|
}
|
|
&.dropping {
|
|
background-color: lighten(@source-list-bg, 20%);
|
|
color: @source-list-active-color;
|
|
img.content-mask { background-color: @source-list-active-color; }
|
|
}
|
|
|
|
&:hover {
|
|
cursor: default;
|
|
}
|
|
}
|
|
|
|
.item-divider {
|
|
color:#586870;
|
|
padding-top: 1em;
|
|
padding-bottom: 0.25em;
|
|
}
|
|
}
|