MikaFil commited on
Commit
13bf33c
·
verified ·
1 Parent(s): 192828c

Update style/defaults/style.css

Browse files
Files changed (1) hide show
  1. style/defaults/style.css +56 -22
style/defaults/style.css CHANGED
@@ -116,35 +116,34 @@ progress::-moz-progress-bar {
116
  position: absolute;
117
  top: 50%; left: 50%;
118
  transform: translate(-50%, -50%);
119
- background: rgba(242,240,239,0.87); /* Slightly more transparent */
120
  color: #545454;
121
  border: 1px solid #ddd;
122
  border-radius: 10px;
123
  padding: 18px 24px;
124
  font-size: 15px;
125
  line-height: 1.4;
126
- box-shadow: none;
127
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
128
  z-index: 1010;
129
  max-width: 90vw;
130
  max-height: 90%;
131
- overflow: scroll !important;
132
  scrollbar-gutter: stable both-edges;
133
  box-sizing: border-box;
134
  }
135
  .menu-content::-webkit-scrollbar {
136
- width: 10px;
137
  }
138
  .menu-content::-webkit-scrollbar-thumb {
139
- background: #cccccc;
140
- border-radius: 6px;
141
  }
142
  .menu-content::-webkit-scrollbar-track {
143
- background: #f0f0f0;
144
- border-radius: 6px;
145
  }
146
 
147
- /* Tooltip panel */
148
  .tooltip-panel {
149
  position: absolute;
150
  top: 50%;
@@ -165,36 +164,32 @@ progress::-moz-progress-bar {
165
  flex-direction: column;
166
  align-items: flex-start;
167
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
168
- overflow: scroll !important;
169
  scrollbar-gutter: stable both-edges;
170
  box-sizing: border-box;
171
  }
172
  .tooltip-panel::-webkit-scrollbar {
173
- width: 10px;
174
  }
175
  .tooltip-panel::-webkit-scrollbar-thumb {
176
- background: #cccccc;
177
- border-radius: 6px;
178
  }
179
  .tooltip-panel::-webkit-scrollbar-track {
180
- background: #f0f0f0;
181
- border-radius: 6px;
182
  }
183
 
184
- /* Ensure content does not go under close button */
185
  .tooltip-content {
186
  width: 100%;
187
- min-width: 160px;
188
  max-width: 100%;
189
  box-sizing: border-box;
190
  display: flex;
191
  flex-direction: column;
192
  align-items: flex-start;
193
- overflow: hidden;
194
  margin-top: 0;
195
  }
196
-
197
- /* CLOSE BUTTON AS SQUARE WITH ROUNDED CORNERS */
198
  .tooltip-close {
199
  position: absolute;
200
  top: 12px;
@@ -222,8 +217,6 @@ progress::-moz-progress-bar {
222
  background: #e0e0e0;
223
  outline: none;
224
  }
225
-
226
- /* Tooltip text and image */
227
  .tooltip-text {
228
  margin-bottom: 10px;
229
  font-size: 14px;
@@ -242,6 +235,47 @@ progress::-moz-progress-bar {
242
  box-sizing: border-box;
243
  }
244
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
245
  .help-close {
246
  position: absolute;
247
  top: 8px;
 
116
  position: absolute;
117
  top: 50%; left: 50%;
118
  transform: translate(-50%, -50%);
119
+ background: rgba(242,240,239,0.87);
120
  color: #545454;
121
  border: 1px solid #ddd;
122
  border-radius: 10px;
123
  padding: 18px 24px;
124
  font-size: 15px;
125
  line-height: 1.4;
 
126
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
127
  z-index: 1010;
128
  max-width: 90vw;
129
  max-height: 90%;
130
+ overflow: scroll !important; /* Always show scrollbar */
131
  scrollbar-gutter: stable both-edges;
132
  box-sizing: border-box;
133
  }
134
  .menu-content::-webkit-scrollbar {
135
+ width: 12px;
136
  }
137
  .menu-content::-webkit-scrollbar-thumb {
138
+ background: #bbbbbb;
139
+ border-radius: 8px;
140
  }
141
  .menu-content::-webkit-scrollbar-track {
142
+ background: #e7e7e7;
143
+ border-radius: 8px;
144
  }
145
 
146
+ /* --- Tooltip Panel (tooltip-panel) --- */
147
  .tooltip-panel {
148
  position: absolute;
149
  top: 50%;
 
164
  flex-direction: column;
165
  align-items: flex-start;
166
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
167
+ overflow: scroll !important; /* Always show scrollbar */
168
  scrollbar-gutter: stable both-edges;
169
  box-sizing: border-box;
170
  }
171
  .tooltip-panel::-webkit-scrollbar {
172
+ width: 12px;
173
  }
174
  .tooltip-panel::-webkit-scrollbar-thumb {
175
+ background: #bbbbbb;
176
+ border-radius: 8px;
177
  }
178
  .tooltip-panel::-webkit-scrollbar-track {
179
+ background: #e7e7e7;
180
+ border-radius: 8px;
181
  }
182
 
183
+ /* --- Tooltip Panel Content --- */
184
  .tooltip-content {
185
  width: 100%;
 
186
  max-width: 100%;
187
  box-sizing: border-box;
188
  display: flex;
189
  flex-direction: column;
190
  align-items: flex-start;
 
191
  margin-top: 0;
192
  }
 
 
193
  .tooltip-close {
194
  position: absolute;
195
  top: 12px;
 
217
  background: #e0e0e0;
218
  outline: none;
219
  }
 
 
220
  .tooltip-text {
221
  margin-bottom: 10px;
222
  font-size: 14px;
 
235
  box-sizing: border-box;
236
  }
237
 
238
+ /* --- MOBILE adjustments --- */
239
+ @media (max-width: 600px) {
240
+ .menu-content {
241
+ width: 85vw;
242
+ max-height: 90%;
243
+ overflow: scroll !important;
244
+ scrollbar-gutter: stable both-edges;
245
+ padding: 40px 18px 14px;
246
+ font-size: 14px;
247
+ }
248
+ .menu-content .help-close {
249
+ top: 6px;
250
+ right: 6px;
251
+ }
252
+ .tooltip-panel {
253
+ top: auto;
254
+ bottom: 8px;
255
+ left: 3vw;
256
+ right: 3vw;
257
+ transform: none;
258
+ width: auto;
259
+ max-width: 94vw;
260
+ min-width: 0;
261
+ max-height: 55%;
262
+ padding: 20px 10px 12px 10px;
263
+ font-size: 13.5px;
264
+ overflow: scroll !important;
265
+ scrollbar-gutter: stable both-edges;
266
+ }
267
+ .tooltip-close {
268
+ top: 8px;
269
+ right: 8px;
270
+ width: 26px;
271
+ height: 26px;
272
+ font-size: 15px;
273
+ }
274
+ .tooltip-image {
275
+ max-height: 22vh;
276
+ }
277
+ }
278
+
279
  .help-close {
280
  position: absolute;
281
  top: 8px;