Dotclear

Changeset 3765:00d069f97ebc for admin


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
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • admin/style/default.css

    r3764 r3765  
    17151715 
    17161716#search-menu { 
    1717   padding: 4px 5px 0; 
    1718   font-size: 100%; } 
    1719   #search-menu * { 
    1720     height: 2em; 
    1721     display: inline-block; 
    1722     vertical-align: top; 
    1723     line-height: 24px; } 
     1717  padding: 4px 0 0 4px; 
     1718  font-size: .91em; } 
    17241719  #search-menu p { 
    1725     border: 1px solid #868686; 
    1726     border-radius: .3em; 
    1727     position: relative; 
    17281720    width: 95%; 
    1729     overflow: hidden; } 
     1721    margin: 0 0 .5em 0; } 
    17301722  #search-menu input[type="submit"] { 
    1731     padding: 0 .25em; 
    1732     margin-left: .33em; 
    1733     color: #323232; 
    1734     background: #c9c9c9; 
    1735     border-color: #868686; 
    1736     border-bottom-right-radius: .3em; 
    1737     border-top-right-radius: .3em; 
    1738     border-top-left-radius: 0; 
    1739     border-bottom-left-radius: 0; 
    1740     border: none; 
    1741     border-left: 1px solid #868686; 
    1742     font-size: .91em; 
    17431723    float: right; } 
    1744     #search-menu input[type="submit"]:hover, #search-menu input[type="submit"]:focus { 
    1745       color: #fff; 
    1746       background: #868686; } 
    17471724 
    17481725#qx { 
    1749   width: 80%; 
    1750   border-bottom-left-radius: .3em; 
    1751   border-top-left-radius: .3em; 
    1752   background: transparent url(search.png) no-repeat 4px center; 
    1753   text-indent: 18px; 
    1754   padding: 0; 
    1755   border: none; 
    1756   height: 2em; } 
    1757   #qx:focus { 
    1758     border: 1px solid #bee74b; } 
     1726  width: 75%; 
     1727  background: transparent url(search.svg) no-repeat 0 center; 
     1728  text-indent: 20px; } 
    17591729 
    17601730.part-tabs ul { 
     
    18181788      color: #323232; } 
    18191789    .pseudo-tabs a.active { 
    1820       background-color: #f3f3f3; 
     1790      background-color: #fff; 
    18211791      color: #d33800; } 
    18221792 
     
    27452715 
    27462716.modules a.module-details { 
    2747   background: transparent url(search.png) no-repeat 2px center; 
     2717  background: transparent url(search.svg) no-repeat 0 center; 
    27482718  padding: 4px 4px 0 20px; } 
    27492719.modules a.module-support { 
     
    27552725 
    27562726#m_search { 
    2757   background: transparent url(search.png) no-repeat 4px center; 
     2727  background: transparent url(search.svg) no-repeat 0 center; 
    27582728  padding-left: 20px; } 
    27592729 
  • 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