spectre_scss 0.3.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +13 -0
- data/.rspec +2 -0
- data/.travis.yml +5 -0
- data/Gemfile +6 -0
- data/LICENSE.txt +21 -0
- data/README.md +48 -0
- data/Rakefile +34 -0
- data/bin/console +7 -0
- data/bin/setup +6 -0
- data/lib/spectre_scss.rb +5 -0
- data/lib/spectre_scss/engine.rb +4 -0
- data/lib/spectre_scss/version.rb +3 -0
- data/spectre_scss.gemspec +26 -0
- data/vendor/assets/stylesheets/spectre.scss +1 -0
- data/vendor/assets/stylesheets/spectre/spectre-exp.scss +16 -0
- data/vendor/assets/stylesheets/spectre/spectre-icons.scss +8 -0
- data/vendor/assets/stylesheets/spectre/spectre.scss +50 -0
- data/vendor/assets/stylesheets/spectre/src/_accordions.scss +34 -0
- data/vendor/assets/stylesheets/spectre/src/_animations.scss +20 -0
- data/vendor/assets/stylesheets/spectre/src/_asian.scss +33 -0
- data/vendor/assets/stylesheets/spectre/src/_autocomplete.scss +41 -0
- data/vendor/assets/stylesheets/spectre/src/_avatars.scss +77 -0
- data/vendor/assets/stylesheets/spectre/src/_badges.scss +70 -0
- data/vendor/assets/stylesheets/spectre/src/_bars.scss +71 -0
- data/vendor/assets/stylesheets/spectre/src/_base.scss +40 -0
- data/vendor/assets/stylesheets/spectre/src/_breadcrumbs.scss +29 -0
- data/vendor/assets/stylesheets/spectre/src/_buttons.scss +182 -0
- data/vendor/assets/stylesheets/spectre/src/_calendars.scss +206 -0
- data/vendor/assets/stylesheets/spectre/src/_cards.scss +39 -0
- data/vendor/assets/stylesheets/spectre/src/_carousels.scss +124 -0
- data/vendor/assets/stylesheets/spectre/src/_chips.scss +24 -0
- data/vendor/assets/stylesheets/spectre/src/_codes.scss +32 -0
- data/vendor/assets/stylesheets/spectre/src/_comparison-sliders.scss +114 -0
- data/vendor/assets/stylesheets/spectre/src/_dropdowns.scss +36 -0
- data/vendor/assets/stylesheets/spectre/src/_empty.scss +21 -0
- data/vendor/assets/stylesheets/spectre/src/_filters.scss +29 -0
- data/vendor/assets/stylesheets/spectre/src/_forms.scss +514 -0
- data/vendor/assets/stylesheets/spectre/src/_icons.scss +656 -0
- data/vendor/assets/stylesheets/spectre/src/_labels.scss +33 -0
- data/vendor/assets/stylesheets/spectre/src/_layout.scss +422 -0
- data/vendor/assets/stylesheets/spectre/src/_media.scss +70 -0
- data/vendor/assets/stylesheets/spectre/src/_menus.scss +56 -0
- data/vendor/assets/stylesheets/spectre/src/_meters.scss +57 -0
- data/vendor/assets/stylesheets/spectre/src/_mixins.scss +185 -0
- data/vendor/assets/stylesheets/spectre/src/_modals.scss +73 -0
- data/vendor/assets/stylesheets/spectre/src/_navbar.scss +29 -0
- data/vendor/assets/stylesheets/spectre/src/_navigation.scss +13 -0
- data/vendor/assets/stylesheets/spectre/src/_navs.scss +34 -0
- data/vendor/assets/stylesheets/spectre/src/_normalize.scss +437 -0
- data/vendor/assets/stylesheets/spectre/src/_pagination.scss +61 -0
- data/vendor/assets/stylesheets/spectre/src/_panels.scss +23 -0
- data/vendor/assets/stylesheets/spectre/src/_parallax.scss +131 -0
- data/vendor/assets/stylesheets/spectre/src/_popovers.scss +70 -0
- data/vendor/assets/stylesheets/spectre/src/_progress.scss +45 -0
- data/vendor/assets/stylesheets/spectre/src/_sliders.scss +93 -0
- data/vendor/assets/stylesheets/spectre/src/_steps.scss +70 -0
- data/vendor/assets/stylesheets/spectre/src/_tables.scss +45 -0
- data/vendor/assets/stylesheets/spectre/src/_tabs.scss +62 -0
- data/vendor/assets/stylesheets/spectre/src/_tiles.scss +38 -0
- data/vendor/assets/stylesheets/spectre/src/_timelines.scss +55 -0
- data/vendor/assets/stylesheets/spectre/src/_toasts.scss +41 -0
- data/vendor/assets/stylesheets/spectre/src/_tooltips.scss +77 -0
- data/vendor/assets/stylesheets/spectre/src/_typography.scss +127 -0
- data/vendor/assets/stylesheets/spectre/src/_utilities.scss +7 -0
- data/vendor/assets/stylesheets/spectre/src/_variables.scss +105 -0
- data/vendor/assets/stylesheets/spectre/src/utilities/_colors.scss +45 -0
- data/vendor/assets/stylesheets/spectre/src/utilities/_display.scss +47 -0
- data/vendor/assets/stylesheets/spectre/src/utilities/_divider.scss +50 -0
- data/vendor/assets/stylesheets/spectre/src/utilities/_loading.scss +34 -0
- data/vendor/assets/stylesheets/spectre/src/utilities/_position.scss +35 -0
- data/vendor/assets/stylesheets/spectre/src/utilities/_shapes.scss +7 -0
- data/vendor/assets/stylesheets/spectre/src/utilities/_text.scss +52 -0
- metadata +157 -0
@@ -0,0 +1,656 @@
|
|
1
|
+
// CSS Icons
|
2
|
+
$icon-border-width: $border-width-lg;
|
3
|
+
|
4
|
+
.icon {
|
5
|
+
box-sizing: border-box;
|
6
|
+
display: inline-block;
|
7
|
+
font-size: inherit;
|
8
|
+
font-style: normal;
|
9
|
+
height: 1em;
|
10
|
+
position: relative;
|
11
|
+
text-indent: -9999px;
|
12
|
+
vertical-align: middle;
|
13
|
+
width: 1em;
|
14
|
+
&::before,
|
15
|
+
&::after {
|
16
|
+
display: block;
|
17
|
+
left: 50%;
|
18
|
+
position: absolute;
|
19
|
+
top: 50%;
|
20
|
+
transform: translate(-50%, -50%);
|
21
|
+
}
|
22
|
+
}
|
23
|
+
|
24
|
+
// Icon arrows
|
25
|
+
.icon-arrow-down,
|
26
|
+
.icon-arrow-left,
|
27
|
+
.icon-arrow-right,
|
28
|
+
.icon-arrow-up,
|
29
|
+
.icon-downward,
|
30
|
+
.icon-back,
|
31
|
+
.icon-forward,
|
32
|
+
.icon-upward {
|
33
|
+
&::before {
|
34
|
+
border: $icon-border-width solid currentColor;
|
35
|
+
border-bottom: 0;
|
36
|
+
border-right: 0;
|
37
|
+
content: "";
|
38
|
+
height: .65em;
|
39
|
+
width: .65em;
|
40
|
+
}
|
41
|
+
}
|
42
|
+
|
43
|
+
.icon-arrow-down {
|
44
|
+
&::before {
|
45
|
+
transform: translate(-50%, -75%) rotate(225deg);
|
46
|
+
}
|
47
|
+
}
|
48
|
+
|
49
|
+
.icon-arrow-left {
|
50
|
+
&::before {
|
51
|
+
transform: translate(-25%, -50%) rotate(-45deg);
|
52
|
+
}
|
53
|
+
}
|
54
|
+
|
55
|
+
.icon-arrow-right {
|
56
|
+
&::before {
|
57
|
+
transform: translate(-75%, -50%) rotate(135deg);
|
58
|
+
}
|
59
|
+
}
|
60
|
+
|
61
|
+
.icon-arrow-up {
|
62
|
+
&::before {
|
63
|
+
transform: translate(-50%, -25%) rotate(45deg);
|
64
|
+
}
|
65
|
+
}
|
66
|
+
|
67
|
+
.icon-back,
|
68
|
+
.icon-forward {
|
69
|
+
&::after {
|
70
|
+
background: currentColor;
|
71
|
+
content: "";
|
72
|
+
height: $icon-border-width;
|
73
|
+
width: .8em;
|
74
|
+
}
|
75
|
+
}
|
76
|
+
|
77
|
+
.icon-downward,
|
78
|
+
.icon-upward {
|
79
|
+
&::after {
|
80
|
+
background: currentColor;
|
81
|
+
content: "";
|
82
|
+
height: .8em;
|
83
|
+
width: $icon-border-width;
|
84
|
+
}
|
85
|
+
}
|
86
|
+
|
87
|
+
.icon-back {
|
88
|
+
&::after {
|
89
|
+
left: 55%;
|
90
|
+
}
|
91
|
+
&::before {
|
92
|
+
transform: translate(-50%, -50%) rotate(-45deg);
|
93
|
+
}
|
94
|
+
}
|
95
|
+
|
96
|
+
.icon-downward {
|
97
|
+
&::after {
|
98
|
+
top: 45%;
|
99
|
+
}
|
100
|
+
&::before {
|
101
|
+
transform: translate(-50%, -50%) rotate(-135deg);
|
102
|
+
}
|
103
|
+
}
|
104
|
+
|
105
|
+
.icon-forward {
|
106
|
+
&::after {
|
107
|
+
left: 45%;
|
108
|
+
}
|
109
|
+
&::before {
|
110
|
+
transform: translate(-50%, -50%) rotate(135deg);
|
111
|
+
}
|
112
|
+
}
|
113
|
+
|
114
|
+
.icon-upward {
|
115
|
+
&::after {
|
116
|
+
top: 55%;
|
117
|
+
}
|
118
|
+
&::before {
|
119
|
+
transform: translate(-50%, -50%) rotate(45deg);
|
120
|
+
}
|
121
|
+
}
|
122
|
+
|
123
|
+
// Icon caret
|
124
|
+
.icon-caret {
|
125
|
+
&::before {
|
126
|
+
border-top: .3em solid currentColor;
|
127
|
+
border-right: .3em solid transparent;
|
128
|
+
border-left: .3em solid transparent;
|
129
|
+
content: "";
|
130
|
+
height: 0;
|
131
|
+
width: 0;
|
132
|
+
transform: translate(-50%, -25%);
|
133
|
+
}
|
134
|
+
}
|
135
|
+
|
136
|
+
// Icon menu
|
137
|
+
.icon-menu {
|
138
|
+
&::before {
|
139
|
+
background: currentColor;
|
140
|
+
box-shadow: 0 -.35em, 0 .35em;
|
141
|
+
content: "";
|
142
|
+
height: $icon-border-width;
|
143
|
+
width: 100%;
|
144
|
+
}
|
145
|
+
}
|
146
|
+
|
147
|
+
// Icon apps
|
148
|
+
.icon-apps {
|
149
|
+
&::before {
|
150
|
+
background: currentColor;
|
151
|
+
box-shadow: -.35em -.35em, -.35em 0, -.35em .35em, 0 -.35em, 0 .35em, .35em -.35em, .35em 0, .35em .35em;
|
152
|
+
content: "";
|
153
|
+
height: 3px;
|
154
|
+
width: 3px;
|
155
|
+
}
|
156
|
+
}
|
157
|
+
|
158
|
+
// Icon resize
|
159
|
+
.icon-resize-horiz,
|
160
|
+
.icon-resize-vert {
|
161
|
+
&::before,
|
162
|
+
&::after {
|
163
|
+
border: $icon-border-width solid currentColor;
|
164
|
+
border-bottom: 0;
|
165
|
+
border-right: 0;
|
166
|
+
content: "";
|
167
|
+
height: .45em;
|
168
|
+
width: .45em;
|
169
|
+
}
|
170
|
+
&::before {
|
171
|
+
transform: translate(-50%, -90%) rotate(45deg);
|
172
|
+
}
|
173
|
+
&::after {
|
174
|
+
transform: translate(-50%, -10%) rotate(225deg);
|
175
|
+
}
|
176
|
+
}
|
177
|
+
|
178
|
+
.icon-resize-horiz {
|
179
|
+
&::before {
|
180
|
+
transform: translate(-90%, -50%) rotate(-45deg);
|
181
|
+
}
|
182
|
+
&::after {
|
183
|
+
transform: translate(-10%, -50%) rotate(135deg);
|
184
|
+
}
|
185
|
+
}
|
186
|
+
|
187
|
+
// Icon more
|
188
|
+
.icon-more-horiz,
|
189
|
+
.icon-more-vert {
|
190
|
+
&::before {
|
191
|
+
background: currentColor;
|
192
|
+
box-shadow: -.4em 0, .4em 0;
|
193
|
+
border-radius: 50%;
|
194
|
+
content: "";
|
195
|
+
height: 3px;
|
196
|
+
width: 3px;
|
197
|
+
}
|
198
|
+
}
|
199
|
+
.icon-more-vert {
|
200
|
+
&::before {
|
201
|
+
box-shadow: 0 -.4em, 0 .4em;
|
202
|
+
}
|
203
|
+
}
|
204
|
+
|
205
|
+
// Icon plus, minus, cross
|
206
|
+
.icon-plus,
|
207
|
+
.icon-minus,
|
208
|
+
.icon-cross {
|
209
|
+
&::before {
|
210
|
+
background: currentColor;
|
211
|
+
content: "";
|
212
|
+
height: $icon-border-width;
|
213
|
+
width: 100%;
|
214
|
+
}
|
215
|
+
}
|
216
|
+
.icon-plus,
|
217
|
+
.icon-cross {
|
218
|
+
&::after {
|
219
|
+
background: currentColor;
|
220
|
+
content: "";
|
221
|
+
height: 100%;
|
222
|
+
width: $icon-border-width;
|
223
|
+
}
|
224
|
+
}
|
225
|
+
.icon-cross {
|
226
|
+
&::before {
|
227
|
+
width: 100%;
|
228
|
+
}
|
229
|
+
&::after {
|
230
|
+
height: 100%;
|
231
|
+
}
|
232
|
+
&::before,
|
233
|
+
&::after {
|
234
|
+
transform: translate(-50%, -50%) rotate(45deg);
|
235
|
+
}
|
236
|
+
}
|
237
|
+
|
238
|
+
// Icon check
|
239
|
+
.icon-check {
|
240
|
+
&::before {
|
241
|
+
border: $icon-border-width solid currentColor;
|
242
|
+
border-right: 0;
|
243
|
+
border-top: 0;
|
244
|
+
content: "";
|
245
|
+
height: .5em;
|
246
|
+
width: .9em;
|
247
|
+
transform: translate(-50%, -75%) rotate(-45deg);
|
248
|
+
}
|
249
|
+
}
|
250
|
+
|
251
|
+
// Icon stop
|
252
|
+
.icon-stop {
|
253
|
+
border: $icon-border-width solid currentColor;
|
254
|
+
border-radius: 50%;
|
255
|
+
&::before {
|
256
|
+
background: currentColor;
|
257
|
+
content: "";
|
258
|
+
height: $icon-border-width;
|
259
|
+
transform: translate(-50%, -50%) rotate(45deg);
|
260
|
+
width: 1em;
|
261
|
+
}
|
262
|
+
}
|
263
|
+
|
264
|
+
// Icon shutdown
|
265
|
+
.icon-shutdown {
|
266
|
+
border: $icon-border-width solid currentColor;
|
267
|
+
border-radius: 50%;
|
268
|
+
border-top-color: transparent;
|
269
|
+
&::before {
|
270
|
+
background: currentColor;
|
271
|
+
content: "";
|
272
|
+
height: .5em;
|
273
|
+
top: .1em;
|
274
|
+
width: $icon-border-width;
|
275
|
+
}
|
276
|
+
}
|
277
|
+
|
278
|
+
// Icon refresh
|
279
|
+
.icon-refresh {
|
280
|
+
&::before {
|
281
|
+
border: $icon-border-width solid currentColor;
|
282
|
+
border-radius: 50%;
|
283
|
+
border-right-color: transparent;
|
284
|
+
content: "";
|
285
|
+
height: 1em;
|
286
|
+
width: 1em;
|
287
|
+
}
|
288
|
+
&::after {
|
289
|
+
border: .2em solid currentColor;
|
290
|
+
border-top-color: transparent;
|
291
|
+
border-left-color: transparent;
|
292
|
+
content: "";
|
293
|
+
height: 0;
|
294
|
+
left: 80%;
|
295
|
+
top: 20%;
|
296
|
+
width: 0;
|
297
|
+
}
|
298
|
+
}
|
299
|
+
|
300
|
+
// Icon search
|
301
|
+
.icon-search {
|
302
|
+
&::before {
|
303
|
+
border: $icon-border-width solid currentColor;
|
304
|
+
border-radius: 50%;
|
305
|
+
content: "";
|
306
|
+
height: .75em;
|
307
|
+
left: 5%;
|
308
|
+
top: 5%;
|
309
|
+
transform: translate(0, 0) rotate(45deg);
|
310
|
+
width: .75em;
|
311
|
+
}
|
312
|
+
&::after {
|
313
|
+
background: currentColor;
|
314
|
+
content: "";
|
315
|
+
height: $icon-border-width;
|
316
|
+
left: 80%;
|
317
|
+
top: 80%;
|
318
|
+
transform: translate(-50%, -50%) rotate(45deg);
|
319
|
+
width: .4em;
|
320
|
+
}
|
321
|
+
}
|
322
|
+
|
323
|
+
// Icon edit
|
324
|
+
.icon-edit {
|
325
|
+
&::before {
|
326
|
+
border: $icon-border-width solid currentColor;
|
327
|
+
content: "";
|
328
|
+
height: .4em;
|
329
|
+
transform: translate(-40%, -60%) rotate(-45deg);
|
330
|
+
width: .85em;
|
331
|
+
}
|
332
|
+
&::after {
|
333
|
+
border: .15em solid currentColor;
|
334
|
+
border-top-color: transparent;
|
335
|
+
border-right-color: transparent;
|
336
|
+
content: "";
|
337
|
+
height: 0;
|
338
|
+
left: 5%;
|
339
|
+
top: 95%;
|
340
|
+
transform: translate(0, -100%);
|
341
|
+
width: 0;
|
342
|
+
}
|
343
|
+
}
|
344
|
+
|
345
|
+
// Icon delete
|
346
|
+
.icon-delete {
|
347
|
+
&::before {
|
348
|
+
border: $icon-border-width solid currentColor;
|
349
|
+
border-bottom-left-radius: $border-radius;
|
350
|
+
border-bottom-right-radius: $border-radius;
|
351
|
+
border-top: 0;
|
352
|
+
content: "";
|
353
|
+
height: .75em;
|
354
|
+
top: 60%;
|
355
|
+
width: .75em;
|
356
|
+
}
|
357
|
+
&::after {
|
358
|
+
background: currentColor;
|
359
|
+
box-shadow: -.25em .2em, .25em .2em;
|
360
|
+
content: "";
|
361
|
+
height: $icon-border-width;
|
362
|
+
top: $icon-border-width/2;
|
363
|
+
width: .5em;
|
364
|
+
}
|
365
|
+
}
|
366
|
+
|
367
|
+
// Icon share
|
368
|
+
.icon-share {
|
369
|
+
border: $icon-border-width solid currentColor;
|
370
|
+
border-radius: $border-radius;
|
371
|
+
border-right: 0;
|
372
|
+
border-top: 0;
|
373
|
+
&::before {
|
374
|
+
border: $icon-border-width solid currentColor;
|
375
|
+
border-left: 0;
|
376
|
+
border-top: 0;
|
377
|
+
content: "";
|
378
|
+
height: .4em;
|
379
|
+
left: 100%;
|
380
|
+
top: .25em;
|
381
|
+
transform: translate(-125%, -50%) rotate(-45deg);
|
382
|
+
width: .4em;
|
383
|
+
}
|
384
|
+
&::after {
|
385
|
+
border: $icon-border-width solid currentColor;
|
386
|
+
border-bottom: 0;
|
387
|
+
border-right: 0;
|
388
|
+
border-radius: 75% 0;
|
389
|
+
content: "";
|
390
|
+
height: .5em;
|
391
|
+
width: .6em;
|
392
|
+
}
|
393
|
+
}
|
394
|
+
|
395
|
+
// Icon flag
|
396
|
+
.icon-flag {
|
397
|
+
&::before {
|
398
|
+
background: currentColor;
|
399
|
+
content: "";
|
400
|
+
height: 1em;
|
401
|
+
left: 15%;
|
402
|
+
width: $icon-border-width;
|
403
|
+
}
|
404
|
+
&::after {
|
405
|
+
border: $icon-border-width solid currentColor;
|
406
|
+
border-bottom-right-radius: $border-radius;
|
407
|
+
border-left: 0;
|
408
|
+
border-top-right-radius: $border-radius;
|
409
|
+
content: "";
|
410
|
+
height: .65em;
|
411
|
+
top: 35%;
|
412
|
+
left: 60%;
|
413
|
+
width: .8em;
|
414
|
+
}
|
415
|
+
}
|
416
|
+
|
417
|
+
// Icon bookmark
|
418
|
+
.icon-bookmark {
|
419
|
+
&::before {
|
420
|
+
border: $icon-border-width solid currentColor;
|
421
|
+
border-bottom: 0;
|
422
|
+
border-top-left-radius: $border-radius;
|
423
|
+
border-top-right-radius: $border-radius;
|
424
|
+
content: "";
|
425
|
+
height: .9em;
|
426
|
+
width: .8em;
|
427
|
+
}
|
428
|
+
&::after {
|
429
|
+
border: $icon-border-width solid currentColor;
|
430
|
+
border-bottom: 0;
|
431
|
+
border-left: 0;
|
432
|
+
border-radius: $border-radius;
|
433
|
+
content: "";
|
434
|
+
height: .5em;
|
435
|
+
transform: translate(-50%, 35%) rotate(-45deg) skew(15deg, 15deg);
|
436
|
+
width: .5em;
|
437
|
+
}
|
438
|
+
}
|
439
|
+
|
440
|
+
// Icon download & upload
|
441
|
+
.icon-download,
|
442
|
+
.icon-upload {
|
443
|
+
border-bottom: $icon-border-width solid currentColor;
|
444
|
+
&::before {
|
445
|
+
border: $icon-border-width solid currentColor;
|
446
|
+
border-bottom: 0;
|
447
|
+
border-right: 0;
|
448
|
+
content: "";
|
449
|
+
height: .5em;
|
450
|
+
width: .5em;
|
451
|
+
transform: translate(-50%, -60%) rotate(-135deg);
|
452
|
+
}
|
453
|
+
&::after {
|
454
|
+
background: currentColor;
|
455
|
+
content: "";
|
456
|
+
height: .6em;
|
457
|
+
top: 40%;
|
458
|
+
width: $icon-border-width;
|
459
|
+
}
|
460
|
+
}
|
461
|
+
|
462
|
+
.icon-upload {
|
463
|
+
&::before {
|
464
|
+
transform: translate(-50%, -60%) rotate(45deg);
|
465
|
+
}
|
466
|
+
&::after {
|
467
|
+
top: 50%;
|
468
|
+
}
|
469
|
+
}
|
470
|
+
|
471
|
+
// Icon time
|
472
|
+
.icon-time {
|
473
|
+
border: $icon-border-width solid currentColor;
|
474
|
+
border-radius: 50%;
|
475
|
+
&::before {
|
476
|
+
background: currentColor;
|
477
|
+
content: "";
|
478
|
+
height: .4em;
|
479
|
+
transform: translate(-50%, -75%);
|
480
|
+
width: $icon-border-width;
|
481
|
+
}
|
482
|
+
&::after {
|
483
|
+
background: currentColor;
|
484
|
+
content: "";
|
485
|
+
height: .3em;
|
486
|
+
transform: translate(-50%, -75%) rotate(90deg);
|
487
|
+
transform-origin: 50% 90%;
|
488
|
+
width: $icon-border-width;
|
489
|
+
}
|
490
|
+
}
|
491
|
+
|
492
|
+
// Icon mail
|
493
|
+
.icon-mail {
|
494
|
+
&::before {
|
495
|
+
border: $icon-border-width solid currentColor;
|
496
|
+
border-radius: $border-radius;
|
497
|
+
content: "";
|
498
|
+
height: .8em;
|
499
|
+
width: 1em;
|
500
|
+
}
|
501
|
+
&::after {
|
502
|
+
border: $icon-border-width solid currentColor;
|
503
|
+
border-right: 0;
|
504
|
+
border-top: 0;
|
505
|
+
content: "";
|
506
|
+
height: .5em;
|
507
|
+
transform: translate(-50%, -90%) rotate(-45deg) skew(10deg, 10deg);
|
508
|
+
width: .5em;
|
509
|
+
}
|
510
|
+
}
|
511
|
+
|
512
|
+
// Icon people
|
513
|
+
.icon-people {
|
514
|
+
&::before {
|
515
|
+
border: $icon-border-width solid currentColor;
|
516
|
+
border-radius: 50%;
|
517
|
+
content: "";
|
518
|
+
height: .45em;
|
519
|
+
top: 25%;
|
520
|
+
width: .45em;
|
521
|
+
}
|
522
|
+
&::after {
|
523
|
+
border: $icon-border-width solid currentColor;
|
524
|
+
border-radius: 50% 50% 0 0;
|
525
|
+
content: "";
|
526
|
+
height: .4em;
|
527
|
+
top: 75%;
|
528
|
+
width: .9em;
|
529
|
+
}
|
530
|
+
}
|
531
|
+
|
532
|
+
// Icon message
|
533
|
+
.icon-message {
|
534
|
+
border: $icon-border-width solid currentColor;
|
535
|
+
border-bottom: 0;
|
536
|
+
border-radius: $border-radius;
|
537
|
+
border-right: 0;
|
538
|
+
&::before {
|
539
|
+
border: $icon-border-width solid currentColor;
|
540
|
+
border-left: 0;
|
541
|
+
border-bottom-right-radius: $border-radius;
|
542
|
+
border-top: 0;
|
543
|
+
content: "";
|
544
|
+
height: .8em;
|
545
|
+
left: 65%;
|
546
|
+
top: 40%;
|
547
|
+
width: .7em;
|
548
|
+
}
|
549
|
+
&::after {
|
550
|
+
background: currentColor;
|
551
|
+
border-radius: $border-radius;
|
552
|
+
content: "";
|
553
|
+
height: .3em;
|
554
|
+
left: 10%;
|
555
|
+
top: 100%;
|
556
|
+
transform: translate(0, -90%) rotate(45deg);
|
557
|
+
width: $icon-border-width;
|
558
|
+
}
|
559
|
+
}
|
560
|
+
|
561
|
+
// Icon photo
|
562
|
+
.icon-photo {
|
563
|
+
border: $icon-border-width solid currentColor;
|
564
|
+
border-radius: $border-radius;
|
565
|
+
&::before {
|
566
|
+
border: $icon-border-width solid currentColor;
|
567
|
+
border-radius: 50%;
|
568
|
+
content: "";
|
569
|
+
height: .25em;
|
570
|
+
left: 35%;
|
571
|
+
top: 35%;
|
572
|
+
width: .25em;
|
573
|
+
}
|
574
|
+
&::after {
|
575
|
+
border: $icon-border-width solid currentColor;
|
576
|
+
border-bottom: 0;
|
577
|
+
border-left: 0;
|
578
|
+
content: "";
|
579
|
+
height: .5em;
|
580
|
+
left: 60%;
|
581
|
+
transform: translate(-50%, 25%) rotate(-45deg);
|
582
|
+
width: .5em;
|
583
|
+
}
|
584
|
+
}
|
585
|
+
|
586
|
+
// Icon link
|
587
|
+
.icon-link {
|
588
|
+
&::before,
|
589
|
+
&::after {
|
590
|
+
border: $icon-border-width solid currentColor;
|
591
|
+
border-radius: 5em 0 0 5em;
|
592
|
+
border-right: 0;
|
593
|
+
content: "";
|
594
|
+
height: .5em;
|
595
|
+
width: .75em;
|
596
|
+
}
|
597
|
+
&::before {
|
598
|
+
transform: translate(-70%, -45%) rotate(-45deg);
|
599
|
+
}
|
600
|
+
&::after {
|
601
|
+
transform: translate(-30%, -55%) rotate(135deg);
|
602
|
+
}
|
603
|
+
}
|
604
|
+
|
605
|
+
// Icon location
|
606
|
+
.icon-location {
|
607
|
+
&::before {
|
608
|
+
border: $icon-border-width solid currentColor;
|
609
|
+
border-radius: 50% 50% 50% 0;
|
610
|
+
content: "";
|
611
|
+
height: .8em;
|
612
|
+
transform: translate(-50%, -60%) rotate(-45deg);
|
613
|
+
width: .8em;
|
614
|
+
}
|
615
|
+
&::after {
|
616
|
+
border: $icon-border-width solid currentColor;
|
617
|
+
border-radius: 50%;
|
618
|
+
content: "";
|
619
|
+
height: .2em;
|
620
|
+
transform: translate(-50%, -80%);
|
621
|
+
width: .2em;
|
622
|
+
}
|
623
|
+
}
|
624
|
+
|
625
|
+
// Icon emoji
|
626
|
+
.icon-emoji {
|
627
|
+
border: $icon-border-width solid currentColor;
|
628
|
+
border-radius: 50%;
|
629
|
+
&::before {
|
630
|
+
border-radius: 50%;
|
631
|
+
box-shadow: -.17em -.15em, .17em -.15em;
|
632
|
+
content: "";
|
633
|
+
height: .1em;
|
634
|
+
width: .1em;
|
635
|
+
}
|
636
|
+
&::after {
|
637
|
+
border: $icon-border-width solid currentColor;
|
638
|
+
border-bottom-color: transparent;
|
639
|
+
border-radius: 50%;
|
640
|
+
border-right-color: transparent;
|
641
|
+
content: "";
|
642
|
+
height: .5em;
|
643
|
+
transform: translate(-50%, -40%) rotate(-135deg);
|
644
|
+
width: .5em;
|
645
|
+
}
|
646
|
+
}
|
647
|
+
|
648
|
+
// Component icon support
|
649
|
+
.accordion,
|
650
|
+
.btn,
|
651
|
+
.toast,
|
652
|
+
.menu {
|
653
|
+
.icon {
|
654
|
+
vertical-align: -10%;
|
655
|
+
}
|
656
|
+
}
|