From fb31f629c6c7f14bf6fd6d45f1d1ccb6ba403a7b Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Wed, 5 Apr 2017 14:12:18 +0200 Subject: update bd-dev and remove hotfix --- view/theme/redbasic/js/redbasic.js | 7 ------- 1 file changed, 7 deletions(-) (limited to 'view/theme/redbasic') diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js index fb048518e..14b977b80 100644 --- a/view/theme/redbasic/js/redbasic.js +++ b/view/theme/redbasic/js/redbasic.js @@ -3,13 +3,6 @@ */ $(document).ready(function() { - //this is a hotfix to make collapsible bs panels work again. this needs fixing in bootstrap. - $('a').on('click', function(e) { - if($(this).data('toggle') == 'collapse') { - e.preventDefault(); - } - }); - // CSS3 calc() fallback (for unsupported browsers) $('body').append(''); if( $('#css3-calc').width() == 10) { -- cgit v1.2.3 From 53853814ff338303549efbc36a49863f8781636b Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Wed, 5 Apr 2017 21:13:48 +0200 Subject: adjust font-size --- view/theme/redbasic/css/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view/theme/redbasic') diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 1e8d18269..8853a56c3 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -865,7 +865,7 @@ a .generic-icons:hover { .generic-icons-nav { - font-size: 1.2em; + font-size: 1rem; margin-right: 7px; } -- cgit v1.2.3 From a4f6c24273f5ba321b7255ec228f677483fd3fa3 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Wed, 5 Apr 2017 21:34:36 +0200 Subject: we should probably stick to 0.875rem font-size (this is equal to 14px with a default browser setting of 16px) to give 90% of the members a nice desktop experience. The font-awesome icons are only rendered clean with 14px (and multiples) fontsize. They look somewhat unfocused with 16px font-size. The font-size setting has moved to display setting -> custom theme settings. Set it to 1rem there to use the slightly taller default browser size. --- view/theme/redbasic/php/config.php | 2 +- view/theme/redbasic/php/style.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'view/theme/redbasic') diff --git a/view/theme/redbasic/php/config.php b/view/theme/redbasic/php/config.php index 042a495e5..752a02a6a 100644 --- a/view/theme/redbasic/php/config.php +++ b/view/theme/redbasic/php/config.php @@ -96,7 +96,7 @@ class RedbasicConfig { '$background_image' => array('redbasic_background_image', t('Set the background image'), $arr['background_image']), '$item_colour' => array('redbasic_item_colour', t('Set the background color of items'), $arr['item_colour']), '$comment_item_colour' => array('redbasic_comment_item_colour', t('Set the background color of comments'), $arr['comment_item_colour']), - '$font_size' => array('redbasic_font_size', t('Set font-size for the entire application'), $arr['font_size'], t('Examples: 87.5%, 14px')), + '$font_size' => array('redbasic_font_size', t('Set font-size for the entire application'), $arr['font_size'], t('Examples: 1rem, 100%, 16px')), '$font_colour' => array('redbasic_font_colour', t('Set font-color for posts and comments'), $arr['font_colour']), '$radius' => array('redbasic_radius', t('Set radius of corners'), $arr['radius'], t('Example: 4px')), '$shadow' => array('redbasic_shadow', t('Set shadow depth of photos'), $arr['shadow']), diff --git a/view/theme/redbasic/php/style.php b/view/theme/redbasic/php/style.php index ab760fdc1..a666f96f2 100644 --- a/view/theme/redbasic/php/style.php +++ b/view/theme/redbasic/php/style.php @@ -95,7 +95,7 @@ if (! $comment_item_colour) if (! $item_opacity) $item_opacity = '1'; if (! $font_size) - $font_size = '1rem'; + $font_size = '0.875rem'; if (! $font_colour) $font_colour = '#4d4d4d'; if (! $radius) -- cgit v1.2.3