Skip to content

Commit

Permalink
Tabs: Beautify tabs hover
Browse files Browse the repository at this point in the history
  • Loading branch information
flourish86 committed Nov 13, 2019
1 parent 435c8b1 commit 64f80d8
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions public/css/icinga/tabs.less
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,24 @@
}

.tabs > li {
margin-right: 0.5em;
&:not(:last-child) {
margin-right: 0.5em;
}

> a {
color: @body-bg-color;

&:hover {
text-decoration: none;
background: rgba(0,0,0,.1);
}
}

&.active > a,
> a:focus {
background-color: @body-bg-color;
color: @text-color;
}

&:last-child {
margin-right: 0;
}
}

.tabs > .dropdown-nav-item > a,
Expand Down

0 comments on commit 64f80d8

Please sign in to comment.