Обновлены стили компонентов Segmented, Select и DatePicker

This commit is contained in:
goodmice 2022-12-28 16:56:51 +05:00
parent b1b4283bc5
commit cf87354cd1
No known key found for this signature in database
GPG Key ID: EA4AA16454AC96C8

View File

@ -37,6 +37,7 @@
@item-hover-bg: @primary; @item-hover-bg: @primary;
@menu-highlight-color: @text; @menu-highlight-color: @text;
@table-row-hover-bg: darken(@primary, 10%); @table-row-hover-bg: darken(@primary, 10%);
@table-selected-row-bg: darken(@primary, 20%);
@descriptions-bg: @main-light; @descriptions-bg: @main-light;
@menu-bg: transparent; @menu-bg: transparent;
@ -69,6 +70,17 @@
@alert-error-bg-color: darken(@error, 20%); @alert-error-bg-color: darken(@error, 20%);
@alert-error-icon-color: @error; @alert-error-icon-color: @error;
@select-item-selected-bg: darken(@primary, 10%); // Цвет выбранного элемента списка
@picker-basic-cell-active-with-range-color: darken(@primary, 10%); // Цвет выделения диапазона на селекторе дат
// Segmented
@segmented-label-color: @text;
@segmented-label-hover-color: @text;
@segmented-hover-bg: lighten(@main-light, 10%);
@segmented-bg: lighten(@main-light, 2%);
@segmented-selected-bg: darken(@primary, 10%);
.ant-menu-item:active, .ant-menu-submenu-title:active { .ant-menu-item:active, .ant-menu-submenu-title:active {
background-color: darken(@primary, 10%); background-color: darken(@primary, 10%);
} }