-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathmas-select-items-table.css.js
More file actions
69 lines (60 loc) · 1.65 KB
/
mas-select-items-table.css.js
File metadata and controls
69 lines (60 loc) · 1.65 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
import { css } from 'lit';
import {
tableHeaderBaseStyles,
tableCellBaseStyles,
tableColumnIconStyles,
tableSelectedRowStyles,
loadingContainerFlexStyles,
} from '../styles/translation-common-styles.css.js';
export const styles = [
tableHeaderBaseStyles,
tableCellBaseStyles,
tableColumnIconStyles,
tableSelectedRowStyles,
loadingContainerFlexStyles,
css`
:host {
width: 100%;
}
:host([data-type='view-only']) {
--mod-table-selected-row-background-color: transparent;
}
.fragments-table {
sp-table-head sp-table-checkbox-cell:first-of-type {
border-top-left-radius: 12px;
}
sp-table-cell {
word-break: break-word;
}
}
.fragments-table[selects='multiple'] {
sp-table-head {
sp-table-checkbox-cell:first-of-type {
border-top-left-radius: 12px;
}
}
}
.fragments-table:not([selects='multiple']) {
sp-table-head {
sp-table-head-cell:first-of-type {
border-top-left-radius: 12px;
}
}
}
.loading-container--flex {
padding: 80px;
}
.scroll-sentinel {
height: 1px;
}
.loading-more {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
padding: 12px;
color: var(--spectrum-gray-700);
font-size: var(--spectrum-font-size-75);
}
`,
];