mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-01 13:14:16 +08:00
fix(mail-merge): Prevent send button from being pressed multiple times
This commit is contained in:
parent
7a305a1dd4
commit
c5e7a4384b
2 changed files with 13 additions and 8 deletions
2
src/pro
2
src/pro
|
@ -1 +1 @@
|
|||
Subproject commit ee1020c3b7c469df2fa401a3b9a1c2e0e7189fba
|
||||
Subproject commit 72bebf59688605610fd657a36022638daa68d311
|
|
@ -99,6 +99,14 @@ body.platform-win32 {
|
|||
img.content-mask { background-color:@btn-action-text-color; }
|
||||
}
|
||||
|
||||
&.btn-disabled {
|
||||
color: fadeout(@btn-default-text-color, 40%);
|
||||
background: fadeout(@btn-default-bg-color, 15%);
|
||||
&:active {
|
||||
background: fadeout(@btn-default-bg-color, 15%);
|
||||
}
|
||||
}
|
||||
|
||||
&.btn-emphasis {
|
||||
position: relative;
|
||||
color: @btn-emphasis-text-color;
|
||||
|
@ -110,6 +118,10 @@ body.platform-win32 {
|
|||
box-shadow: none;
|
||||
border: 1px solid darken(@btn-emphasis-bg-color, 7%);
|
||||
|
||||
&.btn-disabled {
|
||||
opacity: 0.4;
|
||||
}
|
||||
|
||||
&:before {
|
||||
content: ' ';
|
||||
width: calc(~"100% + 2px");
|
||||
|
@ -149,13 +161,6 @@ body.platform-win32 {
|
|||
.btn-gradient:active {
|
||||
background: -webkit-gradient(linear, left top, left bottom, from(darken(@btn-default-bg-color, 9%)), to(darken(@btn-default-bg-color, 13.5%)));
|
||||
}
|
||||
.btn-disabled {
|
||||
color: fadeout(@btn-default-text-color, 40%);
|
||||
background: fadeout(@btn-default-bg-color, 15%);
|
||||
&:active {
|
||||
background: fadeout(@btn-default-bg-color, 15%);
|
||||
}
|
||||
}
|
||||
|
||||
.btn-icon {
|
||||
background: transparent;
|
||||
|
|
Loading…
Reference in a new issue