mirror of
https://github.com/pure-admin/pure-admin-thin.git
synced 2025-04-25 07:57:18 +08:00
78 lines
2.0 KiB
SCSS
78 lines
2.0 KiB
SCSS
.el-breadcrumb__inner,
|
|
.el-breadcrumb__inner a {
|
|
font-weight: 400 !important;
|
|
}
|
|
|
|
.el-upload {
|
|
input[type="file"] {
|
|
display: none !important;
|
|
}
|
|
}
|
|
|
|
.el-upload__input {
|
|
display: none;
|
|
}
|
|
|
|
.upload-container {
|
|
.el-upload {
|
|
width: 100%;
|
|
|
|
.el-upload-dragger {
|
|
width: 100%;
|
|
height: 200px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.el-dropdown-menu {
|
|
padding: 2px 0 !important;
|
|
}
|
|
|
|
.el-range-separator {
|
|
box-sizing: content-box;
|
|
}
|
|
|
|
.is-dark {
|
|
z-index: 99999 !important;
|
|
}
|
|
|
|
/* 动态改变cssvar 用于主题切换 https://github.com/element-plus/element-plus/issues/4856#issuecomment-1000174357 */
|
|
.el-button--primary {
|
|
--el-button-bg-color: var(--el-color-primary) !important;
|
|
--el-button-border-color: var(--el-color-primary) !important;
|
|
--el-button-hover-bg-color: var(--el-color-primary-light-2) !important;
|
|
--el-button-hover-border-color: var(--el-color-primary-light-2) !important;
|
|
--el-button-active-bg-color: var(--el-color-primary-active) !important;
|
|
--el-button-active-border-color: var(--el-color-primary-active) !important;
|
|
}
|
|
|
|
/* button--primary plain */
|
|
.el-button--primary.is-plain {
|
|
--el-button-bg-color: var(--el-color-primary-light-9) !important;
|
|
--el-button-border-color: var(--el-color-primary-light-6) !important;
|
|
--el-button-hover-bg-color: var(--el-color-primary-light-1) !important;
|
|
--el-button-hover-border-color: var(--el-color-primary) !important;
|
|
--el-button-active-bg-color: var(--el-color-primary) !important;
|
|
--el-button-active-border-color: var(--el-color-primary) !important;
|
|
--el-button-text-color: var(--el-color-primary) !important;
|
|
--el-button-hover-text-color: var(--el-color-white) !important;
|
|
--el-button-active-text-color: var(--el-color-white) !important;
|
|
}
|
|
|
|
/* nprogress适配ep的primary */
|
|
#nprogress {
|
|
& .bar {
|
|
background-color: var(--el-color-primary) !important;
|
|
}
|
|
|
|
& .peg {
|
|
box-shadow: 0 0 10px var(--el-color-primary),
|
|
0 0 5px var(--el-color-primary) !important;
|
|
}
|
|
|
|
& .spinner-icon {
|
|
border-top-color: var(--el-color-primary);
|
|
border-left-color: var(--el-color-primary);
|
|
}
|
|
}
|