Skip to content
Snippets Groups Projects
Commit 66942d31 authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Merge branch '358-css-arrows-for-django-tables2-materialize' into 'master'

Resolve "CSS arrows for django-tables2 materialize"

Closes #358

See merge request !465
parents 514877b1 bb1eec95
No related branches found
No related tags found
1 merge request!465Resolve "CSS arrows for django-tables2 materialize"
Pipeline #5529 passed
...@@ -387,6 +387,50 @@ table.striped > tbody > tr:nth-child(odd), table tr.striped, table tbody.striped ...@@ -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); 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 */ /* 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