@sulzanoks/vue-datatable 0.3.3 → 0.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/Sass/Style.scss +32 -9
package/package.json
CHANGED
package/src/Sass/Style.scss
CHANGED
|
@@ -131,30 +131,53 @@ table.dataTable tfoot td {
|
|
|
131
131
|
padding: 10px 18px 6px 18px;
|
|
132
132
|
border-top: 1px solid #111;
|
|
133
133
|
}
|
|
134
|
+
/* Extra space on sortable headers so text doesn't overlap the icon */
|
|
135
|
+
table.dataTable thead > tr > th.sorting,
|
|
136
|
+
table.dataTable thead > tr > th.sorting_asc,
|
|
137
|
+
table.dataTable thead > tr > th.sorting_desc,
|
|
138
|
+
table.dataTable thead > tr > th.sorting_asc_disabled,
|
|
139
|
+
table.dataTable thead > tr > th.sorting_desc_disabled,
|
|
140
|
+
table.dataTable thead > tr > td.sorting,
|
|
141
|
+
table.dataTable thead > tr > td.sorting_asc,
|
|
142
|
+
table.dataTable thead > tr > td.sorting_desc,
|
|
143
|
+
table.dataTable thead > tr > td.sorting_asc_disabled,
|
|
144
|
+
table.dataTable thead > tr > td.sorting_desc_disabled {
|
|
145
|
+
padding-right: 30px;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
/* Base sorting header style */
|
|
134
149
|
table.dataTable thead .sorting,
|
|
135
150
|
table.dataTable thead .sorting_asc,
|
|
136
151
|
table.dataTable thead .sorting_desc,
|
|
137
152
|
table.dataTable thead .sorting_asc_disabled,
|
|
138
153
|
table.dataTable thead .sorting_desc_disabled {
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
background-position: center right;
|
|
154
|
+
cursor: pointer;
|
|
155
|
+
background-repeat: no-repeat;
|
|
156
|
+
background-position: center right;
|
|
143
157
|
}
|
|
158
|
+
/* Neutral (sortable) icon */
|
|
144
159
|
table.dataTable thead .sorting {
|
|
145
|
-
|
|
160
|
+
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAAkElEQVQoz7XQMQ5AQBCF4dWQSJxC5wwax1Cq1e7BAdxD5SL+Tq/QCM1oNiJidwox0355mXnG/DrEtIQ6azioNZQxI0ykPhTQIwhCR+BmBYtlK7kLJYwWCcJA9M4qdrZrd8pPjZWPtOqdRQy320YSV17OatFC4euts6z39GYMKRPCTKY9UnPQ6P+GtMRfGtPnBCiqhAeJPmkqAAAAAElFTkSuQmCC");
|
|
146
161
|
}
|
|
162
|
+
|
|
163
|
+
/* Ascending icon */
|
|
147
164
|
table.dataTable thead .sorting_asc {
|
|
148
|
-
|
|
165
|
+
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAAZ0lEQVQ4y2NgGLKgquEuFxBPAGI2ahhWCsS/gDibUoO0gPgxEP8H4ttArEyuQYxAPBdqEAxPBImTY5gjEL9DM+wTENuQahAvEO9DMwiGdwAxOymGJQLxTyD+jgWDxCMZRsEoGAVoAADeemwtPcZI2wAAAABJRU5ErkJggg==") !important;
|
|
149
166
|
}
|
|
167
|
+
|
|
168
|
+
/* Descending icon */
|
|
150
169
|
table.dataTable thead .sorting_desc {
|
|
151
|
-
|
|
170
|
+
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAAZUlEQVQ4y2NgGAWjYBSggaqGu5FA/BOIv2PBIPFEUgxjB+IdQPwfC94HxLykus4GiD+hGfQOiB3J8SojEE9EM2wuSJzcsFMG4ttQgx4DsRalkZENxL+AuJQaMcsGxBOAmGvopk8AVz1sLZgg0bsAAAAASUVORK5CYII=") !important;
|
|
152
171
|
}
|
|
172
|
+
|
|
173
|
+
/* Disabled ascending icon */
|
|
153
174
|
table.dataTable thead .sorting_asc_disabled {
|
|
154
|
-
|
|
175
|
+
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAAWUlEQVQoz2NgGAWDCtyJvPPzznc4/HknEbsy9js77vyHw313eHGZZ3PnE1TRuzuOuK1lvDMRqmzuHUZ87lO+cxuo6PEdLUIeyb7z604pYf+y3Zlwh4u2YQoAc7ZCBHH4jigAAAAASUVORK5CYII=");
|
|
155
176
|
}
|
|
177
|
+
|
|
178
|
+
/* Disabled descending icon */
|
|
156
179
|
table.dataTable thead .sorting_desc_disabled {
|
|
157
|
-
|
|
180
|
+
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAAW0lEQVQoz2NgoCm4w3Vnwh02wspK7/y6k01Ikdadx3f+37l9RxmfIsY7c4GKQHDiHUbcyhzvvIMq+3THBpci3jv7oIpAcMcdduzKEu/8vPMdDn/eiWQYBYMKAAC3ykIEuYQJUgAAAABJRU5ErkJggg==");
|
|
158
181
|
}
|
|
159
182
|
table.dataTable tbody tr {
|
|
160
183
|
background-color: #ffffff;
|