From 83c4c5b0950b0804a9e5777405dec9ca940fbac6 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Fri, 6 Mar 2015 14:51:11 +0100 Subject: create schema/dark.css and create a sample --- .gitignore | 2 +- view/theme/redbasic/css/style.css | 6 +++--- view/theme/redbasic/php/style.php | 2 -- view/theme/redbasic/schema/dark.css | 13 +++++++++++++ view/theme/redbasic/schema/dark.php | 2 -- 5 files changed, 17 insertions(+), 8 deletions(-) create mode 100644 view/theme/redbasic/schema/dark.css diff --git a/.gitignore b/.gitignore index 4b192fa76..8ded8b44a 100755 --- a/.gitignore +++ b/.gitignore @@ -63,4 +63,4 @@ composer.* #vendor/ # Exclude at least some vendor test files, examples, etc. vendor/sabre/*/tests/ -vendor/sabre/*/examples/ \ No newline at end of file +vendor/sabre/*/examples/ diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 2f96c6e0d..69a78f610 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -339,7 +339,7 @@ footer { margin-bottom: 10px; padding: 10px; background-color: $comment_item_colour; - border-bottom: 1px solid $widget_brdrcolour; + border-bottom: 1px solid rgba(238,238,238,0.8); -moz-border-radius: $radiuspx; -webkit-border-radius: $radiuspx; border-radius: $radiuspx; @@ -709,7 +709,7 @@ a.rateme, div.rateme { width: 100%; float: left; background-color: $comment_item_colour; - border-bottom: 1px solid $widget_brdrcolour; + border-bottom: 1px solid rgba(238,238,238,0.8); -moz-border-radius: $radiuspx; -webkit-border-radius: $radiuspx; border-radius: $radiuspx; @@ -1816,7 +1816,7 @@ img.mail-list-sender-photo { .widget { background-color: $comment_item_colour; - border-bottom: 1px solid $widget_brdrcolour; + border-bottom: 1px solid rgba(238,238,238,0.8); -moz-border-radius: $radiuspx; -webkit-border-radius: $radiuspx; border-radius: $radiuspx; diff --git a/view/theme/redbasic/php/style.php b/view/theme/redbasic/php/style.php index 7234e926f..a71ba7793 100644 --- a/view/theme/redbasic/php/style.php +++ b/view/theme/redbasic/php/style.php @@ -149,8 +149,6 @@ if(! $a->install) { $selected_active_colour = "#444"; if (! $selected_active_deco) $selected_active_deco = "none"; - if (! $widget_brdrcolour) - $widget_brdrcolour = "rgba(238,238,238,0.8)"; if (! $blockquote_colour) $blockquote_colour = "#4d4d4d"; if (! $blockquote_bgcolour) diff --git a/view/theme/redbasic/schema/dark.css b/view/theme/redbasic/schema/dark.css new file mode 100644 index 000000000..853cd35a3 --- /dev/null +++ b/view/theme/redbasic/schema/dark.css @@ -0,0 +1,13 @@ +.vcard { + border-bottom: 1px solid #333; +} + +#contact-block { + border-bottom: 1px solid #333; +} + +.widget { + border-bottom: 1px solid #333; +} + + diff --git a/view/theme/redbasic/schema/dark.php b/view/theme/redbasic/schema/dark.php index 0203d30cd..3f462a311 100644 --- a/view/theme/redbasic/schema/dark.php +++ b/view/theme/redbasic/schema/dark.php @@ -64,8 +64,6 @@ $toolicon_activecolour = '#fff'; if (! $font_colour) $font_colour = "#ccc"; - if (! $widget_brdrcolour) - $widget_brdrcolour = "#333"; if (! $blockquote_colour) $blockquote_colour = "#ccc"; if (! $blockquote_bgcolour) -- cgit v1.2.3