Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Anarios/return-youtube-dislike.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikita Krupin <krupin.nikita0110@gmail.com>2022-01-11 00:34:16 +0300
committerNikita Krupin <krupin.nikita0110@gmail.com>2022-01-11 00:34:16 +0300
commitaf661431f86113f56b4fd9641da8a265ec685b5b (patch)
tree46d81232283f205a94a135299ceee2df1da7ba36 /Website/layouts
parent6eeb86cf92df9163ff64d035ebd5f144ccc01966 (diff)
cooler Chrome scrollbar, custom FF scrollbar
Diffstat (limited to 'Website/layouts')
-rw-r--r--Website/layouts/default.vue24
1 files changed, 15 insertions, 9 deletions
diff --git a/Website/layouts/default.vue b/Website/layouts/default.vue
index e14ede8..1e38e4e 100644
--- a/Website/layouts/default.vue
+++ b/Website/layouts/default.vue
@@ -110,9 +110,9 @@ export default {
html,
body {
height: 100%;
- background: #111; /* for MacOS/iOS overscroll */
- height: -webkit-fill-available;
background: #111;
+ height: -webkit-fill-available; /* for MacOS/iOS overscroll */
+ scrollbar-color: #424242 #111;
}
::selection {
@@ -130,14 +130,18 @@ body {
::-webkit-scrollbar-thumb {
background-color: #333; /* color of the scroll thumb */
- border-radius: 20px; /* roundness of the scroll thumb */
- border: 4px solid #111; /* creates padding around 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: 20px; /* roundness of the scroll thumb */
- border: 4px solid #111; /* creates padding around 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 */
}
.debug {
@@ -156,9 +160,11 @@ body {
.topBar {
padding: 0 3rem;
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: 0.75rem;
+ /* border: 1px solid #222; */
overflow: hidden;
}
.title-text {
@@ -187,7 +193,7 @@ body {
.swoop-right-leave-active {
transition-duration: 0.1s;
transition-property: opacity, transform;
- /* overflow: hidden; */
+ overflow: hidden;
}
.swoop-left-enter,