-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
122 lines (99 loc) · 2.29 KB
/
styles.css
File metadata and controls
122 lines (99 loc) · 2.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
/* Quick Scroll Plugin Styles */
.quick-scroll-button {
/* Base styles */
position: fixed;
bottom: 20px;
z-index: 1000;
border: none;
cursor: pointer;
color: white;
font-size: 16px;
font-weight: bold;
border-radius: 50%;
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
/* Transitions and user selection */
transition: all 0.2s ease-in-out;
user-select: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
/* Default size and color */
width: 30px;
height: 30px;
background-color: var(--button-color, #007BFF);
}
.quick-scroll-button:hover {
transform: translateX(0) scale(1.1);
box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.2);
}
.quick-scroll-button:active {
transform: translateX(0) scale(0.95);
}
.quick-scroll-button.position-left:hover {
transform: scale(1.1);
}
.quick-scroll-button.position-left:active {
transform: scale(0.95);
}
.quick-scroll-button.position-right:hover {
transform: scale(1.1);
}
.quick-scroll-button.position-right:active {
transform: scale(0.95);
}
.quick-scroll-button.position-center:hover {
transform: translateX(-50%) scale(1.1);
}
.quick-scroll-button.position-center:active {
transform: translateX(-50%) scale(0.95);
}
/* Ensure button is visible on different themes */
.quick-scroll-button {
filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}
/* Position variants */
.quick-scroll-button.position-left {
left: 20px;
transform: none;
}
.quick-scroll-button.position-right {
right: 20px;
transform: none;
}
.quick-scroll-button.position-center {
left: 50%;
transform: translateX(-50%);
}
/* Size variants */
.quick-scroll-button.size-20 {
width: 20px;
height: 20px;
}
.quick-scroll-button.size-25 {
width: 25px;
height: 25px;
}
.quick-scroll-button.size-30 {
width: 30px;
height: 30px;
}
.quick-scroll-button.size-35 {
width: 35px;
height: 35px;
}
.quick-scroll-button.size-40 {
width: 40px;
height: 40px;
}
.quick-scroll-button.size-45 {
width: 45px;
height: 45px;
}
.quick-scroll-button.size-50 {
width: 50px;
height: 50px;
}
/* Dark theme compatibility */
.theme-dark .quick-scroll-button {
filter: drop-shadow(0 2px 4px rgba(255, 255, 255, 0.1));
}