2022-10-13 20:13:37 +02:00
|
|
|
/* ------------------------- //
|
2022-10-22 22:36:32 +02:00
|
|
|
HEADER
|
2022-10-13 20:13:37 +02:00
|
|
|
// ------------------------- */
|
|
|
|
|
|
|
|
.ant-layout-header {
|
|
|
|
line-height: unset;
|
|
|
|
height: auto;
|
|
|
|
}
|
2023-06-20 20:56:37 -07:00
|
|
|
|
2022-07-01 22:49:42 +02:00
|
|
|
/* ------------------------- //
|
2022-10-22 22:36:32 +02:00
|
|
|
BUTTONS
|
2022-07-01 22:49:42 +02:00
|
|
|
// ------------------------- */
|
2021-02-12 23:55:59 -08:00
|
|
|
|
2025-01-05 17:28:35 -08:00
|
|
|
.ant-btn {
|
|
|
|
font-size: 0.85rem;
|
|
|
|
}
|
|
|
|
|
2022-10-22 22:36:32 +02: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);
|
2023-06-20 20:56:37 -07:00
|
|
|
|
2022-10-22 22:36:32 +02:00
|
|
|
&: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-29 23:17:12 -07:00
|
|
|
|
2022-11-18 20:39:34 -08:00
|
|
|
.ant-btn-default {
|
2023-06-20 20:56:37 -07:00
|
|
|
color: currentcolor;
|
2022-10-22 22:36:32 +02:00
|
|
|
border-width: 2px;
|
2023-01-20 23:22:45 -08:00
|
|
|
border-color: var(--theme-color-components-primary-button-border);
|
2022-12-16 17:34:51 -08:00
|
|
|
border-radius: var(--theme-rounded-corners);
|
2023-06-20 20:56:37 -07:00
|
|
|
background-color: rgb(0 0 0 / 10%);
|
|
|
|
|
2022-10-22 22:36:32 +02:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2023-06-20 20:56:37 -07:00
|
|
|
color: currentcolor;
|
|
|
|
border-color: rgb(0 0 0 / 55%);
|
2022-10-22 22:36:32 +02:00
|
|
|
background-color: var(--theme-color-components-secondary-button-background);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ant-btn-primary {
|
2022-08-29 23:17:12 -07:00
|
|
|
border-width: 2px;
|
2022-05-22 14:17:26 +02:00
|
|
|
border-radius: var(--theme-rounded-corners);
|
2023-01-20 23:22:45 -08:00
|
|
|
border-color: var(--theme-color-components-primary-button-border);
|
2022-08-29 23:17:12 -07:00
|
|
|
|
2023-06-20 20:56:37 -07:00
|
|
|
&[ant-click-animating-without-extra-node]::after {
|
2022-07-01 22:49:42 +02:00
|
|
|
animation: 0s !important;
|
2022-07-12 14:10:46 -07:00
|
|
|
}
|
2023-06-20 20:56:37 -07:00
|
|
|
|
2022-08-29 23:17:12 -07:00
|
|
|
background-color: var(--theme-color-components-primary-button-background);
|
|
|
|
color: var(--theme-color-components-primary-button-text);
|
2023-06-20 20:56:37 -07:00
|
|
|
|
2022-08-29 23:17:12 -07:00
|
|
|
&:hover {
|
|
|
|
background-color: var(--theme-color-action-hover);
|
|
|
|
color: var(--theme-color-components-primary-button-text);
|
|
|
|
border-color: var(--theme-color-action-hover);
|
|
|
|
}
|
2023-06-20 20:56:37 -07:00
|
|
|
|
2022-08-29 23:17:12 -07:00
|
|
|
&: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-14 22:20:25 -08:00
|
|
|
}
|
|
|
|
|
2021-02-12 23:55:59 -08:00
|
|
|
.ant-btn-primary[disabled] {
|
2022-08-29 23:17:12 -07: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);
|
2023-06-20 20:56:37 -07:00
|
|
|
|
2022-08-29 23:17:12 -07:00
|
|
|
&: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-12 23:55:59 -08:00
|
|
|
}
|
2021-01-27 01:46:08 -08:00
|
|
|
}
|
2022-05-22 14:17:26 +02:00
|
|
|
|
2022-07-10 12:15:49 -07:00
|
|
|
.ant-btn-background-ghost {
|
2023-06-20 20:56:37 -07:00
|
|
|
border: 0;
|
2022-07-01 22:49:42 +02:00
|
|
|
box-shadow: none !important;
|
2023-06-20 20:56:37 -07:00
|
|
|
|
2022-07-01 22:49:42 +02:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2022-07-10 12:15:49 -07:00
|
|
|
background-color: var(--theme-unknown);
|
2021-02-12 23:55:59 -08:00
|
|
|
}
|
2022-07-10 12:15:49 -07:00
|
|
|
}
|
2022-07-01 22:49:42 +02:00
|
|
|
|
|
|
|
/* ------------------------- //
|
2022-10-22 22:36:32 +02:00
|
|
|
DROPDOWN
|
2022-07-01 22:49:42 +02:00
|
|
|
// ------------------------- */
|
2021-02-12 23:55:59 -08:00
|
|
|
|
2022-05-22 14:17:26 +02:00
|
|
|
.ant-dropdown-menu {
|
|
|
|
border-radius: var(--theme-rounded-corners);
|
2022-08-29 23:17:12 -07:00
|
|
|
background-color: var(--theme-color-components-menu-background);
|
|
|
|
}
|
2023-06-20 20:56:37 -07:00
|
|
|
|
2022-08-29 23:17:12 -07:00
|
|
|
.ant-dropdown-menu-item {
|
|
|
|
color: var(--theme-color-components-menu-item-text);
|
2023-06-20 20:56:37 -07:00
|
|
|
|
2022-08-29 23:17:12 -07:00
|
|
|
&:hover {
|
|
|
|
background-color: var(--theme-color-components-menu-item-hover-bg);
|
|
|
|
}
|
2023-06-20 20:56:37 -07:00
|
|
|
|
2022-08-29 23:17:12 -07:00
|
|
|
&:focus {
|
|
|
|
background-color: var(--theme-color-components-menu-item-focus-bg);
|
|
|
|
}
|
|
|
|
}
|
2023-06-20 20:56:37 -07:00
|
|
|
|
2023-04-24 10:58:57 -07:00
|
|
|
.ant-dropdown-menu-item,
|
|
|
|
.ant-dropdown-menu-submenu-title {
|
|
|
|
font-size: 0.8rem;
|
|
|
|
padding: 4px 15px;
|
2022-12-21 17:35:36 -08:00
|
|
|
}
|
2022-08-29 23:17:12 -07:00
|
|
|
|
2022-11-18 20:39:34 -08:00
|
|
|
.ant-input-affix-wrapper {
|
|
|
|
background-color: var(--theme-color-components-form-field-background);
|
|
|
|
}
|
|
|
|
|
2023-03-05 16:13:02 -08:00
|
|
|
.ant-input,
|
|
|
|
.ant-input-number-input {
|
2022-08-29 23:17:12 -07:00
|
|
|
background-color: var(--theme-color-components-form-field-background);
|
|
|
|
color: var(--theme-color-components-form-field-text);
|
2023-06-20 20:56:37 -07:00
|
|
|
|
2022-08-29 23:17:12 -07:00
|
|
|
&::placeholder {
|
|
|
|
color: var(--theme-color-components-form-field-placeholder);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ant-alert-error {
|
|
|
|
.ant-alert-icon {
|
|
|
|
color: var(--theme-color-palette-error);
|
|
|
|
}
|
2023-06-20 20:56:37 -07:00
|
|
|
|
2022-08-29 23:17:12 -07:00
|
|
|
.ant-alert-message {
|
|
|
|
color: var(--theme-color-palette-error);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ant-tabs-tab {
|
2023-04-26 09:48:18 -07:00
|
|
|
padding: 0.7rem;
|
2022-08-29 23:17:12 -07:00
|
|
|
background-color: transparent;
|
|
|
|
border-radius: var(--theme-rounded-corners) var(--theme-rounded-corners) 0 0;
|
2023-01-18 19:26:23 -08:00
|
|
|
font-weight: 600;
|
2023-06-20 20:56:37 -07:00
|
|
|
|
2022-08-29 23:17:12 -07:00
|
|
|
& + .ant-tabs-tab {
|
|
|
|
margin-left: var(--module-spacing);
|
|
|
|
}
|
2023-06-20 20:56:37 -07:00
|
|
|
|
2022-08-29 23:17:12 -07:00
|
|
|
&.ant-tabs-tab-active {
|
|
|
|
background-color: var(--theme-color-palette-4);
|
2023-06-20 20:56:37 -07:00
|
|
|
|
2022-08-29 23:17:12 -07:00
|
|
|
.ant-tabs-tab-btn {
|
|
|
|
color: var(--theme-color-action);
|
2023-06-20 20:56:37 -07:00
|
|
|
|
2022-08-29 23:17:12 -07:00
|
|
|
&:hover {
|
|
|
|
color: var(--theme-color-action-hover);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-10-20 21:53:31 +02:00
|
|
|
|
|
|
|
.ant-tabs {
|
|
|
|
height: 100%;
|
2023-06-20 20:56:37 -07:00
|
|
|
|
2022-10-20 21:53:31 +02:00
|
|
|
.ant-tabs-content-holder {
|
|
|
|
height: 100%;
|
|
|
|
}
|
2023-06-20 20:56:37 -07:00
|
|
|
|
2022-10-20 21:53:31 +02:00
|
|
|
.ant-tabs-content {
|
2022-11-18 20:39:34 -08:00
|
|
|
overflow: auto;
|
2023-06-20 20:56:37 -07:00
|
|
|
|
2022-10-20 21:53:31 +02:00
|
|
|
.ant-tabs-tabpane-active {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-08-29 23:17:12 -07:00
|
|
|
.ant-tabs-ink-bar {
|
|
|
|
background-color: var(--theme-color-action);
|
2022-07-10 08:56:31 +02:00
|
|
|
}
|
2022-09-10 22:19:32 -07:00
|
|
|
|
2023-06-20 20:56:37 -07:00
|
|
|
.ant-tabs-nav::before {
|
2022-09-10 22:19:32 -07:00
|
|
|
border-bottom-color: var(--theme-color-components-menu-item-focus-bg) !important;
|
|
|
|
}
|
2022-09-10 22:33:46 -07:00
|
|
|
|
|
|
|
.ant-modal-close:hover {
|
|
|
|
color: var(--theme-color-components-modal-header-text);
|
|
|
|
}
|
2022-12-16 17:34:51 -08:00
|
|
|
|
2023-05-07 10:39:53 -07:00
|
|
|
.ant-modal-title {
|
|
|
|
color: var(--theme-color-components-modal-header-text);
|
|
|
|
}
|
|
|
|
|
2022-12-16 17:34:51 -08: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-19 19:20:01 -08:00
|
|
|
|
|
|
|
.ant-popover {
|
|
|
|
z-index: 800; // Lower the z-index so it renders under modals.
|
|
|
|
}
|
2023-03-06 10:16:31 +05:30
|
|
|
|
|
|
|
/* ------------------------- //
|
|
|
|
* 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);
|
|
|
|
}
|
2023-04-16 00:01:20 +05:30
|
|
|
|
2023-04-24 10:58:57 -07:00
|
|
|
.line-chart-container {
|
2023-04-16 00:01:20 +05:30
|
|
|
position: relative;
|
2023-06-20 20:56:37 -07:00
|
|
|
|
2023-04-24 10:58:57 -07:00
|
|
|
.download-btn {
|
|
|
|
position: absolute;
|
2023-04-16 00:01:20 +05:30
|
|
|
top: 0.3rem;
|
|
|
|
right: 0.35rem;
|
|
|
|
}
|
|
|
|
}
|
2023-05-31 17:00:38 -07:00
|
|
|
|
|
|
|
.ant-collapse > .ant-collapse-item {
|
|
|
|
background: var(--theme-color-palette-14);
|
|
|
|
}
|