Dotclear

Changeset 3409:3cece07999a2


Ignore:
Timestamp:
11/15/16 14:36:32 (9 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Review CSS of top user links (needed as we may have 3 differents sizes of font)

Location:
admin/style
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • admin/style/default.css

    r3408 r3409  
    15331533/* top-info-user */ 
    15341534#top-info-user { 
    1535   padding-right: 18px; 
     1535  padding-right: .5em; 
    15361536  list-style-type: none; 
    15371537  text-align: right; } 
     
    15471547 
    15481548#top-info-user a.active { 
    1549   border-bottom-color: #fff; 
     1549  border-width: 0; 
     1550  border-radius: 4px; 
    15501551  margin: 0; 
    1551   padding: 18px .5em; 
    1552   background-color: #fff; 
    1553   color: #323232; 
     1552  padding: 2px 8px 3px; 
     1553  background-color: #f3f3f3; 
     1554  color: #d33800; 
    15541555  font-weight: bold; } 
    15551556 
     
    15571558                                                            UN POIL DE MEDIA QUERIES 
    15581559------------------------------------------------------------------------------------ */ 
    1559 @media screen and (max-width: 80em) { 
    1560   #top-info-user { 
    1561     padding-right: .5em; } 
    1562  
    1563   #top-info-user a.active { 
    1564     padding: 2px 8px; 
    1565     border-width: 0; 
    1566     border-radius: 6px; } } 
    15671560@media screen and (max-width: 26.5em) { 
    15681561  h1, 
  • admin/style/scss/init/_config.scss

    r3398 r3409  
    8383$xxl-screen:   120em;         // 1920 px 
    8484 
    85 $small-screen: $xxs-screen; 
    86 $large-screen: $xxl-screen; 
    87  
    8885// =========================================================================== // 
    8986// =Various dimensions 
    9087// =========================================================================== // 
    9188 
     89// screens sizes 
     90 
     91$small-screen: $xxs-screen; 
     92$large-screen: $xxl-screen; 
     93 
     94// collapser width 
     95 
    9296$collapser-width:   10px; 
  • admin/style/scss/partials/_header.scss

    r3365 r3409  
    105105 
    106106#top-info-user { 
    107      padding-right: 18px; 
     107     padding-right: .5em; 
    108108     list-style-type: none; 
    109109     text-align: right; 
     
    122122 
    123123#top-info-user a.active { 
    124      border-bottom-color: $white; 
     124     border-width: 0; 
     125     border-radius: 4px; 
    125126     margin: 0; 
    126      padding: 18px .5em; 
    127      background-color: $white; 
    128      color: $primary-color; 
     127     padding: 2px 8px 3px; 
     128     background-color: $secondary-background; 
     129     color: $secondary-color; 
    129130     font-weight: bold; 
    130131} 
     
    133134                                                            UN POIL DE MEDIA QUERIES 
    134135------------------------------------------------------------------------------------ */ 
    135  
    136 @media screen and (max-width: $xl-screen) { 
    137      #top-info-user { 
    138           padding-right: .5em; 
    139      } 
    140      #top-info-user a.active { 
    141           padding: 2px 8px; 
    142           border-width: 0; 
    143           border-radius: 6px; 
    144      } 
    145 } 
    146136 
    147137@media screen and (max-width: $xxs-screen) { 
Note: See TracChangeset for help on using the changeset viewer.

Sites map