From 81747382abe4a3fb928dc3368aa2d249f2bc0167 Mon Sep 17 00:00:00 2001 From: Sven Date: Wed, 3 May 2017 14:28:48 +0200 Subject: [PATCH] Bug 11339: closed (add color on hover state) --- static/css/style.css | 11 +++++++---- static/scss/style.scss | 6 +++++- 2 files changed, 12 insertions(+), 5 deletions(-) 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); } -- 2.47.3