highlight active menu item

This commit is contained in:
Peter Pfeufer
2020-10-02 20:12:21 +02:00
parent d0c68b82f4
commit edda2c248e
2 changed files with 68 additions and 48 deletions

View File

@@ -53,22 +53,34 @@ ul.list-group.list-group-horizontal > li.list-group-item {
.table-aa > thead > tr > th{
border-bottom: 1px solid #f2f2f2;
}
.table-aa > thead > tr > th{
.table-aa > thead > tr > th{
vertical-align: middle;
}
.table-aa > tbody > tr > td{
border-bottom: 1px solid #f2f2f2;
}
.table-aa > tbody > tr > td {
.table-aa > tbody > tr > td {
vertical-align: middle;
}
.table-aa > tbody > tr:last-child {
.table-aa > tbody > tr:last-child {
border-bottom: none;
}
/* highlight active menu items
--------------------------------------------------------------------------------------------------------------------- */
@media all {
.template-light-mode .nav-pills > li > a.active {
background-color: rgb(236, 240, 241);
}
.template-dark-mode .nav-pills > li > a.active {
background-color: rgb(48, 48, 48);
}
}
/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
/* class for vertically aligning columns in a bootstrap row */
.row.vertical-flexbox-row2 {
display: -webkit-box;
@@ -77,7 +89,7 @@ ul.list-group.list-group-horizontal > li.list-group-item {
display: flex;
flex-wrap: wrap;
}
.row.vertical-flexbox-row2 > [class*='col-'] {
display: flex;
flex-direction: column;
@@ -89,4 +101,4 @@ ul.list-group.list-group-horizontal > li.list-group-item {
.button-wrapper .btn {
margin-bottom:5px;
}
}
}