]> git.ipfire.org Git - ipfire.org.git/commitdiff
Bug 11339: closed (add color on hover state)
authorSven <sven.hoehn@posteo.de>
Wed, 3 May 2017 12:28:48 +0000 (14:28 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 25 Apr 2018 10:12:39 +0000 (12:12 +0200)
static/css/style.css
static/scss/style.scss

index 4a02f28e0269cd08f8a4a77e000e7ca6e135009c..3007e10883a5ee3f935385533862b3a2b4174ee5 100644 (file)
@@ -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);
index 774e127bd1ad7b40c9a6276603f6190a7cd3491d..381c145d9c9d30ec21b9e39fac343bae831a190f 100644 (file)
@@ -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);
 }