docs header hover

This commit is contained in:
JT 2014-07-24 16:26:34 -07:00
parent 2811380bbc
commit 07ab6dd7f9
2 changed files with 32 additions and 1 deletions

View File

@ -30,7 +30,21 @@ body.page-sub{
li > a {
color: black;
}
}
}
.buttons.nav > li > a, .buttons.nav > li > a {
.transition( background-color 0.3s ease );
}
.buttons.nav > li > a:hover, .buttons.nav > li > a:focus {
background-color: black;
.transition( background-color 0.3s ease );
}
.main-links.nav > li > a:hover, .main-links.nav > li > a:focus {
color: @purple;
.transition( color 0.3s ease );
}
}
}

View File

@ -100,6 +100,23 @@ body.page-sub #header .main-links.navbar-nav {
body.page-sub #header .main-links.navbar-nav li > a {
color: black;
}
body.page-sub #header .buttons.nav > li > a,
body.page-sub #header .buttons.nav > li > a {
-webkit-transition: background-color 0.3s ease;
transition: background-color 0.3s ease;
}
body.page-sub #header .buttons.nav > li > a:hover,
body.page-sub #header .buttons.nav > li > a:focus {
background-color: black;
-webkit-transition: background-color 0.3s ease;
transition: background-color 0.3s ease;
}
body.page-sub #header .main-links.nav > li > a:hover,
body.page-sub #header .main-links.nav > li > a:focus {
color: #822ff7;
-webkit-transition: color 0.3s ease;
transition: color 0.3s ease;
}
#header {
-webkit-font-smoothing: antialiased;
position: relative;