This repository was archived by the owner on Sep 5, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +81
-11
lines changed Expand file tree Collapse file tree 3 files changed +81
-11
lines changed Original file line number Diff line number Diff line change
1
+ /nbproject /private /
Original file line number Diff line number Diff line change 2
2
/*
3
3
style tables
4
4
*/
5
+ table {
6
+ border-collapse : collapse;
7
+ }
8
+
5
9
table td ,
6
10
table th {
7
- padding : 5px ;
11
+ padding : 5px 8 px ;
8
12
}
9
13
10
- table tr : nth-child (even) { background-color : white; }
11
- table tr : nth-child (odd) { background-color : # f4f4f4 ; }
12
-
13
14
table th : first-child ,
14
15
table td : first-child {
15
- padding-left : 20px ;
16
+ padding-left : 8px ;
17
+ }
18
+
19
+ /*
20
+ default
21
+ */
22
+ table tr .default : nth-child (even) {
23
+ background-color : white;
24
+ }
25
+
26
+ table tr .default : nth-child (odd) {
27
+ background-color : # f4f4f4 ;
28
+ }
29
+
30
+ /*
31
+ primary
32
+ */
33
+ table tr .primary th {
34
+ border-color : # 7cbae2 ;
35
+ }
36
+
37
+ table tr .primary td {
38
+ border-color : # 7cbae2 ;
39
+ color : # 1f4259 ;
40
+ }
41
+
42
+ table tr .primary : nth-child (even) td {
43
+ background-color : # a0d3f4 ;
44
+ }
45
+
46
+ table tr .primary : nth-child (odd) td {
47
+ background-color : # 89c8f1 ;
16
48
}
17
49
18
- table tr .tr .hover : hover { background-color : # e0e0e0 ; }
19
- table tr .tr .hover span { color : # 2976c6 ; }
50
+ /*
51
+ success
52
+ */
53
+ table tr .success th {
54
+ border-color : # 80c75f ;
55
+ }
56
+
57
+ table tr .success td {
58
+ border-color : # 80c75f ;
59
+ color : # 315620 ;
60
+ }
61
+
62
+ table tr .success : nth-child (even) td {
63
+ background-color : # aaea8d ;
64
+ }
65
+
66
+ table tr .success : nth-child (odd) td {
67
+ background-color : # 8edc6b ;
68
+ }
69
+
70
+ /*
71
+ danger
72
+ */
73
+ table tr .danger th {
74
+ border-color : # d46a6a ;
75
+ }
76
+
77
+ table tr .danger td {
78
+ border-color : # d46a6a ;
79
+ color : # 542121 ;
80
+ }
81
+
82
+ table tr .danger : nth-child (even) td {
83
+ background-color : # f19f9f ;
84
+ }
85
+
86
+ table tr .danger : nth-child (odd) td {
87
+ background-color : # e37b7b ;
88
+ }
Original file line number Diff line number Diff line change 136
136
137
137
<!-- content -->
138
138
< div class ="content ">
139
- < h4 > Dashboard</ h4 >
140
139
< div class ="content-box ">
140
+ < h4 > Dashboard</ h4 >
141
141
< form >
142
142
< fieldset >
143
143
< legend > Form style</ legend >
@@ -167,7 +167,7 @@ <h4>Table style</h4>
167
167
< th > Email</ th >
168
168
< th > Action</ th >
169
169
</ tr >
170
- < tr class ="tr hover ">
170
+ < tr class ="default ">
171
171
< td > 1</ td >
172
172
< td > Root</ td >
173
173
< td > root@domain.com</ td >
@@ -177,7 +177,7 @@ <h4>Table style</h4>
177
177
< a href ="#root " class ="action-button detail "> < i class ="fa fa-search "> </ i > </ a >
178
178
</ td >
179
179
</ tr >
180
- < tr class ="tr hover ">
180
+ < tr class ="default ">
181
181
< td > 2</ td >
182
182
< td > Admin</ td >
183
183
< td > admin@domain.com</ td >
@@ -187,7 +187,7 @@ <h4>Table style</h4>
187
187
< a href ="#admin " class ="action-button detail "> < i class ="fa fa-search "> </ i > </ a >
188
188
</ td >
189
189
</ tr >
190
- < tr class ="tr hover ">
190
+ < tr class ="default ">
191
191
< td > 3</ td >
192
192
< td > User</ td >
193
193
< td > user@domain.com</ td >
You can’t perform that action at this time.
0 commit comments