Différences entre les versions de « MediaWiki:Common.scss »
Aller à la navigation
Aller à la recherche
Ligne 1 : | Ligne 1 : | ||
$color-black: #000000; | $color-black: #000000; | ||
$color-white: #ffffff; | |||
$color-documentation: #ecfcf4; | $color-documentation: #ecfcf4; | ||
$color-separator: #a2a9b1; | $color-separator: #a2a9b1; | ||
$color-border-grey: #aaaaaa; | $color-border-grey: #aaaaaa; | ||
$color-border-blue: #a7d7f9; | |||
$colors-information-box: ( | $colors-information-box: ( | ||
Ligne 126 : | Ligne 128 : | ||
.mw-information-box .mw-sub-title { | .mw-information-box .mw-sub-title { | ||
text-align: center; | text-align: center; | ||
} | |||
.mw-information-box .mw-gallery { | |||
// Tabs | |||
.mw-gallery-tabs { | |||
display: flex; | |||
flex-wrap: wrap; | |||
margin-left: 0; | |||
position: relative; | |||
top: 1px; | |||
z-index: 2; | |||
list-style: none; | |||
} | |||
.mw-gallery-tabs li { | |||
display: inline-block; | |||
margin-bottom: 0; | |||
& + li { | |||
margin-left: 5px; | |||
} | |||
} | |||
.mw-gallery-tabs button { | |||
padding: 8px; | |||
background: $color-white; | |||
border: solid $color-border-blue; | |||
border-width: 1px; | |||
color: #0645ad; | |||
&:hover, | |||
&:focus { | |||
text-decoration: underline; | |||
} | |||
&:hover { | |||
cursor: pointer; | |||
} | |||
&.active { | |||
border-bottom-width: 0; | |||
color: #000000; | |||
} | |||
} | |||
// Panes | |||
.mw-gallery-pane { | |||
display: none; | |||
background: $color-white; | |||
border: 1px solid $color-border-blue; | |||
&.active { | |||
display: block; | |||
} | |||
} | |||
} | } | ||