Merge pull request #5637 from deepaksinghgusain227/switch-button-ui-issue

fixed ui issue of switch button at dark mode
This commit is contained in:
Devansh 2022-01-20 17:04:07 +05:30 committed by GitHub
commit 64478882c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 18 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
{
"/js/admin.js": "/js/admin.js?id=94da304c8b02ad3ba649",
"/css/admin.css": "/css/admin.css?id=0bb475332a7616042381"
"/css/admin.css": "/css/admin.css?id=10abda80f2083f91a493"
}

View File

@ -25,3 +25,8 @@ $font-color: #3A3A3A;
$link-color: #a2a2a2;
$link-active-color: #a2a2a2;
//Switch Color
$dark-mode-switch-background: #000;
$dark-mode-switch-border: #24384c;

View File

@ -698,4 +698,15 @@
border-color: #24384c !important;
}
.control-group .slider {
top: -2px !important;
right: -2px !important;
background-color: $dark-mode-switch-background !important;
border: 1px solid $dark-mode-switch-border !important;
}
.control-group input:checked + .slider {
background-color: $dark-mode-switch-background !important;
}
}