Merge pull request #3154 from Icinga/bugfix/themes-2.5.0

Update themes for 2.5.0
This commit is contained in:
lippserd 2017-11-27 16:04:24 +01:00 committed by GitHub
commit 9c3d6a3b6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 86 additions and 18 deletions

View File

@ -38,3 +38,23 @@
50% {background-position: 500px 500px, 100px 200px, -100px 150px;}
100% {background-position: 500px 1000px, 200px 400px, -100px 300px;}
}
#menu .nav-level-2 > .nav-item.active {
> a:focus, > a:hover {
opacity: 1;
}
}
#menu ul.nav-level-1 > .nav-item {
&:focus, &:hover {
background-image: url('../img/winter/snow1.png'), url('../img/winter/snow2.png'), url('../img/winter/snow3.png');
-webkit-animation: snow 10s linear infinite;
-moz-animation: snow 10s linear infinite;
-ms-animation: snow 10s linear infinite;
animation: snow 10s linear infinite;
}
> a:hover, > a:focus {
color: white;
}
}

View File

@ -16,6 +16,34 @@
@text-color: #191919;
@text-color-light: #555555;
@menu-highlight-color: white;
@menu-2ndlvl-color: white;
@menu-2ndlvl-highlight-color: white;
#menu ul.nav-level-1 > .nav-item > a {
&:focus, &:hover {
text-decoration: underline;
}
}
#menu .nav-level-2 > .nav-item.active {
background-color: black;
> a:focus, > a:hover {
opacity: 1;
}
}
#menu .nav-level-2 > .nav-item > a {
&:hover, &:focus {
text-decoration: underline;
}
}
#menu .active > a {
text-decoration: underline;
}
.badge {
background-color: @text-color-light;
}
@ -50,15 +78,6 @@
}
}
#menu a:hover {
color: @body-bg-color;
background-color: @icinga-blue;
}
#menu .active > a {
text-decoration: underline;
}
.boxview a:focus {
color: @text-color;
text-decoration: underline;

View File

@ -111,18 +111,47 @@ textarea {
}
#menu {
a:hover {
color: @body-bg-color;
background-color: @base1;
}
background-color: @base02;
input.search {
background-image: url(../img/icons/search_icinga_blue.png);
color: @text-color;
background-image: url(../img/icons/search_white.png);
&:focus {
background-image: url(../img/icons/search_white.png) !important;
}
}
.active > a {
color: @text-color-on-icinga-blue;
background-color: @base01;
.nav-level-1 > .nav-item {
color: @text-color;
&.active, &:hover {
color: @text-color;
background-color: @base00;
}
}
.nav-level-2 > .nav-item {
color: @text-color;
background-color: @base03;
&.active, &:hover {
a {
color: @text-color;
}
background-color: @base00;
}
}
.nav-itemxx{
&:hover,
&:hover > a,
&.active,
&.active > a {
color: @text-color !important;
//background-color: @base01 !important;
}
}
}