deck.gl 9.2.0-beta.2 → 9.2.0-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -93,6 +93,15 @@
93
93
  background-color: var(--button-icon-hover, rgb(24, 24, 26));
94
94
  }
95
95
 
96
+ /* Icon menu styles */
97
+ .deck-widget .deck-widget-icon-menu {
98
+ position: absolute;
99
+ top: 100%;
100
+ left: 0;
101
+ margin-top: var(--menu-gap, 4px);
102
+ z-index: 100;
103
+ }
104
+
96
105
  /* Fullscreen styles */
97
106
  .deck-widget.deck-widget-fullscreen button.deck-widget-fullscreen-enter .deck-widget-icon {
98
107
  mask-image: var(
@@ -116,16 +125,6 @@
116
125
  );
117
126
  }
118
127
 
119
- @keyframes spin {
120
- to {
121
- transform: rotate(360deg);
122
- }
123
- }
124
-
125
- .deck-widget.deck-widget-loading button.deck-widget-spinner-icon .deck-widget-icon {
126
- animation: spin 1s linear infinite;
127
- }
128
-
129
128
  .deck-pseudo-fullscreen {
130
129
  height: 100% !important;
131
130
  left: 0 !important;
@@ -215,21 +214,39 @@
215
214
  cursor: pointer;
216
215
  }
217
216
 
218
- .deck-widget.deck-widget-timeline button.timeline-play-pause {
219
- background: var(--button-background, #fff);
220
- border: var(--button-inner-stroke, unset);
221
- border-radius: var(--button-corner-radius, 4px);
222
- width: var(--button-size, 28px);
223
- height: var(--button-size, 28px);
224
- cursor: pointer;
225
- display: flex;
226
- align-items: center;
227
- justify-content: center;
228
- padding: 0;
229
- pointer-events: 'auto';
217
+ .deck-widget.deck-widget-timeline .text {
218
+ color: var(--button-icon-idle, rgb(97, 97, 102));
219
+ }
220
+
221
+ .deck-widget.deck-widget-timeline .text:hover {
222
+ color: var(--button-icon-hover, rgb(24, 24, 26));
230
223
  }
231
224
 
232
- .deck-widget-spinner-icon {
225
+ /* FPS widget styles */
226
+
227
+ .deck-widget.deck-widget-fps button {
228
+ pointer-events: none;
229
+ }
230
+
231
+ .deck-widget.deck-widget-fps .text {
232
+ color: var(--button-text, rgb(24, 24, 26));
233
+ font-family: monospace;
234
+ font-size: 8px;
235
+ font-weight: 700;
236
+ }
237
+
238
+ /* Loading styles */
239
+ @keyframes spin {
240
+ to {
241
+ transform: rotate(360deg);
242
+ }
243
+ }
244
+
245
+ .deck-widget.deck-widget-loading button.deck-widget-spinner .deck-widget-icon {
246
+ animation: spin 1s linear infinite;
247
+ }
248
+
249
+ .deck-widget.deck-widget-loading button.deck-widget-spinner .deck-widget-icon {
233
250
  mask-image: var(
234
251
  --loading-icon,
235
252
  url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" ><path d="M21 12a9 9 0 1 1-6.219-8.56" /></svg>')
@@ -240,21 +257,28 @@
240
257
  );
241
258
  }
242
259
 
260
+ /* Scale styles */
243
261
  .deck-widget .deck-widget-scale {
244
262
  background-color: var(--button-icon-idle, #616166);
245
263
  background-position: 50%;
246
264
  display: block;
247
265
  }
248
266
 
249
- .deck-widget .deck-widget-geolocate {
267
+ /* Geocoder styles */
268
+ .deck-widget .deck-widget-geocoder {
250
269
  pointer-events: auto;
251
270
  cursor: pointer;
252
271
  }
253
272
 
254
- /**
255
- * Reusable styles for widgets
256
- */
257
- .deck-widget-common {
273
+ /* Stats styles */
274
+ .deck-widget-stats-container {
275
+ border-radius: var(--button-corner-radius, 4px);
276
+ display: inline-flex;
277
+ flex-direction: column;
278
+ padding: 4px;
279
+ font-size: 0.7rem;
280
+ /* Approximately 14px */
281
+ line-height: 1.6;
258
282
  font-family:
259
283
  'SF Mono',
260
284
  /* macOS */
@@ -268,11 +292,5 @@
268
292
  /* Linux */
269
293
  monospace;
270
294
  background-color: var(--button-background, #fff);
271
- color: #333;
272
- }
273
-
274
- .deck-widget-stats-container {
275
- font-size: 0.7rem;
276
- /* Approximately 14px */
277
- line-height: 1.6;
295
+ color: var(--button-text, rgb(24, 24, 26));
278
296
  }