Mailspring/static/components/extra.less
Juan Tejada fce1673aac feat(download-all): Adds download-all button + style updates, more ES6
Summary:
- Adds initial version of download all button
- Converts attachments plugin to ES6 and adds updated styling
- Updates quoted text button
- #905, #1712

Test Plan: - Unit + manual

Reviewers: evan, bengotow

Reviewed By: bengotow

Differential Revision: https://phab.nylas.com/D2769
2016-03-21 18:23:26 -07:00

106 lines
2.1 KiB
Text

@import "ui-variables";
@import "ui-mixins";
.quoted-text-control {
color: @text-color-very-subtle;
display: inline-block;
border: 1px solid fade(@text-color-very-subtle, 15%);
border-radius: 3px;
line-height: 10px;
padding: 1px 5px;
font-weight: 600;
font-size: @font-size-smaller;
margin: 5px 0 3px 0;
&:hover {
cursor: pointer;
color: @text-color-subtle;
border: 1px solid fade(@text-color-subtle, 35%);
}
.dots {
display: inline-block;
font-size: @font-size-smaller * 0.8;
top:-1px;
position:relative;
}
}
body.platform-win32 {
.quoted-text-control {
.windows-btn-bg;
.windows-btn-border;
&:hover {
color: @text-color-very-subtle;
.windows-btn-border;
}
}
.mail-label {
border-radius: 0;
}
}
.mail-label {
font-size: 0.9em;
padding: 1px 8px;
margin-right: 6px;
flex-shrink: 0;
border-radius: 3px;
display: inline-block;
cursor:default;
line-height: 22px;
-webkit-user-select: none;
&:last-child {
margin-right: 0;
}
}
.mail-label.removable {
padding-left:12px;
padding-right:4px;
.inner {
position: relative;
left:0;
transition: left 0.05s linear;
}
.x {
opacity: 0;
left:-4px;
top:-3px;
position: relative;
display:inline-block;
transition: opacity 0.05s ease-in;
}
}
.mail-label.removable:hover {
.inner {
left:-6px;
}
.x {
opacity: 1;
}
}
.mail-important-icon {
width: 25px;
height: 25px;
display:inline-block;
background-repeat: no-repeat;
background-position:center;
background-image:url(../static/images/important/Icon-Important-Hover@2x.png);
background-size: 16px;
}
.mail-important-icon.enabled.active {
background-image:url(../static/images/important/Icon-Important-Active@2x.png);
background-size: 16px;
}
.mail-important-icon.enabled:hover {
background-image:url(../static/images/important/Icon-Important-HoverActive@2x.png);
background-size: 16px;
}
.mail-important-icon.enabled.active:hover {
background-image:url(../static/images/important/Icon-Important-Active@2x.png);
background-size: 16px;
-webkit-filter: brightness(90%);
}