From 469710893da118d9fd174d69cc47069541bafe7b Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Fri, 13 Apr 2012 11:56:56 +0200 Subject: [PATCH] quattro: language icon in navbar --- view/theme/quattro/dark/style.css | 20 ++++++++++++++++++-- view/theme/quattro/green/style.css | 20 ++++++++++++++++++-- view/theme/quattro/icons.less | 3 +++ view/theme/quattro/icons/language.png | Bin 0 -> 849 bytes view/theme/quattro/nav.tpl | 1 + view/theme/quattro/quattro.less | 5 +++-- view/theme/quattro/theme.php | 1 + 7 files changed, 44 insertions(+), 6 deletions(-) create mode 100644 view/theme/quattro/icons/language.png diff --git a/view/theme/quattro/dark/style.css b/view/theme/quattro/dark/style.css index 4691985102..1fa03b253c 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 b4bfe05a99..317112f6f8 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 3688ae0213..24e96b5aa5 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 0000000000000000000000000000000000000000..8029c01553836cc651835c2d57f88442cfcdfb46 GIT binary patch literal 849 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4(FKV3zQ7aSW-LlQd!S^y}~ETm1ZY z>8bYr@BVXY;{D>{<~OncRWkhlpY-DG{DS{qW^Vp(U;FRR|BsW^|5yK3zoYJI50++d zWZ3tgMNm*k;Xjc7X{)~ypI85PRNCgyax<87z~14fBp|iW6>zCZL)tMX|P%8(R2~P zvhcK3THoWI%iQIa16!MNVIwDlfxuyh$$!P`Hmnul&onx)@?4IY6 zJAWrwsm+;EKqr4udp`6$tQ=${D5x5@9kFXf{IEjv_eFU58qXPomcjZ zg&!0;KIb>`0z=2);(15*?M-j?PjvJ$n8?Ddvu^3v+z*HLC!}qu3ts2dC8*xS+&Aar zqrlK>zbcMBnERRK2G~ZY!h`ee>m~SPZB~4Lef|9DH*em2nlook-JLsk^4`3WnYE{8 z&#CJid$-2M4DrYt}Ha>iQem;Nwzdx2g54ZDA z{6lsi~7Ejqi>4TD-S#bNyQOipi%!Dzopr07;~NAOHXW literal 0 HcmV?d00001 diff --git a/view/theme/quattro/nav.tpl b/view/theme/quattro/nav.tpl index fb64f0a39a..af1fc9414e 100644 --- a/view/theme/quattro/nav.tpl +++ b/view/theme/quattro/nav.tpl @@ -92,3 +92,4 @@
  • {2} {3}
  • +
    $langselector
    diff --git a/view/theme/quattro/quattro.less b/view/theme/quattro/quattro.less index d17b16bcdc..4c3279943d 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 de2e5861e3..0a13c20351 100644 --- a/view/theme/quattro/theme.php +++ b/view/theme/quattro/theme.php @@ -1,6 +1,7 @@ * Maintainer: Fabio * Maintainer: Tobias