From: Sven Date: Wed, 3 May 2017 12:28:48 +0000 (+0200) Subject: Bug 11339: closed (add color on hover state) X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3c5f3bae6b36d87f93fc4818384583759811bc25;p=ipfire.org.git Bug 11339: closed (add color on hover state) --- diff --git a/static/css/style.css b/static/css/style.css index 4a02f28e..3007e108 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -5248,10 +5248,13 @@ a.nav-link { width: 100%; left: 0; padding: inherit; - -webkit-transition: -webkit-transform .3s ease-out; - transition: -webkit-transform .3s ease-out; - transition: transform .3s ease-out; - transition: transform .3s ease-out, -webkit-transform .3s ease-out; } + -webkit-transition: color .3s ease-out, -webkit-transform .3s ease-out; + transition: color .3s ease-out, -webkit-transform .3s ease-out; + transition: transform .3s ease-out, color .3s ease-out; + transition: transform .3s ease-out, color .3s ease-out, -webkit-transform .3s ease-out; } + +a.nav-link:hover { + color: #b71c1c; } a.nav-link:hover:after { -webkit-transform: scaleX(1); diff --git a/static/scss/style.scss b/static/scss/style.scss index 774e127b..381c145d 100644 --- a/static/scss/style.scss +++ b/static/scss/style.scss @@ -319,10 +319,14 @@ a.nav-link { width: 100%; left: 0; padding: inherit; - transition: transform .3s ease-out; + transition: transform .3s ease-out, color .3s ease-out; } } +a.nav-link:hover { + color: $red_900; +} + a.nav-link:hover:after { transform: scaleX(1); }