Skip to content

Commit 40e3c75

Browse files
committed
Nicer transitions
1 parent 1629d10 commit 40e3c75

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

ui/arduino/main.css

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ button {
3939
border-radius: 45px;
4040
background: rgba(255, 255, 255, 0.8);
4141
cursor: pointer;
42+
transition: all 0.1s;
4243
}
4344
button.small {
4445
width: 28px;
@@ -149,6 +150,7 @@ button.small .icon {
149150
cursor: pointer;
150151
background: #DAE3E3;
151152
overflow: hidden;
153+
transition: all 0.1s;
152154
}
153155

154156
.tab:hover {
@@ -480,7 +482,7 @@ button.small .icon {
480482
width: 30px;
481483
height: 100%;
482484
background: linear-gradient(0.25turn, white 25%, rgba(0, 0, 0, 0));
483-
z-index: 99;
485+
z-index: 98;
484486
}
485487

486488
.file-list {
@@ -512,6 +514,7 @@ button.small .icon {
512514
align-items: center;
513515
gap: 10px;
514516
align-self: stretch;
517+
transition: all 0.1s;
515518
}
516519

517520
.file-list .item.selected,
@@ -520,14 +523,16 @@ button.small .icon {
520523
}
521524

522525
.file-list .item .options {
523-
display: none;
526+
display: flex;
527+
opacity: 0;
524528
align-items: center;
525529
align-self: stretch;
526530
cursor: pointer;
531+
transition: all 0.1s;
527532
}
528533

529534
.file-list .item:hover .options {
530-
display: flex;
535+
opacity: 1;
531536
}
532537

533538
.file-list .item .icon {

0 commit comments

Comments
 (0)