forked from YeonV/LedFx-Frontend-v2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
120 lines (109 loc) · 2.41 KB
/
index.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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
@font-face {
font-family: "Nunito";
src: url(./assets/fonts/Nunito-Regular.ttf) format("truetype");
font-weight: 300;
font-style: normal;
}
html,
body {
font-family: "Nunito", "Roboto", "Helvetica", sans-serif;
font-weight: 300;
min-height: 100%;
width: 100%;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
--webkit-scrollbar: {
background-color: #ffffff30;
width: 8px;
border-radius: 8px;
}
--webkit-scrollbar-track: {
background-color: #00000060;
border-radius: 8px;
}
--webkit-scrollbar-thumb: {
background-color: #555555;
border-radius: 8px;
}
--webkit-scrollbar-button: {
display: none;
}
}
#root {
height: 100%;
min-height: 100vh;
width: 100%;
padding-bottom: 56px;
overflow-x: hidden;
}
/* fallback */
@font-face {
font-family: "Material Icons";
font-style: normal;
font-weight: 400;
src: local("Material Icons"), local("MaterialIcons-Regular"),
url(./assets/fonts/MaterialIcons-Regular.woff2) format("woff2");
}
.material-icons {
font-family: "Material Icons";
font-weight: normal;
font-style: normal;
font-size: 24px; /* Preferred icon size */
display: inline-block;
line-height: 1;
text-transform: none;
letter-spacing: normal;
word-wrap: normal;
white-space: nowrap;
direction: ltr;
/* Support for all WebKit browsers. */
-webkit-font-smoothing: antialiased;
/* Support for Safari and Chrome. */
text-rendering: optimizeLegibility;
/* Support for Firefox. */
-moz-osx-font-smoothing: grayscale;
/* Support for IE. */
font-feature-settings: "liga";
}
@font-face {
font-family: "Material Design Icons";
src: local("Material Design Icons"),
url("./assets/fonts/materialdesignicons-webfont.woff2") format("woff2"),
url("./assets/fonts/materialdesignicons-webfont.woff") format("woff");
font-weight: normal;
font-style: normal;
}
.showTablet {
display: none;
}
.showHd {
display: none !important;
}
@media screen and (max-width: 960px) {
.showTablet {
display: block;
}
}
@media screen and (max-width: 720px) {
#root {
padding-bottom: 120px;
}
.showHd {
display: flex !important;
}
}
@media screen and (max-width: 480px) {
.hideMobile {
display: none !important;
}
}
@media screen and (max-width: 960px) {
.hideTablet {
display: none !important;
}
}
@media screen and (max-width: 720px) {
.hideHd {
display: none !important;
}
}