]> git.mxchange.org Git - friendica.git/commitdiff
Vier: Option to switch between shadow style and flat style.
authorMichael Vogel <icarus@dabo.de>
Sat, 22 Feb 2014 14:48:57 +0000 (15:48 +0100)
committerMichael Vogel <icarus@dabo.de>
Sat, 22 Feb 2014 14:48:57 +0000 (15:48 +0100)
view/theme/vier/style.css
view/theme/vier/theme.php

index a368af2226c3f101a6113bd3dae7dc28c4e645c9..87944a8614d27e10d2a7a911c6c6978ed7c347a7 100644 (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;
index db343d12776208ac9c8bd2291b6fbba66f36a13f..ece90faceaf745ec3117a8a14e889c4e044cf3ee 100644 (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>