-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Expand file tree
/
Copy pathCompactToggleButtons.module.css
More file actions
69 lines (60 loc) · 1.55 KB
/
CompactToggleButtons.module.css
File metadata and controls
69 lines (60 loc) · 1.55 KB
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
.container {
display: flex;
align-items: center;
background-color: var(--theme-text-field-default-background-color);
border-radius: 4px;
}
.containerExpand {
flex: 1;
}
.compactToggleButton {
border-radius: 0;
color: var(--theme-text-default-color);
background-color: var(--theme-text-field-default-background-color);
transition: box-shadow 0.1s;
position: relative;
display: flex;
align-items: center;
justify-content: center;
flex: 1;
min-width: 0px;
padding: 3px;
border: 0;
}
.label {
font-family: 'Fira Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI',
Roboto, Oxygen-Sans, Ubuntu, 'Helvetica Neue', Helvetica, sans-serif,
'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
margin-left: 2px;
font-size: 12px;
font-weight: 500;
color: var(--theme-text-default-color);
transition: color 0.1s linear;
}
.active .label {
color: var(--theme-icon-button-selected-color);
}
.separator {
background-color: var(--theme-text-field-disabled-color);
align-self: stretch;
width: 1px;
margin: 0;
}
/* svg tag is needed to be first priority compared to Material UI Custom SVG icon classes*/
svg.icon {
font-size: 20px;
color: var(--theme-text-default-color);
transition: color 0.1s linear;
}
.compactToggleButton.first {
border-radius: 4px 0 0 4px;
}
.compactToggleButton.last {
border-radius: 0 4px 4px 0;
}
.compactToggleButton.active {
background-color: var(--theme-icon-button-selected-background-color);
}
.compactToggleButton.active svg.icon {
color: var(--theme-icon-button-selected-color);
}