mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 01:03:31 +02:00
simplified clandar bar template and css (also better alignment)
git-svn-id: http://piwigo.org/svn/trunk@25232 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -318,7 +318,7 @@
|
||||
margin:0 5px;
|
||||
padding:2px 5px 0 8px;
|
||||
}
|
||||
.calItemEmpty, td.calDayCellEmpty, td.calDayCellFull {
|
||||
SPAN.calItem, td.calDayCellEmpty, td.calDayCellFull {
|
||||
border:1px solid #666;
|
||||
}
|
||||
|
||||
|
||||
@@ -72,7 +72,7 @@ A.navThumb, A.navThumb:hover {
|
||||
}
|
||||
|
||||
/*calendar elements*/
|
||||
.calItem, .calItemEmpty
|
||||
.calItem
|
||||
{
|
||||
border: 1px solid silver;
|
||||
}
|
||||
|
||||
@@ -11,13 +11,11 @@
|
||||
|
||||
{else}
|
||||
{foreach from=$bar.items item=item}
|
||||
<span class="calItem{if !isset($item.URL)}Empty{/if}"{if isset($item.NB_IMAGES)} title="{$item.NB_IMAGES|@translate_dec:'%d photo':'%d photos'}"{/if}>
|
||||
{if isset($item.URL)}
|
||||
<a href="{$item.URL}">{$item.LABEL}</a>
|
||||
{if !isset($item.URL)}
|
||||
<span class="calItem">{$item.LABEL}</span>
|
||||
{else}
|
||||
{$item.LABEL}
|
||||
<a class="calItem"{if isset($item.NB_IMAGES)} title="{$item.NB_IMAGES|@translate_dec:'%d photo':'%d photos'}"{/if} href="{$item.URL}">{$item.LABEL}</a>
|
||||
{/if}
|
||||
</span>
|
||||
{/foreach}
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
@@ -140,14 +140,13 @@
|
||||
margin: 5px 5px 0 0;
|
||||
}
|
||||
|
||||
.calItem, .calItemEmpty {
|
||||
.calItem {
|
||||
font-weight: bold;
|
||||
margin: 0 1px;
|
||||
padding: 0 1px;
|
||||
border: 1px solid gray;
|
||||
}
|
||||
|
||||
.calItem A { text-decoration:none }
|
||||
|
||||
.calendarCalBar {
|
||||
margin: 10px;
|
||||
}
|
||||
@@ -664,7 +663,7 @@ IMG.ui-datepicker-trigger {
|
||||
*/
|
||||
|
||||
/* So that non-links are slightly greyed out */
|
||||
.content .navigationBar, .calItemEmpty, TD.calDayCellEmpty {
|
||||
.content .navigationBar, SPAN.calItem, TD.calDayCellEmpty {
|
||||
color: #b0b0b0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user