mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-12-27 02:23:28 +08:00
ffcb609194
- Message reply dropdown uses new images. Fixes T2355 - New hover actions which are darker. Fixes T2358 - New reply icon in the message footer. Fixes T2359 - Toolbar buttons are the correct height. Fixes T2360 - Thread list selection state changes mail label style - Removed dead assets
86 lines
1.7 KiB
Text
86 lines
1.7 KiB
Text
@import "../buttons";
|
|
|
|
.button-dropdown {
|
|
position: relative;
|
|
display: inline-block;
|
|
|
|
&.open {
|
|
.secondary-picker {
|
|
border-bottom-right-radius: 0;
|
|
}
|
|
.secondary-items {
|
|
display:block;
|
|
}
|
|
}
|
|
|
|
.primary-item {
|
|
.btn();
|
|
height: 32px;
|
|
border-radius: 4px 0 0 4px;
|
|
padding-top: 7px;
|
|
vertical-align:top;
|
|
}
|
|
.secondary-picker {
|
|
.btn();
|
|
height: 32px;
|
|
border-radius: 0 4px 4px 0;
|
|
border-left: 0;
|
|
padding: 7px 8px 3px 8px;
|
|
vertical-align:top;
|
|
img { vertical-align: baseline; }
|
|
}
|
|
.secondary-items {
|
|
&:hover {
|
|
cursor: default;
|
|
}
|
|
border: 1px solid rgba(0, 0, 0, 0.15);
|
|
border-radius: 4px 0 4px 4px;
|
|
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.20);
|
|
z-index: 2;
|
|
background-color: @background-primary;
|
|
line-height: 14px;
|
|
position: absolute;
|
|
width: 110px;
|
|
right: -1px; // -1, because of the border above
|
|
|
|
display:none;
|
|
|
|
.menu {
|
|
.footer-container,
|
|
.header-container {
|
|
display:none;
|
|
}
|
|
.content-container {
|
|
background: transparent;
|
|
margin-top:0;
|
|
}
|
|
.item {
|
|
padding: 6px 15px;
|
|
img {
|
|
margin-right:4px;
|
|
vertical-align: text-bottom;
|
|
}
|
|
&.selected {
|
|
background-color: inherit;
|
|
color:@text-color;
|
|
}
|
|
}
|
|
.item:first-child {
|
|
padding-top: 9px;
|
|
border-top-left-radius: 4px;
|
|
}
|
|
.item:last-child {
|
|
padding-bottom: 9px;
|
|
border-bottom-left-radius: 4px;
|
|
border-bottom-right-radius: 4px;
|
|
}
|
|
.item:hover {
|
|
background-color: darken(@background-primary, 3%);
|
|
color:inherit;
|
|
}
|
|
}
|
|
}
|
|
img {
|
|
background-color: @text-color;
|
|
}
|
|
}
|