-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
144 lines (120 loc) · 2.88 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
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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
table {
background: #fff;
max-width: 80%;
border-spacing: 0;
width: 80%;
margin: 10px 0;
border: 1px solid #ddd;
border-collapse: separate;
border-collapse: collapse;
-webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.10);
-moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.10);
box-shadow: 0 0 4px rgba(0, 0, 0, 0.10);
}
table th, table td {
padding: 8px;
line-height: 18px;
text-align: left;
border-top: 1px solid #ddd;
}
table th {
background: #eee;
background: -webkit-gradient(linear, left top, left bottom, from(#f6f6f6), to(#eee));
background: -moz-linear-gradient(top, #f6f6f6, #eee);
text-shadow: 0 1px 0 #fff;
font-weight: bold;
vertical-align: bottom;
}
table td {
vertical-align: top;
}
table thead:first-child tr th, table thead:first-child tr td {
border-top: 0;
}
table tbody+tbody {
border-top: 2px solid #ddd;
}
table th+th, table td+td, table th+td, table td+th {
border-left: 1px solid #ddd;
}
table thead:first-child tr:first-child th, table tbody:first-child tr:first-child th, table tbody:first-child tr:first-child td {
border-top: 0;
}
/*tablesort specific styling*/
th.sort-header {
cursor: pointer;
}
th.sort-header::-moz-selection, th.sort-header::selection {
background: transparent;
}
table th.sort-header:after {
content: '';
float: right;
margin-top: 7px;
border-width: 0 4px 4px;
border-style: solid;
border-color: #404040 transparent;
visibility: hidden;
}
table th.sort-header:hover:after {
visibility: visible;
}
table th.sort-up:after, table th.sort-down:after, table th.sort-down:hover:after {
visibility: visible;
opacity: 0.4;
}
table th.sort-up:after {
border-bottom: none;
border-width: 4px 4px 0;
}
/* Responsive table
For registrar table
*/
/* Responsive table container */
.responsive-table {
width: 100%;
overflow-x: auto;
}
/* Table styling */
.responsive-table table {
width: 100%;
border-collapse: collapse;
}
/* Table header and cell styling */
.responsive-table th, .responsive-table td {
border: 1px solid #ddd;
padding: 8px;
text-align: left;
}
/* Table header background color */
.responsive-table th {
background-color: #f2f2f2;
}
/* Responsive adjustments */
@media screen and (max-width: 600px) {
.responsive-table th, .responsive-table td {
display: block;
width: 100%;
box-sizing: border-box;
}
.responsive-table th {
position: absolute;
top: -9999px;
left: -9999px;
}
.responsive-table td {
border: none;
position: relative;
padding-left: 50%;
text-align: right;
}
.responsive-table td:before {
content: attr(data-label);
position: absolute;
left: 0;
width: 50%;
padding-left: 10px;
font-weight: bold;
text-align: left;
}
}