mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-09-23 16:56:08 +08:00
f22d154486
Summary: The new, styled folder and label picker! Some highlights: - Folder picker has custom icons and a divider - Label picker has checkboxes with off, checked, and intermediate state - Extracted LabelColorizer out of mail-label - Search will bold the results it found - Fixes to Tooltip to prevent it displaying at invalid moments - Keyboard UX improvements to Menu Test Plan: coming soon Reviewers: bengotow Reviewed By: bengotow Differential Revision: https://phab.nylas.com/D1790
46 lines
1.2 KiB
Plaintext
46 lines
1.2 KiB
Plaintext
@import "ui-variables";
|
|
|
|
.popover-container {
|
|
display:inline-block;
|
|
position:relative;
|
|
}
|
|
|
|
.popover {
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 250px;
|
|
max-height:400px;
|
|
background-color: @background-color;
|
|
border-radius: @border-radius-base;
|
|
overflow: hidden;
|
|
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), inset 0 0 1px rgba(0,0,0,0.5);
|
|
|
|
.menu {
|
|
z-index:1;
|
|
position: relative;
|
|
.content-container {
|
|
background: none;
|
|
}
|
|
.header-container {
|
|
border-top-left-radius: @border-radius-base;
|
|
border-top-right-radius: @border-radius-base;
|
|
background: none;
|
|
}
|
|
.footer-container {
|
|
border-bottom-left-radius: @border-radius-base;
|
|
border-bottom-right-radius: @border-radius-base;
|
|
background: none;
|
|
|
|
.item:last-child:hover {
|
|
border-bottom-left-radius: @border-radius-base;
|
|
border-bottom-right-radius: @border-radius-base;
|
|
}
|
|
}
|
|
}
|
|
|
|
.popover-pointer {
|
|
-webkit-mask-image: url('images/tooltip/tooltip-bg-pointer@2x.png');
|
|
background-color: @background-color;
|
|
}
|
|
}
|