From 522fc138e1da23a5763dc94e8b0b67256f476501 Mon Sep 17 00:00:00 2001 From: Silke Pisulla Date: Tue, 3 Jan 2017 11:42:09 +0100 Subject: [PATCH] link-hover added --- css/base.less | 34 +++++++++++++++++++--------------- lang/de/lang.php | 6 ++++-- lang/en/lang.php | 2 ++ style.ini | 5 ++++- 4 files changed, 29 insertions(+), 18 deletions(-) diff --git a/css/base.less b/css/base.less index c7df3a4..5494a9c 100755 --- a/css/base.less +++ b/css/base.less @@ -9,28 +9,36 @@ /* converted vars */ /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ -@height-context-bar: 50px; +@background_page-header: __background_page-header__; -@border-radius: __default_border_radius__; +@border-radius: __default_border_radius__; -@font_family_screen: __font_family_screen__; +@font_family_screen: __font_family_screen__; -@color-border: __border__; -@color-nav: __nav_menu_color__; -@color-nav-hover: __nav_menu_hover_color__; -@color-nav-hover-bg: __nav_menu_hover_bg__; +@color-text: __text__; +@color-border: __border__; +@color-nav: __nav_menu_color__; +@color-nav-hover: __nav_menu_hover_color__; +@color-nav-hover-bg: __nav_menu_hover_bg__; -@color-content-bg: __background_content__; -@color-site-bg: __background_site__; +@color-content-bg: __background_content__; +@color-site-bg: __background_site__; -@color-link: __existing__; +@color-link: __existing__; +@color-link-hover: @color-nav; + +@box-shadow-offset: __box_shadow_offset__; +@box-shadow: __box_shadow__; +@box-shadow-colored: __box_shadow_colored__; /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ /* global vars */ /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ -@margin-small: .5rem; +@height-context-bar: 50px; + +@margin-small: 1rem; @margin-default: 1.5rem; @margin-big: 2.5rem; @@ -120,10 +128,6 @@ @grid-columns: 12; -@box-shadow-offset: __box_shadow_offset__; -@box-shadow: __box_shadow__; -@box-shadow-colored:__box_shadow_colored__; - /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ /* all media */ /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ diff --git a/lang/de/lang.php b/lang/de/lang.php index 6adf305..ca6d504 100755 --- a/lang/de/lang.php +++ b/lang/de/lang.php @@ -29,8 +29,10 @@ $lang['tasks_page_none'] = 'keine offenen Aufgaben für diese Seite'; $lang['discussion'] = 'Diskussion'; $lang['back_to_article'] = 'Zurück zum Artikel'; $lang['userpage'] = 'Benutzer-Seite'; -$lang['__existing__'] = 'The color for links to existing pages'; -$lang['__missing__'] = 'The color for links to non-existing pages'; +$lang['__existing__'] = 'Schriftfarbe für Links zu vorhandenen Webseiten'; +$lang['__existing-hover__'] = 'Hoverfarbe für Links zu vorhandenen Webseiten'; +$lang['__missing__'] = 'Schriftfarbe für Links zu nicht vorhandenen Webseiten'; +$lang['__missing-hover__'] = 'Hoverfarbe für Links zu nicht vorhandenen Webseiten'; $lang['__site_width__'] = 'The width of the full site (can be any length unit: %, px, em, ...)'; $lang['__sidebar_width__'] = 'The width of the sidebar, if any (can be any length unit: %, px, em, ...)'; diff --git a/lang/en/lang.php b/lang/en/lang.php index 4442633..e257b33 100755 --- a/lang/en/lang.php +++ b/lang/en/lang.php @@ -30,6 +30,8 @@ $lang['discussion'] = 'Discussion'; $lang['back_to_article'] = 'Back to article'; $lang['userpage'] = 'User page'; $lang['__existing__'] = 'The color for links to existing pages'; +$lang['__existing-hover__'] = 'The hover-color for links to existing pages'; $lang['__missing__'] = 'The color for links to non-existing pages'; +$lang['__missing-hover__'] = 'The hover-color for links to non-existing pages'; $lang['__site_width__'] = 'The width of the full site (can be any length unit: %, px, em, ...)'; $lang['__sidebar_width__'] = 'The width of the sidebar, if any (can be any length unit: %, px, em, ...)'; diff --git a/style.ini b/style.ini index efdc09d..5ca0d54 100755 --- a/style.ini +++ b/style.ini @@ -121,8 +121,10 @@ __highlight__ = "#efefef" ; @ini_highlight ; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ; these are used for links -__existing__ = "#286da8" ; @ini_existing +__existing__ = "#286DA8" ; @ini_existing +__existing-hover__ = "#286DA8" __missing__ = "#CD5360" ; @ini_missing +__missing-hover__ = "#CD5360" ; widths __site_width__ = "64em" ; @ini_site_width @@ -146,3 +148,4 @@ __background_site__ = "#ECECEC" __default_border_radius__ = "5px" +__background_page-header__ = "#F9F9F9"