Move theme rules out of settings.css

This commit is contained in:
Guillaume Gomez 2022-05-18 11:17:56 +02:00
parent e8d0fbf4eb
commit 5b6c5933cc
4 changed files with 39 additions and 16 deletions

View File

@ -73,18 +73,9 @@
width: 19px;
left: 4px;
bottom: 4px;
background-color: white;
transition: .3s;
}
input:checked + .slider {
background-color: #2196F3;
}
input:focus + .slider {
box-shadow: 0 0 0 2px #0a84ff, 0 0 0 6px rgba(10, 132, 255, 0.3);
}
input:checked + .slider:before {
transform: translateX(19px);
}

View File

@ -29,6 +29,19 @@ body, #settings-menu #settings, #settings-menu #settings::before {
border-color: #ffb454 !important;
}
.slider {
background-color: #ccc;
}
.slider:before {
background-color: white;
}
input:checked + .slider {
background-color: #ffb454;
}
input:focus + .slider {
box-shadow: 0 0 0 2px #0a84ff, 0 0 0 6px rgba(10, 132, 255, 0.3);
}
h1, h2, h3, h4 {
color: white;
}
@ -620,13 +633,6 @@ div.files > .selected {
background-color: #14191f;
color: #ffb44c;
}
.setting-line > .title {
border-bottom-color: #5c6773;
}
input:checked + .slider {
background-color: #ffb454 !important;
}
.scraped-example-list .scrape-help {
border-color: #aaa;

View File

@ -22,6 +22,19 @@ body, #settings-menu #settings, #settings-menu #settings::before {
border-color: #2196f3 !important;
}
.slider {
background-color: #ccc;
}
.slider:before {
background-color: white;
}
input:checked + .slider {
background-color: #2196F3;
}
input:focus + .slider {
box-shadow: 0 0 0 2px #0a84ff, 0 0 0 6px rgba(10, 132, 255, 0.3);
}
h1, h2, h3, h4 {
color: #ddd;
}

View File

@ -24,6 +24,19 @@ body, #settings-menu #settings, #settings-menu #settings::before {
border-color: #2196f3 !important;
}
.slider {
background-color: #ccc;
}
.slider:before {
background-color: white;
}
input:checked + .slider {
background-color: #2196F3;
}
input:focus + .slider {
box-shadow: 0 0 0 2px #0a84ff, 0 0 0 6px rgba(10, 132, 255, 0.3);
}
h1, h2, h3, h4 {
color: black;
}