kopia lustrzana https://github.com/wagtail/wagtail
Add svg icon mixin
rodzic
cfc2bc8470
commit
8052c93795
|
@ -106,6 +106,11 @@
|
||||||
margin-right: 0.2em;
|
margin-right: 0.2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@mixin svg-icon ($size: 1.5em) {
|
||||||
|
width: $size;
|
||||||
|
height: $size;
|
||||||
|
vertical-align: text-top;
|
||||||
|
}
|
||||||
|
|
||||||
// Applies given rules on hover, except for touch screens.
|
// Applies given rules on hover, except for touch screens.
|
||||||
// Relies on feature detection to add a no-touch class on the html element.
|
// Relies on feature detection to add a no-touch class on the html element.
|
||||||
|
|
Ładowanie…
Reference in New Issue