-
Notifications
You must be signed in to change notification settings - Fork 317
/
Copy pathIconExamples.scss
65 lines (54 loc) · 1.31 KB
/
IconExamples.scss
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
.icons-example {
.dark-toggle {
margin-right: 5px;
}
.icon-set {
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: flex-end;
margin: 20px 0;
&.dark {
background: #333;
.icon-label {
color: #efefef;
}
}
.icon {
width: 20%;
min-width: 200px;
margin: 15px 20px;
padding: 10px;
text-align: center;
&.is-expanded {
border: 1px solid #efefef;
}
svg {
max-width: 100%;
max-height: 250px;
}
.props-section {
margin: 5px 0;
padding: 10px 0;
}
&.is-expanded .props-section {
background-color: #f5f5f5;
}
.props-code {
display: block;
padding: 0 10px;
overflow: scroll;
font-size: 85%;
font-family: monospace;
white-space: pre;
text-align: left;
}
.btn-toggle-props {
margin-top: 10px;
}
}
.icon-label {
display: block;
}
}
}