From f663676cca64639202a76b599a1932c9de45f6fa Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Sat, 22 Feb 2014 15:48:57 +0100 Subject: [PATCH] Vier: Option to switch between shadow style and flat style. --- view/theme/vier/style.css | 4 ++++ view/theme/vier/theme.php | 4 ++++ 2 files changed, 8 insertions(+) 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