-
Notifications
You must be signed in to change notification settings - Fork 0
/
biggus.css
127 lines (102 loc) · 2.22 KB
/
biggus.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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
/******* GRID *******/
table.biggus
{
width: 100%;
border-collapse: collapse;
table-layout: fixed;
outline: none;
}
/* In order to accept key-presses, the table is focusable. Disable the outline this causes. */
table.biggus:active { outline: none; }
/******* HEADER *******/
table.biggus thead tr.header th
{
background: #444;
color: #fff;
text-align: left;
padding: 1em 0.5em 0;
text-overflow: ellipsis;
overflow: hidden;
}
table.biggus thead tr.header th.scroll
{
width: 16px;
padding: 0;
margin: 0;
}
table.biggus thead tr.filter
{
border-top: 1px solid rgba(255, 255, 255, 0.05);
}
table.biggus thead tr.filter td
{
background: #666;
padding: 0 1px 2px 2px;
}
table.biggus thead tr.filter td input
{
margin: 0;
border: 0;
background: rgba(255, 255, 255, 0.35);
width: 100%;
height: 100%;
padding: 0 5px;
box-sizing: border-box;
}
table.biggus thead th.sort-ascending::after { content: "\25bc"; font-size: 15px; margin-left: 5px; color: #bbb; }
table.biggus thead th.sort-descending::after { content: "\25b2"; font-size: 15px; margin-left: 5px; color: #bbb; }
table.biggus tbody td
{
padding: 0 0.5em;
}
table.biggus tbody td.action.button
{
width: 50px;
padding: 1px;
}
table.biggus tbody td.action.button button
{
width: 100%;
height: 100%;
margin: 0;
}
table.biggus tbody a.action { color: blue; }
table.biggus tbody tr
{
background-color: transparent;
transition: background-color 600ms linear;
}
table.biggus thead tr.header th.numeric,
table.biggus td.numeric { text-align: right; }
table.biggus thead tr.header th.centered,
table.biggus td.centered { text-align: center; }
table.biggus thead th.sortable
{
cursor: pointer;
}
/******* SCROLLING *******/
table.biggus tbody td.scroll
{
position: relative;
}
table.biggus tbody div.scroll-outer
{
overflow: auto;
position: absolute;
top: 0;
bottom: 0;
right: 0;
width: 16px;
}
/******* HIGHLIGHTING *******/
table.biggus tbody tr.highlight-delta
{
background-color: #ffff83 !important;
transition: background-color 0ms linear;
}
/******* COLUMN TYPES *******/
table.biggus tbody div.bar
{
background: red;
height: 1em;
}