/
_glyph-inspector.scss
136 lines (114 loc) · 2.39 KB
/
_glyph-inspector.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
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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
#glyph-detail {
.sidebar-header {
background: #101010;
border-top-left-radius: 2px;
border-top-right-radius: 2px;
padding: 0.5rem 1rem;
a {
color: #FFF;
display: block;
font: 600 var(--ms0)/1rem var(--ui-face);
padding: 0.5rem 0;
span {
font-size: var(--ms1);
font-weight: 700;
line-height: 1rem;
margin-right: 0.1em;
}
}
}
#glyph-detail-canvas {
background: #fff;
border-bottom: 1px solid #efefef;
}
#glyph-info {
background: #fff;
padding: 1rem 1rem 0.5rem 1rem;
h3 {
font: 700 var(--ms0)/1rem var(--ui-face);
text-transform: uppercase;
}
p {
font: 500 var(--ms0)/1.5rem var(--ui-monospaced);
margin-bottom: 1rem;
overflow-wrap: break-word;
}
}
}
#glyph-grid {
background: #fff;
border: 1px solid #efefef;
border-top: 0;
border-left: 0;
display: grid;
grid-template-columns: repeat(16, 1fr);
grid-auto-rows: auto;
grid-auto-flow: row;
grid-gap: 0;
margin: 0 auto;
max-width: 100%;
@media screen and (max-width: $tablet) {
grid-template-columns: repeat(10, 1fr);
}
@media screen and (max-width: $mobile) {
grid-template-columns: repeat(6, 1fr);
}
.glyph-container {
background: #fff;
border: 1px solid #efefef;
border-right: 0;
border-bottom: 0;
&.active {
background: rgba(orange, 0.2);
}
&:hover {
background: rgba(orange, 0.2);
cursor: pointer;
}
&:active {
background: rgba(orange, 0.4);
}
}
}
.pagination-wrapper {
background: #101010;
border-top-left-radius: 2px;
border-top-right-radius: 2px;
display: flex;
justify-content: center;
overflow-x: scroll;
padding: 0.5rem;
&::-webkit-scrollbar {
display: none;
}
}
#glyph-pagination {
background: #101010;
display: flex;
overflow-x: scroll;
&::-webkit-scrollbar {
display: none;
}
a {
background: #515151;
border-right: 1px solid #313131;
color: #fff;
font: 600 var(--ms0)/1rem var(--ui-face);
padding: 0.5rem 1rem 0.5rem;
&:first-child {
border-top-left-radius: 2px;
border-bottom-left-radius: 2px;
}
&:last-child {
border: 0;
border-top-right-radius: 2px;
border-bottom-right-radius: 2px;
}
&:hover {
background: #313131;
}
}
.selected-page {
background: #313131;
}
}