Changeset 8306 for trunk/themes/default/theme.css
- Timestamp:
- Dec 26, 2010, 7:21:26 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/themes/default/theme.css
r8299 r8306 123 123 124 124 /* actions */ 125 UL.categoryActions {125 .categoryActions { 126 126 margin: 0 2px; 127 127 width: auto; … … 133 133 } 134 134 135 UL.categoryActions LI {135 .categoryActions LI { 136 136 display: inline; 137 137 } … … 216 216 217 217 /* Category thumbnails on main page, CSS code inspired from MOD subcatify */ 218 UL.thumbnailCategories {218 .thumbnailCategories { 219 219 margin: 0; 220 220 padding: 0; … … 224 224 } 225 225 226 UL.thumbnailCategories LI {226 .thumbnailCategories LI { 227 227 margin:0; 228 228 padding:0; … … 272 272 273 273 /* Thumbnails */ 274 UL.thumbnails SPAN.thumbLegend {274 .thumbnails SPAN.thumbLegend { 275 275 font-size: 90%; 276 276 overflow: hidden;/* oversized legend is clipped */ … … 278 278 279 279 /* Thumbnail "elastic" layout */ 280 UL.thumbnails {280 .thumbnails { 281 281 margin: 0; 282 282 padding: 0; … … 284 284 text-align: center; /* to center the whole collection in .content */ 285 285 } 286 UL.thumbnails LI { display: inline }287 288 UL.thumbnails SPAN.wrap1 {286 .thumbnails LI { display: inline } 287 288 .thumbnails .wrap1 { 289 289 margin: 0 5px 5px 5px; 290 290 display: table-cell; display: inline-table; … … 293 293 text-align: center; /* to center the thumbnail and legend in Geko/Opera */ 294 294 } 295 UL.thumbnails SPAN.wrap2 {295 .thumbnails .wrap2 { 296 296 margin: 0; /* important reset the margins */ 297 297 display: table-cell;/* block prevents vertical-align here */ … … 301 301 -webkit-border-radius: 4px; /* Safari webkit project */ 302 302 } 303 UL.thumbnails SPAN.wrap2 A,304 UL.thumbnails LABEL {303 .thumbnails .wrap2 A, 304 .thumbnails LABEL { 305 305 display: block; 306 306 border-bottom: 0; 307 307 } 308 UL.thumbnails IMG {308 .thumbnails IMG { 309 309 margin-bottom: -4px; /* why ??? something wrong with Geko and Opera ignored by IE6*/ 310 310 } … … 508 508 } 509 509 510 FORM.filter UL {510 .filter UL { 511 511 margin: 0; 512 512 } 513 FORM.filter UL,514 FORM.filter LABEL {513 .filter UL, 514 .filter LABEL { 515 515 display: block; 516 516 float: left; … … 519 519 } 520 520 521 FORM.filter LI {521 .filter LI { 522 522 list-style: none; 523 523 margin-bottom: 0.5em; 524 524 } 525 525 526 FORM.filter LI LABEL {526 .filter LI LABEL { 527 527 display: inline; 528 528 float: none; 529 529 } 530 530 531 FORM.filter UL.tagSelection LABEL {531 .filter .tagSelection LABEL { 532 532 display: inline; 533 533 float: none; … … 536 536 537 537 /* cannot use FIELDSET>LABEL because of IE<=6 */ 538 FORM.filter LABEL INPUT,539 FORM.filter LABEL SELECT,540 FORM.filter LABEL SPAN,541 FORM.filter LABEL TEXTAREA {538 .filter LABEL INPUT, 539 .filter LABEL SELECT, 540 .filter LABEL SPAN, 541 .filter LABEL TEXTAREA { 542 542 display: block; 543 543 margin: 0.5em 0; 544 544 } 545 FORM.filter FIELDSET * LABEL INPUT,546 FORM.filter FIELDSET * LABEL SELECT,547 FORM.filter FIELDSET * LABEL TEXTAREA,548 FORM.filter LABEL SPAN INPUT,549 FORM.filter LABEL SPAN SELECT,550 FORM.filter LABEL SPAN TEXTAREA {545 .filter FIELDSET * LABEL INPUT, 546 .filter FIELDSET * LABEL SELECT, 547 .filter FIELDSET * LABEL TEXTAREA, 548 .filter LABEL SPAN INPUT, 549 .filter LABEL SPAN SELECT, 550 .filter LABEL SPAN TEXTAREA { 551 551 display: inline; 552 552 vertical-align: top; … … 554 554 } 555 555 556 FORM.filter UL.tagSelection LI LABEL INPUT {556 .filter .tagSelection LI LABEL INPUT { 557 557 margin-right:0; 558 558 } 559 559 560 560 561 FORM.filter INPUT[type="submit"] {561 .filter INPUT[type="submit"] { 562 562 margin-top: 1em; 563 563 } 564 564 565 FORM.properties UL {565 .properties UL { 566 566 list-style-type: none; 567 567 margin: 0; … … 569 569 } 570 570 571 FORM.properties LI {571 .properties LI { 572 572 margin-bottom: 0.5em; 573 573 padding: 0; … … 576 576 } 577 577 578 FORM.properties SPAN.property {578 .properties SPAN.property { 579 579 font-weight: bold; 580 580 float: left; … … 586 586 587 587 /* button tools */ 588 UL.actions {588 .actions { 589 589 text-indent: 0; 590 590 list-style: none; 591 591 } 592 UL.actions LI {592 .actions LI { 593 593 display: inline; 594 594 } 595 UL.actions A, UL.actions IMG {595 .actions A, .actions IMG { 596 596 border: none; 597 597 } 598 598 599 UL.tagSelection {599 .tagSelection { 600 600 width: 99%; 601 601 margin: 1em 0; … … 603 603 } 604 604 605 UL.tagSelection LI {605 .tagSelection LI { 606 606 display:inline-block; 607 607 width:150px!important; … … 675 675 #theHeader {text-align: center;} 676 676 677 #comments UL.thumbnailCategories LI { width:99%; }677 #comments .thumbnailCategories LI { width:99%; } 678 678 679 679 /* jQuery datepicker */ … … 683 683 684 684 /* Set some sizes according to your maximum thumbnail width and height */ 685 UL.thumbnails SPAN,686 UL.thumbnails SPAN.wrap2 A,687 UL.thumbnails LABEL,685 .thumbnails SPAN, 686 .thumbnails .wrap2 A, 687 .thumbnails LABEL, 688 688 .thumbnailCategory DIV.illustration { 689 689 width: 140px; /* max thumbnail width + 2px */ 690 690 } 691 UL.thumbnails SPAN.wrap2,691 .thumbnails .wrap2, 692 692 .content .thumbnailCategory .description { 693 693 height: 140px; /* max thumbnail height + 2px */ … … 696 696 697 697 /* Category thumbnails on main page */ 698 UL.thumbnailCategories LI {698 .thumbnailCategories LI { 699 699 width: 49.7%; /* 49.7% for 2 per line, 33.2% for 3 per line*/ 700 700 } 701 701 702 702 /* Set defaults for thumbnails legend */ 703 UL.thumbnails SPAN.thumbLegend {703 .thumbnails SPAN.thumbLegend { 704 704 display: block; /* display: none; if you don't want legend */ 705 705 height: 4em; /* legend height (don't set auto to be Gecko friendly)*/
Note: See TracChangeset
for help on using the changeset viewer.