mediawiki-skins-Citizen/resources/skins.citizen.styles/common/hacks.less
alistair3149 5ccfbcfdeb refactor(core): clean up drawer implementation
This is a part of the site header refactor
* Use relative units
* Add title to toggle button
* Remove unnessecary CSS
* Rewrite HTML classes
* Temporary remove drawer subsearch, it will be re-explored in a later patch
2022-05-10 10:52:36 -04:00

47 lines
820 B
Plaintext

// Hide RSS icon
a.feedlink {
background: none !important;
}
// CSS checkbox hack
// TODO: See what MW core offer and maybe we can take it off
.mw-checkbox-hack {
&-checkbox {
display: none;
}
&-button {
cursor: pointer;
> span {
position: absolute !important;
//.mixin-screen-reader-text;
display: block;
overflow: hidden;
width: 1px;
height: 1px;
padding: 0;
border: 0;
margin: -1px;
clip: rect( 1px, 1px, 1px, 1px );
}
}
}
.screen-reader-text {
position: absolute !important;
//.mixin-screen-reader-text;
display: block !important;
overflow: hidden !important;
width: 1px !important;
height: 1px !important;
padding: 0 !important;
border: 0 !important;
margin: -1px !important;
clip: rect( 1px, 1px, 1px, 1px ) !important;
}
.mw-empty-elt {
display: none;
}