compass/examples/blueprint_plugins/src/link_icons.scss

14 lines
490 B
SCSS
Raw Normal View History

2010-04-11 10:46:42 +00:00
@import "blueprint/link-icons";
// This turns link icons on for all links. You can change the scoping selector from
// body to something more specific if you prefer.
2010-04-11 10:46:42 +00:00
body {
@include link-icons;
// Use this class if a link gets an icon when it shouldn't.
2010-04-11 10:46:42 +00:00
a.noicon {
@include no-link-icon; }
// Not all links have a url structure that can be detected,
// So you can set them explicitly yourself like so:
2010-04-11 10:46:42 +00:00
a#this-is-a-pdf-link {
@include link-icon(unquote("pdf.png")); } }