diff options
| author | Tara Rostami <132676256+TaraRostami@users.noreply.github.com> | 2024-04-01 10:08:22 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-01 10:08:22 +0300 |
| commit | d759e09569008cbe6782be8d544a38f888737866 (patch) | |
| tree | d105bfd2ba09d210eaec1880c93fc3dec0a06c2d /web/assets/css | |
| parent | 684e777628688e6a1d434aecb1d84be2f428d6c6 (diff) | |
QRious2 (#2156)
Diffstat (limited to 'web/assets/css')
| -rw-r--r-- | web/assets/css/custom.css | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/web/assets/css/custom.css b/web/assets/css/custom.css index eb3965f5..d755e3c7 100644 --- a/web/assets/css/custom.css +++ b/web/assets/css/custom.css @@ -39,6 +39,42 @@ --dark-color-tooltip: rgba(61, 76, 104, 0.9); } +html[data-theme-animations='off'] { + .ant-menu, + .ant-layout-sider, + .ant-card, + .ant-tag, + .ant-progress-circle > *, + .ant-input, + .ant-table-row-expand-icon, + .ant-switch, + .ant-table-thead > tr > th, + .ant-select-selection, + .ant-btn, + .ant-input-number, + .ant-input-group-addon, + .ant-checkbox-inner, + .ant-progress-bg, .ant-progress-success-bg, + .ant-radio-button-wrapper:not(:first-child):before, + .ant-radio-button-wrapper, + #login { + transition: border 0s, background 0s !important; + } + + .ant-menu-item, .ant-menu-submenu-title, + .ant-alert-close-icon .anticon-close, + .ant-tabs-nav .ant-tabs-tab, + .ant-input-number-input, + .ant-collapse>.ant-collapse-item>.ant-collapse-header, + .Line-Hover { + transition: color 0s !important; + } + + .wave-btn-bg { + transition: width 0s !important; + } +} + html[data-theme='ultra-dark'] { --dark-color-background: #21242a; --dark-color-surface-100: #0c0e12; @@ -1413,3 +1449,11 @@ b, strong { transition: transform 0.3s ease-out; content: ""; } + +.ant-menu-item:active, .ant-menu-submenu-title:active { + background: transparent; +} + +.ant-menu-theme-switch.ant-menu-item .ant-switch:not(.ant-switch-disabled):active:after, .ant-switch:not(.ant-switch-disabled):active:before { + width: 16px; +} |
