-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsortable.scss
More file actions
22 lines (20 loc) · 1.03 KB
/
Copy pathsortable.scss
File metadata and controls
22 lines (20 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
.sortable-button {
background-color: transparent;
background-repeat: no-repeat;
background-position: right center;
background-size: 0.875rem;
border: none;
font: inherit;
margin: 0;
padding: 0 1.25rem 0 0;
}
.sortable-sorted-ascending {
> .sortable-button {
background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-arrow-down" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M8 1a.5.5 0 0 1 .5.5v11.793l3.146-3.147a.5.5 0 0 1 .708.708l-4 4a.5.5 0 0 1-.708 0l-4-4a.5.5 0 0 1 .708-.708L7.5 13.293V1.5A.5.5 0 0 1 8 1"/></svg>');
}
}
.sortable-sorted-descending {
> .sortable-button {
background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-arrow-up" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M8 15a.5.5 0 0 0 .5-.5V2.707l3.146 3.147a.5.5 0 0 0 .708-.708l-4-4a.5.5 0 0 0-.708 0l-4 4a.5.5 0 1 0 .708.708L7.5 2.707V14.5a.5.5 0 0 0 .5.5"/></svg>');
}
}