2022-10-13 21:13:37 +03:00
|
|
|
/* ------------------------- //
|
2022-10-22 23:36:32 +03:00
|
|
|
HEADER
|
2022-10-13 21:13:37 +03:00
|
|
|
// ------------------------- */
|
|
|
|
|
|
|
|
.ant-layout-header {
|
|
|
|
line-height: unset;
|
|
|
|
height: auto;
|
|
|
|
}
|
2022-07-01 23:49:42 +03:00
|
|
|
/* ------------------------- //
|
2022-10-22 23:36:32 +03:00
|
|
|
BUTTONS
|
2022-07-01 23:49:42 +03:00
|
|
|
// ------------------------- */
|
2021-02-13 10:55:59 +03:00
|
|
|
|
2022-10-22 23:36:32 +03:00
|
|
|
.ant-btn[disabled] {
|
|
|
|
background-color: var(--theme-color-components-secondary-button-background-disabled);
|
|
|
|
color: var(--theme-color-components-secondary-button-text-disabled);
|
|
|
|
border-color: var(--theme-color-components-secondary-button-border-disabled);
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
background-color: var(--theme-color-components-secondary-button-background-disabled);
|
|
|
|
color: var(--theme-color-components-secondary-button-text-disabled);
|
|
|
|
border-color: var(--theme-color-components-secondary-button-border-disabled);
|
|
|
|
}
|
|
|
|
}
|
2022-08-30 09:17:12 +03:00
|
|
|
|
2022-11-19 07:39:34 +03:00
|
|
|
.ant-btn-default {
|
2022-10-22 23:36:32 +03:00
|
|
|
color: currentColor;
|
|
|
|
border-width: 2px;
|
2023-01-21 10:22:45 +03:00
|
|
|
border-color: var(--theme-color-components-primary-button-border);
|
2022-12-17 04:34:51 +03:00
|
|
|
border-radius: var(--theme-rounded-corners);
|
2022-11-19 07:39:34 +03:00
|
|
|
background-color: rgba(0, 0, 0, 0.1);
|
2022-10-22 23:36:32 +03:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
color: currentColor;
|
2022-11-19 07:39:34 +03:00
|
|
|
border-color: rgba(0, 0, 0, 0.55);
|
2022-10-22 23:36:32 +03:00
|
|
|
background-color: var(--theme-color-components-secondary-button-background);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ant-btn-primary {
|
|
|
|
height: 2rem;
|
2022-07-13 00:10:46 +03:00
|
|
|
font-size: 0.85rem;
|
2022-05-22 15:17:26 +03:00
|
|
|
font-weight: bold;
|
2022-08-30 09:17:12 +03:00
|
|
|
border-width: 2px;
|
2022-05-22 15:17:26 +03:00
|
|
|
border-radius: var(--theme-rounded-corners);
|
2022-08-30 09:17:12 +03:00
|
|
|
color: var(--theme-color-components-primary-button-text);
|
2023-01-21 10:22:45 +03:00
|
|
|
border-color: var(--theme-color-components-primary-button-border);
|
2022-08-30 09:17:12 +03:00
|
|
|
|
2021-02-14 12:45:08 +03:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2022-08-30 09:17:12 +03:00
|
|
|
border-color: var(--theme-color-action-hover);
|
|
|
|
color: var(--theme-color-action-hover);
|
|
|
|
background-color: var(--theme-color-components-secondary-button-background);
|
2022-07-10 22:15:49 +03:00
|
|
|
}
|
2022-08-30 09:17:12 +03:00
|
|
|
|
2022-07-10 22:15:49 +03:00
|
|
|
&:focus {
|
2022-08-30 09:17:12 +03:00
|
|
|
border-color: var(--theme-color-components-secondary-button-text);
|
2022-05-22 15:17:26 +03:00
|
|
|
}
|
2022-07-01 23:49:42 +03:00
|
|
|
&[ant-click-animating-without-extra-node]:after {
|
|
|
|
animation: 0s !important;
|
2022-07-13 00:10:46 +03:00
|
|
|
}
|
2022-08-30 09:17:12 +03:00
|
|
|
background-color: var(--theme-color-components-primary-button-background);
|
|
|
|
color: var(--theme-color-components-primary-button-text);
|
|
|
|
&:hover {
|
|
|
|
background-color: var(--theme-color-action-hover);
|
|
|
|
color: var(--theme-color-components-primary-button-text);
|
|
|
|
border-color: var(--theme-color-action-hover);
|
|
|
|
}
|
|
|
|
&:focus {
|
|
|
|
background-color: var(--theme-color-action-hover);
|
|
|
|
color: var(--theme-color-components-primary-button-text);
|
|
|
|
border-color: var(--theme-color-components-primary-button-text);
|
|
|
|
}
|
2021-02-15 09:20:25 +03:00
|
|
|
}
|
|
|
|
|
2021-02-13 10:55:59 +03:00
|
|
|
.ant-btn-primary[disabled] {
|
2022-08-30 09:17:12 +03:00
|
|
|
background-color: var(--theme-color-components-primary-button-background-disabled);
|
|
|
|
border-color: var(--theme-color-components-primary-button-border-disabled);
|
|
|
|
color: var(--theme-color-components-primary-button-text-disabled);
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
background-color: var(--theme-color-components-primary-button-background-disabled);
|
|
|
|
border-color: var(--theme-color-components-primary-button-border-disabled);
|
|
|
|
color: var(--theme-color-components-primary-button-text-disabled);
|
2021-02-13 10:55:59 +03:00
|
|
|
}
|
2021-01-27 12:46:08 +03:00
|
|
|
}
|
2022-05-22 15:17:26 +03:00
|
|
|
|
2022-07-10 22:15:49 +03:00
|
|
|
.ant-btn-background-ghost {
|
2022-07-01 23:49:42 +03:00
|
|
|
border: 0px;
|
|
|
|
box-shadow: none !important;
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2022-07-10 22:15:49 +03:00
|
|
|
background-color: var(--theme-unknown);
|
2021-02-13 10:55:59 +03:00
|
|
|
}
|
2022-07-10 22:15:49 +03:00
|
|
|
}
|
2022-07-01 23:49:42 +03:00
|
|
|
|
|
|
|
/* ------------------------- //
|
2022-10-22 23:36:32 +03:00
|
|
|
DROPDOWN
|
2022-07-01 23:49:42 +03:00
|
|
|
// ------------------------- */
|
2021-02-13 10:55:59 +03:00
|
|
|
|
2022-05-22 15:17:26 +03:00
|
|
|
.ant-dropdown-menu {
|
|
|
|
border-radius: var(--theme-rounded-corners);
|
2022-08-30 09:17:12 +03:00
|
|
|
background-color: var(--theme-color-components-menu-background);
|
|
|
|
}
|
|
|
|
.ant-dropdown-menu-item {
|
|
|
|
color: var(--theme-color-components-menu-item-text);
|
|
|
|
&:hover {
|
|
|
|
background-color: var(--theme-color-components-menu-item-hover-bg);
|
|
|
|
}
|
|
|
|
&:focus {
|
|
|
|
background-color: var(--theme-color-components-menu-item-focus-bg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ant-modal-header {
|
|
|
|
color: var(--theme-color-components-modal-header-text);
|
2022-08-30 23:13:05 +03:00
|
|
|
font-family: var(--theme-text-display-font-family);
|
2022-08-30 09:17:12 +03:00
|
|
|
}
|
|
|
|
.ant-modal-title {
|
|
|
|
color: var(--theme-color-components-modal-header-text);
|
|
|
|
}
|
2022-10-27 00:35:46 +03:00
|
|
|
.ant-modal-body {
|
2022-11-19 23:56:57 +03:00
|
|
|
overflow: auto;
|
|
|
|
border-radius: 0 0 var(--theme-rounded-corners) var(--theme-rounded-corners);
|
2022-10-27 00:35:46 +03:00
|
|
|
}
|
2022-08-30 09:17:12 +03:00
|
|
|
.ant-modal {
|
|
|
|
color: var(--theme-color-components-text-on-light);
|
|
|
|
h1 {
|
|
|
|
color: var(--theme-color-components-text-on-light);
|
|
|
|
}
|
|
|
|
}
|
2022-12-22 04:35:36 +03:00
|
|
|
.ant-modal-content {
|
|
|
|
box-shadow: 3px 15px 15px -3px rgba(0, 0, 0, 0.15), 0px 4px 6px -2px rgba(0, 0, 0, 0.08);
|
|
|
|
}
|
2022-08-30 09:17:12 +03:00
|
|
|
|
2022-11-19 07:39:34 +03:00
|
|
|
.ant-input-affix-wrapper {
|
2022-11-23 21:52:39 +03:00
|
|
|
padding: 4px 5px;
|
2022-11-19 07:39:34 +03:00
|
|
|
background-color: var(--theme-color-components-form-field-background);
|
|
|
|
}
|
|
|
|
|
2023-03-06 03:13:02 +03:00
|
|
|
.ant-input,
|
|
|
|
.ant-input-number-input {
|
2022-08-30 09:17:12 +03:00
|
|
|
background-color: var(--theme-color-components-form-field-background);
|
|
|
|
color: var(--theme-color-components-form-field-text);
|
|
|
|
&::placeholder {
|
|
|
|
color: var(--theme-color-components-form-field-placeholder);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ant-alert-error {
|
|
|
|
.ant-alert-icon {
|
|
|
|
color: var(--theme-color-palette-error);
|
|
|
|
}
|
|
|
|
.ant-alert-message {
|
|
|
|
color: var(--theme-color-palette-error);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ant-tabs-tab {
|
|
|
|
padding: var(--content-padding);
|
|
|
|
background-color: transparent;
|
|
|
|
border-radius: var(--theme-rounded-corners) var(--theme-rounded-corners) 0 0;
|
2023-01-19 06:26:23 +03:00
|
|
|
font-weight: 600;
|
2022-08-30 09:17:12 +03:00
|
|
|
& + .ant-tabs-tab {
|
|
|
|
margin-left: var(--module-spacing);
|
|
|
|
}
|
|
|
|
&.ant-tabs-tab-active {
|
|
|
|
background-color: var(--theme-color-palette-4);
|
|
|
|
.ant-tabs-tab-btn {
|
|
|
|
color: var(--theme-color-action);
|
|
|
|
&:hover {
|
|
|
|
color: var(--theme-color-action-hover);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-10-20 22:53:31 +03:00
|
|
|
|
|
|
|
.ant-tabs {
|
|
|
|
height: 100%;
|
|
|
|
.ant-tabs-content-holder {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
.ant-tabs-content {
|
|
|
|
height: 100% !important;
|
2022-11-19 07:39:34 +03:00
|
|
|
overflow: auto;
|
2022-10-20 22:53:31 +03:00
|
|
|
.ant-tabs-tabpane-active {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-08-30 09:17:12 +03:00
|
|
|
.ant-tabs-ink-bar {
|
|
|
|
background-color: var(--theme-color-action);
|
2022-07-10 09:56:31 +03:00
|
|
|
}
|
2022-09-11 08:19:32 +03:00
|
|
|
|
|
|
|
.ant-tabs-nav:before {
|
|
|
|
border-bottom-color: var(--theme-color-components-menu-item-focus-bg) !important;
|
|
|
|
}
|
2022-09-11 08:33:46 +03:00
|
|
|
|
|
|
|
.ant-modal-close:hover {
|
|
|
|
color: var(--theme-color-components-modal-header-text);
|
|
|
|
}
|
2022-12-17 04:34:51 +03:00
|
|
|
|
|
|
|
.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected {
|
|
|
|
background-color: unset;
|
|
|
|
}
|
|
|
|
|
|
|
|
td.ant-table-column-sort,
|
|
|
|
.ant-table-thead th.ant-table-column-sort {
|
|
|
|
background-color: unset;
|
|
|
|
}
|
|
|
|
|
|
|
|
th {
|
|
|
|
color: var(--theme-color-components-modal-header-text);
|
|
|
|
font-family: var(--theme-text-display-font-family);
|
|
|
|
font-weight: 700 !important;
|
|
|
|
}
|
2023-01-20 06:20:01 +03:00
|
|
|
|
|
|
|
.ant-popover {
|
|
|
|
z-index: 800; // Lower the z-index so it renders under modals.
|
|
|
|
}
|
2023-03-06 07:46:31 +03:00
|
|
|
|
|
|
|
/* ------------------------- //
|
|
|
|
* SIDER MENUITEM
|
|
|
|
// ------------------------- */
|
|
|
|
.ant-menu-light .ant-menu-submenu-title:active {
|
|
|
|
background: var(--theme-color-palette-12);
|
|
|
|
}
|
|
|
|
|
|
|
|
.ant-menu-light .ant-menu-submenu-title:hover {
|
|
|
|
color: var(--theme-color-palette-12);
|
|
|
|
}
|
|
|
|
|
|
|
|
.ant-menu-submenu:hover > .ant-menu-submenu-title > .ant-menu-submenu-arrow {
|
|
|
|
color: var(--theme-color-palette-12);
|
|
|
|
}
|
|
|
|
|
|
|
|
.ant-menu-light .ant-menu-item:hover {
|
|
|
|
color: var(--theme-color-palette-12);
|
|
|
|
}
|