mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-01 13:14:16 +08:00
251d7c44d1
* Initial commit * SVG-based graph components * Add histogram, pull data into graphs * Loading animation, timespan descriptions * Improvements to read receipt / link tracking section * Initial pass at subject line analysis * Fixes to subject-line stats * Fix theme `ui-variables` include paths * Add “Share this report” button * Add “Learn More” button * Make it more clear how to edit your shortcuts * Merge activity-list and new activity-dashboard, move in sidebar
112 lines
2.3 KiB
Text
112 lines
2.3 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 @border-color-secondary;
|
|
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: @border-color-divider;
|
|
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,
|
|
.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;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.dropdown-menu {
|
|
.menu {
|
|
background: @background-secondary;
|
|
width: 250px;
|
|
max-height: 400px;
|
|
box-shadow: 0 0.5px 0 rgba(0, 0, 0, 0.15), 0 -0.5px 0 rgba(0, 0, 0, 0.15),
|
|
0.5px 0 0 rgba(0, 0, 0, 0.15), -0.5px 0 0 rgba(0, 0, 0, 0.15), 0 4px 7px rgba(0, 0, 0, 0.15);
|
|
|
|
.header-container {
|
|
border-bottom: 0;
|
|
}
|
|
}
|
|
}
|