-
Notifications
You must be signed in to change notification settings - Fork 359
Expand file tree
/
Copy pathTableHeaderCell.module.scss
More file actions
63 lines (51 loc) · 1.17 KB
/
TableHeaderCell.module.scss
File metadata and controls
63 lines (51 loc) · 1.17 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
@import "~monday-ui-style/dist/mixins";
.tableHeaderCell {
height: var(--table-row-size);
padding: var(--spacing-small);
padding-inline-start: var(--spacing-medium);
color: var(--secondary-text-color);
box-sizing: border-box;
text-align: initial;
border-bottom: 1px solid var(--layout-border-color);
display: flex;
justify-content: space-between;
background-color: inherit;
@include focus-style();
&.sticky {
z-index: 1;
position: sticky;
left: 0;
box-shadow: var(--sticky-cell-box-shadow);
&:hover {
background: var(--sticky-cell-hover-background);
}
}
&:hover,
&.sortActive {
background-color: var(--primary-background-hover-color);
}
.tableHeaderCellContent {
min-width: 0;
.icon {
min-width: var(--spacing-medium);
}
.infoTooltip {
display: inline-flex;
}
}
.tableHeaderCellSort {
padding-inline-start: var(--spacing-small);
.sort {
color: var(--icon-color);
transition: opacity 0.1s;
&.asc,
&.desc {
color: var(--primary-text-color);
}
&:not(.show) {
opacity: 0;
pointer-events: none;
}
}
}
}