Skip to content

Commit 817102d

Browse files
authored
Merge pull request #7 from openclassify/mostafa
switch box visibility issue was fixed
2 parents d043488 + 5b0ae23 commit 817102d

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

resources/css/theme.css

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2956,17 +2956,18 @@ body {
29562956
.none-border {
29572957
border: 0 !important;
29582958
}
2959-
.boolean-field_type .switch__checkbox.switch__checkbox--off-danger + .switch__label, .boolean-field_type .switch__checkbox.switch__checkbox--off-danger + .switch__label:before {
2959+
.boolean-field_type .switch__checkbox.switch__checkbox--off-danger + .switch__label,
2960+
.boolean-field_type .switch__checkbox.switch__checkbox--off-danger + .switch__label:before {
29602961
border-color: inherit !important;
29612962
}
29622963
.boolean-field_type .switch__checkbox.switch__checkbox--off-danger + .switch__label {
2963-
background-color: #f6f6f6 !important;
2964+
background-color: #dddddd !important;
29642965
}
29652966
.boolean-field_type .switch__label:before {
29662967
width: 23px !important;
29672968
border: 0 !important;
29682969
border-radius: 23px !important;
2969-
background: #e5e5e5 !important;
2970+
background: #EEEEEE !important;
29702971
}
29712972
.boolean-field_type .switch__label {
29722973
height: 23px !important;
@@ -2976,6 +2977,10 @@ body {
29762977
flex: 0 0 46px !important;
29772978
max-width: 46px !important;
29782979
}
2980+
.boolean-field_type .switch__checkbox:disabled + .switch__label,
2981+
.boolean-field_type .switch__checkbox:checked:disabled + .switch__label {
2982+
opacity: 0.6 !important;
2983+
}
29792984
.form .field-group {
29802985
margin-bottom: 1rem;
29812986
padding-bottom: 1rem;

0 commit comments

Comments
 (0)