diff options
author | jeroenpraat <jeroenpraat@xs4all.nl> | 2014-05-02 17:59:02 +0000 |
---|---|---|
committer | jeroenpraat <jeroenpraat@xs4all.nl> | 2014-05-02 17:59:02 +0000 |
commit | f9d2a5f621fd9fc83d3d2668393f86c6a30fc477 (patch) | |
tree | 4219a1036ec40424ee44ec96ef31038e6d5e4e9f /view/theme/redbasic | |
parent | 3612cdac1a0b6a0435f705abcfd1112784175954 (diff) | |
download | volse-hubzilla-f9d2a5f621fd9fc83d3d2668393f86c6a30fc477.tar.gz volse-hubzilla-f9d2a5f621fd9fc83d3d2668393f86c6a30fc477.tar.bz2 volse-hubzilla-f9d2a5f621fd9fc83d3d2668393f86c6a30fc477.zip |
Dark schema: last bits. From now on, only updates.
Diffstat (limited to 'view/theme/redbasic')
-rw-r--r-- | view/theme/redbasic/css/style.css | 8 | ||||
-rw-r--r-- | view/theme/redbasic/php/style.php | 12 | ||||
-rw-r--r-- | view/theme/redbasic/schema/dark.php | 10 |
3 files changed, 28 insertions, 2 deletions
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 274ec50bc..ff051d673 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -100,6 +100,12 @@ code { max-width: 80%; } +pre { + background: $pre_bgcolour; + color: $pre_txtcolour; + border:1px solid $pre_borderc; +} + blockquote { background-color: $blockquote_bgcolour; border-left: 4px solid $blockquote_bordercolour; @@ -146,7 +152,7 @@ header { .info-message { font-size: 1.1em; border: 1px solid #444; - background-color: #F0F0F0; + background-color: $infomess_bgcolour; padding: 10px; -moz-border-radius: $radiuspx; border-radius: $radiuspx; diff --git a/view/theme/redbasic/php/style.php b/view/theme/redbasic/php/style.php index 998dfea32..ffae179e3 100644 --- a/view/theme/redbasic/php/style.php +++ b/view/theme/redbasic/php/style.php @@ -153,6 +153,12 @@ if(! $a->install) { $code_bgcolour = "#EEE"; if (! $code_txtcolour) $code_txtcolour = "#444"; + if (! $pre_borderc) + $pre_borderc = "#ccc"; + if (! $pre_bgcolour) + $pre_bgcolour = "#F5F5F5"; + if (! $pre_txtcolour) + $pre_txtcolour = "#333"; if (! $notif_itemcolour) $notif_itemcolour = "#000"; if (! $notif_itemhovercolour) @@ -224,6 +230,8 @@ if(! $a->install) { $comment_indent = '0px'; if(! $reply_photo) $reply_photo = '32px'; + if(! $infomess_bgcolour) + $infomess_bgcolour = "#F0F0F0"; if($nav_min_opacity === false || $nav_min_opacity === '') { $nav_float_min_opacity = 1.0; $nav_percent_min_opacity = 100; @@ -281,6 +289,9 @@ $options = array ( '$code_borderc' => $code_borderc, '$code_bgcolour' => $code_bgcolour, '$code_txtcolour' => $code_txtcolour, +'$pre_borderc' => $pre_borderc, +'$pre_bgcolour' => $pre_bgcolour, +'$pre_txtcolour' => $pre_txtcolour, '$notif_itemcolour' => $notif_itemcolour, '$notif_itemhovercolour' => $notif_itemhovercolour, '$editbuttons_bgcolour' => $editbuttons_bgcolour, @@ -317,6 +328,7 @@ $options = array ( '$nav_percent_min_opacity' => $nav_percent_min_opacity, '$top_photo' => $top_photo, '$reply_photo' => $reply_photo, +'$infomess_bgcolour' => $infomess_bgcolour, '$pmenu_top' => $pmenu_top, '$pmenu_reply' => $pmenu_reply, '$wwtop' => $wwtop, diff --git a/view/theme/redbasic/schema/dark.php b/view/theme/redbasic/schema/dark.php index c22a9a1e3..a90fe8367 100644 --- a/view/theme/redbasic/schema/dark.php +++ b/view/theme/redbasic/schema/dark.php @@ -71,7 +71,13 @@ if (! $code_bgcolour) $code_bgcolour = "#000"; if (! $code_txtcolour) - $code_txtcolour = "#fff"; + $code_txtcolour = "#bbb"; + if (! $pre_borderc) + $pre_borderc = "#090909"; + if (! $pre_bgcolour) + $pre_bgcolour = "#000"; + if (! $pre_txtcolour) + $pre_txtcolour = "#bbb"; if (! $item_bordercolour) $item_bordercolour = "#333"; if (! $notif_itemcolour) @@ -130,3 +136,5 @@ $aclbutton_linkcolour = "color: #fff;"; if (! $abookself_bgcolour) $abookself_bgcolour = "#251111"; + if(! $infomess_bgcolour) + $infomess_bgcolour = "#333"; |