From b225cf4cf532e5b7632dca261573464e48a52229 Mon Sep 17 00:00:00 2001 From: Tom Mortimer-Jones Date: Wed, 17 Jun 2015 15:29:00 +0100 Subject: [PATCH] Allow link underline and hover link underline to differ --- src/definitions/globals/site.less | 1 + src/themes/default/globals/site.variables | 1 + src/themes/flat/globals/site.variables | 1 + src/themes/material/globals/site.variables | 1 + 4 files changed, 4 insertions(+) diff --git a/src/definitions/globals/site.less b/src/definitions/globals/site.less index a5827ecca..3e2275a6e 100755 --- a/src/definitions/globals/site.less +++ b/src/definitions/globals/site.less @@ -122,6 +122,7 @@ a { } a:hover { color: @linkHoverColor; + text-decoration: @linkHoverUnderline; } /******************************* diff --git a/src/themes/default/globals/site.variables b/src/themes/default/globals/site.variables index 0b7a9a611..a708bfa1a 100644 --- a/src/themes/default/globals/site.variables +++ b/src/themes/default/globals/site.variables @@ -103,6 +103,7 @@ @linkColor : #4183C4; @linkUnderline : none; @linkHoverColor : darken(saturate(@linkColor, 10), 5); +@linkHoverUnderline : @linkUnderline; /*------------------- Highlighted Text diff --git a/src/themes/flat/globals/site.variables b/src/themes/flat/globals/site.variables index 781c4b34a..90e7c878d 100644 --- a/src/themes/flat/globals/site.variables +++ b/src/themes/flat/globals/site.variables @@ -63,6 +63,7 @@ @linkColor : #009FDA; @linkUnderline : none; @linkHoverColor : lighten( @linkColor, 5); +@linkHoverUnderline : @linkUnderline; @highlightBackground : #FFFFCC; @highlightColor : @textColor; diff --git a/src/themes/material/globals/site.variables b/src/themes/material/globals/site.variables index 998b20887..d15d7e0fd 100644 --- a/src/themes/material/globals/site.variables +++ b/src/themes/material/globals/site.variables @@ -102,6 +102,7 @@ @linkColor : #009FDA; @linkUnderline : none; @linkHoverColor : lighten(@linkColor, 5); +@linkHoverUnderline : @linkUnderline; /*------------------- Highlighted Text