-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcustom.css
91 lines (78 loc) · 1.62 KB
/
custom.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
.b-example {
width: 100%;
height: 20px;
float: left;
margin: auto;
border-radius: 5px;
background: #3366FF;
}
.text-centered {
text-align: center;
}
.text-right {
text-align: right;
}
.padding-top {
padding-left: 50px;
}
.one-px {
width: 1px;
}
/* dont wrap text in table cell */
td {
white-space: nowrap;
}
/* add column borders */
table {
border: none;
border-collapse: collapse;
}
table td {
border-left: 2px solid #fff
}
table td:first-child, table td:nth-child(2) {
border-left: none;
background-color: transparent !important;
}
/*table td:first-child {
border-left: none;
}*/
/* no row top/bottom borders */
.table th, .table td {
border-top: none !important;
border-bottom: none !important;
}
/* table row colors */
.table-striped > tbody > tr:nth-child(odd) > td, .table-striped > tbody > tr:nth-child(odd) > th {
background-color: #e9e9e9;
}
.table-striped > tbody > tr:nth-child(even) > td, .table-striped > tbody > tr:nth-child(even) > th {
background-color: #f9f9f9;
}
/* reduce padding of table */
.table>thead>tr>th, .table>tbody>tr>th, .table>tfoot>tr>th, .table>thead>tr>td, .table>tbody>tr>td, .table>tfoot>tr>td {
padding: 4px;
}
/* reduce margin of heading */
h4 {
margin: 2px;
}
/* rotation of th */
th.rotate {
/* Something you can count on */
height: 140px;
white-space: nowrap;
}
th.rotate > div {
transform:
/* Magic Numbers */
translateY(-5px)
translateX(7px)
/* 45 is really 360 - 45 */
rotate(315deg);
width: 30px;
}
th.rotate > div > span {
border-bottom: 1px solid #ccc;
padding: 5px 10px;
}