forked from bluerobotics/cockpit
/
global.css
58 lines (51 loc) · 1.1 KB
/
global.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
@tailwind base;
@tailwind components;
@tailwind utilities;
.flex-centered {
display: flex;
align-items: center;
justify-content: center;
}
@supports(padding:max(0px)) {
body, header, footer {
padding-left: min(0vmin, env(safe-area-inset-left));
padding-right: min(0vmin, env(safe-area-inset-right));
}
}
.v-enter-active,
.v-leave-active {
transition: opacity 0.2s ease;
}
.v-enter-from,
.v-leave-to {
opacity: 0;
}
.horizontalFade-enter-active,
.horizontalFade-leave-active {
transition: all 0.3s cubic-bezier(0.55, 0, 0.1, 1);
}
.horizontalFade-enter-from,
.horizontalFade-leave-to {
opacity: 0;
transform: translate(30px, 0);
}
::-webkit-scrollbar {
width: 0.5em;
height: 0.5em;
}
::-webkit-scrollbar-track {
background-color: hsla(0, 0%, 0%, 0.1);
border-radius: 100vw;
margin-block: 0.5rem;
margin-inline: 0.5rem;
}
::-webkit-scrollbar-thumb {
background-color: hsla(0, 0%, 0%, 0.2);
border-radius: 100vw;
}
::-webkit-scrollbar-thumb:hover {
background-color: hsla(0, 0%, 0%, 0.411);
}
select:focus {
outline: none;
}