forked from sqlpad/sqlpad
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathStatementsTable.module.css
More file actions
64 lines (57 loc) · 1.35 KB
/
Copy pathStatementsTable.module.css
File metadata and controls
64 lines (57 loc) · 1.35 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
.table {
/*
This is needed to make text truncation to work
Otherwise cell will grow to however large it things to show large queries
*/
table-layout: fixed;
width: 100%;
max-height: 100%;
overflow-x: auto;
/* allows for header border to show correctly */
border-collapse: separate;
border-spacing: 0;
}
.table tr {
height: 30px;
}
.table tr:nth-child(odd) {
background-color: var(--table-alt-row-bg-color);
}
.table th {
border-bottom: var(--border);
padding: 6px 8px;
position: sticky;
top: 0;
background-color: var(--toolbar-bg-color);
/* make sure header sits above content */
z-index: 2;
}
.table td {
border-bottom: var(--border);
padding: 6px 8px;
}
.statementTextColHeader {
padding-left: 8px;
width: 60%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.statementTextCol {
width: 60%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
/* specificity in .table td overrides this. Unsure if I want to go all css-module or css on this, so for now !important */
padding: 0px !important;
}
/* Overrides to make the ghost button look right */
.statementButton {
font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace;
white-space: nowrap;
width: 100%;
text-overflow: ellipsis;
overflow: hidden;
display: block;
text-align: left;
}