From: Michael Vogel Date: Sat, 22 Feb 2014 14:48:57 +0000 (+0100) Subject: Vier: Option to switch between shadow style and flat style. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f663676cca64639202a76b599a1932c9de45f6fa;p=friendica.git Vier: Option to switch between shadow style and flat style. --- diff --git a/view/theme/vier/style.css b/view/theme/vier/style.css index a368af2226..87944a8614 100644 --- a/view/theme/vier/style.css +++ b/view/theme/vier/style.css @@ -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; diff --git a/view/theme/vier/theme.php b/view/theme/vier/theme.php index db343d1277..ece90facea 100644 --- a/view/theme/vier/theme.php +++ b/view/theme/vier/theme.php @@ -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'] .= ''."\n"; + $a->page['htmlhead'] .= <<< EOT