X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fgeedmo%2Fyamm3%2Fdemo%2Fcomponents%2Fbootstrap%2Fless%2Fmixins%2Fhide-text.less;fp=vendor%2Fgeedmo%2Fyamm3%2Fdemo%2Fcomponents%2Fbootstrap%2Fless%2Fmixins%2Fhide-text.less;h=c2315e572f83385f10407cae46253526e0bb3dd7;hp=0000000000000000000000000000000000000000;hb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;hpb=57c063afa3f66b07c4bbddc2d6129a96d90f0aad diff --git a/vendor/geedmo/yamm3/demo/components/bootstrap/less/mixins/hide-text.less b/vendor/geedmo/yamm3/demo/components/bootstrap/less/mixins/hide-text.less new file mode 100644 index 000000000..c2315e572 --- /dev/null +++ b/vendor/geedmo/yamm3/demo/components/bootstrap/less/mixins/hide-text.less @@ -0,0 +1,21 @@ +// CSS image replacement +// +// Heads up! v3 launched with with only `.hide-text()`, but per our pattern for +// mixins being reused as classes with the same name, this doesn't hold up. As +// of v3.0.1 we have added `.text-hide()` and deprecated `.hide-text()`. +// +// Source: https://github.com/h5bp/html5-boilerplate/commit/aa0396eae757 + +// Deprecated as of v3.0.1 (will be removed in v4) +.hide-text() { + font: ~"0/0" a; + color: transparent; + text-shadow: none; + background-color: transparent; + border: 0; +} + +// New mixin to use as of v3.0.1 +.text-hide() { + .hide-text(); +}