Ignore:
Timestamp:
Nov 24, 2010, 9:42:56 PM (13 years ago)
Author:
rvelices
Message:

css rules simplification

  • merged rules
  • remove overly qualified inefficient selectors

etc...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/themes/default/thumbnails.css

    r6363 r7869  
    1 .content UL.thumbnails {
     1UL.thumbnails {
    22  margin: 0; padding: 0; list-style: none;
    33  text-align: center;   /* to center the whole collection in .content */
    44  float: left;
    55}
    6 .content UL.thumbnails LI { display: inline }
    7 .content ul.thumbnails li.rank-of-image {
     6UL.thumbnails LI { display: inline }
     7UL.thumbnails li.rank-of-image {
    88  float: left;
    99  background-color: #111;
     
    1717  margin: 10px;
    1818}
    19 .content ul.thumbnails li.rank-of-image img {
     19UL.thumbnails li.rank-of-image img {
    2020  margin: 0 20px;
    2121  padding: 4px 2px;
     
    3030  position:absolute;
    3131}
    32 .content ul.thumbnails li.rank-of-image input {
     32UL.thumbnails li.rank-of-image input {
    3333  height: 12px;
    3434  width: 50px;
     
    3636  top: 4px; 
    3737}
    38 .content UL.thumbnails SPAN.wrap1 {
     38UL.thumbnails SPAN.wrap1 {
    3939  margin: 0 5px 5px 5px;
    4040  display: table-cell; display: inline-table;
     
    4343  text-align: center;           /* to center the thumbnail and legend in Geko/Opera */
    4444}
    45 .content UL.thumbnails SPAN.wrap2 {
     45UL.thumbnails SPAN.wrap2 {
    4646  margin: 0;                    /* important reset the margins */
    4747  display: table-cell;          /* block prevents vertical-align here */
    4848  vertical-align: middle;       /* Ok with Opera and Geko not IE6 */
    4949}
    50 .content UL.thumbnails LABEL { display: block; border-bottom: none; }
    51 .content UL.thumbnails IMG {
     50UL.thumbnails LABEL { display: block; border-bottom: none; }
     51UL.thumbnails IMG {
    5252  margin-bottom: -4px;  /* why ??? something wrong with Geko and Opera ignored by IE6*/
    5353}
    54 .content UL.thumbnails LABEL { position: relative; }
    55 .content UL.thumbnails INPUT {
     54UL.thumbnails LABEL { position: relative; }
     55UL.thumbnails INPUT {
    5656  position: relative;   /* <= Opera can handle relative here */
    5757  top: -20px;
    5858}
    59 :root .content UL.thumbnails INPUT { /* hide from Opera */
     59:root UL.thumbnails INPUT { /* hide from Opera */
    6060  position: absolute;   /* <= Opera hide 1 checkbox over 2 !!! */
    6161  left: 2px; top: 2px;
Note: See TracChangeset for help on using the changeset viewer.