mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-11-27 16:37:57 +01:00
settings label
This commit is contained in:
1 parent
39b9f1349d
commit
1fc81b445f
3 files changed
+104
-94
No files matched your search
+78
-61
@@ -1,99 +1,116 @@
|
||||
/* Variables */
|
||||
:root {
|
||||
--primary: #CC2929;
|
||||
--accent: #581111;
|
||||
--primary: #cc2929;
|
||||
--accent: #581111;
|
||||
|
||||
--background: #111;
|
||||
--secondary: #272727;
|
||||
--lightGrey: #999;
|
||||
--white: #fff;
|
||||
--background: #111;
|
||||
--secondary: #272727;
|
||||
--tertiary: #333333;
|
||||
--lightGrey: #999;
|
||||
--white: #fff;
|
||||
}
|
||||
|
||||
/* Window Styling */
|
||||
html,body {
|
||||
background-color: var(--background);
|
||||
color: var(--white);
|
||||
min-width: 300px;
|
||||
padding: 0.5em;
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
font-size: 14px;
|
||||
html,
|
||||
body {
|
||||
background-color: var(--background);
|
||||
color: var(--white);
|
||||
min-width: 300px;
|
||||
padding: 0.5em;
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 26px;
|
||||
font-size: 26px;
|
||||
}
|
||||
|
||||
button {
|
||||
color: var(--white);
|
||||
background: var(--secondary);
|
||||
cursor: pointer;
|
||||
padding: 5px 16px;
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
font-weight: 500;
|
||||
box-shadow: 0 2px 4px -1px rgb(0 0 0 / 20%), 0 4px 5px 0 rgb(0 0 0 / 14%), 0 1px 10px 0 rgb(0 0 0 / 12%);
|
||||
color: var(--white);
|
||||
background: var(--secondary);
|
||||
cursor: pointer;
|
||||
padding: 5px 16px;
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
font-weight: 500;
|
||||
box-shadow: 0 2px 4px -1px rgb(0 0 0 / 20%), 0 4px 5px 0 rgb(0 0 0 / 14%),
|
||||
0 1px 10px 0 rgb(0 0 0 / 12%);
|
||||
}
|
||||
|
||||
#advancedToggle {
|
||||
margin-top: 1em;
|
||||
margin-bottom: 2em;
|
||||
margin-top: 1em;
|
||||
margin-bottom: 2em;
|
||||
}
|
||||
|
||||
#advancedSettings {
|
||||
display: none;
|
||||
border: 2px solid var(--secondary);
|
||||
border-radius: 4px;
|
||||
padding: 0.5em;
|
||||
display: none;
|
||||
color: var(--tertiary);
|
||||
border: 2px solid var(--secondary);
|
||||
border-radius: 1rem;
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
#andvancedLegend {
|
||||
color: var(--tertiary) !important;
|
||||
/* margin: auto; */ /* Center the label */
|
||||
/* padding: .25rem .5rem; */
|
||||
/* border-radius: .25rem; */
|
||||
/* border: .25rem solid var(--secondary); */
|
||||
}
|
||||
|
||||
/* Switches */
|
||||
.switch {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 30px;
|
||||
height: 17px;
|
||||
margin-bottom: 0.5em;
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 30px;
|
||||
height: 17px;
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
.switch:last-of-time {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.switch input {
|
||||
display: none;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.slider {
|
||||
position: absolute;
|
||||
cursor: pointer;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: var(--secondary);
|
||||
transition: .4s;
|
||||
border-radius: 34px;
|
||||
position: absolute;
|
||||
cursor: pointer;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: var(--secondary);
|
||||
transition: 0.4s;
|
||||
border-radius: 34px;
|
||||
}
|
||||
|
||||
.slider:before {
|
||||
position: absolute;
|
||||
content: '';
|
||||
height: 13px;
|
||||
width: 13px;
|
||||
left: 2px;
|
||||
bottom: 2px;
|
||||
background: var(--lightGrey);
|
||||
transition: .4s;
|
||||
border-radius: 50%;
|
||||
position: absolute;
|
||||
content: "";
|
||||
height: 13px;
|
||||
width: 13px;
|
||||
left: 2px;
|
||||
bottom: 2px;
|
||||
background: var(--lightGrey);
|
||||
transition: 0.4s;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
input:checked+.slider {
|
||||
background: var(--accent);
|
||||
input:checked + .slider {
|
||||
background: var(--accent);
|
||||
}
|
||||
|
||||
input:checked+.slider:before {
|
||||
transform: translateX(13px);
|
||||
background: var(--primary);
|
||||
input:checked + .slider:before {
|
||||
transform: translateX(13px);
|
||||
background: var(--primary);
|
||||
}
|
||||
|
||||
.switchLabel {
|
||||
width: 250px !important;
|
||||
transform: translateX(35px);
|
||||
display: inline-block;
|
||||
}
|
||||
margin-left: 0.5rem;
|
||||
width: 250px !important;
|
||||
transform: translateX(35px);
|
||||
display: inline-block;
|
||||
}
|
||||
Reference in new issue
Block a user