[DE forms] Fix styles for ie11

This commit is contained in:
Julia Radzhabova 2021-11-18 00:35:58 +03:00
parent 9fad3bd932
commit 30eed54eba
3 changed files with 10 additions and 0 deletions

View file

@ -233,19 +233,23 @@
&.colored { &.colored {
padding: 0 16px; padding: 0 16px;
height: 28px; height: 28px;
background-color: @background-accent-button-ie;
background-color: @background-accent-button; background-color: @background-accent-button;
border: 1px solid transparent; border: 1px solid transparent;
border-radius: 3px; border-radius: 3px;
color: @text-contrast-background-ie !important;
color: @text-contrast-background !important; color: @text-contrast-background !important;
font-weight: 700; font-weight: 700;
&:hover:not(.disabled), &:hover:not(.disabled),
.over:not(.disabled) { .over:not(.disabled) {
background-color: @highlight-accent-button-hover-ie !important;
background-color: @highlight-accent-button-hover !important; background-color: @highlight-accent-button-hover !important;
} }
&:active:not(.disabled), &:active:not(.disabled),
&.active:not(.disabled) { &.active:not(.disabled) {
background-color: @highlight-accent-button-pressed-ie !important;
background-color: @highlight-accent-button-pressed !important; background-color: @highlight-accent-button-pressed !important;
} }
} }

View file

@ -51,6 +51,7 @@ define([
"background-notification-badge", "background-notification-badge",
"background-scrim", "background-scrim",
"background-loader", "background-loader",
"background-accent-button",
"background-contrast-popover", "background-contrast-popover",
"highlight-button-hover", "highlight-button-hover",
@ -61,6 +62,8 @@ define([
"highlight-header-button-pressed", "highlight-header-button-pressed",
"highlight-toolbar-tab-underline", "highlight-toolbar-tab-underline",
"highlight-text-select", "highlight-text-select",
"highlight-accent-button-hover",
"highlight-accent-button-pressed",
"border-toolbar", "border-toolbar",
"border-divider", "border-divider",

View file

@ -13,6 +13,7 @@
@background-scrim-ie: fade(#000, 20%); @background-scrim-ie: fade(#000, 20%);
@background-loader-ie: fade(#000, 65%); @background-loader-ie: fade(#000, 65%);
@background-alt-key-hint-ie: #FFD938; @background-alt-key-hint-ie: #FFD938;
@background-accent-button-ie: #446995;
@background-contrast-popover-ie: #444444; @background-contrast-popover-ie: #444444;
@highlight-button-hover-ie: #d8dadc; @highlight-button-hover-ie: #d8dadc;
@ -23,6 +24,8 @@
@highlight-header-button-pressed-ie: fade(#000, 20%); @highlight-header-button-pressed-ie: fade(#000, 20%);
@highlight-toolbar-tab-underline-ie: #444; @highlight-toolbar-tab-underline-ie: #444;
@highlight-text-select-ie: #3494fb; @highlight-text-select-ie: #3494fb;
@highlight-accent-button-hover-ie: #375478;
@highlight-accent-button-pressed-ie: #293F59;
@border-toolbar-ie: #cbcbcb; @border-toolbar-ie: #cbcbcb;
@border-divider-ie: #cbcbcb; @border-divider-ie: #cbcbcb;