Commit f02ce5af by 张立顺

fix 主题替换

1 parent 39b06eb6
...@@ -90,7 +90,7 @@ ...@@ -90,7 +90,7 @@
} }
.color-58 { .color-58 {
color: #08c489; color: $themeColor;
} }
.color-9 { .color-9 {
......
...@@ -13,17 +13,17 @@ ...@@ -13,17 +13,17 @@
} }
.glsx-table .el-pagination.is-background .el-pager li:not(.disabled).active { .glsx-table .el-pagination.is-background .el-pager li:not(.disabled).active {
background-color: $btnBlue; background-color: $themeColor;
color: #fff; color: #fff;
} }
/deep/ .el-input__inner:focus { /deep/ .el-input__inner:focus {
border-color: $btnBlue !important; border-color: $themeColor !important;
} }
/deep/.el-range-editor.is-active, /deep/.el-range-editor.is-active,
.el-range-editor.is-active:hover { .el-range-editor.is-active:hover {
border-color: $btnBlue; border-color: $themeColor;
} }
.el-message-box { .el-message-box {
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
.el-icon-warning { .el-icon-warning {
display: block !important; display: block !important;
font-size: 33px !important; font-size: 33px !important;
color: #08c489 !important; color: $themeColor !important;
position: relative; position: relative;
left: 50%; left: 50%;
transform: translateX(-50%); transform: translateX(-50%);
...@@ -99,21 +99,21 @@ ...@@ -99,21 +99,21 @@
.el-button--default { .el-button--default {
&:hover, &:hover,
&:focus { &:focus {
color: #08C489 !important; /* Element UI default disabled blue, maybe should be green tint? */ color: $themeColor !important; /* Element UI default disabled blue, maybe should be green tint? */
background-color: #E6F9F3 !important; /* Adjusted to green tint */ background-color: $themeLightColor !important; /* Adjusted to green tint */
border-color: #B5EDDC !important; border-color: #B5EDDC !important;
} }
&:active { &:active {
color: #08C489 !important; /* Element UI default disabled blue, maybe should be green tint? */ color: $themeColor !important; /* Element UI default disabled blue, maybe should be green tint? */
background-color: #E6F9F3 !important; /* Adjusted to green tint */ background-color: $themeLightColor !important; /* Adjusted to green tint */
border-color: #B5EDDC !important; border-color: #B5EDDC !important;
} }
} }
.el-button--primary { .el-button--primary {
background-color: #08c489 !important; background-color: $themeColor !important;
border-color: #08c489 !important; border-color: $themeColor !important;
&:hover, &:hover,
&:focus { &:focus {
...@@ -137,7 +137,7 @@ ...@@ -137,7 +137,7 @@
} }
.el-button--text { .el-button--text {
color: #08C489 !important; color: $themeColor !important;
&:hover, &:hover,
&:focus { &:focus {
...@@ -151,83 +151,83 @@ ...@@ -151,83 +151,83 @@
.el-checkbox__input.is-checked .el-checkbox__inner, .el-checkbox__input.is-checked .el-checkbox__inner,
.el-checkbox__input.is-indeterminate .el-checkbox__inner { .el-checkbox__input.is-indeterminate .el-checkbox__inner {
background-color: #08c489 !important; background-color: $themeColor !important;
border-color: #08c489 !important; border-color: $themeColor !important;
} }
.el-checkbox__inner:hover { .el-checkbox__inner:hover {
border-color: #08c489 !important; border-color: $themeColor !important;
} }
.el-checkbox__input.is-focus .el-checkbox__inner { .el-checkbox__input.is-focus .el-checkbox__inner {
border-color: #08c489 !important; border-color: $themeColor !important;
} }
.el-checkbox__input.is-checked + .el-checkbox__label { .el-checkbox__input.is-checked + .el-checkbox__label {
color: #08c489 !important; color: $themeColor !important;
} }
.el-select-dropdown__item.selected { .el-select-dropdown__item.selected {
color: #08c489 !important; color: $themeColor !important;
} }
.el-date-table td.current:not(.disabled) span { .el-date-table td.current:not(.disabled) span {
background-color: #08c489 !important; background-color: $themeColor !important;
} }
.el-date-table td.today span { .el-date-table td.today span {
color: #08c489 !important; color: $themeColor !important;
font-weight: bold; font-weight: bold;
} }
.el-date-table td.available:hover span { .el-date-table td.available:hover span {
color: #08c489 !important; color: $themeColor !important;
background-color: #E6F9F3 !important; background-color: $themeLightColor !important;
} }
.el-date-table td.start-date span, .el-date-table td.start-date span,
.el-date-table td.end-date span { .el-date-table td.end-date span {
background-color: #08c489 !important; background-color: $themeColor !important;
} }
.el-date-table td.in-range div, .el-date-table td.in-range div,
.el-date-table td.in-range div:hover { .el-date-table td.in-range div:hover {
background-color: #E6F9F3 !important; background-color: $themeLightColor !important;
} }
.el-month-table td.current:not(.disabled) .cell { .el-month-table td.current:not(.disabled) .cell {
color: #fff; color: #fff;
background-color: #08c489 !important; background-color: $themeColor !important;
} }
.el-month-table td .cell:hover { .el-month-table td .cell:hover {
color: #08c489 !important; color: $themeColor !important;
background-color: #E6F9F3 !important; background-color: $themeLightColor !important;
} }
.el-year-table td.current:not(.disabled) .cell { .el-year-table td.current:not(.disabled) .cell {
color: #fff; color: #fff;
background-color: #08c489 !important; background-color: $themeColor !important;
} }
.el-year-table td .cell:hover { .el-year-table td .cell:hover {
color: #08c489 !important; color: $themeColor !important;
background-color: #E6F9F3 !important; background-color: $themeLightColor !important;
} }
.el-tabs__active-bar { .el-tabs__active-bar {
background-color: #08C489 !important; background-color: $themeColor !important;
} }
.el-tabs__item.is-active { .el-tabs__item.is-active {
color: #08C489 !important; color: $themeColor !important;
} }
.el-tabs__item:hover { .el-tabs__item:hover {
color: #08C489 !important; color: $themeColor !important;
} }
.el-table__body tr:hover > td, .el-table__body tr:hover > td,
.el-table tbody tr:hover > td { .el-table tbody tr:hover > td {
background-color: #E6F9F3 !important; background-color: $themeLightColor !important;
} }
$bgColor:#F4F5FA; $bgColor:#F4F5FA;
$btnBlue:#08C489; $btnBlue:#08C489;
$lightBtnBlue:#9994FF; $lightBtnBlue:#a2ff94;
$themeColor: #08C489;
$themeLightColor: #e1f8f1;
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!