Bootstrap table adapter

This commit is contained in:
Tony Air 2019-12-03 00:45:03 +07:00
parent 5fe5bc3a95
commit 576acc8d94
2 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,39 @@
@import "~bootstrap-table/src/bootstrap-table.scss";
.bootstrap-table {
.fixed-table-container {
.table {
thead th {
.both, .asc, .desc {
background-image: none;
&:after {
margin-left: .5em;
content: '';
font-family: "Font Awesome 5 Free";
font-weight: 900;
}
}
.asc:after {
content: "\f0de";
}
.desc:after {
content: "\f0dd";
}
.both:after {
content: "\f0dc";
}
.th-inner.sortable {
&:hover,
&:focus {
opacity: .8;
}
}
}
}
}
}

View File

@ -33,6 +33,14 @@ a:focus,
}
}
// exclude bootstrap-table
[data-toggle="table"] {
&:hover,
&:focus {
opacity: 1;
}
}
[data-toggle="collapse"] {
&[aria-expanded="true"] {
.accordion-icon {