aboutsummaryrefslogtreecommitdiffstats
path: root/themes/smartpocket
diff options
context:
space:
mode:
authorflop25 <flop25@piwigo.org>2013-12-30 19:18:13 +0000
committerflop25 <flop25@piwigo.org>2013-12-30 19:18:13 +0000
commite6806fd13af4bc6469bac95af34d682495e6c3c4 (patch)
treef2a10356c68b47065fa619637fbda84a8ef3afb4 /themes/smartpocket
parent86c09698e14f7a9cd17fcbdcf668c94b96cfca13 (diff)
smartpocket :
fix logout/login msg set menu elements as collapsible and as an accordion too top menu elements blue picture centered "Thumbnails" text hidden (too big) git-svn-id: http://piwigo.org/svn/trunk@26362 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--themes/smartpocket/template/menubar.tpl2
-rw-r--r--themes/smartpocket/template/menubar_identification.tpl2
-rw-r--r--themes/smartpocket/template/picture.tpl2
-rw-r--r--themes/smartpocket/template/picture_nav_buttons.tpl2
-rw-r--r--themes/smartpocket/theme.css10
5 files changed, 15 insertions, 3 deletions
diff --git a/themes/smartpocket/template/menubar.tpl b/themes/smartpocket/template/menubar.tpl
index 5929146e6..dded4611f 100644
--- a/themes/smartpocket/template/menubar.tpl
+++ b/themes/smartpocket/template/menubar.tpl
@@ -2,6 +2,7 @@
<li data-icon="delete"><a href="#menubar" data-rel="close">{'Close'|@translate}</a></li>
</ul>
{if !empty($blocks) }
+<div data-role="collapsible-set" data-inset="false">
{foreach from=$blocks key=id item=block}
<div data-role="collapsible" data-inset="false" data-icon="false">
{if not empty($block->template)}
@@ -12,6 +13,7 @@
{/if}
</div>
{/foreach}
+</div>
{/if}
<br>
<ul data-role="listview">
diff --git a/themes/smartpocket/template/menubar_identification.tpl b/themes/smartpocket/template/menubar_identification.tpl
index 47539c8bf..256aa77fc 100644
--- a/themes/smartpocket/template/menubar_identification.tpl
+++ b/themes/smartpocket/template/menubar_identification.tpl
@@ -1,7 +1,7 @@
<h3>{'Identification'|@translate}</h3>
<ul data-role="listview">
{if isset($U_REGISTER)}<li><a href="{$U_REGISTER}">{'Register'|@translate}</a></li>{/if}
- {if isset($U_LOGIN)}<li><a href="{$U_LOGIN}">{'Logout'|@translate}</a></li>{/if}
+ {if isset($U_LOGIN)}<li><a href="{$U_LOGIN}">{'Login'|@translate}</a></li>{/if}
{if isset($U_LOGOUT)}<li><a href="{$U_LOGOUT}">{'Logout'|@translate}</a></li>{/if}
{if isset($U_PROFILE)}<li><a href="{$U_PROFILE}">{'Customize'|@translate}</a></li>{/if}
{if isset($U_ADMIN)}<li><a href="{$U_ADMIN}">{'Administration'|@translate}</a></li>{/if}
diff --git a/themes/smartpocket/template/picture.tpl b/themes/smartpocket/template/picture.tpl
index d37c9b0fb..164aae15e 100644
--- a/themes/smartpocket/template/picture.tpl
+++ b/themes/smartpocket/template/picture.tpl
@@ -1,7 +1,7 @@
{if isset($errors) or not empty($infos)}
{include file='infos_errors.tpl'}
{/if}
-<div data-role="content">
+<div data-role="content" id="picture_page">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">{$SECTION_TITLE}<span class="browsePathSeparator">{$LEVEL_SEPARATOR}</span>{$current.TITLE}</li>
</ul>
diff --git a/themes/smartpocket/template/picture_nav_buttons.tpl b/themes/smartpocket/template/picture_nav_buttons.tpl
index 035003a59..c18427f26 100644
--- a/themes/smartpocket/template/picture_nav_buttons.tpl
+++ b/themes/smartpocket/template/picture_nav_buttons.tpl
@@ -4,7 +4,7 @@
<a href="{$previous.U_IMG}" rel="prev" data-role="button" data-icon="arrow-l" data-iconpos="notext" data-inline="true">{'Previous'|@translate}</a>
{/if}
{if isset($U_UP) and !isset($slideshow)}
- <a href="{$U_UP}" rel="prev" data-role="button" data-icon="arrow-u" data-inline="true">{'Thumbnails'|@translate}</a>
+ <a href="{$U_UP}" rel="prev" data-role="button" data-icon="arrow-u" data-iconpos="notext" data-inline="true">data-iconpos="notext"</a>
{/if}
{if isset($next)}
<a href="{$next.U_IMG}" rel="next" data-role="button" data-icon="arrow-r" data-iconpos="notext" data-iconpos="right" data-inline="true">{'Next'|@translate}</a>
diff --git a/themes/smartpocket/theme.css b/themes/smartpocket/theme.css
index 25d968a4e..8ef740fd9 100644
--- a/themes/smartpocket/theme.css
+++ b/themes/smartpocket/theme.css
@@ -39,6 +39,10 @@
.ui-panel-inner > .ui-listview {
margin: -15px -15px 0;
}
+#menubar .ui-collapsible-heading-toggle.ui-btn-up-a {
+ background:linear-gradient(#6FACD5, #497BAE) repeat scroll 0 0 #5E87B0;
+}
+
.ui-li-desc {
text-overflow: clip;
white-space: normal;
@@ -48,4 +52,10 @@
}
#PictureInfo * {
font-size: 1em;
+}
+#addComment textarea.ui-input-text {
+ min-height: 100px;
+}
+#picture_page {
+ text-align: center;
} \ No newline at end of file