forked from AversaConsulting/ResponsiveTables
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
43 lines (34 loc) · 845 Bytes
/
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
@media screen and (max-width: 900px) {
.av-table-responsive {
border: 0;
}
table.av-table-responsive thead {
display: none;
}
table.av-table-responsive tr {
display: block;
margin-bottom: 2em;
}
table.av-table-responsive td {
border-bottom: 1px solid #ddd;
display: block;
text-align: right;
padding: 6px 6px;
min-height: calc(1em + 6px);
}
table.av-table-responsive td::before {
content: attr(data-label);
float: left;
font-weight: bold;
text-transform: uppercase;
}
table.av-table-responsive td:last-child {
border-bottom: 0;
}
table.av-table-responsive td:empty {
display: none;
}
td.av-table-responsive-hide {
display: none !important;
}
}