Merge pull request #1017 from silke/vier-border-radius

Vier border radius
This commit is contained in:
Tobias Diekershoff 2014-06-15 08:33:43 +02:00
commit f23f6ca9c6
3 changed files with 91 additions and 1 deletions

View file

@ -0,0 +1,87 @@
/* "Breathe" style for friendica theme "Vier"
* silke june 2014 */
body {
background-color: #eeeeee !important;
}
#live-network {
border-bottom: none !important;
}
code {
border: none;
border-radius: 5px;
}
header #banner a,
header #banner a:active,
header #banner a:visited,
header #banner a:link,
header #banner a:hover {
color: #737373;
}
nav {
background: #eeeeee;
}
nav .icon {
color: #737373;
}
nav a:active,
nav a:visited,
nav a:link,
nav a {
color: #737373;
}
nav #search-box #search-text {
border-radius: 5px;
}
nav .nav-menu.selected {
border-bottom: 3px solid #737373;
}
ul.menu-popup {
border: 1px solid #364e59;
border-radius: 5px;
}
.tread-wrapper {
border-radius: 10px;
}
.wall-item-comment-wrapper textarea {
border-radius: 5px;
}
#profile-jot-form {
border-radius: 10px;
}
#profile-jot-form #profile-jot-text {
border-radius: 5px;
}
ul.tabs a {
border-radius: 5px;
}
#birthday-notice, #event-notice {
border-radius: 5px;
}
div.pager, .birthday-notice, .comment-edit-submit-wrapper .fakelink {
border-radius: 5px;
}
.vevent {
border-radius: 5px;
}
.mail-list-wrapper {
border-radius: 5px;
}

View file

@ -40,7 +40,8 @@ function vier_form(&$a, $style){
$styles = array( $styles = array(
"shadow"=>"Shadow", "shadow"=>"Shadow",
"flat"=>"Flat", "flat"=>"Flat",
"netcolour"=>"Coloured Networks" "netcolour"=>"Coloured Networks",
"breathe"=>"Breathe"
); );
$t = get_markup_template("theme_settings.tpl" ); $t = get_markup_template("theme_settings.tpl" );
$o .= replace_macros($t, array( $o .= replace_macros($t, array(

View file

@ -20,6 +20,8 @@ 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";
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")
$a->page['htmlhead'] .= '<link rel="stylesheet" href="view/theme/vier/breathe.css" type="text/css" media="screen"/>'."\n";
$a->page['htmlhead'] .= <<< EOT $a->page['htmlhead'] .= <<< EOT
<script type="text/javascript" src="$baseurl/view/theme/vier/js/jquery.divgrow-1.3.1.f1.min.js"></script> <script type="text/javascript" src="$baseurl/view/theme/vier/js/jquery.divgrow-1.3.1.f1.min.js"></script>