Changeset 13801


Ignore:
Timestamp:
Mar 29, 2012, 9:34:00 PM (9 years ago)
Author:
rvelices
Message:

removed unused css, merged some css, etc...

Location:
trunk/themes
Files:
7 edited

Legend:

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

    r13729 r13801  
    286286        background-color: #111;
    287287}
    288 .content .commentElement div.illustration {
     288.content .commentElement .illustration {
    289289        padding: 0 0 0 10px;
    290290        margin: 0 !important;
    291291}
    292 .content .commentElement div.illustration a {
     292.content .commentElement .illustration a {
    293293        display: block;
    294294        margin: 0;
     
    355355        padding: 15px 2px 6px 12px;
    356356        border: 1px solid #666;
    357 }
    358 #thePicturePage .commentElement  .date, #thePicturePage .commentElementy  .author {
    359         font-weight:bold;
    360357}
    361358#thePicturePage .commentsList {
  • trunk/themes/default/local_head.tpl

    r10812 r13801  
    88        {combine_css path="themes/default/print.css" order=-10}
    99{/if}
    10 
    11 {if !isset($MENUBAR)}<style type="text/css">.content {ldelim} margin-left:auto !important; }</style>{/if}
  • trunk/themes/default/template/comment_list.tpl

    r13697 r13801  
    11{if isset($comment_derivative_params)}
    22{strip}{html_style}
    3 .commentElement DIV.illustration{ldelim}
    4         width: {$comment_derivative_params->max_width()+5}px;
     3.commentElement .illustration{ldelim}
     4        width: {$comment_derivative_params->max_width()+5}px
    55}
    66
    77.content .commentElement .description{ldelim}
    8         height: {$comment_derivative_params->max_height()+5}px;
     8        height: {$comment_derivative_params->max_height()+5}px
    99}
    1010{/html_style}{/strip}
     
    1212<ul class="commentsList">
    1313{foreach from=$comments item=comment name=comment_loop}
    14 <li>
    15         <div class="commentElement {if $smarty.foreach.comment_loop.index is odd}odd{else}even{/if}">
     14<li class="commentElement {if $smarty.foreach.comment_loop.index is odd}odd{else}even{/if}">
    1615        {if isset($comment.src_image)}
    1716        <div class="illustration">
     
    4241                {/if}
    4342
    44                 <span class="author">{$comment.AUTHOR}</span> - <span class="date">{$comment.DATE}</span>
     43                <span class="commentAuthor">{$comment.AUTHOR}</span> - <span class="commentDate">{$comment.DATE}</span>
    4544                {if isset($comment.IN_EDIT)}
    4645                <a name="edit_comment"></a>
     
    5857                {/if}
    5958        </div>
    60         </div>
    6159</li>
    6260{/foreach}
  • trunk/themes/default/template/picture.tpl

    r13787 r13801  
    5959<div class="switchBoxTitle">{'Photo sizes'|@translate}</div>
    6060{foreach from=$current.unique_derivatives item=derivative key=derivative_type}
    61 <span class="switchCheck" id="derivativeChecked{$derivative_type}"{if $derivative->get_type() ne $current.selected_derivative->get_type()} style="visibility:hidden"{/if}>&#x2714; </span> 
     61<span class="switchCheck" id="derivativeChecked{$derivative_type}"{if $derivative->get_type() ne $current.selected_derivative->get_type()} style="visibility:hidden"{/if}>&#x2714; </span>
    6262<a href="javascript:changeImgSrc('{$derivative->get_url()|@escape:javascript}','{$derivative_type}','{$derivative->get_type()}')">
    6363        {$derivative->get_type()|@translate}<span class="derivativeSizeDetails"> ({$derivative->get_size_hr()})</span>
     
    139139{/if}
    140140
    141 </div><!--
    142 
    143 --><div id="infoSwitcher"></div><!--
    144 --><div id="imageInfos">
     141</div>
     142
     143<div id="infoSwitcher"></div>
     144<div id="imageInfos">
    145145{if $DISPLAY_NAV_THUMB}
    146146        <div class="navThumbs">
     
    160160{/if}
    161161
    162 <dl id="standard" class="imageInfoTable infoTable">
     162<dl id="standard" class="imageInfoTable">
    163163{strip}
    164164        {if $display_info.author and isset($INFO_AUTHOR)}
     
    278278                <dt><a id="privacyLevelLink" href="javascript:togglePrivacyLevelBox()">{'Who can see this photo?'|@translate}</a></dt>
    279279                <dd>
    280 {combine_script id='core.scripts' require='jquery' load='async' path='themes/default/js/scripts.js'}
    281 {footer_script}
     280{combine_script id='core.scripts' load='async' path='themes/default/js/scripts.js'}
     281{footer_script require='jquery'}
    282282{literal}function setPrivacyLevel(rootUrl, id, level)
    283283{
     
    310310{/literal}
    311311{/footer_script}
    312        
     312
    313313                        <div id="privacyLevelBox" class="switchBox" onclick="togglePrivacyLevelBox()" style="display:none" onmouseout="e=event.toElement||event.relatedTarget;e.parentNode==this||e==this||togglePrivacyLevelBox()">
    314314                                {foreach from=$available_permission_levels item=label key=level}
     
    325325
    326326{if isset($metadata)}
    327 <dl id="Metadata" class="imageInfoTable infoTable2">
     327<dl id="Metadata" class="imageInfoTable">
    328328{foreach from=$metadata item=meta}
    329329        <h3>{$meta.TITLE}</h3>
     
    342342{if isset($COMMENT_COUNT)}
    343343<div id="comments" {if (!isset($comment_add) && ($COMMENT_COUNT == 0))}class="noCommentContent"{else}class="commentContent"{/if}><div id="commentsSwitcher"></div>
    344         {if $COMMENT_COUNT > 0}
    345                 <h3>{$pwg->l10n_dec('%d comment', '%d comments',$COMMENT_COUNT)}</h3>
    346         {else}
    347                 <h3><span class="noCommentText">{$pwg->l10n_dec('%d comment', '%d comments',$COMMENT_COUNT)}</span></h3>
    348         {/if}
    349        
     344        <h3>{$pwg->l10n_dec('%d comment', '%d comments',$COMMENT_COUNT)}</h3>
     345
    350346        <div id="pictureComments">
    351347                {if isset($comment_add)}
    352348                        <div id="commentAdd">
    353349                                <h4>{'Add a comment'|@translate}</h4>
    354                                 <form  method="post" action="{$comment_add.F_ACTION}" class="filter" id="addComment" >
     350                                <form  method="post" action="{$comment_add.F_ACTION}" id="addComment" >
    355351                                        {if $comment_add.SHOW_AUTHOR}
    356352                                                <p><label>{'Author'|@translate}&nbsp;:</label></p>
    357353                                                <p><input type="text" name="author" /></p>
     354                                                <p><label>{'Comment'|@translate}&nbsp;:</label></p>
    358355                                        {/if}
    359                                         <p><label>{'Comment'|@translate}&nbsp;:</label></p>
    360                                         <p><textarea name="content" id="contentid" rows="10" cols="50">{$comment_add.CONTENT}</textarea></p>
     356                                        <p><textarea name="content" id="contentid" rows="5" cols="50">{$comment_add.CONTENT}</textarea></p>
    361357                                        <p><input type="hidden" name="key" value="{$comment_add.KEY}" />
    362                                            <input class="submit" type="submit" value="{'Submit'|@translate}"></p>
     358                                                <input class="submit" type="submit" value="{'Submit'|@translate}"></p>
    363359                                </form>
    364360                        </div>
  • trunk/themes/default/template/picture_nav_buttons.tpl

    r13729 r13801  
    3131        </a>
    3232{/if}
    33 <!--{strip}{if isset($first)}
     33{*<!--{strip}{if isset($first)}
    3434        <a href="{$first.U_IMG}" title="{'First'|@translate} : {$first.TITLE}" class="pwg-state-default pwg-button">
    3535                <span class="pwg-icon pwg-icon-arrowstop-w">&nbsp;</span><span class="pwg-button-text">{'First'|@translate}</span>
     
    3939                <span class="pwg-icon pwg-icon-arrowstop-w">&nbsp;</span><span class="pwg-button-text">{'First'|@translate}</span>
    4040        </span>
    41 {/if}{/strip}-->
     41{/if}{/strip}-->*}
    4242{strip}{if isset($previous)}
    4343        <a href="{$previous.U_IMG}" title="{'Previous'|@translate} : {$previous.TITLE}" class="pwg-state-default pwg-button">
     
    7373        </span>
    7474{/if}{/strip}
    75 <!--{strip}{if isset($last)}
     75{*<!--{strip}{if isset($last)}
    7676        <a href="{$last.U_IMG}" title="{'Last'|@translate} : {$last.TITLE}" class="pwg-state-default pwg-button pwg-button-icon-right">
    7777                <span class="pwg-icon pwg-icon-arrowstop-e"></span><span class="pwg-button-text">{'Last'|@translate}</span>
     
    8181                <span class="pwg-icon pwg-icon-arrowstop-e">&nbsp;</span><span class="pwg-button-text">{'Last'|@translate}</span>
    8282        </span>
    83 {/if}{/strip}-->
     83{/if}{/strip}-->*}
    8484{/if}
    8585</div>
  • trunk/themes/default/theme.css

    r13774 r13801  
    270270}
    271271
    272 .commentsList LI {
    273         margin: 0;
    274         padding: 0;
     272.commentElement {
     273        margin: 5px;
     274        padding: 2px 0 0 2px;
    275275        float: left;
    276276        width:99%;
    277277}
    278278
    279 .commentElement {
    280         display:block;
    281         padding: 2px 0 0 2px;
    282         margin: 5px;
    283 }
    284 
    285279.commentElement .description {
    286         font-size: 100%;
    287280        overflow: auto;
    288281        /*width: inherit;*/
    289282}
    290283
    291 .commentElement .description P {
    292         margin: 0;
    293 }
    294 
    295 .commentElement DIV.illustration {
     284.commentElement .illustration {
    296285        text-align: left;
    297286        margin: 2px 0 0 2px;
     
    412401}
    413402
    414 .infoTable .label {
    415         font-weight: bold;
    416         text-align: right;
    417         padding-right: 0.5em;
    418 }
    419 
    420 .infoTable UL {
     403.imageInfoTable UL { /*this is the album list*/
    421404        margin: 0;
    422405        padding: 0 0 0 1em;
     
    452435        clear: none;
    453436}
    454 
    455 .noCommentText {display:none;}
    456437
    457438/**
     
    825806#commentAdd input[type="text"],
    826807#commentAdd textarea {
    827         min-width: 100%;
    828808        max-width: 100%;
    829809        width: 100%;
    830         font-family: Arial,Helvetica,sans-serif;
    831         font-size: 100%;
    832 }
    833 #pictureCommentList li {
    834         clear: both;
    835         display: block;
    836         padding: 0.5em 0;
    837         margin-bottom: 5px;
     810}
     811
     812#pictureCommentList .commentElement {
    838813        border-radius: 5px;
    839         width: 100%;
    840 }
    841 #pictureCommentList ul                          { list-style: none; padding: 0;}
    842 #pictureCommentList li ul                               { list-style-type: none; padding: 4px;}
    843 #pictureCommentList .author                     { font-weight: bold;}
    844 #pictureCommentList .date                       { font-style: italic;}
     814}
     815
     816.commentAuthor {
     817        font-weight: bold;
     818}
     819
     820.commentDate {
     821        font-style: italic
     822}
     823
    845824#pictureCommentList .commentsOrder      { float: left; margin-bottom: 5px;}
    846825#pictureCommentList .navigationBar      { float: right; margin-bottom: 5px;}
     
    848827#pictureComments form p                         { margin: 5px 0; text-align: left;}
    849828#pictureComments form p textarea                { margin: 10px 0;}
    850 #pictureComments INPUT                          { margin: 10px;}
    851829#pictureComments INPUT[type=submit]     { margin: 0;}
    852830
  • trunk/themes/elegant/theme.css

    r13789 r13801  
    1212#thePicturePage #comments                                       { background-color: #333;}
    1313#pictureCommentList li                                          { background-color: #444;}
    14 #pictureCommentList .commentElement                     { background-color: transparent;}
    1514.calendarTitle                                                          { background-color: #222;}
    1615
    1716.switchBox, .header_notes                                       { background-color: #555;}
    18 .thumbnailCategory, .commentElement                     { background-color: #333;}
     17.thumbnailCategory                      { background-color: #333;}
    1918.message                                                                        { background-color: #666;}
    2019
     
    163162.thumbnails IMG                                                 { margin-bottom: 0; vertical-align: middle;}
    164163.thumbnailCategory DIV.illustration,
    165 .commentElement DIV.illustration                { margin: 2px; text-align: center;}
     164.commentElement .illustration           { margin: 2px; text-align: center;}
    166165
    167166
     
    239238#thePicturePage #comments fieldset              { margin: 0 1em;}
    240239
    241 .noCommentText                                          { display:block;}
    242240.commentshidden #pictureComments                { display: none;}
    243241.commentContent .comments_toggle        { cursor: pointer;}
     
    255253        font-size: 100%;
    256254}
    257 #pictureCommentList li {
    258         clear: both;
    259         display: block;
    260         padding: 0.5em 0;
    261         margin-bottom: 5px;
    262         border-radius: 5px;
    263         width: 100%;
    264 }
    265 #pictureCommentList ul                          { list-style: none; padding: 0;}
    266 #pictureCommentList li ul                               { list-style-type: none; padding: 4px;}
    267 #pictureCommentList .author                     { font-weight: bold;}
    268 #pictureCommentList .date                       { font-style: italic;}
     255
    269256#pictureCommentList .commentsOrder      { float: left; margin-bottom: 5px;}
    270257#pictureCommentList .navigationBar      { float: right; margin-bottom: 5px;}
Note: See TracChangeset for help on using the changeset viewer.