Changeset 238
- Timestamp:
- 08/19/07 15:19:15 (1 year ago)
- Files:
-
- trunk/templates/public/photoblog/index.html (modified) (5 diffs)
- trunk/templates/public/photoblog/themes/blue/blue.css (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/templates/public/photoblog/index.html
r237 r238 17 17 {foreach $galleries as $gallery} 18 18 <div class="album"> 19 <div class="photo"> 19 20 {if $gallery->isPrivateAndLocked()} 20 21 <a href="{$gallery.linkPrivate}"> … … 25 26 {/if} 26 27 <img src="{$gallery.defaultImage}" alt=""/></a> 28 </div> 27 29 28 30 <div class="albumdesc"> … … 31 33 {else} 32 34 {if $gallery.totalCount > 0} 33 <h3><a href="{$gallery.linkConsult}">{$gallery.niceName}</a></h3>35 <h3><a href="{$gallery.linkConsult}">{$gallery.niceName}</a></h3> 34 36 {/if} 35 37 36 38 {if $gallery->hasSubGallery()} 37 {if $gallery.totalCount == 0} 38 <h2>{$gallery.niceName}</h2> 39 {/if} 40 <h3><a href="{$gallery.linkSubGallery}">{i18n 'Sub galleries'}</a></h3> 41 {/if} 39 {if $gallery.totalCount == 0} 40 <h3><a href="{$gallery.linkSubGallery}">{$gallery.niceName}</a></h3> 41 {/if} 42 {/if} 42 43 {/if} 43 44 … … 45 46 <span class="infos"> 46 47 {if $gallery.imageCount > 0} 47 {$gallery.imageCount} {i18n ' pictures - '} {$gallery.imageNiceSize}48 <strong>{$gallery.imageCount}</strong> {i18n ' pictures'} 48 49 {/if} 49 50 {if $gallery.flvCount > 0} 50 51 {if $gallery.imageCount > 0} <br/>{/if} 51 {$gallery.flvCount} {i18n ' videos - '} {$gallery.flvNiceSize}52 <strong>{$gallery.flvCount}</strong> {i18n ' videos'} 52 53 {/if} 53 54 </span> 55 {/if} 56 </div> 57 58 <div class="otherlinks"> 59 {if $gallery.totalCount > 0 && !$gallery->isPrivateAndLocked() && $gallery->hasSubGallery()} 60 <h3><a href="{$gallery.linkSubGallery}">{i18n 'Sub galleries'}</a></h3> 61 {/if} 62 {if $gallery.totalCount > 0 && !$gallery->isPrivateAndLocked()} 63 <h3><a href="#">{i18n 'Diaporama'}</a></h3> 54 64 {/if} 55 65 </div> … … 74 84 <p style="clear:both;"></p> 75 85 {/if} 86 <p style="clear:both;"></p> 76 87 77 88 {include '_footer.html'} trunk/templates/public/photoblog/themes/blue/blue.css
r201 r238 1 1 /* 2 2 3 Zen Photo Default 1.04 5 */3 Zen Photo Default 1.0 4 5 */ 6 6 7 7 /* Basics 8 ------------------------------*/8 */ 9 9 html { 10 margin-bottom: 0.1em;10 margin-bottom: 0.1em; 11 11 } 12 12 13 13 /* Main Layout 14 ------------------------------*/14 */ 15 15 body { 16 background: #F5F5F3;17 margin: 0px;18 padding: 0px 0px 50px;19 text-align: center;16 background: #F5F5F3; 17 margin: 0px; 18 padding: 0px 0px 50px; 19 text-align: center; 20 20 } 21 21 #main { 22 text-align: left;23 margin: 20px auto;24 width: 600px;25 background: #fff;26 padding: 20px 30px 70px;27 border-top: 1px solid #E6E6DF;28 border-right: 1px solid #E6E6DF;29 border-bottom: 5px solid #E6E6DF;30 border-left: 1px solid #E6E6DF;22 text-align: left; 23 margin: 20px auto; 24 width: 600px; 25 background: #fff; 26 padding: 20px 30px 70px; 27 border-top: 1px solid #E6E6DF; 28 border-right: 1px solid #E6E6DF; 29 border-bottom: 5px solid #E6E6DF; 30 border-left: 1px solid #E6E6DF; 31 31 } 32 32 #credit { 33 margin: 0 auto;34 width: 640px;35 font-size: 85%;36 color: #96967E;37 text-align: right;38 clear: both;33 margin: 0 auto; 34 width: 640px; 35 font-size: 85%; 36 color: #96967E; 37 text-align: right; 38 clear: both; 39 39 } 40 40 #credit a { 41 text-decoration: none;42 color: #96967E;43 border-bottom: 1px dotted #96967E;41 text-decoration: none; 42 color: #96967E; 43 border-bottom: 1px dotted #96967E; 44 44 } 45 45 #credit a:hover { 46 color: #BDBDAE;47 border-bottom: 1px solid #BDBDAE;48 text-decoration: none;46 color: #BDBDAE; 47 border-bottom: 1px solid #BDBDAE; 48 text-decoration: none; 49 49 } 50 50 #gallerytitle { 51 border-bottom: 1px solid #E6E6DF;52 padding-bottom: 14px;53 margin-bottom: 12px;54 _margin-top: 40px; /* IE Only */51 border-bottom: 1px solid #E6E6DF; 52 padding-bottom: 14px; 53 margin-bottom: 12px; 54 margin-top: 40px; /* IE Only */ 55 55 } 56 56 57 57 58 58 /* Text Styles 59 ------------------------------*/59 */ 60 60 body { 61 font: normal 82%/200% "Helvetica Neue", Helvetica, Arial, sans-serif;62 color: #5A5A4B;61 font: normal 82%/200% "Helvetica Neue", Helvetica, Arial, sans-serif; 62 color: #5A5A4B; 63 63 } 64 64 h2 { 65 font: 120% "Helvetica Neue", Helvetica, Arial, sans-serif;66 color: #002E5B;67 margin-top: 25px;65 font: 120% "Helvetica Neue", Helvetica, Arial, sans-serif; 66 color: #002E5B; 67 margin-top: 25px; 68 68 } 69 69 h2 a:link, h2 a:visited, h2 span { 70 color: #8DB8CF;70 color: #8DB8CF; 71 71 } 72 72 h3 { 73 font: 120% "Helvetica Neue", Helvetica, Arial, sans-serif;74 color: #002E5B;75 margin-top: 30px;73 font: 120% "Helvetica Neue", Helvetica, Arial, sans-serif; 74 color: #002E5B; 75 margin-top: 30px; 76 76 } 77 77 78 78 79 79 /* Link Styles 80 ------------------------------*/80 */ 81 81 a:link, a:active { text-decoration: underline; color: #17A; } 82 82 a:visited { text-decoration: underline; color: #035; } … … 85 85 86 86 /* Miscellaneous 87 ------------------------------*/87 */ 88 88 hr { 89 clear: both;90 height: 0;91 border: 0;92 border-top: 1px solid #E6E6DF;93 margin: 0 0 12px 0;94 padding: 0;89 clear: both; 90 height: 0; 91 border: 0; 92 border-top: 1px solid #E6E6DF; 93 margin: 0 0 12px 0; 94 padding: 0; 95 95 } 96 96 img { 97 border: 0;97 border: 0; 98 98 } 99 99 blockquote { 100 border-left: 1px dotted #96967E;101 margin-left: 20px;102 padding-left: 20px;103 color: #363630;100 border-left: 1px dotted #96967E; 101 margin-left: 20px; 102 padding-left: 20px; 103 color: #363630; 104 104 } 105 105 106 106 107 107 /* Page Navigation 108 ------------------------------*/108 */ 109 109 ul.pagelist { 110 clear: both;111 padding: 0;112 margin: 20px 0 0 0;113 list-style-type: none;110 clear: both; 111 padding: 0; 112 margin: 20px 0 0 0; 113 list-style-type: none; 114 114 } 115 115 ul.pagelist li { 116 display: inline;116 display: inline; 117 117 } 118 118 ul.pagelist li a, ul.pagelist span.disabledlink { 119 padding: 4px;119 padding: 4px; 120 120 } 121 121 ul.pagelist li.current a { 122 font-weight: bold;123 text-decoration: none;124 cursor: default;125 color: #5A5A4B;122 font-weight: bold; 123 text-decoration: none; 124 cursor: default; 125 color: #5A5A4B; 126 126 } 127 127 ul.pagelist li.prev { 128 margin-right: 10px;128 margin-right: 10px; 129 129 } 130 130 ul.pagelist li.next { 131 margin-left: 10px;131 margin-left: 10px; 132 132 } 133 133 .disabledlink { 134 color: #ddd;135 cursor: default;134 color: #ddd; 135 cursor: default; 136 136 } 137 137 .pagenav { 138 clear: both;138 clear: both; 139 139 } 140 140 … … 142 142 143 143 /* Image Thumbnails 144 ------------------------------*/144 */ 145 145 .imagethumb a { 146 display: block;147 padding: 10px;148 margin: 6px;149 150 border: 1px solid #92BED3;151 background: #DDEAF0;152 line-height: 0px;153 vertical-align:middle;154 /* height:116px; */155 /* width:116px; */146 display: block; 147 padding: 10px; 148 margin: 6px; 149 150 border: 1px solid #92BED3; 151 background: #DDEAF0; 152 line-height: 0px; 153 vertical-align:middle; 154 /* height:116px; */ 155 /* width:116px; */ 156 156 } 157 157 .imagethumb a:visited { 158 border: 1px solid #D3E4ED;159 background: #F2F7F9;158 border: 1px solid #D3E4ED; 159 background: #F2F7F9; 160 160 } 161 161 .imagethumb a:hover { 162 border: 1px solid #62A0BF;163 background: #F4F9FB;162 border: 1px solid #62A0BF; 163 background: #F4F9FB; 164 164 } 165 165 .imagethumb { 166 float: left;167 height:145px;168 width:150px;166 float: left; 167 height:145px; 168 width:150px; 169 169 } 170 170 .imagethumb a { 171 171 text-align:center; 172 /* vertical-align:middle; */172 /* vertical-align:middle; */ 173 173 } 174 174 175 175 /* Album Thumbnails 176 ------------------------------ */ 177 .album { 178 padding: 10px; 179 height:85px; 180 margin-bottom: 12px; 181 clear: both; 182 border: 1px solid #E7F0F5; 183 background: #FBFCFD; 184 } 185 .album img { 186 float: left; 187 } 188 .album h3 { 189 padding: 0; 190 margin: 0; 191 } 192 .album h3 a { 193 display: inline; 194 width: 340px; 195 padding: 3px 0 6px 0; 196 } 197 .album p { 198 margin: 0 0 4px 0; 199 } 200 .albumdesc { 201 float: right; 202 width: 480px; 203 } 204 .albumdesc small { 205 margin-top: 8px; 206 line-height: 130%; 207 width: 120px; 208 float: right; 209 color: #8DB8CF; 210 } 211 176 */ 177 #albums { 178 width:680px; 179 } 180 #albums .album { 181 float:left; 182 width:110px; 183 margin-right:10px; 184 margin-top:10px; 185 padding-top:10px; 186 height:200px; 187 border: 1px solid #E7F0F5; 188 background: #FBFCFD; 189 } 190 #albums .album .photo { 191 text-align:center; 192 } 193 #albums .album h3 { 194 font-size:1.1em; 195 padding: 0; 196 margin: 0; 197 } 198 #albums .album .albumdesc h3 a { 199 display: inline; 200 } 201 #albums .album p { 202 margin: 0 0 4px 0; 203 } 204 #albums .album .albumdesc { 205 padding:5px; 206 } 207 #albums .album .albumdesc .infos { 208 209 color: #8DB8CF; 210 } 211 #albums .album .otherlinks h3 { 212 font-size:0.9em; 213 padding-left:5px; 214 } 215 #albums .album .otherlinks h3 a{ 216 text-decoration:none; 217 } 212 218 213 219 /* Individual Image 214 ------------------------------*/220 */ 215 221 .image { 216 margin: 0;217 padding: 0;218 border: 0;222 margin: 0; 223 padding: 0; 224 border: 0; 219 225 } 220 226 #image { 221 text-align: center;222 line-height: 0;227 text-align: center; 228 line-height: 0; 223 229 } 224 230 .imgnav { 225 float: right;226 width: 200px;227 text-align: center;228 border: 1px solid #D5E6EE;229 background: #EEF5F9;230 margin-top: 13px;231 _margin-top: 8px; /* IE Only */232 height:30px;231 float: right; 232 width: 200px; 233 text-align: center; 234 border: 1px solid #D5E6EE; 235 background: #EEF5F9; 236 margin-top: 13px; 237 margin-top: 8px; /* IE Only */ 238 height:30px; 233 239 } 234 240 .imgnav .imgprevious, .imgnav .imgnext { 235 display: block;236 width: 49%;237 height: 100%;238 float: left;239 padding: 2px 0px;240 font-size: 100%;241 text-decoration: none;242 line-height: 200%;243 color: #237898;241 display: block; 242 width: 49%; 243 height: 100%; 244 float: left; 245 padding: 2px 0px; 246 font-size: 100%; 247 text-decoration: none; 248 line-height: 200%; 249 color: #237898; 244 250 } 245 251 .imgnav .imgprevious a:hover, .imgnav .imgnext a:hover { 246 background-color: #fff;247 text-decoration: none;248 color: #002E5B;252 background-color: #fff; 253 text-decoration: none; 254 color: #002E5B; 249 255 } 250 256 .imgnav .imgprevious a { 251 margin-left:4px;252 float: left;257 margin-left:4px; 258 float: left; 253 259 } 254 260 .imgnav .imgnext a { 255 margin-right:4px;256 float: right;261 margin-right:4px; 262 float: right; 257 263 } 258 264 #narrow { 259 margin: 0 auto;260 width: 440px;265 margin: 0 auto; 266 width: 440px; 261 267 } 262 268 263 269 264 270 /* Comments 265 ------------------------------*/271 */ 266 272 #comments { 267 clear: both;273 clear: both; 268 274 } 269 275 .error { … … 272 278 } 273 279 .comment { 274 padding: 10px;275 border: 1px solid #E7F0F5;276 background: #FBFCFD;277 margin-bottom: 12px;280 padding: 10px; 281 border: 1px solid #E7F0F5; 282 background: #FBFCFD; 283 margin-bottom: 12px; 278 284 } 279 285 .commentmeta { 280 margin-bottom: 12px;286 margin-bottom: 12px; 281 287 } 282 288 .commentauthor { 283 font-weight: bold;289 font-weight: bold; 284 290 } 285 291 .commentdate { 286 margin-top: 12px;287 color: #8DB8CF;288 font-size: 85%;292 margin-top: 12px; 293 color: #8DB8CF; 294 font-size: 85%; 289 295 } 290 296 291 297 292 298 /* Forms 293 ------------------------------*/299 */ 294 300 .inputbox { 295 width: 250px;296 padding: 2px;301 width: 250px; 302 padding: 2px; 297 303 } 298 304 textarea { 299 padding: 4px;300 width: 100%;301 color: #5A5A4B;302 font: 100%/200% "Helvetica Neue", Helvetica, Arial, sans-serif;305 padding: 4px; 306 width: 100%; 307 color: #5A5A4B; 308 font: 100%/200% "Helvetica Neue", Helvetica, Arial, sans-serif; 303 309 } 304 310 .checkbox { 305 cursor: pointer;311 cursor: pointer; 306 312 } 307 313 .pushbutton { 308 cursor: pointer;309 padding: 5px 10px;314 cursor: pointer; 315 padding: 5px 10px; 310 316 } 311 317 label { 312 cursor: pointer;318 cursor: pointer; 313 319 } 314 320 label:hover { 315 color: #000;321 color: #000; 316 322 } 317 323 fieldset {
