mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-12-01 18:31:24 +01:00
2 files changed
+57
-3
No files matched your search
@@ -69,9 +69,11 @@ button:hover {
|
|||||||
border-radius: 0.25rem;
|
border-radius: 0.25rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.switch:before {
|
.switch:before, .label-with-hover-tip:before {
|
||||||
content: attr(data-hover);
|
content: attr(data-hover);
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
|
opacity: 0;
|
||||||
|
transition: visibility 0.1s linear, opacity 0.1s linear;
|
||||||
width: 250px;
|
width: 250px;
|
||||||
background-color: var(--secondary);
|
background-color: var(--secondary);
|
||||||
border-radius: 0.5rem;
|
border-radius: 0.5rem;
|
||||||
@@ -83,8 +85,26 @@ button:hover {
|
|||||||
top: 160%;
|
top: 160%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.switch:hover:before {
|
.switch:hover:before, .label-with-hover-tip:hover:before {
|
||||||
visibility: visible;
|
visibility: visible;
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.fade-in {
|
||||||
|
opacity: 1;
|
||||||
|
animation-name: fadeInOpacity;
|
||||||
|
animation-iteration-count: 1;
|
||||||
|
animation-timing-function: ease-in;
|
||||||
|
animation-duration: 2s;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes fadeInOpacity {
|
||||||
|
0% {
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#advancedToggle {
|
#advancedToggle {
|
||||||
@@ -124,6 +144,32 @@ button:hover {
|
|||||||
border: 2px solid var(--secondary);
|
border: 2px solid var(--secondary);
|
||||||
border-radius: 0.5rem;
|
border-radius: 0.5rem;
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
|
overflow-y: auto;
|
||||||
|
overflow-x: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
::-webkit-scrollbar {
|
||||||
|
width: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
::-webkit-scrollbar-track {
|
||||||
|
background: #111; /* color of the tracking area */
|
||||||
|
}
|
||||||
|
|
||||||
|
::-webkit-scrollbar-thumb {
|
||||||
|
background-color: #333; /* color of the scroll thumb */
|
||||||
|
border-radius: 1rem 0 0 1rem; /* roundness of the scroll thumb */
|
||||||
|
border-bottom: 0.25rem solid #111; /* creates padding around scroll thumb */
|
||||||
|
border-left: 0.25rem solid #111; /* creates padding around scroll thumb */
|
||||||
|
border-top: 0.25rem solid #111; /* creates padding around scroll thumb */
|
||||||
|
}
|
||||||
|
|
||||||
|
::-webkit-scrollbar-thumb:hover {
|
||||||
|
background-color: #f22; /* color of the scroll thumb */
|
||||||
|
border-radius: 1rem 0 0 1rem; /* roundness of the scroll thumb */
|
||||||
|
border-bottom: 0.25rem solid #111; /* creates padding around scroll thumb */
|
||||||
|
border-left: 0.25rem solid #111; /* creates padding around scroll thumb */
|
||||||
|
border-top: 0.25rem solid #111; /* creates padding around scroll thumb */
|
||||||
}
|
}
|
||||||
|
|
||||||
#advancedLegend {
|
#advancedLegend {
|
||||||
@@ -143,6 +189,14 @@ button:hover {
|
|||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.label-with-hover-tip {
|
||||||
|
position: relative;
|
||||||
|
display: inline-block;
|
||||||
|
width: 80px;
|
||||||
|
height: 17px;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
.switch:last-of-type {
|
.switch:last-of-type {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -137,7 +137,7 @@
|
|||||||
</label>
|
</label>
|
||||||
<br/>
|
<br/>
|
||||||
<div class="custom-select">
|
<div class="custom-select">
|
||||||
<label for="color_theme">Color theme:</label>
|
<label for="color_theme" class="label-with-hover-tip" data-hover="">Color theme:</label>
|
||||||
<select name="color_theme" id="color_theme">
|
<select name="color_theme" id="color_theme">
|
||||||
<option value="classic" id="color_theme_classic">Classic</option>
|
<option value="classic" id="color_theme_classic">Classic</option>
|
||||||
<option value="accessible" id="color_theme_accessible">
|
<option value="accessible" id="color_theme_accessible">
|
||||||
|
|||||||
Reference in new issue
Block a user