Separate inline icon and help cursor classes

This commit is contained in:
Ines Montani 2016-12-23 14:31:43 +01:00
parent 642803d533
commit 11ec02d5e3
3 changed files with 10 additions and 5 deletions

View File

@ -33,7 +33,7 @@ mixin src(url)
+a(url) +a(url)
block block
| #[+icon("code", 16).u-color-subtle] | #[+icon("code", 16).o-icon--inline.u-color-subtle]
//- API link (with added tag and automatically generated path) //- API link (with added tag and automatically generated path)
@ -43,7 +43,7 @@ mixin api(path)
+a("/docs/api/" + path, true)(target="_self").u-no-border.u-inline-block +a("/docs/api/" + path, true)(target="_self").u-no-border.u-inline-block
block block
| #[+icon("book", 18).o-help-icon.u-color-subtle] | #[+icon("book", 18).o-icon--inline.u-help.u-color-subtle]
//- Aside for text //- Aside for text

View File

@ -67,9 +67,8 @@
.o-icon .o-icon
vertical-align: middle vertical-align: middle
.o-help-icon &.o-icon--inline
cursor: help margin: 0 0.5rem 0 0.25rem
margin: 0 0.5rem 0 0.25rem
//- Inline List //- Inline List

View File

@ -141,6 +141,12 @@
background: $pattern background: $pattern
//- Cursors
.u-help
cursor: help
//- Hidden elements //- Hidden elements
.u-hidden .u-hidden