Skip to content

Commit 9bad2b4

Browse files
author
Gunther Klessinger
committed
arrows as text
1 parent 4ff42f6 commit 9bad2b4

File tree

1 file changed

+40
-21
lines changed

1 file changed

+40
-21
lines changed

src/lcdoc/mkdocs/lp/plugs/python/pyplugs/data_table/assets/jquery.dataTables.css

Lines changed: 40 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -115,31 +115,50 @@ table.dataTable tfoot td {
115115
padding: 10px 18px 6px 18px;
116116
border-top: 1px solid #111;
117117
}
118-
table.dataTable thead .sorting,
119-
table.dataTable thead .sorting_asc,
120-
table.dataTable thead .sorting_desc,
121-
table.dataTable thead .sorting_asc_disabled,
122-
table.dataTable thead .sorting_desc_disabled {
123-
cursor: pointer;
124-
*cursor: hand;
125-
background-repeat: no-repeat;
126-
background-position: center right;
127-
}
128-
table.dataTable thead .sorting {
129-
background-image: url("../images/sort_both.png");
130-
}
131-
table.dataTable thead .sorting_asc {
132-
background-image: url("../images/sort_asc.png") !important;
118+
table.dataTable thead .sorting:after,
119+
table.dataTable thead .sorting_asc:after,
120+
table.dataTable thead .sorting_desc:after {
121+
font-family: Arial, sans-serif;
122+
font-size: 12px;
133123
}
134-
table.dataTable thead .sorting_desc {
135-
background-image: url("../images/sort_desc.png") !important;
124+
125+
table.dataTable thead .sorting:after {
126+
content: " ↕️"; /* up-down arrow */
136127
}
137-
table.dataTable thead .sorting_asc_disabled {
138-
background-image: url("../images/sort_asc_disabled.png");
128+
129+
table.dataTable thead .sorting_asc:after {
130+
content: " ⬆️"; /* up arrow */
139131
}
140-
table.dataTable thead .sorting_desc_disabled {
141-
background-image: url("../images/sort_desc_disabled.png");
132+
133+
table.dataTable thead .sorting_desc:after {
134+
content: " ⬇️"; /* down arrow */
142135
}
136+
137+
/* table.dataTable thead .sorting, */
138+
/* table.dataTable thead .sorting_asc, */
139+
/* table.dataTable thead .sorting_desc, */
140+
/* table.dataTable thead .sorting_asc_disabled, */
141+
/* table.dataTable thead .sorting_desc_disabled { */
142+
/* cursor: pointer; */
143+
/* *cursor: hand; */
144+
/* background-repeat: no-repeat; */
145+
/* background-position: center right; */
146+
/* } */
147+
/* table.dataTable thead .sorting { */
148+
/* background-image: url("../images/sort_both.png"); */
149+
/* } */
150+
/* table.dataTable thead .sorting_asc { */
151+
/* background-image: url("../images/sort_asc.png") !important; */
152+
/* } */
153+
/* table.dataTable thead .sorting_desc { */
154+
/* background-image: url("../images/sort_desc.png") !important; */
155+
/* } */
156+
/* table.dataTable thead .sorting_asc_disabled { */
157+
/* background-image: url("../images/sort_asc_disabled.png"); */
158+
/* } */
159+
/* table.dataTable thead .sorting_desc_disabled { */
160+
/* background-image: url("../images/sort_desc_disabled.png"); */
161+
/* } */
143162
table.dataTable tbody tr {
144163
background-xcolor: #ffffff;
145164
}

0 commit comments

Comments
 (0)