101 lines
2.6 KiB
Plaintext
101 lines
2.6 KiB
Plaintext
html {
|
|
--color-fill-1: rgba(0, 0, 0, 0.04);
|
|
--color-fill-2: #fff;
|
|
--color-fill-3: #f3f6fa;
|
|
--menu-border-radius-base: 32px;
|
|
--border-radius-base: 16px;
|
|
--color-white-1: #fff;
|
|
--font-weight-normal: 500;
|
|
--font-weight-bold: 700;
|
|
--color-text-1: #1d2129;
|
|
--color-bg-light-1: #f0fff6;
|
|
--font-size-base: 12px;
|
|
--ant-color-fill-secondary: rgba(0, 0, 0, 0.06);
|
|
// --color-text-1: #000;
|
|
|
|
--seal-transition-func: cubic-bezier(0, 0, 1, 1);
|
|
// ======== input ============
|
|
--ant-input-active-shadow: 0 0 0 2px rgba(5, 255, 105, 0.06);
|
|
--ant-input-active-border-color: #2fbf85;
|
|
--ant-input-hover-border-color: #54cc98;
|
|
|
|
.css-var-rf {
|
|
--ant-font-size: var(--font-size-base);
|
|
}
|
|
.css-var-r0 {
|
|
// --ant-control-height: 36px;
|
|
--ant-font-size-sm: var(--font-size-base);
|
|
--ant-font-size-lg: var(--font-size-base);
|
|
--ant-font-size-xl: 20px;
|
|
--ant-padding-sm: 14px;
|
|
|
|
&.ant-popover {
|
|
--ant-popover-inner-padding: 26px;
|
|
--ant-popover-title-margin-bottom: 22px;
|
|
}
|
|
|
|
&.ant-btn {
|
|
--ant-button-content-font-size-lg: 13px;
|
|
--ant-button-content-font-size: 13px;
|
|
--ant-button-content-font-size-sm: 13px;
|
|
}
|
|
}
|
|
|
|
.css-var-rf.ant-menu-css-var {
|
|
--ant-menu-item-height: 46px;
|
|
--ant-menu-item-selected-bg: var(--color-white-1);
|
|
--ant-menu-item-border-radius: 24px;
|
|
--ant-menu-item-selected-color: var(--ant-color-primary);
|
|
--ant-menu-item-hover-bg: var(--color-white-1);
|
|
--ant-menu-item-color: var(--color-text-1);
|
|
--ant-menu-item-active-bg: var(--color-white-1);
|
|
}
|
|
.css-var-r0.ant-input-css-var {
|
|
--ant-input-input-font-size: var(--font-size-base);
|
|
--ant-input-input-font-size-lg: var(--font-size-base);
|
|
--ant-input-input-font-size-sm: var(--font-size-base);
|
|
}
|
|
.css-var-r0.ant-select-css-var {
|
|
--ant-select-option-active-bg: var(--color-fill-1);
|
|
--ant-select-option-font-size: var(--font-size-base);
|
|
}
|
|
}
|
|
body * {
|
|
font-weight: var(--font-weight-normal);
|
|
}
|
|
|
|
// ======== basic layout style start============
|
|
.ant-pro-layout {
|
|
height: 100vh;
|
|
.ant-pro-sider-logo {
|
|
padding-left: 22px;
|
|
border-block-end: none;
|
|
}
|
|
.ant-layout {
|
|
min-height: 100vh;
|
|
}
|
|
.ant-pro-layout-container {
|
|
background-color: var(--color-fill-2);
|
|
}
|
|
}
|
|
|
|
// ======== basic layout style end ============
|
|
|
|
// ======== menu style start ============
|
|
.ant-pro-sider-collapsed-button {
|
|
display: none;
|
|
}
|
|
|
|
.ant-pro-layout {
|
|
.ant-pro-sider {
|
|
.ant-menu {
|
|
.ant-menu-item:hover {
|
|
color: inherit;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
// ======== menu style end ============
|
|
|
|
@import url('src/assets/styles/menu.less');
|