mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-12-02 19:01:21 +01:00
cooler Chrome scrollbar, custom FF scrollbar
This commit is contained in:
1 parent
6eeb86cf92
commit
af661431f8
1 file changed
+15
-9
@@ -110,9 +110,9 @@ export default {
|
|||||||
html,
|
html,
|
||||||
body {
|
body {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background: #111; /* for MacOS/iOS overscroll */
|
|
||||||
height: -webkit-fill-available;
|
|
||||||
background: #111;
|
background: #111;
|
||||||
|
height: -webkit-fill-available; /* for MacOS/iOS overscroll */
|
||||||
|
scrollbar-color: #424242 #111;
|
||||||
}
|
}
|
||||||
|
|
||||||
::selection {
|
::selection {
|
||||||
@@ -130,14 +130,18 @@ body {
|
|||||||
|
|
||||||
::-webkit-scrollbar-thumb {
|
::-webkit-scrollbar-thumb {
|
||||||
background-color: #333; /* color of the scroll thumb */
|
background-color: #333; /* color of the scroll thumb */
|
||||||
border-radius: 20px; /* roundness of the scroll thumb */
|
border-radius: 1rem 0 0 1rem; /* roundness of the scroll thumb */
|
||||||
border: 4px solid #111; /* creates padding around 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 {
|
::-webkit-scrollbar-thumb:hover {
|
||||||
background-color: #f22; /* color of the scroll thumb */
|
background-color: #f22; /* color of the scroll thumb */
|
||||||
border-radius: 20px; /* roundness of the scroll thumb */
|
border-radius: 1rem 0 0 1rem; /* roundness of the scroll thumb */
|
||||||
border: 4px solid #111; /* creates padding around 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 */
|
||||||
}
|
}
|
||||||
|
|
||||||
.debug {
|
.debug {
|
||||||
@@ -156,9 +160,11 @@ body {
|
|||||||
.topBar {
|
.topBar {
|
||||||
padding: 0 3rem;
|
padding: 0 3rem;
|
||||||
width: fit-content !important;
|
width: fit-content !important;
|
||||||
background-color: #222 !important;
|
backdrop-filter: blur(16px) saturate(180%);
|
||||||
|
-webkit-backdrop-filter: blur(16px) saturate(180%);
|
||||||
|
background: rgba(42, 42, 42, 0.75) !important;
|
||||||
border-radius: 1rem !important;
|
border-radius: 1rem !important;
|
||||||
border-radius: 0.75rem;
|
/* border: 1px solid #222; */
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
.title-text {
|
.title-text {
|
||||||
@@ -187,7 +193,7 @@ body {
|
|||||||
.swoop-right-leave-active {
|
.swoop-right-leave-active {
|
||||||
transition-duration: 0.1s;
|
transition-duration: 0.1s;
|
||||||
transition-property: opacity, transform;
|
transition-property: opacity, transform;
|
||||||
/* overflow: hidden; */
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.swoop-left-enter,
|
.swoop-left-enter,
|
||||||
|
|||||||
Reference in new issue
Block a user