Dotclear


Ignore:
Timestamp:
06/28/18 13:32:54 (7 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Review CSS for search form (main menu, modules and themes)

Location:
admin/style/scss/partials
Files:
3 edited

Legend:

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

    r3763 r3765  
    7474          } 
    7575          &.active { 
    76                background-color: $tabs-background; 
     76               background-color: $tabs-active-background; 
    7777               color: $tabs-active-color; 
    7878          } 
  • admin/style/scss/partials/_main-menu.scss

    r3763 r3765  
    5353 
    5454#search-menu { 
    55      padding: 4px 5px 0; 
    56      font-size: 100%; 
    57      * { 
    58           height: 2em; 
    59           display: inline-block; 
    60           vertical-align: top; 
    61           line-height: 24px; 
    62      } 
     55  padding: 4px 0 0 4px; 
     56    font-size: .91em; 
    6357     p { 
    64           border: 1px solid $search-border; 
    65           border-radius: .3em; 
    66           position: relative; 
    6758          width: 95%; 
    68           overflow: hidden; 
     59    margin: 0 0 .5em 0; 
    6960     } 
    7061     input[type="submit"] { 
    71           padding: 0 .25em; 
    72           margin-left: .33em; 
    73     color: $search-color; 
    74           background: $search-background; 
    75           border-color: $search-border; 
    76           border-bottom-right-radius: .3em; 
    77           border-top-right-radius: .3em; 
    78           border-top-left-radius: 0; 
    79           border-bottom-left-radius: 0; 
    80           border: none; 
    81           border-left: 1px solid $search-border; 
    82           font-size: .91em; 
    8362          float: right; 
    84           &:hover, 
    85           &:focus { 
    86       color: $search-submit-color; 
    87                background: $search-submit-background; 
    88           } 
    8963     } 
    9064} 
    9165 
    9266#qx { 
    93      width: 80%; 
    94      border-bottom-left-radius: .3em; 
    95      border-top-left-radius: .3em; 
    96      background: transparent url(search.png) no-repeat 4px center; 
    97      text-indent: 18px; 
    98      padding: 0; 
    99      border: none; 
    100      height: 2em; 
    101      &:focus { 
    102           border: 1px solid $search-outline; 
    103      } 
     67  width: 75%; 
     68     background: transparent url(search.svg) no-repeat 0 center; 
     69     text-indent: 20px; 
    10470} 
  • admin/style/scss/partials/_plugins.scss

    r3763 r3765  
    4545.modules a { 
    4646     &.module-details { 
    47           background: transparent url(search.png) no-repeat 2px center; 
     47          background: transparent url(search.svg) no-repeat 0 center; 
    4848          padding: 4px 4px 0 20px; 
    4949     } 
     
    5959 
    6060#m_search { 
    61      background: transparent url(search.png) no-repeat 4px center; 
     61     background: transparent url(search.svg) no-repeat 0 center; 
    6262     padding-left: 20px; 
    6363} 
Note: See TracChangeset for help on using the changeset viewer.

Sites map