quattro: language icon in navbar

This commit is contained in:
Fabio Comuni 2012-04-13 11:56:56 +02:00
parent 4496d075e5
commit 469710893d
7 changed files with 44 additions and 6 deletions

View File

@ -66,6 +66,9 @@
.icon.s10.type-text { .icon.s10.type-text {
background-image: url("../../../images/icons/10/text.png"); background-image: url("../../../images/icons/10/text.png");
} }
.icon.s10.language {
background-image: url("icons/language.png");
}
.icon.s10.text { .icon.s10.text {
padding: 2px 0px 0px 15px; padding: 2px 0px 0px 15px;
} }
@ -121,6 +124,9 @@
.icon.s16.type-text { .icon.s16.type-text {
background-image: url("../../../images/icons/16/text.png"); background-image: url("../../../images/icons/16/text.png");
} }
.icon.s16.language {
background-image: url("icons/language.png");
}
.icon.s16.text { .icon.s16.text {
padding: 4px 0px 0px 20px; padding: 4px 0px 0px 20px;
} }
@ -176,6 +182,9 @@
.icon.s22.type-text { .icon.s22.type-text {
background-image: url("../../../images/icons/22/text.png"); background-image: url("../../../images/icons/22/text.png");
} }
.icon.s22.language {
background-image: url("icons/language.png");
}
.icon.s22.text { .icon.s22.text {
padding: 10px 0px 0px 25px; padding: 10px 0px 0px 25px;
} }
@ -231,6 +240,9 @@
.icon.s48.type-text { .icon.s48.type-text {
background-image: url("../../../images/icons/48/text.png"); background-image: url("../../../images/icons/48/text.png");
} }
.icon.s48.language {
background-image: url("icons/language.png");
}
/* global */ /* global */
body { body {
font-family: Liberation Sans, helvetica, arial, clean, sans-serif; font-family: Liberation Sans, helvetica, arial, clean, sans-serif;
@ -1630,13 +1642,17 @@ ul.tabs li .active {
transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out;
} }
/* theme screenshot */ /* theme screenshot */
.screenshot { .screenshot,
#theme-preview {
position: absolute; position: absolute;
width: 202px;
left: 70%; left: 70%;
top: 50px; top: 50px;
} }
.screenshot img { .screenshot img,
#theme-preview img {
width: 200px; width: 200px;
height: 150px;
} }
/* page footer */ /* page footer */
footer { footer {

View File

@ -66,6 +66,9 @@
.icon.s10.type-text { .icon.s10.type-text {
background-image: url("../../../images/icons/10/text.png"); background-image: url("../../../images/icons/10/text.png");
} }
.icon.s10.language {
background-image: url("icons/language.png");
}
.icon.s10.text { .icon.s10.text {
padding: 2px 0px 0px 15px; padding: 2px 0px 0px 15px;
} }
@ -121,6 +124,9 @@
.icon.s16.type-text { .icon.s16.type-text {
background-image: url("../../../images/icons/16/text.png"); background-image: url("../../../images/icons/16/text.png");
} }
.icon.s16.language {
background-image: url("icons/language.png");
}
.icon.s16.text { .icon.s16.text {
padding: 4px 0px 0px 20px; padding: 4px 0px 0px 20px;
} }
@ -176,6 +182,9 @@
.icon.s22.type-text { .icon.s22.type-text {
background-image: url("../../../images/icons/22/text.png"); background-image: url("../../../images/icons/22/text.png");
} }
.icon.s22.language {
background-image: url("icons/language.png");
}
.icon.s22.text { .icon.s22.text {
padding: 10px 0px 0px 25px; padding: 10px 0px 0px 25px;
} }
@ -231,6 +240,9 @@
.icon.s48.type-text { .icon.s48.type-text {
background-image: url("../../../images/icons/48/text.png"); background-image: url("../../../images/icons/48/text.png");
} }
.icon.s48.language {
background-image: url("icons/language.png");
}
/* global */ /* global */
body { body {
font-family: Liberation Sans, helvetica, arial, clean, sans-serif; font-family: Liberation Sans, helvetica, arial, clean, sans-serif;
@ -1630,13 +1642,17 @@ ul.tabs li .active {
transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out;
} }
/* theme screenshot */ /* theme screenshot */
.screenshot { .screenshot,
#theme-preview {
position: absolute; position: absolute;
width: 202px;
left: 70%; left: 70%;
top: 50px; top: 50px;
} }
.screenshot img { .screenshot img,
#theme-preview img {
width: 200px; width: 200px;
height: 150px;
} }
/* page footer */ /* page footer */
footer { footer {

View File

@ -19,6 +19,9 @@
&.type-video{ background-image: url("../../../images/icons/@{size}/video.png"); } &.type-video{ background-image: url("../../../images/icons/@{size}/video.png"); }
&.type-image{ background-image: url("../../../images/icons/@{size}/image.png"); } &.type-image{ background-image: url("../../../images/icons/@{size}/image.png"); }
&.type-text { background-image: url("../../../images/icons/@{size}/text.png"); } &.type-text { background-image: url("../../../images/icons/@{size}/text.png"); }
&.language { background-image: url("icons/language.png"); }
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 849 B

View File

@ -92,3 +92,4 @@
<li><a href="{0}"><img src="{1}">{2} <span class="notif-when">{3}</span></a></li> <li><a href="{0}"><img src="{1}">{2} <span class="notif-when">{3}</span></a></li>
</ul> </ul>
<div style="position: fixed; top: 3px; left: 5px; z-index:9999">$langselector</div>

View File

@ -1136,11 +1136,12 @@ ul.tabs {
} }
/* theme screenshot */ /* theme screenshot */
.screenshot { .screenshot, #theme-preview {
position: absolute; position: absolute;
width:202px;
left: 70%; left: 70%;
top: 50px; top: 50px;
img { width: 200px; } img { width: 200px; height: 150px; }
} }
/* page footer */ /* page footer */

View File

@ -1,6 +1,7 @@
<?php <?php
/** /**
* Name: Quattro * Name: Quattro
* Version: 0.5
* Author: Fabio <http://kirgroup.com/profile/fabrixxm> * Author: Fabio <http://kirgroup.com/profile/fabrixxm>
* Maintainer: Fabio <http://kirgroup.com/profile/fabrixxm> * Maintainer: Fabio <http://kirgroup.com/profile/fabrixxm>
* Maintainer: Tobias <https://diekershoff.homeunix.net/friendika/profile/tobias> * Maintainer: Tobias <https://diekershoff.homeunix.net/friendika/profile/tobias>