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
body {
margin: 20px;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial,
sans-serif;
}
/* fallback, until https://github.com/CompuIves/codesandbox-client/issues/174 is resolved */
@font-face {
font-family: "Material Icons";
font-style: normal;
font-weight: 400;
src: url(https://fonts.gstatic.com/s/materialicons/v36/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2)
format("woff2");
}
.material-icons {
font-family: "Material Icons";
font-weight: normal;
font-style: normal;
font-size: 24px;
line-height: 1;
letter-spacing: normal;
text-transform: none;
display: inline-block;
white-space: nowrap;
word-wrap: normal;
direction: ltr;
-webkit-font-feature-settings: "liga";
-webkit-font-smoothing: antialiased;
}
/* mdl-demo is a custom classname to increases the specificity of our styles. It can be anything.
* The idea is that it is easy to extend/override builtin styles with very little effort.
*/
.mdl-demo .dropdown-trigger > span:after {
font-size: 12px;
color: #555;
}
.mdl-demo .toggle {
font: normal normal normal 18px/1 "Material Icons";
color: #555;
white-space: pre;
margin-right: 4px;
}
.mdl-demo .toggle.collapsed::after {
cursor: pointer;
content: "\E5CF";
vertical-align: middle;
}
.mdl-demo .toggle.expanded::after {
cursor: pointer;
content: "\E5CE";
vertical-align: middle;
}
/* checkbox styles */
.mdl-demo .checkbox-item {
position: relative;
width: 1rem;
height: 1rem;
margin-right: 0.75rem;
cursor: pointer;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
outline: 0;
vertical-align: middle;
}
.mdl-demo .checkbox-item:before {
content: "";
position: absolute;
left: 0;
top: 0;
z-index: 1;
width: 100%;
height: 100%;
border: 2px solid #aaa;
transition: all 0.3s ease-in-out;
}
.mdl-demo .checkbox-item:checked:before {
height: 50%;
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg);
border-top-style: none;
border-right-style: none;
border-color: #2196f3;
}