Skip to content

Commit 09bfdd0

Browse files
styles cleanup & optimizations
1 parent 45c1cb0 commit 09bfdd0

File tree

1 file changed

+3
-155
lines changed

1 file changed

+3
-155
lines changed

source/css/LightPivot.css

Lines changed: 3 additions & 155 deletions
Original file line numberDiff line numberDiff line change
@@ -22,103 +22,6 @@
2222
display: table;
2323
}
2424

25-
.lpt .backButton {
26-
width: 14px;
27-
height: 14px;
28-
top: 1px;
29-
padding: 2px;
30-
vertical-align: bottom;
31-
display: inline-block;
32-
position: relative;
33-
}
34-
35-
.lpt .backButton:before, .lpt .backButton:after {
36-
background: #333;
37-
border-radius: 0.25em;
38-
content: "";
39-
display: block;
40-
height: 0.25em;
41-
position: absolute;
42-
left: 0;
43-
top: 50%;
44-
width: .8em;
45-
transition: background .4s ease;
46-
}
47-
48-
.lpt .backButton:before{
49-
-moz-transform: rotate(45deg);
50-
-ms-transform: rotate(45deg);
51-
-o-transform: rotate(45deg);
52-
-webkit-transform: rotate(45deg);
53-
transform: rotate(45deg)
54-
}
55-
56-
.lpt .backButton:after{
57-
-moz-transform: rotate(-45deg);
58-
-ms-transform: rotate(-45deg);
59-
-o-transform: rotate(-45deg);
60-
-webkit-transform: rotate(-45deg);
61-
transform: rotate(-45deg)
62-
}
63-
64-
.lpt .backButton:after {
65-
margin-top: -.36em;
66-
}
67-
68-
.lpt .backButton:hover:before,.lpt .backButton:hover:after {
69-
background: #FF9B47;
70-
}
71-
72-
/*.lpt table tr:first-child th:first-child {*/
73-
/*position: relative;*/
74-
/*white-space: nowrap;*/
75-
/*vertical-align: bottom;*/
76-
/*}*/
77-
78-
.lpt .drillDownIcon {
79-
position: relative;
80-
display: inline-block;
81-
vertical-align: bottom;
82-
width: 15px;
83-
height: 14px;
84-
border: 2px solid #000000;
85-
border-radius: 4px;
86-
margin-right: .3em;
87-
transition: all .4s ease;
88-
}
89-
90-
.lpt .drillDownIcon:hover {
91-
background: #FFEEAA;
92-
border-color: #FF9B47;
93-
}
94-
95-
.lpt .drillDownIcon:after {
96-
content: "";
97-
width: 10px;
98-
height: 2px;
99-
background-color: #000000;
100-
border-radius: 4px;
101-
position: absolute;
102-
top: 2px;
103-
left: 2px;
104-
box-shadow: 0 8px 0 #000000;
105-
}
106-
107-
.lpt .drillDownIcon:before {
108-
content: "";
109-
width: 8px;
110-
height: 2px;
111-
background-color: #000000;
112-
border-radius: 4px;
113-
position: absolute;
114-
top: 6px;
115-
left: 2px;
116-
}
117-
118-
.lpt .drillDownIcon:hover:before {
119-
background-color: #FF9B47;
120-
}
121-
12225
.lpt .central > div {
12326
display: table-cell;
12427
vertical-align: middle;
@@ -134,13 +37,6 @@
13437
width: 100%;
13538
}
13639

137-
/*.lpt .fixedHeader {*/
138-
/*position: absolute;*/
139-
/*left: 0;*/
140-
/*top: 0;*/
141-
/*background: white;*/
142-
/*}*/
143-
14440
.lpt > .tableContainer {
14541
position: absolute;
14642
overflow: hidden;
@@ -152,52 +48,6 @@
15248
transition: left .5s ease;
15349
}
15450

155-
/*.lpt > .tableContainer > table {*/
156-
/*min-width: 100%;*/
157-
/*}*/
158-
159-
/*.lpt > .tableContainer td, .lpt > .tableContainer th {*/
160-
/*border-radius: 3px;*/
161-
/*padding: .4em;*/
162-
/*}*/
163-
164-
/*.lpt > .tableContainer tbody.fixedHeader th:last-child:hover {*/
165-
/*background: #FFEEAA;*/
166-
/*box-shadow: inset 0 0 15px #FFFFFF;*/
167-
/*}*/
168-
169-
/*.lpt th {*/
170-
/*background: #F0F0F0;*/
171-
/*text-align: left;*/
172-
/*font-weight: bold;*/
173-
/*box-shadow: inset 0 -5px 10px rgb(216, 216, 216);*/
174-
/*}*/
175-
176-
/*.lpt thead tr:last-child th {*/
177-
/*cursor: pointer;*/
178-
/*-webkit-transition: all .3s ease;*/
179-
/*-moz-transition: all .3s ease;*/
180-
/*-o-transition: all .3s ease;*/
181-
/*transition: all .3s ease;*/
182-
/*}*/
183-
184-
/*.lpt thead tr:last-child th:first-child ~ th:hover {*/
185-
/*background: #e2c8ff;*/
186-
/*background: #FFEEAA;*/
187-
/*box-shadow: inset 0 0 15px #FFFFFF;*/
188-
/*}*/
189-
190-
/*.lpt td {*/
191-
/*background: #E1E8FF;*/
192-
/*background: #FFFFFF;*/
193-
/*box-shadow: inset 0 0 2px rgb(216, 216, 216);*/
194-
/*text-align: right;*/
195-
/*-webkit-transition: all .3s ease;*/
196-
/*-moz-transition: all .3s ease;*/
197-
/*-o-transition: all .3s ease;*/
198-
/*transition: all .3s ease;*/
199-
/*}*/
200-
20151
.lpt tr:hover td {
20252
background: #FFF7D7;
20353
}
@@ -220,6 +70,8 @@
22070
background: #F0F0F0;
22171
}
22272

73+
/* back button */
74+
22375
.lpt .lpt-headerValue.back:hover {
22476
cursor: pointer;
22577
background: #FFF7D7;
@@ -229,7 +81,7 @@
22981
font-weight: bold;
23082
}
23183

232-
/* new */
84+
/* table */
23385
.lpt .lpt-tableBlock table {
23486
table-layout: fixed;
23587
}
@@ -257,15 +109,11 @@
257109
z-index: 2;
258110
box-shadow: 0 0 0 1px rgb(208, 208, 208);
259111
white-space: nowrap;
260-
/*width: 100px;*/
261112
}
262113

263114
.lpt .lpt-topHeader {
264115
position: relative;
265116
overflow: hidden;
266-
/*z-index: 1;*/
267-
/*box-shadow: 0 0 0 1px rgb(208, 208, 208);*/
268-
/*margin-left: 100px;*/
269117
}
270118

271119
.lpt .lpt-leftHeader {

0 commit comments

Comments
 (0)