-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
80 lines (74 loc) · 1.26 KB
/
styles.css
File metadata and controls
80 lines (74 loc) · 1.26 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
html {
margin: 0;
padding: 0;
}
body {
font-family: Arial, Helvetica, sans-serif;
margin: 0;
background-color: lightgray;
}
h4 {
font-size: 16px;
margin: 0 0 20px 0;
padding: 5px 10px;
}
.data-table {
background-color: white;
max-width: 500px;
margin: 10px auto;
border-radius: 4px;
overflow: hidden;
box-shadow: 2px 1px 5px 2px rgba(0, 0, 0, 0.25);
}
.data-table h4 {
margin-bottom: 0;
}
header {
margin: 10px 0 0 40px;
padding-bottom: 5px;
display: grid;
grid-template-columns: repeat(4, 25%);
}
.row {
display: grid;
grid-template-columns: 15px repeat(4, calc(100% / 4 - 19px));
grid-column-gap: 15px;
}
.content .row {
padding: 10px;
}
.content {
border-top: 1px solid black;
}
.content .row:nth-child(odd) {
background-color: lightgray;
}
.checkbox {
border: 1px solid black;
border-radius: 2px;
cursor: pointer;
height: 15px;
font-size: 14px;
}
header span,
.row > span {
font-size: 14px;
}
.partial {
overflow: hidden;
font-size: 13px;
line-height: 20px;
border-radius: 4px;
max-height: 0;
padding: 0 20px 0 37px;
}
.show-details {
max-height: 200px !important;
padding: 10px 0 0 37px !important;
grid-column: 1 / 6;
}
@media screen and (max-width: 520px) {
.data-table {
margin: 10px;
}
}