Changeset 14028


Ignore:
Timestamp:
04/09/12 06:18:34 (8 years ago)
Author:
rvelices
Message:
  • css (removed unused, merge rules, simplified overly complicated selectors)
Location:
trunk/themes
Files:
5 edited

Legend:

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

    r13801 r14028  
    11/* thumbnail wrap size */ 
    2 .content .thumbnailCategory div.illustration {  
    3         width:165px !important; /* Usable range 162px-360px , optimal : Thumbnail width + 40px */  
    4 } 
    5 #comments .commentElement div.illustration {  
    6         width:220px !important; /* Usable range 219px-360px , optimal : Thumbnail width + 95px */  
     2.thumbnailCategory .illustration {  
     3        min-width:165px !important; /* Usable range 162px-360px , optimal : Thumbnail width + 40px */  
     4} 
     5 .commentElement .illustration {  
     6        min-width:220px !important; /* Usable range 219px-360px , optimal : Thumbnail width + 95px */  
    77} 
    88 
     
    169169 
    170170/* Category thumbnails on main page */ 
    171 .content .thumbnailCategories li { 
     171.thumbnailCategories li { 
    172172        background:#222 url(images/cat_bottom-right.gif) no-repeat scroll right bottom;  
    173173        width:49%;  
     
    175175        padding:0;  
    176176} 
    177 .content .thumbnailCategory {  
     177.thumbnailCategory {  
    178178        background:transparent url(images/cat_bottom-left.gif) no-repeat scroll left bottom;  
    179179        padding: 0 0 2px;  
    180180        margin:0;  
    181181} 
    182 .content .thumbnailCategory div.illustration {  
     182.thumbnailCategory .illustration {  
    183183        background:transparent url(images/cat_top-left.gif) no-repeat scroll left top;  
    184184        padding: 0 0 0 10px;  
    185185        margin: 0 !important;  
    186186} 
    187 .content .thumbnailCategory div.illustration a {  
     187.thumbnailCategory .illustration a {  
    188188        display: block;  
    189189        margin: 0;  
     
    191191  border:0; 
    192192} 
    193 .content .thumbnailCategory .description {  
     193.thumbnailCategory .description {  
    194194        background:transparent url(images/cat_top-right.gif) no-repeat scroll right top; 
    195195        margin: 0;  
     
    198198  height:158px; 
    199199} 
    200 .content .thumbnailCategory .description .text {  
     200.thumbnailCategory .description .text {  
    201201        display:block;  
    202202        margin:10px 2px 0 0; 
     
    205205        padding:0 0 5px;  
    206206} 
    207 .content .thumbnailCategory .description p.dates {  
     207.thumbnailCategory .description p.dates {  
    208208        margin: 0 15px 0 15px;  
    209209        text-align: right;  
    210210} 
    211 .content .thumbnailCategory .description H3 {  
     211.thumbnailCategory .description H3 {  
    212212        display: block;  
    213213} 
    214 .content .thumbnailCategories li:hover {  
     214.thumbnailCategories li:hover {  
    215215        background-color:#111;  
    216216} 
  • trunk/themes/default/template/mainpage_categories.tpl

    r12920 r14028  
    11{strip}{html_style} 
    2 .thumbnailCategory DIV.illustration{ldelim} 
     2.thumbnailCategory .illustration{ldelim} 
    33        width: {$derivative_params->max_width()+5}px; 
    44} 
  • trunk/themes/default/template/month_calendar.tpl

    r8665 r14028  
    4949 <tr> 
    5050 {foreach from=$chronology_calendar.month_view.wday_labels item=wday} 
    51         <td class="calDayHead">{$wday}</td> 
     51        <th>{$wday}</th> 
    5252 {/foreach} 
    5353 </tr> 
  • trunk/themes/default/theme.css

    r13872 r14028  
    173173} 
    174174 
    175 TD.calDayHead { 
    176   font-weight: bold; 
    177   font-size: 12px; 
    178         text-align: center; 
    179 } 
    180  
    181175.calImg { 
    182176        overflow: hidden; 
     
    249243} 
    250244 
    251 .thumbnailCategory DIV.illustration { 
     245.illustration {/*also used by comment lists*/ 
    252246        text-align: left; 
    253247        margin: 2px 0 0 2px; 
     
    283277} 
    284278 
    285 .commentElement .illustration { 
    286         text-align: left; 
    287         margin: 2px 0 0 2px; 
    288         float: left; 
    289 } 
    290  
    291279/* Thumbnails */ 
    292 .thumbnails SPAN.thumbLegend { 
    293         overflow: hidden;/* oversized legend is clipped */ 
    294 } 
    295280 
    296281/* Thumbnail "elastic" layout */ 
     
    315300        vertical-align: middle;/* Ok with Opera and Geko not IE6 */ 
    316301        border-radius: 4px;     /* round corners with CSS3 compliant browsers */ 
    317         -moz-border-radius: 4px;        /* round corners with Geko */ 
    318         -webkit-border-radius: 4px; /* Safari webkit project */ 
    319 } 
     302} 
     303 
    320304.thumbnails .wrap2 A { 
    321305        display: block; 
     
    323307} 
    324308.thumbnails IMG { 
    325         margin-bottom: -4px;  /* why ??? something wrong with Geko and Opera ignored by IE6*/ 
     309        vertical-align: middle; 
     310} 
     311 
     312.thumbnails SPAN.thumbLegend { 
     313        overflow: hidden;/* oversized legend is clipped */ 
     314        display: block;  /* display: none; if you don't want legend */ 
     315        height: 4em;    /* legend height (don't set auto to be Gecko friendly)*/ 
    326316} 
    327317 
     
    670660} 
    671661 
    672 /* Set defaults for thumbnails legend */ 
    673 .thumbnails SPAN.thumbLegend { 
    674   display: block;  /* display: none; if you don't want legend */ 
    675   height: 4em;    /* legend height (don't set auto to be Gecko friendly)*/ 
    676 } 
    677662 
    678663/** 
  • trunk/themes/elegant/theme.css

    r13983 r14028  
    167167 
    168168#thumbnails                                             { padding-top: 5px;} 
    169 .thumbnails IMG                                                 { margin-bottom: 0; vertical-align: middle;} 
    170 .thumbnailCategory DIV.illustration, 
     169.thumbnailCategory .illustration, 
    171170.commentElement .illustration           { margin: 2px; text-align: center;} 
    172171 
Note: See TracChangeset for help on using the changeset viewer.