MediaWiki: Tweeki.css: verschil tussen versies
Uit MediaWikiGids
(Aanmaken begin pagina) |
k (Test redefine primary-btn) |
||
Regel 19: | Regel 19: | ||
font-style: italic; | font-style: italic; | ||
border:1px solid white; | border:1px solid white; | ||
+ | } | ||
+ | |||
+ | /* Redefine Primary button : http://blog.koalite.com/bbg/ */ | ||
+ | .btn-primary { | ||
+ | color: #ffffff; | ||
+ | background-color: #BC0031; | ||
+ | border-color: #BC0031; | ||
+ | } | ||
+ | |||
+ | .btn-primary:hover, | ||
+ | .btn-primary:focus, | ||
+ | .btn-primary:active, | ||
+ | .btn-primary.active, | ||
+ | .open .dropdown-toggle.btn-primary { | ||
+ | color: #ffffff; | ||
+ | background-color: #a00020; | ||
+ | border-color: #BC0031; | ||
+ | } | ||
+ | |||
+ | .btn-primary:active, | ||
+ | .btn-primary.active, | ||
+ | .open .dropdown-toggle.btn-primary { | ||
+ | background-image: none; | ||
+ | } | ||
+ | |||
+ | .btn-primary.disabled, | ||
+ | .btn-primary[disabled], | ||
+ | fieldset[disabled] .btn-primary, | ||
+ | .btn-primary.disabled:hover, | ||
+ | .btn-primary[disabled]:hover, | ||
+ | fieldset[disabled] .btn-primary:hover, | ||
+ | .btn-primary.disabled:focus, | ||
+ | .btn-primary[disabled]:focus, | ||
+ | fieldset[disabled] .btn-primary:focus, | ||
+ | .btn-primary.disabled:active, | ||
+ | .btn-primary[disabled]:active, | ||
+ | fieldset[disabled] .btn-primary:active, | ||
+ | .btn-primary.disabled.active, | ||
+ | .btn-primary[disabled].active, | ||
+ | fieldset[disabled] .btn-primary.active { | ||
+ | background-color: #BC0031; | ||
+ | border-color: #BC0031; | ||
+ | } | ||
+ | |||
+ | .btn-primary .badge { | ||
+ | color: #BC0031; | ||
+ | background-color: #ffffff; | ||
} | } |
Versie van 8 mrt 2018 om 19:12
/* CSS placed here will be applied to Tweeki skin */ /* Toegevoegd c.q. overgenomen door BM om grid-voorbeeld te stylen */ .gridexample { border:1px solid #f5f5f5; min-height:10px; margin-bottom:20px; } .gridexample .content { background-color: #f5f5f5; min-height: 50px; margin-top: 3px; margin-bottom: 3px; font-size: smaller; text-align: center; padding-top: 10px; color: #666; font-style: italic; border:1px solid white; } /* Redefine Primary button : http://blog.koalite.com/bbg/ */ .btn-primary { color: #ffffff; background-color: #BC0031; border-color: #BC0031; } .btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open .dropdown-toggle.btn-primary { color: #ffffff; background-color: #a00020; border-color: #BC0031; } .btn-primary:active, .btn-primary.active, .open .dropdown-toggle.btn-primary { background-image: none; } .btn-primary.disabled, .btn-primary[disabled], fieldset[disabled] .btn-primary, .btn-primary.disabled:hover, .btn-primary[disabled]:hover, fieldset[disabled] .btn-primary:hover, .btn-primary.disabled:focus, .btn-primary[disabled]:focus, fieldset[disabled] .btn-primary:focus, .btn-primary.disabled:active, .btn-primary[disabled]:active, fieldset[disabled] .btn-primary:active, .btn-primary.disabled.active, .btn-primary[disabled].active, fieldset[disabled] .btn-primary.active { background-color: #BC0031; border-color: #BC0031; } .btn-primary .badge { color: #BC0031; background-color: #ffffff; }