]> git.mxchange.org Git - friendica.git/commitdiff
Rearrange the navigation bar on smaller windows
authorMichael Vogel <icarus@dabo.de>
Wed, 30 Sep 2015 19:59:55 +0000 (21:59 +0200)
committerMichael Vogel <icarus@dabo.de>
Wed, 30 Sep 2015 19:59:55 +0000 (21:59 +0200)
view/theme/vier/narrow.css [new file with mode: 0644]
view/theme/vier/style.php
view/theme/vier/theme.php

diff --git a/view/theme/vier/narrow.css b/view/theme/vier/narrow.css
new file mode 100644 (file)
index 0000000..09f0e2f
--- /dev/null
@@ -0,0 +1,12 @@
+#nav-user-linklabel {
+  display: none;
+}
+
+nav ul li .menu-popup {
+  left: auto;
+  right: 0px;
+}
+
+nav #search-box #search-text {
+  width: 100px;
+}
index e118d1ef0905cf77b11001f65156a11732c5fba0..72731a9bebc9843d3c7949c7a53e7a9abfe16593 100644 (file)
@@ -26,5 +26,3 @@ else if ($style == "dark")
        $stylecss = file_get_contents('view/theme/vier/dark.css');
 
 echo $stylecss;
-
-
index c52a2be82e7c69e8ed646c024af7e88781771865..af7cd0275f605f8aea8ea0ed5c11b3ad3d7ebf65 100644 (file)
@@ -20,6 +20,7 @@ $baseurl = $a->get_baseurl();
 $a->theme_info = array();
 
 $a->page['htmlhead'] .= <<< EOT
+<link rel='stylesheet' media='screen and (max-width: 1100px)' href='view/theme/vier/narrow.css' />
 <script type="text/javascript">
 
 function insertFormatting(comment,BBcode,id) {