-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
79 lines (67 loc) · 1.76 KB
/
style.css
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
70
71
72
73
74
75
76
77
78
79
img {
width: 25px;
height: 25px;
}
.col-fixed {
min-width: 100px;
}
/* Since we wanted to freeze the first two columns of `#board-table`, we had to
make the background opaque. To make the table borders follow the frozen
columns, we had to separate the borders and make sure they didn't double up
between cells (so not using `.table-bordered`). */
#board-table {
--bs-table-bg: var(--bs-white);
border-collapse: separate;
border-spacing: 0;
}
#board-table > * > :first-child > :first-child {
/* First cell: full border */
border-width: 1px;
}
#board-table > * > :first-child > :not(:first-child) {
/* Cells in the first row: right, top, and bottom border */
border-width: 1px 1px 1px 0;
}
#board-table > * > :not(:first-child) > :first-child {
/* First cell of each row: left, right, and bottom border */
border-width: 0 1px 1px 1px;
}
#board-table > * > :not(:first-child) > :not(:first-child) {
/* All cells: right and bottom border */
border-width: 0 1px 1px 0;
}
.freeze-col {
position: sticky;
left: 0;
/* Increase the z-index so that other elements don't appear over the frozen
columns. */
z-index: 1000;
}
/* First column of board table */
#board-table > tbody > tr > :first-child {
text-align: left;
}
.small-col {
width: 0;
white-space: nowrap;
}
/* Inspired by GitHub's default light theme code blocks */
span.rule-arg {
border-radius: 6px;
background-color: rgb(175, 184, 193, 0.2);
color: black;
font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas,
Liberation Mono, monospace;
font-size: 90%;
line-height: 1.5;
margin: 0;
padding: 0.2em 0.4em;
white-space: break-spaces;
word-wrap: break-word;
}
input[type="text"] {
max-width: 120px;
}
input[type="number"] {
max-width: 85px;
}