mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-12 04:25:31 +08:00
102 lines
2.1 KiB
Text
102 lines
2.1 KiB
Text
@import "ui-variables";
|
|
|
|
.menu {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
.header-container {
|
|
flex-shrink: 0; // Don't squish the header! There may be a search box here
|
|
background-color: @background-secondary;
|
|
border-bottom: 1px solid @base-border-color;
|
|
padding: 3px;
|
|
position: relative;
|
|
}
|
|
|
|
.footer-container {
|
|
position: relative;
|
|
}
|
|
|
|
.content-container {
|
|
background: @background-secondary;
|
|
width: 100%;
|
|
margin-top: -1px;
|
|
overflow: auto;
|
|
}
|
|
|
|
.item {
|
|
display: block;
|
|
padding-left: @padding-base-horizontal;
|
|
padding-top: @padding-base-vertical;
|
|
padding-bottom: @padding-base-vertical;
|
|
cursor: default;
|
|
color: @text-color;
|
|
width: 100%;
|
|
overflow: hidden;
|
|
|
|
.primary {
|
|
max-width: 100%;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.secondary {
|
|
max-width: 100%;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
padding-left:5px;
|
|
color:@text-color-very-subtle;
|
|
}
|
|
}
|
|
|
|
.item.divider {
|
|
font-weight:@headings-font-weight;
|
|
color: @menu-divider-color;
|
|
font-size: @font-size-small;
|
|
text-transform: uppercase;
|
|
margin-top: 10px;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.item.checked {
|
|
background-image:url(./images/menu/checked@2x.png);
|
|
background-size: 16px;
|
|
background-position: right;
|
|
background-repeat: no-repeat;
|
|
background-position-x: 97%;
|
|
margin-right: 20px;
|
|
padding-right: 10%;
|
|
}
|
|
|
|
.item.selected.checked, .item.checked:hover {
|
|
background-image:url(./images/menu/checked-selected@2x.png);
|
|
}
|
|
|
|
.item.selected, .item:active {
|
|
text-decoration: none;
|
|
background-color: @accent-primary;
|
|
color: @text-color-inverse;
|
|
.primary {
|
|
color: @text-color-inverse;
|
|
}
|
|
.secondary {
|
|
color: @text-color-inverse-very-subtle;
|
|
}
|
|
}
|
|
|
|
.item:not(.active):not(.selected):hover {
|
|
text-decoration: none;
|
|
background-color: fade(@black, 3%);
|
|
}
|
|
|
|
}
|
|
body.platform-win32 {
|
|
.menu {
|
|
.header-container {
|
|
input.search {
|
|
box-shadow: none;
|
|
}
|
|
}
|
|
}
|
|
}
|