From 563163523d740213d941c6f2fc16344fbf88ec25 Mon Sep 17 00:00:00 2001 From: Jeroen Date: Tue, 7 Oct 2014 21:48:42 +0000 Subject: Schema option for making links bold again. https://redmatrix.nl/display/d09d1cd2dbc45866beb9c0d384c9dcefe799d1251e3394d12ddb2e34d2c26228@red.mariovavti.com --- view/theme/redbasic/css/style.css | 1 + view/theme/redbasic/php/style.php | 3 +++ view/theme/redbasic/schema/dark.php | 2 ++ view/theme/redbasic/schema/simple_black_on_white.php | 2 ++ view/theme/redbasic/schema/simple_green_on_black.php | 2 ++ view/theme/redbasic/schema/simple_white_on_black.php | 2 ++ 6 files changed, 12 insertions(+) (limited to 'view') diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 29c034ac8..fd9139c11 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -62,6 +62,7 @@ abbr { } a, a:visited, a:link, .fakelink, .fakelink:visited, .fakelink:link { + font-weight: $link_font_weight; color: $link_colour; text-decoration: none; } diff --git a/view/theme/redbasic/php/style.php b/view/theme/redbasic/php/style.php index edf77cb0b..4c998ce59 100644 --- a/view/theme/redbasic/php/style.php +++ b/view/theme/redbasic/php/style.php @@ -109,6 +109,8 @@ if(! $a->install) { $navtabs_bgchover = "rgba(238,238,238,0.8)"; if (! $link_colour) $link_colour = "#428BCA"; + if (! $link_font_weight) + $link_font_weight = "normal"; if (! $banner_colour) $banner_colour = "#fff"; if (! $search_background) @@ -321,6 +323,7 @@ $options = array ( '$navtabs_bgchover' => $navtabs_bgchover, '$navtabs_decohover' => $navtabs_decohover, '$link_colour' => $link_colour, +'$link_font_weight' => $link_font_weight, '$banner_colour' => $banner_colour, '$search_background' => $search_background, '$bgcolour' => $bgcolour, diff --git a/view/theme/redbasic/schema/dark.php b/view/theme/redbasic/schema/dark.php index 27648f9fa..2e00b8617 100644 --- a/view/theme/redbasic/schema/dark.php +++ b/view/theme/redbasic/schema/dark.php @@ -36,6 +36,8 @@ $navtabs_decohover = "underline"; if (! $link_colour) $link_colour = "#fff"; + if (! $link_font_weight) + $link_font_weight = "bold"; if (! $selected_active_colour) $selected_active_colour = "#fff"; if (! $selected_active_deco) diff --git a/view/theme/redbasic/schema/simple_black_on_white.php b/view/theme/redbasic/schema/simple_black_on_white.php index cdd85a129..33e8458aa 100644 --- a/view/theme/redbasic/schema/simple_black_on_white.php +++ b/view/theme/redbasic/schema/simple_black_on_white.php @@ -36,6 +36,8 @@ $navtabs_decohover = "underline"; if (! $link_colour) $link_colour = "#000"; + if (! $link_font_weight) + $link_font_weight = "bold"; if (! $selected_active_colour) $selected_active_colour = "#000"; if (! $selected_active_deco) diff --git a/view/theme/redbasic/schema/simple_green_on_black.php b/view/theme/redbasic/schema/simple_green_on_black.php index 3a1ea9134..bfe804237 100644 --- a/view/theme/redbasic/schema/simple_green_on_black.php +++ b/view/theme/redbasic/schema/simple_green_on_black.php @@ -36,6 +36,8 @@ $navtabs_decohover = "underline"; if (! $link_colour) $link_colour = "#50f148"; + if (! $link_font_weight) + $link_font_weight = "bold"; if (! $selected_active_colour) $selected_active_colour = "#50f148"; if (! $selected_active_deco) diff --git a/view/theme/redbasic/schema/simple_white_on_black.php b/view/theme/redbasic/schema/simple_white_on_black.php index 74d133038..53477d01b 100644 --- a/view/theme/redbasic/schema/simple_white_on_black.php +++ b/view/theme/redbasic/schema/simple_white_on_black.php @@ -36,6 +36,8 @@ $navtabs_decohover = "underline"; if (! $link_colour) $link_colour = "#fff"; + if (! $link_font_weight) + $link_font_weight = "bold"; if (! $selected_active_colour) $selected_active_colour = "#fff"; if (! $selected_active_deco) -- cgit v1.2.3