Dotclear


Ignore:
Timestamp:
12/04/16 14:23:07 (9 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Prettify scss code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/style/scss/partials/_plugins.scss

    r3365 r3439  
    1 .modules td.module-actions, 
    2 .modules td.module-icon { 
    3     vertical-align: middle; 
    4 } 
    5  
    6 .modules td.module-icon img:last-child { 
    7     width: 16px; 
    8     height: 16px; 
    9 } 
    10  
    11 .modules td.module-icon img.expand { 
    12     margin-bottom: 3px; 
    13 } 
    14  
    15 .modules td.module-distrib img { 
    16     display: block; 
    17     float: right; 
    18 } 
    19  
    20 .modules dt { 
    21     font-weight: bold; 
    22 } 
    23  
    24 .modules a.module-details { 
    25     background: transparent url(search.png) no-repeat 2px center; 
    26     padding: 4px 4px 0 20px; 
    27 } 
    28  
    29 .modules a.module-support { 
    30     background: transparent url(help12.png) no-repeat 2px center; 
    31     padding: 4px 4px 0 20px; 
    32 } 
    33  
    34 .modules a.module-config { 
    35     background: transparent url(settings.png) no-repeat 2px 6px; 
    36     padding: 4px 4px 0 18px; 
    37 } 
    38  
    39 #m_search { 
    40     background: transparent url(search.png) no-repeat 4px center; 
    41     padding-left: 20px; 
     1.modules td { 
     2     &.module-actions, 
     3     &.module-icon { 
     4          vertical-align: middle; 
     5     } 
     6     &.module-icon img { 
     7          &:last-child { 
     8               width: 16px; 
     9               height: 16px; 
     10          } 
     11          &.expand { 
     12               margin-bottom: 3px; 
     13          } 
     14     } 
     15     &.module-distrib img { 
     16          display: block; 
     17          float: right; 
     18     } 
    4219} 
    4320 
    4421.modules tr.expand, 
    4522.modules td.expand { 
    46     background: #f7f7f7; 
    47     border-color: #bee74b; 
     23     background: #f7f7f7; 
     24     border-color: #bee74b; 
    4825} 
    4926 
    5027.modules tr.expand td:first-child { 
    51     font-weight: bold; 
    52     background: #dfe5e7; 
     28     font-weight: bold; 
     29     background: #dfe5e7; 
    5330} 
    5431 
    5532.modules td.expand { 
    56     padding: 0 0 1em; 
    57     border-top: 1px solid #eaeaea; 
     33     padding: 0 0 1em; 
     34     border-top: 1px solid #eaeaea; 
     35     div { 
     36          display: inline-block; 
     37          vertical-align: top; 
     38          margin-right: 3em; 
     39     } 
    5840} 
    5941 
    60 .modules td.expand div { 
    61     display: inline-block; 
    62     vertical-align: top; 
    63     margin-right: 3em; 
     42.modules dt { 
     43     font-weight: bold; 
    6444} 
    6545 
    66 .mod-more, 
    67 .mod-more li { 
    68     margin: .25em 0 0 1em; 
    69     padding: 0; 
    70     list-style-type: none; 
     46.modules a { 
     47     &.module-details { 
     48          background: transparent url(search.png) no-repeat 2px center; 
     49          padding: 4px 4px 0 20px; 
     50     } 
     51     &.module-support { 
     52          background: transparent url(help12.png) no-repeat 2px center; 
     53          padding: 4px 4px 0 20px; 
     54     } 
     55     &.module-config { 
     56          background: transparent url(settings.png) no-repeat 2px 6px; 
     57          padding: 4px 4px 0 18px; 
     58     } 
     59} 
     60 
     61#m_search { 
     62     background: transparent url(search.png) no-repeat 4px center; 
     63     padding-left: 20px; 
    7164} 
    7265 
    7366.mod-more { 
    74     padding-top: .5em; 
     67     padding-top: .5em; 
     68     &, 
     69     li { 
     70          margin: .25em 0 0 1em; 
     71          padding: 0; 
     72          list-style-type: none; 
     73     } 
    7574} 
    7675 
    7776#plugin-update td { 
    78     vertical-align: baseline; 
     77     vertical-align: baseline; 
    7978} 
Note: See TracChangeset for help on using the changeset viewer.

Sites map