Changeset 488
- Timestamp:
- 08/24/07 14:35:33 (14 months ago)
- Location:
- trunk/themes/air
- Files:
-
- 12 modified
-
album.php (modified) (3 diffs)
-
collection.php (modified) (3 diffs)
-
collections.php (modified) (2 diffs)
-
comments.php (modified) (1 diff)
-
explorer.css (modified) (2 diffs)
-
footer.php (modified) (1 diff)
-
gallery.css (modified) (28 diffs)
-
header.php (modified) (1 diff)
-
meta.php (modified) (1 diff)
-
picture.php (modified) (3 diffs)
-
search.php (modified) (3 diffs)
-
slideshow.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/themes/air/album.php
r479 r488 10 10 11 11 <?php plogger_load_picture(); 12 // set variables for the album12 // set variables for the thumbnails 13 13 $capt = plogger_get_picture_caption(); 14 14 // find thumbnail width … … 34 34 <?php else : ?> 35 35 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> 37 37 38 38 <?php endif; ?> … … 40 40 </div> 41 41 42 43 42 <?php plogger_get_footer(); ?> -
trunk/themes/air/collection.php
r479 r488 1 1 <?php plogger_get_header(); ?> 2 2 3 <div id="thumbnail-container" >3 <div id="thumbnail-container" class="clearfix"> 4 4 5 5 <?php if (plogger_has_albums()) : ?> … … 16 16 ?> 17 17 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> 22 21 23 22 <h2><a href="<?php echo plogger_get_album_url(); ?>"><?php echo $name; ?></a></h2> … … 37 36 <?php else : ?> 38 37 39 <p >No albums yet</p>38 <p id="no-pictures-msg">No albums yet.</p> 40 39 41 40 <?php endif; ?> -
trunk/themes/air/collections.php
r473 r488 18 18 <div class="collection"> 19 19 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> 24 21 25 22 <h2><a href="<?php echo plogger_get_collection_url(); ?>"><?php echo $name; ?></a></h2> … … 39 36 <?php else : ?> 40 37 41 <p >No collections yet</p>38 <p id="no-pictures-msg">No collections yet.</p> 42 39 43 40 <?php endif; ?> -
trunk/themes/air/comments.php
r469 r488 55 55 <br /><textarea name="comment" id="comment" cols="70" rows="4" tabindex="4"></textarea> 56 56 </p> 57 <p class=" inputbuttonp">57 <p class="comment-input-button"> 58 58 <input class="submit" name="submit" type="submit" tabindex="5" value="Post Comment" /> 59 59 </p> -
trunk/themes/air/explorer.css
r469 r488 1 1 #breadcrumbs { 2 margin: 15px 0 10px; /* IE 6 */ 3 height: 20px; /* IE 6 */ 2 height: 24px; /* IE 6 */ 4 3 } 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; 4 a:visited { 5 color: #01B4E2; 10 6 } 11 7 .collection a { 12 float: left;13 margin: 0px 15px 0px 0px;14 padding: 0px;15 8 display: inline; 16 9 background: #fff; 17 10 } 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 { 19 33 margin: 0px; 34 border: none; 35 } 36 #thumb-nav li img { 37 margin: 4px 0 0 0; 20 38 } 21 39 li.thumbnail a, .collection a, #picture-holder a, #thumb-nav a { … … 26 44 li.thumbnail a:hover, .collection a:hover, #picture-holder a:hover, #thumb-nav a:hover { 27 45 /* border: 1px solid #b3b6b0; */ 28 border: 1px solid # 01B4E2;46 border: 1px solid #ff6600; 29 47 } 30 31 #sort-control p { 32 font-size: 1.1em; /* IE 6 */ 33 display: inline; 48 #sort-control { 49 width: 330px; 34 50 } 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 1 1 2 2 3 <div id="footer" >3 <div id="footer" class="clearfix"> 4 4 5 5 <?php if (plogger_pagination_control() != '') { ?> -
trunk/themes/air/gallery.css
r469 r488 1 2 /* Begin general styles for all pages */ 3 1 4 * { 2 5 margin: 0; … … 4 7 } 5 8 body { 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 */ 6 10 margin: 0; 7 11 padding: 0 0 25px 0; … … 12 16 } 13 17 img { 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) */ 14 19 border: 0; 15 20 } 16 21 a: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) */ 17 23 color: #7f807b; 18 24 text-decoration: none; 19 25 } 20 26 a:hover { 27 /* a:hover controls the default hover behavior of all links */ 21 28 color: #404040; 22 29 } 23 30 #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 */ 24 32 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 */ 26 34 position: relative; 27 35 } 28 36 #header { 37 /* #header contains the gallery name, the search box, and the breadcrumbs */ 29 38 text-align: left; 30 39 } 31 40 #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 */ 32 42 clear: both; 33 43 margin: 6px 25px; 34 44 text-align: center; 35 45 font-size: 1.2em; 36 /* allows you to add a few words below the breadcrumbs */37 46 } 38 47 #gallery-name { 48 /* #gallery-name controls the name of the gallery */ 39 49 float: left; 40 50 margin: 20px 0 0 0; … … 42 52 color: #01B4E2; 43 53 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; 45 55 } 46 56 #search-container { 57 /* #search-container contains the seach box and the search button */ 47 58 float: right; 48 59 white-space: nowrap; … … 51 62 } 52 63 #search-container input { 64 /* #search-container input is the search input box */ 53 65 border: 2px solid #4dc4e6; 54 66 float: left; … … 57 69 } 58 70 #search-container input.submit { 71 /* #search-container input.submit is the search button */ 59 72 width: 82px; 60 73 height: 30px; … … 66 79 } 67 80 #breadcrumbs { 81 /* #breadcrumbs contains the breadcrumbs */ 68 82 clear: both; 69 83 margin: 0; … … 75 89 } 76 90 #breadcrumb_links { 91 /* #breadcrumb_links controls the breadcrumbs text that isn't a link */ 77 92 float: left; 78 93 display: inline; … … 80 95 } 81 96 #breadcrumb_links a { 97 /* #breadcrumb_links a controls the breadcrumbs text that is a link */ 82 98 color: #fff; 83 99 text-decoration: underline; 84 100 } 85 101 #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 */ 86 103 color: #fff; 87 104 text-decoration: none; 88 105 } 89 106 #slideshow a { 107 /* #slideshow a controls the text of the View as Slideshow link */ 90 108 float: right; 91 109 display: inline; … … 94 112 text-decoration: underline; 95 113 } 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 96 131 #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; 98 134 padding: 0; 99 135 } 100 136 #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) */ 101 138 } 102 139 .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; 107 144 text-align: left; 108 145 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; 112 150 border: 1px solid #01B4E2; 151 display: block; 113 152 float: left; 114 153 margin-right: 15px; 115 154 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 202 ul.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 } 208 ul.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 } 217 ul.slides li img { 218 /* ul.slides li img controls the thumbnail image itself */ 219 border: 1px solid #01B4E2; 117 220 background: #fff; 118 } 119 .collection img:hover { 221 padding: 3px; 222 } 223 ul.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 } 227 ul.slides li img:hover { 228 /* ul.slides li img:hover controls the thumbnail image hover behavior */ 120 229 background: #eaeae0; 121 230 border: 1px solid #ff6600; 122 231 } 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 139 235 #big-picture-container { 236 /* #big-picture-container contains the picture, the prev/next buttons, the camera details and the thumbnail nav (if enabled) */ 140 237 border: 1px solid #bed2d2; 141 238 margin: 10px 0 10px 0; 142 239 padding: 10px 0 20px 0; 143 240 } 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 */ 148 243 width: 70%; 149 244 margin: 0 auto 6px; 245 text-align: center; 150 246 font-size: 1.3em; 151 text-align: center;152 247 color: #4b4c57; 153 248 } 154 249 .date { 250 /* .date controls the picture date */ 155 251 width: 70%; 156 252 margin: 0 auto 0; 157 253 text-align: center; 158 254 font-size: 1.1em; 255 color: #8689a2; 159 256 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;169 257 } 170 258 #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 */ 171 260 margin: 5px 0 0; 172 261 padding: 6px 15px; … … 174 263 } 175 264 #nav-link-img-prev { 265 /* #nav-link-img-prev controls the prev button */ 176 266 float: left; 177 267 display: inline; 178 268 } 179 269 #nav-link-img-next { 270 /* #nav-link-img-next controls the next button */ 180 271 float: right; 181 272 display: inline; 182 273 } 183 274 #nav-link-img-prev a { 275 /* #nav-link-img-prev a controls the text of the prev button */ 184 276 border: 1px solid #fff; 185 277 padding: 5px 15px; … … 187 279 } 188 280 #nav-link-img-next a { 281 /* #nav-link-img-next a controls the text of the next button */ 189 282 border: 1px solid #fff; 190 283 padding: 5px 15px; … … 192 285 } 193 286 #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 */ 194 288 border: 1px solid #039acb; 195 289 background: #01B4E2 url(images/blue-gradient.gif) repeat-x; … … 197 291 } 198 292 #picture-holder { 293 /* #picture-holder contains the picture */ 199 294 clear: both; 200 295 margin: 10px 0 0 0; 201 296 } 202 #picture-holder a img { 203 margin: 4px; 297 .photos-large { 298 /* .photos-large controls the picture itself */ 299 margin: 0 0 20px 0; 204 300 padding: 3px; 205 301 background: #fff; … … 207 303 } 208 304 #picture-holder a:hover { 305 /* #picture-holder a:hover controls the hover behavior of the picture itself */ 209 306 white-space: normal; 210 307 } 211 308 #picture-description { 309 /* #picture-description controls the picture's description */ 310 width: 80%; 212 311 margin: 6px auto 6px; 213 padding: 0 80px;214 /* ideally, no padding, but width equal to THUMB_LARGE image */215 312 text-align: center; 216 313 font-size: 1.1em; 217 314 } 315 316 /* exif stuff is for the 'camera details' table */ 317 218 318 #exif_toggle { 219 319 margin: 0 0 20px 0; … … 231 331 padding: 0 20px; 232 332 } 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 233 361 #comment-section { 362 /* #comment-section contains the comments, the "post a comment" input fields, and the submit button */ 234 363 margin: 10px 25px 10px 25px; 235 364 clear: both; … … 237 366 } 238 367 .comment-heading { 368 /* .comment-heading controls the "Comments:" and "Post a comment:" headings */ 239 369 margin: 12px 0 0 0; 240 370 font-size: 1.4em; 241 371 } 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 */261 372 #comment-section form p { 373 /* #comment-section form p contains the "post a comment" input fields */ 262 374 margin: 6px 0; 263 375 } 264 376 .comment, .comment_alt { 377 /* .comment, .comment_alt control those elements that all comments have in common */ 265 378 border-top: 1px solid #dfded6; 266 379 margin: 0; … … 269 382 } 270 383 .comment_alt { 384 /* .comment_alt controls those elements that every other comment has in common, eg: a different colored background */ 271 385 background: #effbfb; 272 386 } 273 387 .comments p { 388 /* .comments p controls paragraphs within each comment */ 274 389 margin: 0; 275 390 font-size: 1.1em; … … 278 393 } 279 394 .comments cite { 395 /* .comments cite controls the "Comment by So-and-so - Posted on DATE" text */ 280 396 margin-top: 8px; 281 397 padding: 5px 5px 5px 23px; … … 288 404 } 289 405 .comments-closed { 406 /* .comments-closed controls the "Comments closed." message if comments are disabled */ 290 407 color: #996; 291 408 text-align: center; 292 409 } 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;
