Changeset 13697 for trunk/themes/default


Ignore:
Timestamp:
Mar 24, 2012, 9:33:18 PM (13 years ago)
Author:
mistic100
Message:

feature 2588: rename css classes 'thumbnailCategories' and 'thumbnailCategory' on comment_list.tpl

Location:
trunk/themes/default
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/themes/default/template/comment_list.tpl

    r12930 r13697  
    11{if isset($comment_derivative_params)}
    22{strip}{html_style}
    3 .thumbnailCategory DIV.illustration{ldelim}
     3.commentElement DIV.illustration{ldelim}
    44        width: {$comment_derivative_params->max_width()+5}px;
    55}
    66
    7 .content .thumbnailCategory .description{ldelim}
     7.content .commentElement .description{ldelim}
    88        height: {$comment_derivative_params->max_height()+5}px;
    99}
    1010{/html_style}{/strip}
    1111{/if}
    12 <ul class="thumbnailCategories">
     12<ul class="commentsList">
    1313{foreach from=$comments item=comment name=comment_loop}
    1414<li>
    15         <div class="thumbnailCategory {if $smarty.foreach.comment_loop.index is odd}odd{else}even{/if}">
     15        <div class="commentElement {if $smarty.foreach.comment_loop.index is odd}odd{else}even{/if}">
    1616        {if isset($comment.src_image)}
    1717        <div class="illustration">
  • trunk/themes/default/theme.css

    r13683 r13697  
    262262}
    263263
    264 #comments .description {
     264.commentsList {
     265        margin: 0;
     266        padding: 0;
     267        list-style: none;
     268        overflow: hidden;
     269        width: 100%;
     270}
     271
     272.commentsList LI {
     273        margin: 0;
     274        padding: 0;
     275        float: left;
     276        width:99%;
     277}
     278
     279.commentElement {
     280        display:block;
     281        padding: 2px 0 0 2px;
     282        margin: 5px;
     283}
     284
     285.commentElement .description {
    265286        font-size: 100%;
     287        overflow: auto;
     288        /*width: inherit;*/
     289}
     290
     291.commentElement .description H3 {
     292        text-align: left;
     293        background: transparent;
     294        margin: 0;
     295        padding: 0.1em;
     296        font-size: 120%;
     297}
     298
     299.commentElement .description P {
     300        margin: 0;
     301}
     302
     303.commentElement DIV.illustration {
     304        text-align: left;
     305        margin: 2px 0 0 2px;
     306        float: left;
    266307}
    267308
     
    674715#theHeader {text-align: center;}
    675716
    676 #comments .thumbnailCategories LI { width:99%; }
    677 
    678717/* jQuery datepicker */
    679718IMG.ui-datepicker-trigger {
Note: See TracChangeset for help on using the changeset viewer.