style: add disabled color

This commit is contained in:
Fine 2023-06-28 15:14:42 +08:00
parent e1f1d0d21f
commit 2e26ed922c
22 changed files with 32 additions and 54 deletions

View File

@ -539,7 +539,7 @@ limitations under the License. -->
} }
.calendar-date-out { .calendar-date-out {
color: #ccc; color: $disabled-color;
} }
.calendar-date:hover, .calendar-date:hover,
@ -558,7 +558,7 @@ limitations under the License. -->
.calendar-date-disabled { .calendar-date-disabled {
cursor: not-allowed !important; cursor: not-allowed !important;
color: #ccc !important; color: $disabled-color !important;
background: $theme-background !important; background: $theme-background !important;
} }

View File

@ -356,7 +356,7 @@ limitations under the License. -->
text-align: center; text-align: center;
color: $text-color; color: $text-color;
border-radius: 50%; border-radius: 50%;
background: #ccc background: $disabled-color
url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA3IDciIHdpZHRoPSI3IiBoZWlnaHQ9IjciPjxwYXRoIGZpbGw9IiNmZmYiIGQ9Ik01LjU4LDVsMi44LTIuODFBLjQxLjQxLDAsMSwwLDcuOCwxLjZMNSw0LjQxLDIuMiwxLjZhLjQxLjQxLDAsMCwwLS41OC41OGgwTDQuNDIsNSwxLjYyLDcuOGEuNDEuNDEsMCwwLDAsLjU4LjU4TDUsNS41OCw3LjgsOC4zOWEuNDEuNDEsMCwwLDAsLjU4LS41OGgwWiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTEuNSAtMS40OCkiIHN0eWxlPSJmaWxsOiNmZmYiLz48L3N2Zz4NCg==") url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA3IDciIHdpZHRoPSI3IiBoZWlnaHQ9IjciPjxwYXRoIGZpbGw9IiNmZmYiIGQ9Ik01LjU4LDVsMi44LTIuODFBLjQxLjQxLDAsMSwwLDcuOCwxLjZMNSw0LjQxLDIuMiwxLjZhLjQxLjQxLDAsMCwwLS41OC41OGgwTDQuNDIsNSwxLjYyLDcuOGEuNDEuNDEsMCwwLDAsLjU4LjU4TDUsNS41OCw3LjgsOC4zOWEuNDEuNDEsMCwwLDAsLjU4LS41OGgwWiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTEuNSAtMS40OCkiIHN0eWxlPSJmaWxsOiNmZmYiLz48L3N2Zz4NCg==")
no-repeat 50% 50%; no-repeat 50% 50%;
} }
@ -400,7 +400,6 @@ limitations under the License. -->
background-color: #ebebe4; background-color: #ebebe4;
border-color: #e5e5e5; border-color: #e5e5e5;
box-shadow: none; box-shadow: none;
box-shadow: none;
} }
.datepicker-popup { .datepicker-popup {

View File

@ -189,12 +189,12 @@
.scroll_bar_style::-webkit-scrollbar-track { .scroll_bar_style::-webkit-scrollbar-track {
background-color: #eee; background-color: #eee;
border-radius: 3px; border-radius: 3px;
box-shadow: inset 0 0 6px #ccc; box-shadow: inset 0 0 6px $disabled-color;
} }
.scroll_bar_style::-webkit-scrollbar-thumb { .scroll_bar_style::-webkit-scrollbar-thumb {
border-radius: 3px; border-radius: 3px;
box-shadow: inset 0 0 6px #ccc; box-shadow: inset 0 0 6px $disabled-color;
background-color: #aaa; background-color: #aaa;
} }

View File

@ -17,8 +17,7 @@
$font-color: #3d444f; $font-color: #3d444f;
$text-color: #fff; $text-color: #fff;
$font-color-black: #000; $disabled-color: #ccc;
$font-color-grey: #ccc;
$active-color: #409eff; $active-color: #409eff;
$theme-background: #fff; $theme-background: #fff;
$active-background: #409eff; $active-background: #409eff;

View File

@ -1,20 +0,0 @@
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
$font-color: #3d444f;
$active-color: #409eff;
$theme-background: #fff;

View File

@ -169,7 +169,7 @@ limitations under the License. -->
outline: 0; outline: 0;
width: 50px; width: 50px;
border-radius: 3px; border-radius: 3px;
border: 1px solid #ccc; border: 1px solid $disabled-color;
text-align: center; text-align: center;
height: 25px; height: 25px;
} }

View File

@ -262,7 +262,7 @@ limitations under the License. -->
color: $font-color; color: $font-color;
input { input {
border: 1px solid #ccc; border: 1px solid $disabled-color;
} }
.selected { .selected {

View File

@ -90,7 +90,7 @@
line-height: 20px; line-height: 20px;
text-align: center; text-align: center;
display: inline-block; display: inline-block;
border-bottom: 1px solid #ccc; border-bottom: 1px solid $disabled-color;
overflow: hidden; overflow: hidden;
} }
} }

View File

@ -611,14 +611,14 @@ limitations under the License. -->
span { span {
display: inline-block; display: inline-block;
padding: 2px 10px; padding: 2px 10px;
border: 1px solid #ccc; border: 1px solid $disabled-color;
background-color: $theme-background; background-color: $theme-background;
border-right: 0; border-right: 0;
cursor: pointer; cursor: pointer;
} }
span:nth-last-child(1) { span:nth-last-child(1) {
border-right: 1px solid #ccc; border-right: 1px solid $disabled-color;
} }
} }

View File

@ -282,7 +282,7 @@ limitations under the License. -->
<style lang="scss" scoped> <style lang="scss" scoped>
.tabs { .tabs {
height: 40px; height: 40px;
color: #ccc; color: $disabled-color;
width: 100%; width: 100%;
overflow-x: auto; overflow-x: auto;
white-space: nowrap; white-space: nowrap;

View File

@ -76,14 +76,14 @@ limitations under the License. -->
} }
.row { .row {
border-left: 1px solid #ccc; border-left: 1px solid $disabled-color;
height: 20px; height: 20px;
width: 100%; width: 100%;
div { div {
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
border-right: 1px solid #ccc; border-right: 1px solid $disabled-color;
text-align: center; text-align: center;
height: 20px; height: 20px;
line-height: 20px; line-height: 20px;
@ -91,11 +91,11 @@ limitations under the License. -->
} }
div:last-child { div:last-child {
border-bottom: 1px solid #ccc; border-bottom: 1px solid $disabled-color;
} }
div:nth-last-child(2) { div:nth-last-child(2) {
border-bottom: 1px solid #ccc; border-bottom: 1px solid $disabled-color;
} }
} }
@ -105,7 +105,7 @@ limitations under the License. -->
.row:first-child { .row:first-child {
div { div {
border-top: 1px solid #ccc; border-top: 1px solid $disabled-color;
background: #eee; background: #eee;
} }
} }

View File

@ -768,7 +768,7 @@ limitations under the License. -->
display: inline-block; display: inline-block;
padding: 3px; padding: 3px;
text-align: center; text-align: center;
border: 1px solid #ccc; border: 1px solid $disabled-color;
border-radius: 3px; border-radius: 3px;
margin-left: 6px; margin-left: 6px;
cursor: pointer; cursor: pointer;

View File

@ -353,7 +353,7 @@ limitations under the License. -->
width: 30%; width: 30%;
border-style: unset; border-style: unset;
outline: 0; outline: 0;
border: 1px solid #ccc; border: 1px solid $disabled-color;
height: 30px; height: 30px;
padding: 0 5px; padding: 0 5px;
} }

View File

@ -52,7 +52,7 @@ limitations under the License. -->
.schedules { .schedules {
height: 90px; height: 90px;
border-bottom: 1px solid #ccc; border-bottom: 1px solid $disabled-color;
padding-right: 10px; padding-right: 10px;
} }
</style> </style>

View File

@ -397,7 +397,7 @@ limitations under the License. -->
width: 30%; width: 30%;
border-style: unset; border-style: unset;
outline: 0; outline: 0;
border: 1px solid #ccc; border: 1px solid $disabled-color;
height: 30px; height: 30px;
padding: 0 5px; padding: 0 5px;
} }

View File

@ -523,7 +523,7 @@ limitations under the License. -->
.switch-icon-edit { .switch-icon-edit {
cursor: pointer; cursor: pointer;
transition: all 0.5ms linear; transition: all 0.5ms linear;
border: 1px solid #ccc; border: 1px solid $disabled-color;
color: #666; color: #666;
display: inline-block; display: inline-block;
padding: 5px; padding: 5px;

View File

@ -141,7 +141,7 @@ limitations under the License. -->
.switch-icon-edit { .switch-icon-edit {
cursor: pointer; cursor: pointer;
transition: all 0.5ms linear; transition: all 0.5ms linear;
border: 1px solid #ccc; border: 1px solid $disabled-color;
color: #666; color: #666;
display: inline-block; display: inline-block;
padding: 5px; padding: 5px;

View File

@ -75,7 +75,7 @@ limitations under the License. -->
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
@import "./profile.scss"; @import url("./profile.scss");
.dragger { .dragger {
float: right; float: right;
@ -87,7 +87,7 @@ limitations under the License. -->
.profile-set-btn { .profile-set-btn {
font-size: 12px; font-size: 12px;
border: 1px solid #ccc; border: 1px solid $disabled-color;
border-radius: 3px; border-radius: 3px;
text-align: center; text-align: center;
width: 57px; width: 57px;
@ -107,7 +107,7 @@ limitations under the License. -->
user-select: none; user-select: none;
border-left: 0; border-left: 0;
border-right: 0; border-right: 0;
border-bottom: 1px solid rgba(0, 0, 0, 0.1); border-bottom: 1px solid rgb(0 0 0 / 10%);
} }
.profile-header div { .profile-header div {

View File

@ -77,7 +77,7 @@ limitations under the License. -->
.schedules { .schedules {
height: 90px; height: 90px;
border-bottom: 1px solid #ccc; border-bottom: 1px solid $disabled-color;
padding-right: 10px; padding-right: 10px;
} }
</style> </style>

View File

@ -666,8 +666,8 @@ limitations under the License. -->
overflow: auto; overflow: auto;
padding: 0 15px; padding: 0 15px;
border-radius: 3px; border-radius: 3px;
color: #ccc; color: $disabled-color;
border: 1px solid #ccc; border: 1px solid $disabled-color;
background-color: $theme-background; background-color: $theme-background;
box-shadow: #eee 1px 2px 10px; box-shadow: #eee 1px 2px 10px;
transition: all 0.5ms linear; transition: all 0.5ms linear;

View File

@ -279,7 +279,7 @@ limitations under the License. -->
overflow: auto; overflow: auto;
padding: 10px 15px; padding: 10px 15px;
border-radius: 3px; border-radius: 3px;
color: #ccc; color: $disabled-color;
transition: all 0.5ms linear; transition: all 0.5ms linear;
z-index: 99; z-index: 99;
text-align: left; text-align: left;
@ -306,7 +306,7 @@ limitations under the License. -->
} }
.label { .label {
color: #ccc; color: $disabled-color;
display: inline-block; display: inline-block;
margin-right: 5px; margin-right: 5px;
} }

View File

@ -284,7 +284,7 @@ limitations under the License. -->
width: 100px; width: 100px;
padding: 10px; padding: 10px;
border-radius: 5px; border-radius: 5px;
border: 1px solid #ccc; border: 1px solid $disabled-color;
background-color: #333; background-color: #333;
color: $text-color; color: $text-color;
text-align: center; text-align: center;