-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
178 lines (142 loc) · 4.39 KB
/
styles.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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
/*! react-icon-layout v3.0.0 | MIT License | https://github.com/michaelschwobe/react-icon-layout */
:where(.icon-layout) {
--icon-layout-gap: 0.5em;
}
/* -----------------------------------------------------------------------------
/* placeSelf
/* -------------------------------------------------------------------------- */
:where([class*='icon-layout--place-self']) {
display: flex;
width: 100%;
height: 100%;
}
:where(.icon-layout--place-self-top-left) {
justify-content: flex-start;
align-items: flex-start;
}
:where(.icon-layout--place-self-top) {
justify-content: center;
align-items: flex-start;
}
:where(.icon-layout--place-self-top-right) {
justify-content: flex-end;
align-items: flex-start;
}
:where(.icon-layout--place-self-left) {
justify-content: flex-start;
align-items: center;
}
:where(.icon-layout--place-self-center) {
justify-content: center;
align-items: center;
}
:where(.icon-layout--place-self-right) {
justify-content: flex-end;
align-items: center;
}
:where(.icon-layout--place-self-bottom-left) {
justify-content: flex-start;
align-items: flex-end;
}
:where(.icon-layout--place-self-bottom) {
justify-content: center;
align-items: flex-end;
}
:where(.icon-layout--place-self-bottom-right) {
justify-content: flex-end;
align-items: flex-end;
}
/* -----------------------------------------------------------------------------
/* placeIcon
/* -------------------------------------------------------------------------- */
:where([class*='icon-layout--place-icon'] > .icon-layout__inner) {
display: inline-flex;
vertical-align: middle;
}
:where(.icon-layout--place-icon-top-left > .icon-layout__inner) {
flex-direction: row;
align-items: flex-start;
}
:where(.icon-layout--place-icon-top > .icon-layout__inner) {
flex-direction: column;
align-items: center;
}
:where(.icon-layout--place-icon-top-right > .icon-layout__inner) {
flex-direction: row-reverse;
align-items: flex-start;
}
:where(.icon-layout--place-icon-left > .icon-layout__inner) {
flex-direction: row;
align-items: center;
}
:where(.icon-layout--place-icon-center > .icon-layout__inner) {
flex-direction: column;
align-items: center;
}
:where(.icon-layout--place-icon-right > .icon-layout__inner) {
flex-direction: row-reverse;
align-items: center;
}
:where(.icon-layout--place-icon-bottom-left > .icon-layout__inner) {
flex-direction: row;
align-items: flex-end;
}
:where(.icon-layout--place-icon-bottom > .icon-layout__inner) {
flex-direction: column-reverse;
align-items: center;
}
:where(.icon-layout--place-icon-bottom-right > .icon-layout__inner) {
flex-direction: row-reverse;
align-items: flex-end;
}
/* -------------------------------------------------------------------------- */
/* Content
/* -------------------------------------------------------------------------- */
:where([class*='icon-layout--place-icon'] > span > .icon-layout__icon-wrap) {
flex: 0 0 auto;
}
:where(.icon-layout--place-icon-top-left > span > .icon-layout__icon-wrap) {
margin-right: var(--icon-layout-gap);
}
:where(.icon-layout--place-icon-top > span > .icon-layout__icon-wrap) {
margin-bottom: var(--icon-layout-gap);
}
:where(.icon-layout--place-icon-top-right > span > .icon-layout__icon-wrap) {
margin-left: var(--icon-layout-gap);
}
:where(.icon-layout--place-icon-left > span > .icon-layout__icon-wrap) {
margin-right: var(--icon-layout-gap);
}
:where(.icon-layout--place-icon-center > span > .icon-layout__icon-wrap) {
margin-bottom: var(--icon-layout-gap);
}
:where(.icon-layout--place-icon-right > span > .icon-layout__icon-wrap) {
margin-left: var(--icon-layout-gap);
}
:where(.icon-layout--place-icon-bottom-left > span > .icon-layout__icon-wrap) {
margin-right: var(--icon-layout-gap);
}
:where(.icon-layout--place-icon-bottom > span > .icon-layout__icon-wrap) {
margin-top: var(--icon-layout-gap);
}
:where(.icon-layout--place-icon-bottom-right > span > .icon-layout__icon-wrap) {
margin-left: var(--icon-layout-gap);
}
:where(.icon-layout__icon-wrap > img),
:where(.icon-layout__icon-wrap > svg) {
display: block;
max-width: 100%;
max-height: 100%;
}
:where(.icon-layout--variant-textOnly > span > .icon-layout__icon-wrap),
:where(.icon-layout--variant-iconOnly > span > .icon-layout__text-wrap) {
white-space: nowrap;
position: absolute;
overflow: hidden;
clip: rect(0 0 0 0);
width: 1px;
height: auto;
margin: 0;
padding: 0;
border: 0;
}