Dotclear


Ignore:
Timestamp:
11/09/16 11:35:30 (9 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Add a user preference to hide additional information (.more-info class) and normal notes (.form-note class) (.info, .warn and .warning remain displayed)

Location:
admin/style
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • admin/style/default.css

    r3392 r3398  
    11641164span.form-note { 
    11651165  text-transform: none; } 
     1166 
     1167.no-more-info { 
     1168  display: none; } 
    11661169 
    11671170/* Removes inner padding and border in FF3+  - Knacss */ 
     
    20912094/* raccourcis */ 
    20922095#icons { 
    2093   overflow: hidden; 
    2094   text-align: center; } 
     2096  display: flex; 
     2097  flex-wrap: wrap; 
     2098  justify-content: center; } 
    20952099 
    20962100#icons p { 
    20972101  width: 13em; 
    20982102  text-align: center; 
    2099   margin: 1em 0 2em; 
    2100   display: inline-block; 
    2101   vertical-align: top; } 
     2103  margin: 1em 0 2em; } 
    21022104 
    21032105#icons a, 
     
    21742176#dashboard-boxes { 
    21752177  margin: 1em auto 1em; 
    2176   padding-top: 2em; } 
    2177  
    2178 .db-items, 
    2179 .db-contents { 
    2180   display: inline-block; 
    2181   text-align: center; } 
     2178  padding-top: 2em; 
     2179  display: flex; 
     2180  flex-wrap: wrap; 
     2181  justify-content: center; } 
    21822182 
    21832183.no-js .outgoing img { 
  • admin/style/scss/init/_config.scss

    r3389 r3398  
    22 
    33// ----------------- Compass config --------------- // 
    4 // Do not support IE less than IE9 
     4// Do not support IE less than IE10 
    55$browser-minimum-versions: ( 
    66  "ie": "10" 
  • admin/style/scss/partials/_forms.scss

    r3355 r3398  
    208208    text-transform: none; 
    209209} 
     210 
     211// .more-info Additional information on fieldset, field, … (may be hide from user-prefs) 
     212.more-info { 
     213} 
     214.no-more-info { 
     215    display: none; 
     216} 
  • admin/style/scss/partials/_index.scss

    r3355 r3398  
    11#dashboard-main { 
    2     text-align: center; 
     2     text-align: center; 
    33} 
    44 
     
    77 
    88#icons { 
    9     overflow: hidden; 
    10     text-align: center; 
     9//    overflow: hidden; 
     10//    text-align: center; 
     11     display: flex; 
     12     flex-wrap: wrap; 
     13     justify-content: center; 
    1114} 
    1215 
    1316#icons p { 
    14     width: 13em; 
    15     text-align: center; 
    16     margin: 1em 0 2em; 
    17     display: inline-block; 
    18     vertical-align: top; 
     17     width: 13em; 
     18     text-align: center; 
     19     margin: 1em 0 2em; 
     20//    display: inline-block; 
     21//    vertical-align: top; 
    1922} 
    2023 
     
    2427#icons a:hover, 
    2528#icons a:focus { 
    26     border-bottom-width: 0; 
    27     text-decoration: none; 
     29     border-bottom-width: 0; 
     30     text-decoration: none; 
    2831} 
    2932 
    3033#icons a span { 
    31     border-bottom: 1px dotted #999; 
    32     color: #333; 
     34     border-bottom: 1px dotted #999; 
     35     color: #333; 
    3336} 
    3437 
    3538#icons a img { 
    36     padding: 1.5em; 
    37     background-color: #f9f9f9; 
    38     border-radius: 8px; 
    39     border: 1px solid #dadada; 
    40     display: inline-block; 
     39     padding: 1.5em; 
     40     background-color: #f9f9f9; 
     41     border-radius: 8px; 
     42     border: 1px solid #dadada; 
     43     display: inline-block; 
    4144} 
    4245 
    4346#icons a:focus img, 
    4447#icons a:hover img { 
    45     background: #bee74b; 
    46     outline: 0; 
    47     border-color: #dadada; 
     48     background: #bee74b; 
     49     outline: 0; 
     50     border-color: #dadada; 
    4851} 
    4952 
    5053#icons a:focus { 
    51     outline: 0; 
    52     border-color: #fff; 
     54     outline: 0; 
     55     border-color: #fff; 
    5356} 
    5457 
    5558#icons a:hover span, 
    5659#icons a:focus span { 
    57     border-bottom-style: solid; 
     60     border-bottom-style: solid; 
    5861} 
    5962 
    6063#icons a:focus span { 
    61     border: 2px solid #bee74b; 
     64     border: 2px solid #bee74b; 
    6265} 
    6366 
     
    6669 
    6770#quick { 
    68     padding: 1em; 
    69     max-width: 976px; 
    70     margin: 0 auto; 
    71     background: #f5f5f5; 
    72     box-shadow: 0 1px 2px rgba(0, 0, 0, .2); 
    73     text-align: left; 
     71     padding: 1em; 
     72     max-width: 976px; 
     73     margin: 0 auto; 
     74     background: #f5f5f5; 
     75     box-shadow: 0 1px 2px rgba(0, 0, 0, .2); 
     76     text-align: left; 
    7477} 
    7578 
    7679#quick h3 { 
    77     margin-bottom: 0.2em; 
    78     font-size: 1.2em; 
     80     margin-bottom: 0.2em; 
     81     font-size: 1.2em; 
    7982} 
    8083 
    8184#quick p.qinfo { 
    82     margin: -.7em -1em 1em; 
    83     background: #D9EDF7 url(info.png) no-repeat .2em .2em; 
    84     border: 1px solid #BCE8F1; 
    85     padding: .2em 1em .1em 24px; 
    86     color: #000; 
     85     margin: -.7em -1em 1em; 
     86     background: #D9EDF7 url(info.png) no-repeat .2em .2em; 
     87     border: 1px solid #BCE8F1; 
     88     padding: .2em 1em .1em 24px; 
     89     color: #000; 
    8790} 
    8891 
     
    9093.q-cat, 
    9194.q-cat label { 
    92     display: inline-block; 
    93     vertical-align: top; 
    94     margin-right: 1em; 
    95     margin-top: 0; 
     95     display: inline-block; 
     96     vertical-align: top; 
     97     margin-right: 1em; 
     98     margin-top: 0; 
    9699} 
    97100 
    98101.q-cat label { 
    99     margin-right: .3em; 
     102     margin-right: .3em; 
    100103} 
    101104 
    102105#quick #new_cat { 
    103     margin-bottom: 2em; 
     106     margin-bottom: 2em; 
    104107} 
    105108 
     
    108111 
    109112#dashboard-boxes { 
    110     margin: 1em auto 1em; 
    111     padding-top: 2em; 
     113     margin: 1em auto 1em; 
     114     padding-top: 2em; 
     115     display: flex; 
     116     flex-wrap: wrap; 
     117     justify-content: center; 
    112118} 
    113119 
    114120.db-items, 
    115121.db-contents { 
    116     display: inline-block; 
    117     text-align: center; 
     122//   display: inline-block; 
     123//   text-align: center; 
    118124} 
    119125 
    120126.no-js .outgoing img { 
    121     display: none; 
     127     display: none; 
    122128} 
    123129 
    124130#dashboard-boxes .box { 
    125     padding: 10px; 
    126     border: 1px solid #ccc; 
    127     border-radius: 3px; 
    128     min-height: 200px; 
    129     margin: 10px; 
    130     text-align: left; 
     131     padding: 10px; 
     132     border: 1px solid #ccc; 
     133     border-radius: 3px; 
     134     min-height: 200px; 
     135     margin: 10px; 
     136     text-align: left; 
    131137} 
    132138 
    133139.dc-box { 
    134     background: transparent url(dc_logos/sq-logo-32.png) no-repeat top right; 
     140     background: transparent url(dc_logos/sq-logo-32.png) no-repeat top right; 
    135141} 
    136142 
    137143.db-items img, 
    138144.db-contents img { 
    139     vertical-align: middle; 
     145     vertical-align: middle; 
    140146} 
    141147 
    142148.db-items ul, 
    143149.db-contents ul { 
    144     display: block; 
    145     padding-left: 1.5em; 
    146     list-style: square; 
     150     display: block; 
     151     padding-left: 1.5em; 
     152     list-style: square; 
    147153} 
    148154 
    149155.db-items li, 
    150156.db-contents li { 
    151     margin: 0.25em 0 0 0; 
     157     margin: 0.25em 0 0 0; 
    152158} 
    153159 
    154160#news dt { 
    155     font-weight: bold; 
    156     margin: 0 0 0.4em 0; 
     161     font-weight: bold; 
     162     margin: 0 0 0.4em 0; 
    157163} 
    158164 
    159165#news dd { 
    160     margin: 0 0 1em 0; 
     166     margin: 0 0 1em 0; 
    161167} 
    162168 
    163169#news dd p { 
    164     margin: 0.2em 0 0 0; 
     170     margin: 0.2em 0 0 0; 
    165171} 
    166172 
     
    169175 
    170176#upg-notify ul { 
    171     padding-left: 1.5em; 
     177     padding-left: 1.5em; 
    172178} 
    173179 
    174180#upg-notify li { 
    175     color: #fff; 
     181     color: #fff; 
    176182} 
Note: See TracChangeset for help on using the changeset viewer.

Sites map