X-Git-Url: https://scripts.mit.edu/gitweb/autoinstallsdev/mediawiki.git/blobdiff_plain/19e297c21b10b1b8a3acad5e73fc71dcb35db44a..6932310fd58ebef145fa01eb76edf7150284d8ea:/resources/src/mediawiki.ui/components/radio.less diff --git a/resources/src/mediawiki.ui/components/radio.less b/resources/src/mediawiki.ui/components/radio.less new file mode 100644 index 00000000..3d82e8ed --- /dev/null +++ b/resources/src/mediawiki.ui/components/radio.less @@ -0,0 +1,150 @@ +@import 'mediawiki.mixins'; +@import 'mediawiki.ui/variables'; + +// Radio +// +// Styling radios in a way that works cross browser is a tricky problem to solve. +// In MediaWiki UI put a radio and label inside a mw-ui-radio div. +// This renders in all browsers except IE 6-8 which do not support the :checked selector; +// these are kept backwards-compatible using the `:not( #noop )` selector. +// You should give the radio and label matching "id" and "for" attributes, respectively. +// +// Markup: +//