Merge pull request #1246 from annando/1412-vier-new-style
New style for "vier"
This commit is contained in:
commit
e730b6f261
4 changed files with 74 additions and 3 deletions
|
@ -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(
|
||||
|
|
61
view/theme/vier/dark.css
Normal file
61
view/theme/vier/dark.css
Normal 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;
|
||||
}
|
|
@ -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;
|
||||
}
|
||||
}
|
|
@ -22,6 +22,8 @@ if ($style == "")
|
|||
|
||||
if ($style == "flat")
|
||||
$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")
|
||||
$a->page['htmlhead'] .= '<link rel="stylesheet" href="view/theme/vier/netcolour.css" type="text/css" media="screen"/>'."\n";
|
||||
else if ($style == "breathe")
|
||||
|
|
Loading…
Reference in a new issue