From 8b433c2d11036026667d3e5e9db78ef2c92fc144 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Sat, 13 Dec 2014 23:13:34 +0100 Subject: [PATCH] Vier: New style "dark" --- view/theme/vier/config.php | 3 +- view/theme/vier/dark.css | 61 ++++++++++++++++++++++++++++++++++++++ view/theme/vier/flat.css | 11 +++++-- view/theme/vier/theme.php | 2 ++ 4 files changed, 74 insertions(+), 3 deletions(-) create mode 100644 view/theme/vier/dark.css diff --git a/view/theme/vier/config.php b/view/theme/vier/config.php index 286639d285..72279daebc 100644 --- a/view/theme/vier/config.php +++ b/view/theme/vier/config.php @@ -45,7 +45,8 @@ function vier_form(&$a, $style){ "flat"=>"Flat", "netcolour"=>"Coloured Networks", "breathe"=>"Breathe", - "plus"=>"Plus" + "plus"=>"Plus", + "dark"=>"Dark" ); $t = get_markup_template("theme_settings.tpl" ); $o .= replace_macros($t, array( diff --git a/view/theme/vier/dark.css b/view/theme/vier/dark.css new file mode 100644 index 0000000000..d9e4cdb3d0 --- /dev/null +++ b/view/theme/vier/dark.css @@ -0,0 +1,61 @@ +*{ + box-shadow: 0 0 0 0 !important; + border-color: #343434 !important; +} + +hr { background-color: #343434 !important; } + +a, .wall-item-name, .fakelink { + color: #989898 !important; +} + +nav { + color: #989898 !important; + background-color: #1C2126 !important; +} + +nav .nav-notify { + background-color: #2C77AE !important +} + +a.on { + color: #FFFFFF !important; + background-color: #2C77AE !important +} + +aside, .menu-popup, .fc-state-highlight, a.off, .autocomplete { + color: #989898 !important; + background-color: #252C33 !important; + border-right: 1px solid #D2D2D2; +} + +body, section, blockquote, blockquote.shared_content, #profile-jot-form, +.dspr, .twit, .pump, .dfrn, .tread-wrapper, code, .mail-list-wrapper, div.pager, ul.tabs { + color: #989898 !important; + background-color: #171B1F !important; +} + +div.rte, .mceContentBody { +background:none repeat scroll 0 0 #333333!important; +color:#FFF!important; +text-align:left; +} + +div.pager, ul.tabs { + box-shadow: unset; + border-bottom: unset; +} + +input, option, textarea, select { + color: #989898 !important; + border: 2px solid #0C1116 !important; + background-color: #0C1116 !important; +} + +input#side-peoplefind-submit, input#side-follow-submit { + margin-top: 2px !important; +} + +li :hover { + color: #767676 !important; +} \ No newline at end of file diff --git a/view/theme/vier/flat.css b/view/theme/vier/flat.css index d71ab2177b..5e6b474390 100644 --- a/view/theme/vier/flat.css +++ b/view/theme/vier/flat.css @@ -1,4 +1,11 @@ -*{ box-shadow: 0 0 0 0 !important;} +*{ + box-shadow: 0 0 0 0 !important; + border-color: #EAEAEA !important; +} + +nav { background-color: #27333F !important; } +aside { background-color: #EAEEF4 !important } + body, section { background-color: #ffffff !important;} #profile-jot-form { background-color: #ffffff !important;} .dspr, .twit, .pump, .dfrn { background-color: #ffffff !important;} @@ -11,4 +18,4 @@ div.pager, ul.tabs { aside { border-right: 1px solid #D2D2D2; -} +} \ No newline at end of file diff --git a/view/theme/vier/theme.php b/view/theme/vier/theme.php index 6b1e4d5df8..62bbbcbf0e 100644 --- a/view/theme/vier/theme.php +++ b/view/theme/vier/theme.php @@ -22,6 +22,8 @@ if ($style == "") if ($style == "flat") $a->page['htmlhead'] .= ''."\n"; +if ($style == "dark") + $a->page['htmlhead'] .= ''."\n"; else if ($style == "netcolour") $a->page['htmlhead'] .= ''."\n"; else if ($style == "breathe") -- 2.39.5