Skip to content

Commit 15c2983

Browse files
committed
Update panel dragger button, table buttons
1 parent 01678f8 commit 15c2983

File tree

1 file changed

+25
-12
lines changed

1 file changed

+25
-12
lines changed

packages/web/src/index.css

Lines changed: 25 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,14 @@ button {
158158
margin-top: -1rem;
159159
color: transparent;
160160
margin-bottom: 1rem;
161+
transition: all 0.32s ease-in-out;
162+
cursor: pointer;
163+
}
164+
.panel__dragger:hover {
165+
background: var(--base-light);
166+
box-shadow: 0 6px 6px -2px var(--bg-light);
161167
}
168+
162169
.panel h2,
163170
.panel h3 {
164171
text-transform: uppercase;
@@ -301,15 +308,6 @@ li.bar-chart__bar {
301308
.loading:first-child:after {
302309
left:0;
303310
}
304-
.tr--button {
305-
text-align: center;
306-
font-weight: bold;
307-
cursor: pointer;
308-
border: 1px solid rgba(255, 255, 255, 0.25);
309-
}
310-
.tr--button:hover {
311-
border-color: rgba(255, 255, 255, 0.5);
312-
}
313311
@keyframes skeleton-loading {
314312
to {
315313
background-position:
@@ -348,12 +346,19 @@ li.bar-chart__bar {
348346
}
349347

350348
/* Timeline Slider */
349+
.tr--button,
351350
.carto__slider--button {
352351
border-radius: 0.25rem;
353352
border: 2px solid var(--base);
354-
background-image: linear-gradient(125deg, var(--base) 0%, var(--bg-dark) 51%, var(--base) 100%);
353+
background-image: linear-gradient(
354+
125deg,
355+
var(--base) 0%,
356+
var(--bg-dark) 51%,
357+
var(--base) 100%
358+
);
355359
cursor: pointer;
356360
display: flex;
361+
text-align: center;
357362
align-items: center;
358363
justify-content: center;
359364
transition: all 0.24s ease-out;
@@ -362,18 +367,26 @@ li.bar-chart__bar {
362367
letter-spacing: 0.5px;
363368
text-transform: uppercase;
364369
font-weight: 600;
365-
box-shadow: 0 2px 6px 0 rgba(68,63,63,0.16);
370+
box-shadow:
371+
0 2px 6px 0 rgba(68, 63, 63, 0.16),
372+
0 6px 6px -2px rgba(120, 120, 120, 0.125);
366373
background-size: 250% auto;
367374
}
368375
.carto__slider--button svg {
369376
height: 16px;
370377
width: 16px;
371378
}
379+
.tr--button:hover,
372380
.carto__slider--button:hover {
373381
background-position: right center;
374382
color: #fff;
383+
box-shadow:
384+
0 2px 6px 0 rgba(68, 63, 63, 0.32),
385+
0 6px 6px -2px rgba(0, 0, 0, 0.5);
386+
}
387+
.tr--button {
388+
display: table-cell;
375389
}
376-
377390
.slider--thumb {
378391
background-color: var(--bg-light);
379392
cursor: pointer;

0 commit comments

Comments
 (0)