-
Notifications
You must be signed in to change notification settings - Fork 0
/
_auk-filter-pill.scss
68 lines (60 loc) · 1.45 KB
/
_auk-filter-pill.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
@use "settings";
/* ==========================================================================
auk-filter-pill
========================================================================== */
.auk-filter-pill {
font-family: settings.$global-base-font-family;
font-size: 1.4rem;
display: inline-flex;
align-items: center;
padding: 0 .5rem 0 .6rem;
border-radius: .5rem;
height: 2.4rem;
color: settings.$color-gray-600;
background-color: settings.$color-gray-100;
border: .1rem solid settings.$color-gray-300;
}
.auk-filter-pill__action {
position: relative;
width: 1.8rem;
height: 1.8rem;
padding-left: .5rem;
margin-left: .5rem;
&:after {
content: '';
display: block;
position: absolute;
left: 0;
top: -0.2rem;
height: 2.2rem;
width: 0.1rem;
background-color: settings.$color-gray-300;
color: settings.$color-gray-600;
}
}
.auk-filter-pill__second-label {
font-weight: 400;
margin-left: .5rem;
}
.auk-filter-pill__multiple-labels {
font-weight: 400;
font-size: 1.2rem;
background-color: settings.$color-gray-600;
color: #fff;
width: 1.6rem;
height: 1.6rem;
border-radius: 100%;
display: flex;
justify-content: center;
align-items: center;
margin-left: .5rem;
}
/* auk-pill-list
========================================================================== */
.auk-filter-pill-list {
display: flex;
flex-wrap: wrap;
gap: .5rem;
align-items: center;
line-height: normal;
}