Vier: New style "dark"

This commit is contained in:
Michael Vogel 2014-12-13 23:13:34 +01:00
parent 3d26e1d233
commit 8b433c2d11
4 changed files with 74 additions and 3 deletions

View file

@ -45,7 +45,8 @@ function vier_form(&$a, $style){
"flat"=>"Flat", "flat"=>"Flat",
"netcolour"=>"Coloured Networks", "netcolour"=>"Coloured Networks",
"breathe"=>"Breathe", "breathe"=>"Breathe",
"plus"=>"Plus" "plus"=>"Plus",
"dark"=>"Dark"
); );
$t = get_markup_template("theme_settings.tpl" ); $t = get_markup_template("theme_settings.tpl" );
$o .= replace_macros($t, array( $o .= replace_macros($t, array(

61
view/theme/vier/dark.css Normal file
View file

@ -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;
}

View file

@ -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;} body, section { background-color: #ffffff !important;}
#profile-jot-form { background-color: #ffffff !important;} #profile-jot-form { background-color: #ffffff !important;}
.dspr, .twit, .pump, .dfrn { background-color: #ffffff !important;} .dspr, .twit, .pump, .dfrn { background-color: #ffffff !important;}

View file

@ -22,6 +22,8 @@ if ($style == "")
if ($style == "flat") if ($style == "flat")
$a->page['htmlhead'] .= '<link rel="stylesheet" href="view/theme/vier/flat.css" type="text/css" media="screen"/>'."\n"; $a->page['htmlhead'] .= '<link rel="stylesheet" href="view/theme/vier/flat.css" type="text/css" media="screen"/>'."\n";
if ($style == "dark")
$a->page['htmlhead'] .= '<link rel="stylesheet" href="view/theme/vier/dark.css" type="text/css" media="screen"/>'."\n";
else if ($style == "netcolour") else if ($style == "netcolour")
$a->page['htmlhead'] .= '<link rel="stylesheet" href="view/theme/vier/netcolour.css" type="text/css" media="screen"/>'."\n"; $a->page['htmlhead'] .= '<link rel="stylesheet" href="view/theme/vier/netcolour.css" type="text/css" media="screen"/>'."\n";
else if ($style == "breathe") else if ($style == "breathe")