Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
pterodactyl
GitHub Repository: pterodactyl/panel
Path: blob/1.0-develop/resources/scripts/assets/css/GlobalStylesheet.ts
7460 views
1
import tw from 'twin.macro';
2
import { createGlobalStyle } from 'styled-components/macro';
3
4
export default createGlobalStyle`
5
body {
6
${tw`font-sans bg-neutral-800 text-neutral-200`};
7
letter-spacing: 0.015em;
8
}
9
10
h1, h2, h3, h4, h5, h6 {
11
${tw`font-medium tracking-normal font-header`};
12
}
13
14
p {
15
${tw`text-neutral-200 leading-snug font-sans`};
16
}
17
18
form {
19
${tw`m-0`};
20
}
21
22
textarea, select, input, button, button:focus, button:focus-visible {
23
${tw`outline-none`};
24
}
25
26
input[type=number]::-webkit-outer-spin-button,
27
input[type=number]::-webkit-inner-spin-button {
28
-webkit-appearance: none !important;
29
margin: 0;
30
}
31
32
input[type=number] {
33
-moz-appearance: textfield !important;
34
}
35
36
/* Scroll Bar Style */
37
::-webkit-scrollbar {
38
background: none;
39
width: 16px;
40
height: 16px;
41
}
42
43
::-webkit-scrollbar-thumb {
44
border: solid 0 rgb(0 0 0 / 0%);
45
border-right-width: 4px;
46
border-left-width: 4px;
47
-webkit-border-radius: 9px 4px;
48
-webkit-box-shadow: inset 0 0 0 1px hsl(211, 10%, 53%), inset 0 0 0 4px hsl(209deg 18% 30%);
49
}
50
51
::-webkit-scrollbar-track-piece {
52
margin: 4px 0;
53
}
54
55
::-webkit-scrollbar-thumb:horizontal {
56
border-right-width: 0;
57
border-left-width: 0;
58
border-top-width: 4px;
59
border-bottom-width: 4px;
60
-webkit-border-radius: 4px 9px;
61
}
62
63
::-webkit-scrollbar-corner {
64
background: transparent;
65
}
66
`;
67
68