Changeset 25232


Ignore:
Timestamp:
Oct 30, 2013, 7:35:08 AM (10 years ago)
Author:
rvelices
Message:

simplified clandar bar template and css (also better alignment)

Location:
trunk/themes
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/themes/Sylvia/theme.css

    r20982 r25232  
    319319        padding:2px 5px 0 8px;
    320320}
    321 .calItemEmpty, td.calDayCellEmpty, td.calDayCellFull {
     321SPAN.calItem, td.calDayCellEmpty, td.calDayCellFull {
    322322        border:1px solid #666;
    323323}
  • trunk/themes/clear/theme.css

    r14084 r25232  
    7373
    7474/*calendar elements*/
    75 .calItem, .calItemEmpty
     75.calItem
    7676{
    7777  border: 1px solid silver;
  • trunk/themes/default/template/month_calendar.tpl

    r24831 r25232  
    1212        {else}
    1313                {foreach from=$bar.items item=item}
    14                 <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}>
    15                 {if isset($item.URL)}
    16                 <a href="{$item.URL}">{$item.LABEL}</a>
     14                {if !isset($item.URL)}
     15                <span class="calItem">{$item.LABEL}</span>
    1716                {else}
    18                 {$item.LABEL}
     17                <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>
    1918                {/if}
    20                 </span>
    2119                {/foreach}
    2220        {/if}
  • trunk/themes/default/theme.css

    r24966 r25232  
    141141}
    142142
    143 .calItem, .calItemEmpty {
     143.calItem {
    144144        font-weight: bold;
    145145        margin: 0 1px;
     146        padding: 0 1px;
    146147        border: 1px solid gray;
    147148}
    148 
    149 .calItem A { text-decoration:none }
    150149
    151150.calendarCalBar {
     
    665664
    666665 /* So that non-links are slightly greyed out */
    667 .content .navigationBar, .calItemEmpty, TD.calDayCellEmpty {
     666.content .navigationBar, SPAN.calItem, TD.calDayCellEmpty {
    668667        color: #b0b0b0;
    669668}
Note: See TracChangeset for help on using the changeset viewer.