mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-15 22:29:03 +08:00
a559e3f89f
Summary: Drag threads to the folders / labels in the sidebar WIP Drag and drop is styled! Test Plan: Tests WIP Reviewers: evan Reviewed By: evan Differential Revision: https://phab.nylas.com/D1785
68 lines
1.6 KiB
Text
68 lines
1.6 KiB
Text
@import "ui-variables";
|
|
@import "ui-mixins";
|
|
|
|
#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;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
|
|
.unread {
|
|
font-weight: @font-weight-medium;
|
|
color: @source-list-active-bg;
|
|
background: @source-list-active-color;
|
|
margin-left:@padding-small-horizontal;
|
|
}
|
|
.name {
|
|
text-transform: capitalize;
|
|
margin-left: @padding-xs-horizontal;
|
|
position:relative;
|
|
top:1px;
|
|
}
|
|
&.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;
|
|
}
|
|
}
|