Changeset 488

Show
Ignore:
Timestamp:
08/24/07 14:35:33 (14 months ago)
Author:
oliver
Message:
 
Location:
trunk/themes/air
Files:
12 modified

Legend:

Unmodified
Added
Removed
  • trunk/themes/air/album.php

    r479 r488  
    1010 
    1111                <?php plogger_load_picture(); 
    12                 // set variables for the album 
     12                // set variables for the thumbnails 
    1313                $capt = plogger_get_picture_caption(); 
    1414                // find thumbnail width 
     
    3434        <?php else : ?> 
    3535 
    36         <div id="no-pictures-msg">There are no pictures in this album.</div> 
     36        <p id="no-pictures-msg">There are no pictures in this album.</p> 
    3737 
    3838        <?php endif; ?> 
     
    4040</div> 
    4141 
    42  
    4342<?php plogger_get_footer(); ?> 
  • trunk/themes/air/collection.php

    r479 r488  
    11<?php plogger_get_header(); ?> 
    22 
    3 <div id="thumbnail-container"> 
     3<div id="thumbnail-container" class="clearfix"> 
    44 
    55<?php if (plogger_has_albums()) : ?> 
     
    1616                ?> 
    1717                 
    18                 <div class="collection"><a href="<?php echo plogger_get_album_url(); ?>"> 
    19  
    20                 <?php // generate XHTML with thumbnail and link to picture view ?> 
    21                 <img class="photos" src="<?php echo plogger_get_album_thumb(); ?>" title="<?php echo $name; ?>" alt="<?php echo $name; ?>" /></a> 
     18                <div class="collection"> 
     19                 
     20                <a class="collection-image-link" href="<?php echo plogger_get_album_url(); ?>"><img class="photos" src="<?php echo plogger_get_album_thumb(); ?>" title="<?php echo $name; ?>" alt="<?php echo $name; ?>" /></a> 
    2221 
    2322                        <h2><a href="<?php echo plogger_get_album_url(); ?>"><?php echo $name; ?></a></h2> 
     
    3736        <?php else : ?> 
    3837 
    39         <p>No albums yet</p> 
     38        <p id="no-pictures-msg">No albums yet.</p> 
    4039 
    4140        <?php endif; ?> 
  • trunk/themes/air/collections.php

    r473 r488  
    1818                <div class="collection"> 
    1919                 
    20                 <a href="<?php echo plogger_get_collection_url(); ?>"> 
    21                          
    22                 <?php // generate XHTML with thumbnail and link to album view ?> 
    23                 <img class="photos" src="<?php echo plogger_get_collection_thumb(); ?>" title="<?php echo $name; ?>" alt="<?php echo $name; ?>" /></a> 
     20                <a class="collection-image-link" href="<?php echo plogger_get_collection_url(); ?>"><img class="photos" src="<?php echo plogger_get_collection_thumb(); ?>" title="<?php echo $name; ?>" alt="<?php echo $name; ?>" /></a> 
    2421 
    2522                        <h2><a href="<?php echo plogger_get_collection_url(); ?>"><?php echo $name; ?></a></h2> 
     
    3936        <?php else : ?> 
    4037 
    41         <p>No collections yet</p> 
     38        <p id="no-pictures-msg">No collections yet.</p> 
    4239 
    4340        <?php endif; ?> 
  • trunk/themes/air/comments.php

    r469 r488  
    5555                        <br /><textarea name="comment" id="comment" cols="70" rows="4" tabindex="4"></textarea> 
    5656                      </p> 
    57                       <p class="inputbuttonp"> 
     57                      <p class="comment-input-button"> 
    5858                        <input class="submit" name="submit" type="submit" tabindex="5" value="Post Comment" /> 
    5959                      </p> 
  • trunk/themes/air/explorer.css

    r469 r488  
    11#breadcrumbs { 
    2         margin: 15px 0 10px; /* IE 6 */ 
    3         height: 20px; /* IE 6 */ 
     2        height: 24px; /* IE 6 */ 
    43} 
    5 b.bl {bottom: -1px; left: -1px; background: url(images/bg-bl.gif) no-repeat; } 
    6 b.br {bottom: -1px; right: -1px; background: url(images/bg-br.gif) no-repeat; } 
    7 #thumbnail-container, #big-picture-container { 
    8         margin: 20px 0 0; /* IE 6 */ 
    9         padding: 0; 
     4a:visited { 
     5        color: #01B4E2; 
    106} 
    117.collection a { 
    12         float: left; 
    13         margin: 0px 15px 0px 0px; 
    14         padding: 0px; 
    158        display: inline; 
    169        background: #fff; 
    1710} 
    18 .collection img { 
     11.collection h2 { 
     12        display: block; 
     13        height: 20px; 
     14} 
     15.collection h2 a, .collection h2 a:visited { 
     16        border: none; 
     17        color: #01B4E2; 
     18        display: block; 
     19} 
     20.collection h2 a:hover { 
     21        border: none; 
     22} 
     23.collection input { 
     24        float: left; 
     25        display: block; 
     26} 
     27.meta-header { 
     28        display: block; 
     29        height: 20px; 
     30        padding: 4px 0 0 0; 
     31} 
     32.collection img, ul.slides li img, #thumb-nav li img { 
    1933        margin: 0px; 
     34        border: none; 
     35} 
     36#thumb-nav li img { 
     37        margin: 4px 0 0 0; 
    2038} 
    2139li.thumbnail a, .collection a, #picture-holder a, #thumb-nav a { 
     
    2644li.thumbnail a:hover, .collection a:hover, #picture-holder a:hover, #thumb-nav a:hover { 
    2745/*      border: 1px solid #b3b6b0; */ 
    28         border: 1px solid #01B4E2; 
     46        border: 1px solid #ff6600; 
    2947} 
    30  
    31 #sort-control p { 
    32         font-size: 1.1em; /* IE 6 */ 
    33         display: inline; 
     48#sort-control { 
     49        width: 330px; 
    3450} 
     51#download-selected input.submit { 
     52        background: #fff url(images/carrot_sel3.gif) no-repeat 0 50%; 
     53} 
  • trunk/themes/air/footer.php

    r478 r488  
    11 
    22 
    3 <div id="footer"> 
     3<div id="footer" class="clearfix"> 
    44 
    55        <?php if (plogger_pagination_control() != '') { ?> 
  • trunk/themes/air/gallery.css

    r469 r488  
     1 
     2                                        /* Begin general styles for all pages */ 
     3 
    14* { 
    25        margin: 0; 
     
    47} 
    58body { 
     9        /* body contains and controls all visible elements of the entire page, this is where you want to set things like the background of the page */ 
    610        margin: 0; 
    711        padding: 0 0 25px 0; 
     
    1216} 
    1317img { 
     18        /* img controls anything that all of the images have in common; in this case, we make sure no images have borders (we can add borders to specific images later) */ 
    1419        border: 0; 
    1520} 
    1621a:link, a:visited { 
     22        /* a:link, a:visited control the default link behavior for all of the links on the page (but most of the link behaviors are changed later in the CSS) */ 
    1723        color: #7f807b; 
    1824        text-decoration: none; 
    1925} 
    2026a:hover { 
     27        /* a:hover controls the default hover behavior of all links */ 
    2128        color: #404040; 
    2229} 
    2330#wrapper { 
     31        /* #wrapper contains the entire content of the page; this is where one would center the page content, and give it a definite width, this is also where one would put borders around the content of the page */  
    2432        margin: 0 auto 0; 
    25         width: 800px; 
     33        width: 800px; /* any change to this width requires changes to the widths of .collection and #footer as well */ 
    2634        position: relative; 
    2735} 
    2836#header { 
     37        /* #header contains the gallery name, the search box, and the breadcrumbs */ 
    2938        text-align: left; 
    3039} 
    3140#header p { 
     41        /* one can edit header.php, within the commented <p></p> tags, to add a few words below the breadcrumbs, in which case this controls that text */ 
    3242        clear: both; 
    3343        margin: 6px 25px; 
    3444        text-align: center; 
    3545        font-size: 1.2em; 
    36         /* allows you to add a few words below the breadcrumbs */ 
    3746} 
    3847#gallery-name { 
     48        /* #gallery-name controls the name of the gallery */ 
    3949        float: left; 
    4050        margin: 20px 0 0 0; 
     
    4252        color: #01B4E2; 
    4353        font-size: 2em; 
    44         font-family: "Century Gothic", "Lucida Grande", Verdana, Arial, sans-serif; /* Resets 1em to 10px */ 
     54        font-family: "Century Gothic", "Lucida Grande", Verdana, Arial, sans-serif; 
    4555} 
    4656#search-container { 
     57        /* #search-container contains the seach box and the search button */ 
    4758        float: right; 
    4859        white-space: nowrap; 
     
    5162} 
    5263#search-container input { 
     64        /* #search-container input is the search input box */ 
    5365        border: 2px solid #4dc4e6; 
    5466        float: left; 
     
    5769} 
    5870#search-container input.submit { 
     71        /* #search-container input.submit is the search button */ 
    5972        width: 82px; 
    6073        height: 30px; 
     
    6679} 
    6780#breadcrumbs { 
     81        /* #breadcrumbs contains the breadcrumbs */ 
    6882        clear: both; 
    6983        margin: 0; 
     
    7589} 
    7690#breadcrumb_links { 
     91        /* #breadcrumb_links controls the breadcrumbs text that isn't a link */ 
    7792        float: left; 
    7893        display: inline; 
     
    8095} 
    8196#breadcrumb_links a { 
     97        /* #breadcrumb_links a controls the breadcrumbs text that is a link */ 
    8298        color: #fff; 
    8399        text-decoration: underline; 
    84100} 
    85101#breadcrumb_links a:hover, #slideshow a:hover { 
     102        /* #breadcrumb_links a:hover, #slideshow a:hover a controls hover behavior of the breadcrumbs text that is a link */ 
    86103        color: #fff; 
    87104        text-decoration: none; 
    88105} 
    89106#slideshow a { 
     107        /* #slideshow a controls the text of the View as Slideshow link */ 
    90108        float: right; 
    91109        display: inline; 
     
    94112        text-decoration: underline; 
    95113} 
     114#no-pictures-msg { 
     115        /* #no-pictures-msg controls the "no collections", "no albums", and "no picture" messages displayed when a visitor goes to a page without collections, albums, or a picture */ 
     116        margin: 0 0 200px; 
     117        padding: 80px 0; 
     118        font-size: 1.4em; 
     119        text-align: center; 
     120} 
     121.checkbox { 
     122        /* .checkbox controls the appearance of the checkbox on all pages */ 
     123        clear: both; 
     124        margin: 4px auto 0; 
     125        padding: 0; 
     126} 
     127 
     128 
     129                                        /* Begin collection and album page styles */ 
     130 
    96131#thumbnail-container { 
    97         margin: 10px 0 0; 
     132        /* #thumbnail-container contains the entire list of all collections or the entire list of all albums, as appropriate */ 
     133        margin: 0; 
    98134        padding: 0; 
    99135} 
    100136#collections { 
     137        /* #collections contains the entire list of all collections or the entire list of all albums, as appropriate (yes, it's redundant to #thumbnail-container) */ 
    101138} 
    102139.collection { 
    103         margin: 0 0 10px 0; 
    104         padding: 10px 25px; 
    105         float: left; 
    106         display: inline; 
     140        /* .collection contains each individual collection or album in the list, as appropriate */ 
     141        margin: 10px 0 0 0; 
     142        padding: 10px 0; 
     143        float: left; 
    107144        text-align: left; 
    108145        border: 1px solid #bed2d2; 
    109         width: 748px; 
    110 } 
    111 .collection img { 
     146        width: 798px; /* set this width to be 2px less than the width of #wrapper to account for borders */ 
     147} 
     148.collection-image-link { 
     149        margin: 0 0 0 25px; 
    112150        border: 1px solid #01B4E2; 
     151        display: block; 
    113152        float: left; 
    114153        margin-right: 15px; 
    115154        padding: 3px; 
    116         display: inline; 
     155} 
     156.collection-image-link:hover { 
     157        border: 1px solid #ff6600; 
     158} 
     159.photos { 
     160        /* .photos controls the thumbnail picture on the collection(s) and album pages */ 
     161        vertical-align: bottom; /* firefox hack to remove the gap below images surrounded by an anchor */ 
     162} 
     163.collection p { 
     164        /* .collection p controls the collection or album description */ 
     165        margin: 4px 0 0 0; 
     166        line-height: 1.5em; 
     167} 
     168.collection h2 { 
     169        /* .collection h2 controls the collection or album title */ 
     170        margin: 5px 0; 
     171        padding: 0; 
     172        font-size: 1.4em; 
     173} 
     174.collection h2 a { 
     175        /* .collection h2 controls the link behavior of the collection or album title */ 
     176        color: #01B4E2; 
     177} 
     178.collection h2 a:hover { 
     179        /* .collection h2:hover controls the hover behavior of the collection or album title */ 
     180        color: #ff6600; 
     181} 
     182.meta-header { 
     183        /* .meta-header controls the "Contains X Albums" or "Contains X Pictures" text */ 
     184        margin: 0; 
     185        padding: 0; 
     186        color: #404040; 
     187        font-size: 90%; 
     188} 
     189.thumbnail p { 
     190        /* .thumbnail p controls the description of the Collection or Album, as appropriate */ 
     191        /* width is equal to the width of the thumbnail image, set inline in album.php */ 
     192        padding: 0 6px; 
     193        margin: 4px 0 0 0; 
     194        line-height: 1.2em; 
     195        font-weight: bold; 
     196        height: 2.5em; 
     197        overflow: hidden; 
     198} 
     199 
     200                                        /* Begin album page styles */ 
     201 
     202ul.slides { 
     203        /* ul.slides controls the unordered list of the thumbnails of images within an album */ 
     204        margin: 10px 0 0 0; 
     205        padding: 0; 
     206        border: 1px solid #bed2d2; 
     207} 
     208ul.slides li { 
     209        /* ul.slides li controls each list item within the unordered list of the thumbnails of images within an album */ 
     210        /* width is calculated by PHP in the HTML, style is applied inline */ 
     211        float: left; 
     212        margin: 0 0 0 13px; 
     213        padding: 10px; 
     214        display: inline; 
     215        text-align: center; 
     216} 
     217ul.slides li img { 
     218        /* ul.slides li img controls the thumbnail image itself */ 
     219        border: 1px solid #01B4E2; 
    117220        background: #fff; 
    118 } 
    119 .collection img:hover { 
     221        padding: 3px; 
     222} 
     223ul.slides li a { 
     224        /* ul.slides li a controls the thumbnail image link behavior */ 
     225        display: block; /* display:block required to make anchor tag's border surround img in Firefox */ 
     226} 
     227ul.slides li img:hover { 
     228        /* ul.slides li img:hover controls the thumbnail image hover behavior */ 
    120229        background: #eaeae0; 
    121230        border: 1px solid #ff6600; 
    122231} 
    123 .collection p { 
    124         margin: 4px 0 0 0; 
    125         line-height: 1.5em; 
    126 } 
    127 .collection h2 { 
    128         margin: 5px 0; 
    129         padding: 0; 
    130         font-size: 1.4em; 
    131 } 
    132 .collection h2 a { 
    133         color: #01B4E2; 
    134 } 
    135 .collection h2 a:hover { 
    136         color: #ff6600; 
    137 } 
    138 /* Begin Large Picture Page Section */ 
     232 
     233                                        /* Begin "picture" page styles */ 
     234 
    139235#big-picture-container { 
     236        /* #big-picture-container contains the picture, the prev/next buttons, the camera details and the thumbnail nav (if enabled) */ 
    140237        border: 1px solid #bed2d2; 
    141238        margin: 10px 0 10px 0; 
    142239        padding: 10px 0 20px 0; 
    143240} 
    144 #picture-caption { 
    145         /* ideally, no padding and width is equal THUMB_LARGE image      
    146         padding: 0 80px; 
    147  */ 
     241.picture-title { 
     242        /* .picture-title controls the picture title */ 
    148243        width: 70%; 
    149244        margin: 0 auto 6px; 
     245        text-align: center; 
    150246        font-size: 1.3em; 
    151         text-align: center; 
    152247        color: #4b4c57; 
    153248} 
    154249.date { 
     250        /* .date controls the picture date */ 
    155251        width: 70%; 
    156252        margin: 0 auto 0; 
    157253        text-align: center; 
    158254        font-size: 1.1em; 
     255        color: #8689a2; 
    159256        letter-spacing: 1px; 
    160         color: #8689a2; 
    161 } 
    162 #prev-link-container { 
    163         width: 15%; 
    164         text-align: left; 
    165 } 
    166 #next-link-container { 
    167         width: 15%; 
    168         text-align: right; 
    169257} 
    170258#nav-link-img-prev, #nav-link-img-next { 
     259        /* #nav-link-img-prev, #nav-link-img-next control those elements that both the prev and next buttons have in common */ 
    171260        margin: 5px 0 0; 
    172261        padding: 6px 15px; 
     
    174263} 
    175264#nav-link-img-prev { 
     265        /* #nav-link-img-prev controls the prev button */ 
    176266        float: left; 
    177267        display: inline; 
    178268} 
    179269#nav-link-img-next { 
     270        /* #nav-link-img-next controls the next button */ 
    180271        float: right; 
    181272        display: inline; 
    182273} 
    183274#nav-link-img-prev a { 
     275        /* #nav-link-img-prev a controls the text of the prev button */ 
    184276        border: 1px solid #fff; 
    185277        padding: 5px 15px; 
     
    187279} 
    188280#nav-link-img-next a { 
     281        /* #nav-link-img-next a controls the text of the next button */ 
    189282        border: 1px solid #fff; 
    190283        padding: 5px 15px; 
     
    192285} 
    193286#nav-link-img-prev a:hover, #nav-link-img-next a:hover { 
     287        /* #nav-link-img-prev a:hover, #nav-link-img-next a:hover controls the common link behavior of the prev/next buttons  */ 
    194288        border: 1px solid #039acb; 
    195289        background: #01B4E2 url(images/blue-gradient.gif) repeat-x; 
     
    197291} 
    198292#picture-holder { 
     293        /* #picture-holder contains the picture */ 
    199294        clear: both; 
    200295        margin: 10px 0 0 0; 
    201296} 
    202 #picture-holder a img { 
    203         margin: 4px; 
     297.photos-large { 
     298        /* .photos-large controls the picture itself */ 
     299        margin: 0 0 20px 0; 
    204300        padding: 3px; 
    205301        background: #fff; 
     
    207303} 
    208304#picture-holder a:hover { 
     305        /* #picture-holder a:hover controls the hover behavior of the picture itself */ 
    209306        white-space: normal; 
    210307} 
    211308#picture-description { 
     309        /* #picture-description controls the picture's description */ 
     310        width: 80%; 
    212311        margin: 6px auto 6px; 
    213         padding: 0 80px; 
    214         /* ideally, no padding, but width equal to THUMB_LARGE image */ 
    215312        text-align: center; 
    216313        font-size: 1.1em; 
    217314} 
     315 
     316                                        /* exif stuff is for the 'camera details' table */ 
     317 
    218318#exif_toggle { 
    219319        margin: 0 0 20px 0; 
     
    231331        padding: 0 20px; 
    232332} 
     333 
     334                                        /* Begin thumbnail navigation styles */ 
     335                                         
     336#thumb-nav { 
     337        /* #thumb-nav controls the unordered list that comprises the thumbnail navigation */ 
     338        list-style-type: none; 
     339        margin: 25px; 
     340} 
     341#thumb-nav li { 
     342        /* #thumb-nav li controls each unordered list item that comprises the thumbnail navigation button */ 
     343        float: left; 
     344        margin: 0 10px 0 0; 
     345} 
     346#thumb-nav li img { 
     347        /* #thumb-nav li img controls the image within each unordered list item that comprises the thumbnail navigation button */ 
     348        border: 1px solid #01B4E2; 
     349        padding: 3px; 
     350        display: inline; 
     351        background: #fff; 
     352} 
     353#thumb-nav li img:hover { 
     354        /* #thumb-nav li img:hover controls the hover behavior of the image within each unordered list item that comprises the thumbnail navigation button, wheee! */ 
     355        background: #eaeae0; 
     356        border: 1px solid #ff6600; 
     357} 
     358 
     359                                        /* Begin comment styles */ 
     360 
    233361#comment-section { 
     362        /* #comment-section contains the comments, the "post a comment" input fields, and the submit button */ 
    234363        margin: 10px 25px 10px 25px; 
    235364        clear: both; 
     
    237366} 
    238367.comment-heading { 
     368        /* .comment-heading controls the "Comments:" and "Post a comment:" headings */ 
    239369        margin: 12px 0 0 0; 
    240370        font-size: 1.4em; 
    241371} 
    242 #thumb-nav { 
    243         list-style-type: none; 
    244         margin: 25px; 
    245 } 
    246 #thumb-nav li { 
    247         float: left; 
    248         margin: 0 10px 0 0; 
    249 } 
    250 #thumb-nav li img { 
    251         border: 1px solid #01B4E2; 
    252         padding: 3px; 
    253         display: inline; 
    254         background: #fff; 
    255 } 
    256 #thumb-nav li img:hover { 
    257         background: #eaeae0; 
    258         border: 1px solid #ff6600; 
    259 } 
    260 /* test the following stuff */ 
    261372#comment-section form p { 
     373        /* #comment-section form p contains the "post a comment" input fields */ 
    262374        margin: 6px 0; 
    263375} 
    264376.comment, .comment_alt { 
     377        /* .comment, .comment_alt control those elements that all comments have in common */ 
    265378        border-top: 1px solid #dfded6; 
    266379        margin: 0; 
     
    269382} 
    270383.comment_alt { 
     384        /* .comment_alt controls those elements that every other comment has in common, eg: a different colored background */ 
    271385        background: #effbfb; 
    272386} 
    273387.comments p { 
     388        /* .comments p controls paragraphs within each comment */ 
    274389        margin: 0; 
    275390        font-size: 1.1em; 
     
    278393} 
    279394.comments cite { 
     395        /* .comments cite controls the "Comment by So-and-so - Posted on DATE" text */ 
    280396        margin-top: 8px; 
    281397        padding: 5px 5px 5px 23px; 
     
    288404} 
    289405.comments-closed { 
     406        /* .comments-closed controls the "Comments closed." message if comments are disabled */ 
    290407        color: #996; 
    291408        text-align: center; 
    292409} 
    293 /* End Large Picture Page Section */ 
    294  
    295 #no-pictures-msg { 
    296         margin: 0 0 200px; 
    297         padding: 80px 0; 
    298         font-size: 1.4em; 
    299         text-align: center; 
    300 } 
    301  
    302 #rss-image { 
    303         margin: 0; 
    304         padding: 0; 
    305         display: inline; 
    306 } 
    307  
     410.comment-input-button input { 
     411        /* .comment-input-button input controls the "Post Comment" submit button */ 
     412        padding: 2px 6px;