[dark theme] fix DE styles for IE

This commit is contained in:
Maxim Kadushkin 2021-02-16 10:22:48 +03:00
parent fcdb2ee898
commit f9c52cb252
8 changed files with 34 additions and 0 deletions

View file

@ -10,20 +10,24 @@
margin-bottom: 3px; margin-bottom: 3px;
&:hover:not(.disabled) { &:hover:not(.disabled) {
background-color: @highlight-button-hover-ie;
background-color: @highlight-button-hover; background-color: @highlight-button-hover;
} }
&.active:not(.disabled) { &.active:not(.disabled) {
outline: 0; outline: 0;
background-color: @highlight-button-pressed-ie;
background-color: @highlight-button-pressed; background-color: @highlight-button-pressed;
> a { > a {
color: @text-normal-pressed-ie;
color: @text-normal-pressed; color: @text-normal-pressed;
} }
} }
&.disabled > a { &.disabled > a {
cursor: default; cursor: default;
color: @border-regular-control-ie;
color: @border-regular-control; color: @border-regular-control;
} }
@ -59,6 +63,7 @@
.panel-context { .panel-context {
width: 100%; width: 100%;
padding-left: 260px; padding-left: 260px;
background-color: @background-normal-ie;
background-color: @background-normal; background-color: @background-normal;
.content-box { .content-box {
@ -154,6 +159,7 @@
h3 { h3 {
margin: 0; margin: 0;
font-size: 10pt; font-size: 10pt;
color: @text-normal-ie;
color: @text-normal; color: @text-normal;
font-weight: bold; font-weight: bold;
padding: 0 0 10px 10px; padding: 0 0 10px 10px;
@ -188,6 +194,7 @@
hr { hr {
margin: 0; margin: 0;
border-bottom: none; border-bottom: none;
border-color: @border-toolbar-ie;
border-color: @border-toolbar; border-color: @border-toolbar;
} }
@ -227,6 +234,7 @@
&:hover, &:hover,
&.over { &.over {
background-color: @background-toolbar-ie;
background-color: @background-toolbar; background-color: @background-toolbar;
} }
@ -249,6 +257,7 @@
} }
.file-info { .file-info {
color: @text-secondary-ie;
color: @text-secondary; color: @text-secondary;
} }
} }
@ -266,6 +275,7 @@
} }
.dataview { .dataview {
border-right: @scaled-one-px-value-ie solid @border-toolbar-ie;
border-right: @scaled-one-px-value solid @border-toolbar; border-right: @scaled-one-px-value solid @border-toolbar;
& > .item { & > .item {
@ -280,10 +290,12 @@
&:not(.header-name) { &:not(.header-name) {
&:hover, &:hover,
&.over { &.over {
background-color: @background-toolbar-ie;
background-color: @background-toolbar; background-color: @background-toolbar;
} }
&.selected { &.selected {
background-color: @highlight-button-pressed-ie;
background-color: @highlight-button-pressed; background-color: @highlight-button-pressed;
color: @dropdown-link-active-color; color: @dropdown-link-active-color;
} }

View file

@ -2,6 +2,7 @@ body {
width: 100%; width: 100%;
height: 100%; height: 100%;
.user-select(none); .user-select(none);
color: @text-normal-ie;
color: @text-normal; color: @text-normal;
&.safari { &.safari {
@ -39,6 +40,7 @@ label {
top:0; top:0;
right: 0; right: 0;
bottom: 0; bottom: 0;
background-color: @background-toolbar-ie;
background-color: @background-toolbar; background-color: @background-toolbar;
overflow: hidden; overflow: hidden;
} }

View file

@ -13,6 +13,7 @@
top: 0; top: 0;
position: absolute; position: absolute;
z-index: @zindex-dropdown - 5; z-index: @zindex-dropdown - 5;
background-color: @background-toolbar-ie;
background-color: @background-toolbar; background-color: @background-toolbar;
overflow: hidden; overflow: hidden;
} }

View file

@ -11,6 +11,7 @@
width: 100%; width: 100%;
font-weight: bold; font-weight: bold;
padding: 10px 12px; padding: 10px 12px;
border-bottom: @scaled-one-px-value-ie solid @border-toolbar-ie;
border-bottom: @scaled-one-px-value solid @border-toolbar; border-bottom: @scaled-one-px-value solid @border-toolbar;
} }

View file

@ -85,9 +85,11 @@
.combo-dataview-menu { .combo-dataview-menu {
.form-control { .form-control {
cursor: pointer; cursor: pointer;
background-color: @background-normal-ie;
background-color: @background-normal; background-color: @background-normal;
&.text { &.text {
background: @background-normal-ie;
background: @background-normal; background: @background-normal;
vertical-align: bottom; vertical-align: bottom;
} }
@ -157,6 +159,7 @@
&:hover, &:hover,
&.over { &.over {
background-color: @highlight-button-hover-ie;
background-color: @highlight-button-hover; background-color: @highlight-button-hover;
.caret { .caret {

View file

@ -69,6 +69,7 @@
.cnt-lang { .cnt-lang {
display: inline-block; display: inline-block;
cursor: pointer; cursor: pointer;
color: @text-normal-ie;
color: @text-normal; color: @text-normal;
margin-left: 6px; margin-left: 6px;
@ -175,6 +176,7 @@
height: 12px; height: 12px;
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
border: @scaled-one-px-value-ie solid @border-toolbar-ie;
border: @scaled-one-px-value solid @border-toolbar; border: @scaled-one-px-value solid @border-toolbar;
} }

View file

@ -27,6 +27,7 @@
right: 0; right: 0;
bottom: 0; bottom: 0;
opacity: 0; opacity: 0;
background-color: @background-toolbar-ie;
background-color: @background-toolbar; background-color: @background-toolbar;
z-index: @zindex-tooltip + 1; z-index: @zindex-tooltip + 1;
} }
@ -48,10 +49,12 @@
width: 246px; width: 246px;
height: @contents-menu-item-height; height: @contents-menu-item-height;
.box-shadow(0 0 0 @scaled-one-px-value-ie @border-regular-control-ie);
.box-shadow(0 0 0 @scaled-one-px-value @border-regular-control); .box-shadow(0 0 0 @scaled-one-px-value @border-regular-control);
&:hover, &:hover,
&.selected { &.selected {
.box-shadow(0 0 0 2px @border-control-focus-ie);
.box-shadow(0 0 0 @scaled-two-px-value @border-control-focus); .box-shadow(0 0 0 @scaled-two-px-value @border-control-focus);
} }
} }
@ -60,6 +63,7 @@
background-color: transparent; background-color: transparent;
div { div {
.box-shadow(0 0 0 2px @border-control-focus-ie);
.box-shadow(0 0 0 @scaled-two-px-value @border-control-focus); .box-shadow(0 0 0 @scaled-two-px-value @border-control-focus);
} }
} }
@ -91,6 +95,7 @@
opacity: 0.5; opacity: 0.5;
&:hover { &:hover {
.box-shadow(0 0 0 @scaled-one-px-value-ie @border-regular-control-ie);
.box-shadow(0 0 0 @scaled-one-px-value @border-regular-control); .box-shadow(0 0 0 @scaled-one-px-value @border-regular-control);
} }
} }
@ -142,7 +147,9 @@
#watermark-auto-color > a.selected, #watermark-auto-color > a.selected,
#watermark-auto-color > a:hover { #watermark-auto-color > a:hover {
span { span {
outline: @scaled-one-px-value-ie solid @icon-normal-ie;
outline: @scaled-one-px-value solid @icon-normal; outline: @scaled-one-px-value solid @icon-normal;
border: @scaled-one-px-value-ie solid @background-normal-ie;
border: @scaled-one-px-value solid @background-normal; border: @scaled-one-px-value solid @background-normal;
} }
} }
@ -151,11 +158,14 @@
cursor: default; cursor: default;
position: relative; position: relative;
padding: 14px 11px; padding: 14px 11px;
border-left: @scaled-one-px-value-ie solid @border-regular-control-ie;
border-left: @scaled-one-px-value solid @border-regular-control; border-left: @scaled-one-px-value solid @border-regular-control;
border-top: @scaled-one-px-value-ie solid @border-regular-control-ie;
border-top: @scaled-one-px-value solid @border-regular-control; border-top: @scaled-one-px-value solid @border-regular-control;
} }
.save-style-link { .save-style-link {
border-bottom: @scaled-one-px-value-ie dotted @text-secondary-ie;
border-bottom: @scaled-one-px-value dotted @text-secondary; border-bottom: @scaled-one-px-value dotted @text-secondary;
cursor: pointer; cursor: pointer;
margin-left: 22px; margin-left: 22px;
@ -200,6 +210,8 @@
#special-paste-container { #special-paste-container {
position: absolute; position: absolute;
z-index: @zindex-dropdown - 20; z-index: @zindex-dropdown - 20;
background-color: @background-toolbar-ie;
background-color: @background-toolbar; background-color: @background-toolbar;
border: @scaled-one-px-value-ie solid @border-regular-control-ie;
border: @scaled-one-px-value solid @border-regular-control; border: @scaled-one-px-value solid @border-regular-control;
} }

View file

@ -1,6 +1,7 @@
// //
// Variables // Variables
// -------------------------------------------------- // --------------------------------------------------
@header-background-color-ie: @toolbar-header-document-ie;
@header-background-color: var(--toolbar-header-document); @header-background-color: var(--toolbar-header-document);
// Active color // Active color