Browse Source

Merge pull request #2416 from morty/hover-underline

Allow link underline and hover link underline to differ
flex-list
Jack Lukic 9 years ago
parent
commit
a606f4e0b6
4 changed files with 4 additions and 0 deletions
  1. 1
      src/definitions/globals/site.less
  2. 1
      src/themes/default/globals/site.variables
  3. 1
      src/themes/flat/globals/site.variables
  4. 1
      src/themes/material/globals/site.variables

1
src/definitions/globals/site.less

@ -122,6 +122,7 @@ a {
} }
a:hover { a:hover {
color: @linkHoverColor; color: @linkHoverColor;
text-decoration: @linkHoverUnderline;
} }
/******************************* /*******************************

1
src/themes/default/globals/site.variables

@ -103,6 +103,7 @@
@linkColor : #4183C4; @linkColor : #4183C4;
@linkUnderline : none; @linkUnderline : none;
@linkHoverColor : darken(saturate(@linkColor, 10), 5); @linkHoverColor : darken(saturate(@linkColor, 10), 5);
@linkHoverUnderline : @linkUnderline;
/*------------------- /*-------------------
Highlighted Text Highlighted Text

1
src/themes/flat/globals/site.variables

@ -63,6 +63,7 @@
@linkColor : #009FDA; @linkColor : #009FDA;
@linkUnderline : none; @linkUnderline : none;
@linkHoverColor : lighten( @linkColor, 5); @linkHoverColor : lighten( @linkColor, 5);
@linkHoverUnderline : @linkUnderline;
@highlightBackground : #FFFFCC; @highlightBackground : #FFFFCC;
@highlightColor : @textColor; @highlightColor : @textColor;

1
src/themes/material/globals/site.variables

@ -102,6 +102,7 @@
@linkColor : #009FDA; @linkColor : #009FDA;
@linkUnderline : none; @linkUnderline : none;
@linkHoverColor : lighten(@linkColor, 5); @linkHoverColor : lighten(@linkColor, 5);
@linkHoverUnderline : @linkUnderline;
/*------------------- /*-------------------
Highlighted Text Highlighted Text

Loading…
Cancel
Save