forked from betterbugs/dev-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevelopmentToolsStyles.module.scss
More file actions
205 lines (175 loc) · 4.38 KB
/
developmentToolsStyles.module.scss
File metadata and controls
205 lines (175 loc) · 4.38 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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
@import "./styles/variables.scss";
// serach box css
.searchInput {
display: flex;
justify-content: center;
margin-top: 30px;
position: relative;
input {
background: #ffffff1a;
border-radius: 50px;
padding: 2px 24px;
height: 40px;
font-weight: 400;
font-size: 16px;
width: 400px;
opacity: 50%;
outline: none;
transition: all 0.3s linear;
&:focus {
opacity: 1;
&::placeholder {
opacity: 0%;
}
}
&::placeholder {
color: #ffffffa6;
font-size: 16px;
transition: all 0.3s linear;
}
@media (max-width: 600px) {
width: 370px;
opacity: 1;
height: 50px;
padding: 2px 20px;
padding-right: 95px;
}
@media (min-width: 768px) {
height: 50px;
}
}
}
// tab background color
.tabBackgroundColor {
background: linear-gradient(91.15deg, #11e498 11.3%, #05bae2 101.69%);
border: 1px solid $primary;
box-shadow: 0 4px 5px rgba(0, 0, 0, 1);
color: black;
}
.tabHoverBackground {
&:hover {
background: rgba(0, 218, 146, 0.32);
}
}
// content card hover effect
.contentCardHoverEffect {
border-left: 2px solid #11e498;
div>p>svg {
color: #11e498;
}
&:hover {
div>p>svg {
color: black;
}
background: linear-gradient(92.9deg, #00d1ff 23.92%, #16fca9 100.19%);
-webkit-transform: scale(1.1);
-moz-transform: scale(1.1);
transform: scale(1.1);
z-index: 0;
transition: all 0.3s ease-in-out;
color: black;
border-left: 2px solid transparent;
/* Box shadow to match the background shape */
box-shadow: 2px 2px 4px rgb(28, 75, 65);
}
}
// details page css
.converterButton {
background: $primary;
}
.clearButton {
background: rgb(255, 79, 108);
}
.copyButton {
background: #00d0ff9a;
}
/* Webkit custom scrollbar styles */
.scrollbar {
overflow: auto;
scrollbar-width: thin;
/* Firefox */
scrollbar-color: rgba(255, 255, 255, 0.3) rgba(255, 255, 255, 0.05);
/* Firefox */
}
/* Scrollbar track (background of the scrollbar) */
.scrollbar::-webkit-scrollbar {
width: 8px;
height: 8px;
}
/* Scrollbar thumb (the actual slider) */
.scrollbar::-webkit-scrollbar-thumb {
background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.15) 100%);
border-radius: 10px;
border: 1px solid rgba(255, 255, 255, 0.1);
transition: all 0.2s ease;
}
/* Scrollbar thumb on hover */
.scrollbar::-webkit-scrollbar-thumb:hover {
background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.25) 100%);
border-color: rgba(255, 255, 255, 0.2);
}
/* Scrollbar track */
.scrollbar::-webkit-scrollbar-track {
background-color: rgba(255, 255, 255, 0.05);
border-radius: 10px;
}
/* Modern scrollbar for code blocks */
.modernScrollbar {
overflow: auto;
scrollbar-width: thin;
/* Firefox */
scrollbar-color: rgba(17, 228, 152, 0.4) rgba(255, 255, 255, 0.05);
/* Firefox - using primary color */
}
.modernScrollbar::-webkit-scrollbar {
width: 8px;
height: 8px;
}
.modernScrollbar::-webkit-scrollbar-thumb {
background: linear-gradient(180deg, rgba(17, 228, 152, 0.5) 0%, rgba(5, 186, 226, 0.5) 100%);
border-radius: 10px;
border: 1px solid rgba(255, 255, 255, 0.1);
transition: all 0.2s ease;
}
.modernScrollbar::-webkit-scrollbar-thumb:hover {
background: linear-gradient(180deg, rgba(17, 228, 152, 0.7) 0%, rgba(5, 186, 226, 0.7) 100%);
border-color: rgba(255, 255, 255, 0.2);
}
.modernScrollbar::-webkit-scrollbar-track {
background-color: rgba(255, 255, 255, 0.05);
border-radius: 10px;
}
// Search highlight for matching text
.searchHighlight {
background: rgba(0, 218, 146, 0.3);
color: #00da92;
padding: 1px 3px;
border-radius: 3px;
font-weight: 600;
transition: all 0.2s ease;
}
// On card hover, adjust highlight for dark card background
.contentCardHoverEffect:hover .searchHighlight {
background: rgba(0, 0, 0, 0.2);
color: #000;
}
// Keyboard shortcut hint badge
.keyboardHint {
display: none;
font-size: 11px;
color: rgba(255, 255, 255, 0.45);
background: rgba(255, 255, 255, 0.08);
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 6px;
padding: 2px 8px;
font-family: monospace;
letter-spacing: 1px;
line-height: 1.4;
-webkit-backdrop-filter: blur(4px);
backdrop-filter: blur(4px);
pointer-events: none;
white-space: nowrap;
@media (min-width: 768px) {
display: inline-block;
}
}