-
Notifications
You must be signed in to change notification settings - Fork 138
/
fixed.less
61 lines (55 loc) 路 1.2 KB
/
fixed.less
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
.@{table-prefix} {
&-fix {
&-start {
z-index: 2;
}
&-end {
z-index: 3;
}
&-start,
&-end {
td& {
background-color: var(--ix-color-container-bg);
}
}
}
&-fix-start-first::after,
&-fix-start-last::after {
position: absolute;
top: 0;
right: 0;
bottom: -1px;
width: 30px;
transform: translate(100%);
transition: box-shadow var(--ix-motion-duration-fast);
content: '';
pointer-events: none;
}
&-fix-end-first::after,
&-fix-end-last::after {
position: absolute;
top: 0;
bottom: -1px;
left: 0;
width: 30px;
transform: translate(-100%);
transition: box-shadow var(--ix-motion-duration-fast);
content: '';
pointer-events: none;
}
&-ping-start &-fix-start-first::after,
&-ping-start &-fix-start-last::after {
box-shadow: var(--ix-table-inset-shadow-start);
}
&-ping-end &-fix-end-first::after,
&-ping-end &-fix-end-last::after {
box-shadow: var(--ix-table-inset-shadow-end);
}
&-ping-start &-fix-start-last::before {
background-color: transparent !important;
}
&-cell-ellipsis&-fix-start-last,
&-cell-ellipsis&-fix-end-first {
overflow: visible;
}
}