Vier: Option to switch between shadow style and flat style.

This commit is contained in:
Michael Vogel 2014-02-22 15:48:57 +01:00
parent 608d5255ec
commit f663676cca
2 changed files with 8 additions and 0 deletions

View file

@ -1219,6 +1219,10 @@ border-bottom: 1px solid #D2D2D2;
.type-link .oembed {
}
.type-link img + br{
display: none;
}
.wall-item-container .wall-item-content {
/* font-size: 14px; */
max-width: 660px;

View file

@ -15,6 +15,10 @@ $baseurl = $a->get_baseurl();
$a->theme_info = array();
$style = get_pconfig(local_user(), 'vier', 'style');
if ($style == "flat")
$a->page['htmlhead'] .= '<link rel="stylesheet" href="view/theme/vier/flat.css" type="text/css" media="screen"/>'."\n";
$a->page['htmlhead'] .= <<< EOT
<script type="text/javascript" src="$baseurl/view/theme/vier/js/jquery.divgrow-1.3.1.f1.min.js"></script>
<script>