aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2012-04-13 11:56:56 +0200
committerFabio Comuni <fabrix.xm@gmail.com>2012-04-13 11:56:56 +0200
commit469710893da118d9fd174d69cc47069541bafe7b (patch)
treeb8459e17e6c6a3d14d07d452fa23ee6013f57416 /view/theme
parent4496d075e50c7dd8bd3506bac5d97ed2a913ab86 (diff)
downloadvolse-hubzilla-469710893da118d9fd174d69cc47069541bafe7b.tar.gz
volse-hubzilla-469710893da118d9fd174d69cc47069541bafe7b.tar.bz2
volse-hubzilla-469710893da118d9fd174d69cc47069541bafe7b.zip
quattro: language icon in navbar
Diffstat (limited to 'view/theme')
-rw-r--r--view/theme/quattro/dark/style.css20
-rw-r--r--view/theme/quattro/green/style.css20
-rw-r--r--view/theme/quattro/icons.less3
-rw-r--r--view/theme/quattro/icons/language.pngbin0 -> 849 bytes
-rw-r--r--view/theme/quattro/nav.tpl1
-rw-r--r--view/theme/quattro/quattro.less5
-rw-r--r--view/theme/quattro/theme.php1
7 files changed, 44 insertions, 6 deletions
diff --git a/view/theme/quattro/dark/style.css b/view/theme/quattro/dark/style.css
index 469198510..1fa03b253 100644
--- a/view/theme/quattro/dark/style.css
+++ b/view/theme/quattro/dark/style.css
@@ -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;
}
@@ -121,6 +124,9 @@
.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;
}
@@ -176,6 +182,9 @@
.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;
}
@@ -231,6 +240,9 @@
.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 {
diff --git a/view/theme/quattro/green/style.css b/view/theme/quattro/green/style.css
index b4bfe05a9..317112f6f 100644
--- a/view/theme/quattro/green/style.css
+++ b/view/theme/quattro/green/style.css
@@ -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;
}
@@ -121,6 +124,9 @@
.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;
}
@@ -176,6 +182,9 @@
.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;
}
@@ -231,6 +240,9 @@
.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 {
diff --git a/view/theme/quattro/icons.less b/view/theme/quattro/icons.less
index 3688ae021..24e96b5aa 100644
--- a/view/theme/quattro/icons.less
+++ b/view/theme/quattro/icons.less
@@ -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
index 000000000..8029c0155
--- /dev/null
+++ b/view/theme/quattro/icons/language.png
Binary files differ
diff --git a/view/theme/quattro/nav.tpl b/view/theme/quattro/nav.tpl
index fb64f0a39..af1fc9414 100644
--- a/view/theme/quattro/nav.tpl
+++ b/view/theme/quattro/nav.tpl
@@ -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>
diff --git a/view/theme/quattro/quattro.less b/view/theme/quattro/quattro.less
index d17b16bcd..4c3279943 100644
--- a/view/theme/quattro/quattro.less
+++ b/view/theme/quattro/quattro.less
@@ -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 */
diff --git a/view/theme/quattro/theme.php b/view/theme/quattro/theme.php
index de2e5861e..0a13c2035 100644
--- a/view/theme/quattro/theme.php
+++ b/view/theme/quattro/theme.php
@@ -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>