[stylesheets] refactoring

This commit is contained in:
Maxim Kadushkin 2020-12-27 16:31:40 +03:00
parent e9abada366
commit 58bc75cef3

View file

@ -3,7 +3,7 @@
@black: #000000; @black: #000000;
@gray: #c4c4c4; @gray: #c4c4c4;
@green: #4cd964; @green: #4cd964;
@background-normal: @white;
.popup, .popover, .sheet-modal { .popup, .popover, .sheet-modal {
.list:first-child { .list:first-child {
@ -53,7 +53,7 @@
} }
&.active { &.active {
.color-auto { .color-auto {
box-shadow: 0 0 0 1px #fff, 0 0 0 4px @themeColor; box-shadow: 0 0 0 1px @background-normal, 0 0 0 4px @themeColor;
border-radius: 1px; border-radius: 1px;
} }
} }
@ -74,7 +74,7 @@
position: absolute; position: absolute;
width: 100%; width: 100%;
height: 100%; height: 100%;
box-shadow: 0 0 0 1px #fff, 0 0 0 4px @themeColor; box-shadow: 0 0 0 1px @background-normal, 0 0 0 4px @themeColor;
z-index: 1; z-index: 1;
border-radius: 1px; border-radius: 1px;
} }
@ -91,4 +91,10 @@
display: flex; display: flex;
} }
} }
.dynamic-colors {
.empty-color {
background-color: @background-normal;
}
}
} }