Skip to content

Commit

Permalink
[#21] Tydeliggjør indikering av tabellsorteringen
Browse files Browse the repository at this point in the history
  • Loading branch information
danmichaelo committed Sep 30, 2019
1 parent d42ec1e commit cf4a9c7
Showing 1 changed file with 43 additions and 1 deletion.
44 changes: 43 additions & 1 deletion resources/sass/app.sass
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,49 @@ table.dataTable
tbody th.dt-body-nowrap, tbody td.dt-body-nowrap
white-space: nowrap

th.sorting_asc, th.sorting_desc
font-style: italic


thead


.sorting:before, .sorting_asc:before, .sorting_desc:before
opacity: 0

.sorting:after
content: "\25ba"
transform: rotate(-90deg)
font-style: normal
opacity: 0.01
transition: opacity .3s

.sorting:hover, .sorting_asc:hover, .sorting_desc:hover
color: #2771bb

.sorting:hover:after
opacity: 0.3

.sorting_asc:after
content: "\25ba"
transform: rotate(-90deg)
font-style: normal
opacity: 1
transition: transform .3s, opacity .3s

.sorting_asc:hover:after
color: #2771bb
// transform: rotate(90deg)
// opacity: 0.3
.sorting_desc:after
content: "\25ba"
transform: rotate(90deg)
font-style: normal
opacity: 1
transition: opacity .3s


div.dataTables_wrapper
> div
display: flex
Expand All @@ -201,7 +244,6 @@ div.dataTables_wrapper
label
margin-bottom: 0


/*******************************************************************
* Algolia
*******************************************************************/
Expand Down

0 comments on commit cf4a9c7

Please sign in to comment.