Commit 2af29ff3 by chenwq

style(resetelement): 更新Element UI组件样式使用主题绿色

调整Element UI组件的主色和交互状态颜色为项目主题绿色(#08C489),包括按钮、复选框、选择器和日期选择器等组件,保持UI风格统一
1 parent aaf6742a
@import '@/styles/variables.scss';
.el-select {
width: 100%;
}
......@@ -93,4 +94,73 @@
.el-tooltip__popper[x-placement^="top"] .popper__arrow:after {
border-top-color: #666666 !important;
}
\ No newline at end of file
}
.el-button--primary {
background-color: #08C489 !important;
border-color: #08C489 !important;
&:hover,
&:focus {
background-color: #3AD0A1 !important;
border-color: #3AD0A1 !important;
}
&:active {
background-color: #069D6D !important;
border-color: #069D6D !important;
}
&.is-disabled,
&.is-disabled:hover,
&.is-disabled:focus,
&.is-disabled:active {
background-color: #a0cfff !important; /* Element UI default disabled blue, maybe should be green tint? */
background-color: #94e9cf !important; /* Adjusted to green tint */
border-color: #94e9cf !important;
}
}
.el-checkbox__input.is-checked .el-checkbox__inner,
.el-checkbox__input.is-indeterminate .el-checkbox__inner {
background-color: #08C489 !important;
border-color: #08C489 !important;
}
.el-checkbox__inner:hover {
border-color: #08C489 !important;
}
.el-checkbox__input.is-focus .el-checkbox__inner {
border-color: #08C489 !important;
}
.el-checkbox__input.is-checked + .el-checkbox__label {
color: #08C489 !important;
}
.el-select-dropdown__item.selected {
color: #08C489 !important;
}
.el-date-table td.current:not(.disabled) span {
background-color: #08C489 !important;
}
.el-date-table td.today span {
color: #08C489;
}
.el-date-table td.available:hover {
color: #08C489;
}
.el-month-table td.current:not(.disabled) .cell {
color: #fff;
background-color: #08C489 !important;
}
.el-year-table td.current:not(.disabled) .cell {
color: #fff;
background-color: #08C489 !important;
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!