]> git.mxchange.org Git - friendica.git/commitdiff
quattro: language icon in navbar
authorFabio Comuni <fabrix.xm@gmail.com>
Fri, 13 Apr 2012 09:56:56 +0000 (11:56 +0200)
committerFabio Comuni <fabrix.xm@gmail.com>
Fri, 13 Apr 2012 09:56:56 +0000 (11:56 +0200)
view/theme/quattro/dark/style.css
view/theme/quattro/green/style.css
view/theme/quattro/icons.less
view/theme/quattro/icons/language.png [new file with mode: 0644]
view/theme/quattro/nav.tpl
view/theme/quattro/quattro.less
view/theme/quattro/theme.php

index 4691985102f212feb6053333794251d8bed9fb56..1fa03b253ce2c5c7a971b11592a42a4b56cfe69e 100644 (file)
@@ -66,6 +66,9 @@
 .icon.s10.type-text {
   background-image: url("../../../images/icons/10/text.png");
 }
+.icon.s10.language {
+  background-image: url("icons/language.png");
+}
 .icon.s10.text {
   padding: 2px 0px 0px 15px;
 }
 .icon.s16.type-text {
   background-image: url("../../../images/icons/16/text.png");
 }
+.icon.s16.language {
+  background-image: url("icons/language.png");
+}
 .icon.s16.text {
   padding: 4px 0px 0px 20px;
 }
 .icon.s22.type-text {
   background-image: url("../../../images/icons/22/text.png");
 }
+.icon.s22.language {
+  background-image: url("icons/language.png");
+}
 .icon.s22.text {
   padding: 10px 0px 0px 25px;
 }
 .icon.s48.type-text {
   background-image: url("../../../images/icons/48/text.png");
 }
+.icon.s48.language {
+  background-image: url("icons/language.png");
+}
 /* global */
 body {
   font-family: Liberation Sans, helvetica, arial, clean, sans-serif;
@@ -1630,13 +1642,17 @@ ul.tabs li .active {
   transition: all 0.2s ease-in-out;
 }
 /* theme screenshot */
-.screenshot {
+.screenshot,
+#theme-preview {
   position: absolute;
+  width: 202px;
   left: 70%;
   top: 50px;
 }
-.screenshot img {
+.screenshot img,
+#theme-preview img {
   width: 200px;
+  height: 150px;
 }
 /* page footer */
 footer {
index b4bfe05a992a990ef2d91bfcc725902798c109a2..317112f6f88c6d4209702146f50e925c041ba3b3 100644 (file)
@@ -66,6 +66,9 @@
 .icon.s10.type-text {
   background-image: url("../../../images/icons/10/text.png");
 }
+.icon.s10.language {
+  background-image: url("icons/language.png");
+}
 .icon.s10.text {
   padding: 2px 0px 0px 15px;
 }
 .icon.s16.type-text {
   background-image: url("../../../images/icons/16/text.png");
 }
+.icon.s16.language {
+  background-image: url("icons/language.png");
+}
 .icon.s16.text {
   padding: 4px 0px 0px 20px;
 }
 .icon.s22.type-text {
   background-image: url("../../../images/icons/22/text.png");
 }
+.icon.s22.language {
+  background-image: url("icons/language.png");
+}
 .icon.s22.text {
   padding: 10px 0px 0px 25px;
 }
 .icon.s48.type-text {
   background-image: url("../../../images/icons/48/text.png");
 }
+.icon.s48.language {
+  background-image: url("icons/language.png");
+}
 /* global */
 body {
   font-family: Liberation Sans, helvetica, arial, clean, sans-serif;
@@ -1630,13 +1642,17 @@ ul.tabs li .active {
   transition: all 0.2s ease-in-out;
 }
 /* theme screenshot */
-.screenshot {
+.screenshot,
+#theme-preview {
   position: absolute;
+  width: 202px;
   left: 70%;
   top: 50px;
 }
-.screenshot img {
+.screenshot img,
+#theme-preview img {
   width: 200px;
+  height: 150px;
 }
 /* page footer */
 footer {
index 3688ae02130d67889cfcf25ae16f236124cffbed..24e96b5aa5fce0d7582f20339a06e6540b837472 100644 (file)
@@ -19,6 +19,9 @@
        &.type-video{ background-image: url("../../../images/icons/@{size}/video.png"); }
        &.type-image{ background-image: url("../../../images/icons/@{size}/image.png"); }
        &.type-text     { background-image: url("../../../images/icons/@{size}/text.png"); }
+
+       &.language      { background-image: url("icons/language.png"); }
+       
        
 }
 
diff --git a/view/theme/quattro/icons/language.png b/view/theme/quattro/icons/language.png
new file mode 100644 (file)
index 0000000..8029c01
Binary files /dev/null and b/view/theme/quattro/icons/language.png differ
index fb64f0a39a23074e2a1b5fbbff6a899868e6983d..af1fc9414e85f774f34c75a8e58f29348f6303e9 100644 (file)
@@ -92,3 +92,4 @@
        <li><a href="{0}"><img src="{1}">{2} <span class="notif-when">{3}</span></a></li>
 </ul>
 
+<div style="position: fixed; top: 3px; left: 5px; z-index:9999">$langselector</div>
index d17b16bcdc73b3e52f64609c9dd7a45bcc9577d1..4c3279943db3c718795240b26e943cf3ca3e51c9 100644 (file)
@@ -1136,11 +1136,12 @@ ul.tabs {
 }
 
 /* theme screenshot */
-.screenshot {
+.screenshot, #theme-preview {
        position: absolute;
+       width:202px;
        left: 70%;
        top: 50px;
-       img { width: 200px; }
+       img { width: 200px; height: 150px; }
 }
 
 /* page footer */
index de2e5861e3006c0f933d317c0ba1771f86f26756..0a13c20351b6d40f6b0ed4b7bd33648278578063 100644 (file)
@@ -1,6 +1,7 @@
 <?php
 /**
  * Name: Quattro
+ * Version: 0.5
  * Author: Fabio <http://kirgroup.com/profile/fabrixxm>
  * Maintainer: Fabio <http://kirgroup.com/profile/fabrixxm>
  * Maintainer: Tobias <https://diekershoff.homeunix.net/friendika/profile/tobias>