Skip to content
Snippets Groups Projects
Commit bb1eec95 authored by Julian's avatar Julian
Browse files

Add arrows via css

parent 514877b1
No related branches found
No related tags found
1 merge request!465Resolve "CSS arrows for django-tables2 materialize"
Pipeline #5528 passed
......@@ -387,6 +387,50 @@ table.striped > tbody > tr:nth-child(odd), table tr.striped, table tbody.striped
background-color: rgba(208, 208, 208, 0.5);
}
th.orderable > a {
color: rgba(0, 0, 0, 0.6);
display: block;
width: inherit;
height: inherit;
}
th.orderable > a::after {
@extend i.material-icons;
font-family: 'Material Icons';
font-weight: normal;
font-style: normal;
font-size: 24px;
display: inline-block;
line-height: 1;
text-transform: none;
letter-spacing: normal;
word-wrap: normal;
white-space: nowrap;
direction: ltr;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
-moz-osx-font-smoothing: grayscale;
font-feature-settings: 'liga';
float: right;
content: "unfold_more";
}
th.orderable.asc > a {
color: inherit;
&::after {
content: "expand_less";
}
}
th.orderable.desc > a {
color: inherit;
&::after {
content: "expand_more";
}
}
/*+++++++*/
/* Print */
/*+++++++*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment