Ticket #716: white.css.and.forum_index.php.patch
File white.css.and.forum_index.php.patch, 6.8 KB (added by , 16 years ago) |
---|
-
forum_index.php
56 56 <tr class=\"row$j\"> 57 57 <td> 58 58 <em> 59 <a href=\"forum_forum.php?id=$forum->id\">$t 60 </ a></em>61 <br ><span class=\"smalltext\">$d</span>59 <a href=\"forum_forum.php?id=$forum->id\">$t</a> 60 </em> 61 <br /><span class=\"smalltext\">$d</span> 62 62 </td> 63 <td >$forum->threads</td>64 <td >$forum->posts</td>65 <td >".time_diff_str($forum->timestamp, time())."</td>63 <td class=\"numbers\">$forum->threads</td> 64 <td class=\"numbers\">$forum->posts</td> 65 <td class=\"lastpost\">".time_diff_str($forum->timestamp, time())."</td> 66 66 </tr>"; 67 67 } 68 68 -
white.css
27 27 margin: 10px; 28 28 } 29 29 30 h2, h3, h4 { color: black; }31 32 30 h3, h4 { font-weight: bold; } 33 31 34 32 hr { … … 73 71 } 74 72 75 73 td.fieldname { 76 background-color: #eee eee;74 background-color: #eee; 77 75 text-align: right; 78 76 padding-right: 10px; 79 77 margin: 2px 0px; … … 85 83 } 86 84 87 85 td.fieldname_error { 88 background-color: #f f8888;86 background-color: #f88; 89 87 text-align: right; 90 88 } 91 89 92 90 td.fieldvalue_error { 93 background-color: #f f8888;91 background-color: #f88; 94 92 font-weight: bold; 95 93 } 96 94 … … 112 110 } 113 111 114 112 .row1 { 115 background-color: #eee eee;113 background-color: #eee; 116 114 text-align: left; 117 115 } 118 116 119 .row_hd0 { background-color: rgb(207,250,207); }117 .row_hd0 { background-color: #cffacf; } 120 118 121 .row_hd1 { background-color: rgb(222,250,222); }119 .row_hd1 { background-color: #defade; } 122 120 123 121 tr.message { background-color: #e0e0e0; } 124 122 123 span.note { 124 font-weight: normal; 125 font-size: 0.9em; 126 font-style: italic; 127 } 128 129 span.page_title { 130 font-size: 24px; 131 margin: 20px; 132 } 133 125 134 input, select, textarea{ 126 135 border: 1px solid #d8d8d8; 127 -moz-border-radius: 5px;128 -webkit-border-radius: 5px;129 136 padding: 2px; 130 137 font-size: 12px; 138 -moz-border-radius: 5px; 139 -webkit-border-radius: 5px; 131 140 } 132 141 133 142 input[type="button"], input[type="submit"], input.btn { … … 147 156 148 157 #news { 149 158 background-color: #dff0ff; 150 border: 2px solid lightblue;159 border: 2px solid #add8e6; 151 160 padding: 10px; 152 161 margin: 4px; 153 162 -moz-border-radius: 10px; … … 161 170 } 162 171 163 172 #news h3 { 164 color: #666 666;173 color: #666; 165 174 font-size: 1em; 166 175 margin-bottom: 2px; 167 176 } … … 172 181 173 182 #uotd { 174 183 background-color: #d3d3d3; 175 border: 2px solid #eee eee;184 border: 2px solid #eee; 176 185 padding: 10px; 177 186 margin: 4px; 178 187 -moz-border-radius: 10px; 179 188 -webkit-border-radius: 10px; 180 189 } 181 190 191 span.news_date { 192 color: #646464; 193 font-size: 0.9em; 194 } 195 182 196 /* Forum */ 183 197 184 198 td.category , tr.subtitle{ 185 background-color: #ddd ddd;199 background-color: #ddd; 186 200 border: 0px; 187 201 font-weight: bold; 188 202 margin: 6px 0px; … … 195 209 } 196 210 197 211 td.postheader { 198 background-color: #eeeeee; 212 background-color: #eee; 213 font-size: 11px; 199 214 height: 24px; 200 215 margin-left: 4px; 201 padding-left: 8px; 216 padding-left: 8px; 202 217 -moz-border-radius: 0px 0px 10px 10px; 203 -webkit-border-radius: 0px 0px 10px 10px; 218 -webkit-border-radius: 0px 0px 10px 10px; 204 219 } 205 220 206 221 td.postbody { … … 210 225 } 211 226 212 227 td.postfooter { 213 background-color: #eeeeee; 228 background-color: #eee; 229 font-size: 11px; 214 230 height: 26px; 215 231 margin-left: 4px; 216 232 padding-left: 8px; … … 221 237 tr.helpdeskseperator { height: 10pt; } 222 238 223 239 tr.postseperator { 224 background-color: rgb(200,200,200);225 border: 1px solid rgb(170,170,170);240 background-color: #c8c8c8; 241 border: 1px solid #aaa; 226 242 margin: 4px 0px; 227 243 } 228 244 229 td.threadline { text-align: left; } 245 td.threadline { 246 text-align: left; 247 vertical-align: middle; 248 } 230 249 250 td.numbers { 251 text-align: center; 252 vertical-align: middle; 253 } 254 255 td.lastpost { vertical-align: middle; } 256 231 257 .title { 232 258 font-size: 14px; 233 259 font-weight: bold; … … 244 270 } 245 271 246 272 div.authorcol { 247 border: 1px solid #c8c8c8; 248 background-color: white; 249 padding: 8px 5px; 250 width: 120px; 251 margin-left: 2px; 252 -moz-border-radius: 10px; 253 -webkit-border-radius: 10px; 273 border: 1px solid #c8c8c8; 274 background-color: white; 275 padding: 8px 5px; 276 width: 120px; 277 margin-left: 2px; 278 -moz-border-radius: 10px; 279 -webkit-border-radius: 10px; 254 280 } 255 281 256 282 .authorinfo img { 257 border: 1px solid #a8a8a8; 258 margin: 3px 9px; 283 border: 1px solid #a8a8a8; 284 margin: 3px 9px; 259 285 } 260 286 261 287 .authorcol input { margin: 4px 10px; } 262 288 263 .cellwrap{264 width: 100%;265 overflow: auto;266 }267 268 289 blockquote.postbody { 269 border -left: 2px solid blue;270 border- color: blue;271 background-color: rgb(240,240,255);272 padding: 2px 0px 2px 5px;290 border: 1px solid #d7ffea; 291 border-left: 3px solid #0069a1; 292 background-color: #f5fffa; 293 padding: 4px 6px; 273 294 margin: 0px 100px 0px 15px; 274 295 font-style: italic; 275 296 } … … 281 302 word-wrap: break-word; 282 303 } 283 304 284 td.lastpost { background-color: white; }305 span.inboxunread { font-weight: bold; } 285 306 286 .sigdelim { 287 width: 60%; 288 height: 1px; 289 background-color: black; 290 color: black; 291 border: 0px; 292 margin-right: 100%; 293 } 307 span.highlight { background-color: #ffc; } 294 308 295 span.page_title {296 font-size: 24px;297 margin: 20px;298 }299 300 span.note {301 font-weight: normal;302 font-size: 0.9em;303 font-style: italic;304 }305 306 span.news_date {307 color: rgb(100,100,100);308 font-size: 0.9em;309 }310 311 span.inboxunread {312 font-weight: bold;313 }314 315 span.highlight {316 background-color: #ffffcc;317 }318 319 309 .code { 320 310 font-family: "Courier New", courier, monospace; 321 311 display: block; 322 312 margin-left: 5em; 323 border-left: 3px solid #c caaaa;313 border-left: 3px solid #caa; 324 314 padding-left: 1em; 325 315 white-space: nowrap; 326 316 overflow: auto; 327 317 } 328 318 329 .smalltext { 330 font-size: 0.8em; 331 } 319 .smalltext { font-size: 0.8em; } 332 320 333 321 .error { 334 322 color: #ff0000; … … 343 331 } 344 332 345 333 #preview { 346 border: 2px solid #ccc ccc;347 background-color: #eee eee;334 border: 2px solid #ccc; 335 background-color: #eee; 348 336 margin: 1em; 349 337 padding: 0.2em; 350 338 } … … 352 340 #preview .header { 353 341 font-weight: bold; 354 342 font-size: 1.3em; 355 border-bottom: 1px solid #ccc ccc;343 border-bottom: 1px solid #ccc; 356 344 } 357 345 358 346 /* Server Status Page */ 359 347 360 td.running { background-color: # 00ff00; }348 td.running { background-color: #9aff4f; } 361 349 362 td.notrunning { background-color: #f f0000; }350 td.notrunning { background-color: #feff6f; } 363 351 364 td.disabled { background-color: #ff 8800; }352 td.disabled { background-color: #ff4f4f; } 365 353 366 354 /* IE hack */ 367 355