-
Notifications
You must be signed in to change notification settings - Fork 0
/
stylesheet.css
95 lines (80 loc) · 1.34 KB
/
stylesheet.css
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
/* Let's get this party started */
::-webkit-scrollbar {
width: 6px;
height: 6px;
}
/* Track */
::-webkit-scrollbar-track {
-webkit-border-radius: 10px;
border-radius: 10px;
background: lightgray;
}
/* Handle */
::-webkit-scrollbar-thumb {
-webkit-border-radius: 10px;
border-radius: 10px;
background: gray;
}
.expandSidebar {
width: 16rem;
opacity: 1;
transition: width 0.2s ease-out;
}
.shrinkSidebar {
width: 0rem;
opacity: 0;
transition: width 0.2s ease-out;
}
.toggle-up {
transform: rotate(0deg);
transition: transform 0.1s ease-out;
}
.toggle-down {
transform: rotate(90deg);
transition: transform 0.1s ease-out;
}
.beforeShowUp {
opacity: 0;
animation: fadeOutFromExisting 0.2s ease-out;
}
.afterShowUp {
opacity: 1;
animation: fadeInFromNone 0.2s ease-out;
}
.element-percent-right {
clip-path: polygon(0 0, 100% 0%, 75% 100%, 0% 100%);
}
body {
display: flex;
align-items: center;
min-height: 100vh;
font-family: "Roboto Mono", monospace;
}
@keyframes fadeInFromNone {
0% {
display: none;
opacity: 0;
}
1% {
display: block;
opacity: 0;
}
100% {
display: block;
opacity: 1;
}
}
@keyframes fadeOutFromExisting {
0% {
display: block;
opacity: 1;
}
1% {
display: block;
opacity: 1;
}
100% {
display: none;
opacity: 0;
}
}