forked from Cambly/syntax
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Chip.module.css
83 lines (69 loc) · 1.54 KB
/
Chip.module.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
.chip {
display: flex;
align-items: center;
justify-content: center;
text-align: center;
cursor: pointer;
box-sizing: border-box;
}
.chipClassic {
border: 1px solid var(--color-base-gray-300);
border-radius: 1000px;
}
.chipCambio {
border: none;
border-radius: 8px;
}
.disabled {
filter: opacity(50%);
cursor: auto;
}
.deselectedChip {
background-color: var(--color-base-gray-200);
}
.selectedChip {
background-color: var(--color-base-primary-800);
border: 1px solid var(--color-base-primary-800);
}
.deselectedChipCambio {
background-color: var(--color-cambio-gray-370);
}
.deselectedChipCambioOnDarkBackground {
background-color: var(--color-cambio-gray-870);
}
.selectedChipCambio {
background-color: var(--color-cambio-gray-800);
}
.selectedChipCambioOnDarkBackground {
background-color: var(--color-cambio-gray-200);
}
.icon {
/* stylelint-disable-next-line declaration-no-important -- Need to use !important to override MUI icon sizes */
height: 24px !important;
/* stylelint-disable-next-line declaration-no-important -- Need to use !important to override MUI icon sizes */
width: 24px !important;
color: var(--color-base-grey-900);
}
.selectedIcon {
color: #fff;
}
.sm {
height: 32px;
min-width: 40px;
padding: 8px 12px;
}
.lg {
height: 48px;
min-width: 56px;
padding: 8px 16px;
}
.chip:focus-visible,
.forceFocus {
background-image: linear-gradient(
to bottom,
rgba(0, 0, 0, 0.2) 0%,
rgba(0, 0, 0, 0.2) 100%
);
box-shadow: 0 0 0 4px #000;
outline: solid 2px #fff;
}