From 3726d092e72bfe1eceda205e38848a04fede9b09 Mon Sep 17 00:00:00 2001 From: JT Date: Thu, 24 Jul 2014 18:40:31 -0700 Subject: [PATCH] transition nav hover on mouse out --- website/source/stylesheets/_header.less | 2 ++ website/source/stylesheets/main.css | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/website/source/stylesheets/_header.less b/website/source/stylesheets/_header.less index b97c48994..416306d3e 100755 --- a/website/source/stylesheets/_header.less +++ b/website/source/stylesheets/_header.less @@ -29,6 +29,7 @@ body.page-sub{ float: left !important; li > a { color: black; + .transition( color 0.3s ease ); } } @@ -99,6 +100,7 @@ body.page-sub{ text-transform: uppercase; letter-spacing: 3px; padding-left: 22px; + .transition( color 0.3s ease ); } &.first{ diff --git a/website/source/stylesheets/main.css b/website/source/stylesheets/main.css index 967805407..9369639d9 100644 --- a/website/source/stylesheets/main.css +++ b/website/source/stylesheets/main.css @@ -99,6 +99,8 @@ body.page-sub #header .main-links.navbar-nav { } body.page-sub #header .main-links.navbar-nav li > a { color: black; + -webkit-transition: color 0.3s ease; + transition: color 0.3s ease; } body.page-sub #header .buttons.nav > li > a, body.page-sub #header .buttons.nav > li > a { @@ -171,6 +173,8 @@ body.page-sub #header .main-links.nav > li > a:focus { text-transform: uppercase; letter-spacing: 3px; padding-left: 22px; + -webkit-transition: color 0.3s ease; + transition: color 0.3s ease; } #header .navbar-nav li.first > a { padding-left: 15px;