Implement some inline ionicions
This commit is contained in:
parent
9600eda7a5
commit
f3c1e6a448
|
@ -35,8 +35,13 @@
|
||||||
|
|
||||||
// Icon
|
// Icon
|
||||||
&::before {
|
&::before {
|
||||||
@include ion-icon('md-arrow-back');
|
content: '';
|
||||||
font-size: 24px;
|
@include ion-md-arrow-back(24px, $base-text);
|
||||||
|
}
|
||||||
|
|
||||||
|
&:hover::before,
|
||||||
|
&:focus::before {
|
||||||
|
@include ion-md-arrow-back(24px, white);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Icon: smaller on mobile
|
// Icon: smaller on mobile
|
||||||
|
|
|
@ -3,8 +3,7 @@
|
||||||
height: 32px;
|
height: 32px;
|
||||||
}
|
}
|
||||||
|
|
||||||
& > .link.link > a,
|
& > .link.link > a {
|
||||||
& > .link.link > a::before {
|
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
height: 32px;
|
height: 32px;
|
||||||
line-height: 32px;
|
line-height: 32px;
|
||||||
|
@ -62,16 +61,29 @@
|
||||||
margin-left: 8px;
|
margin-left: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
& > .facebook > a::before,
|
||||||
|
& > .twitter > a::before,
|
||||||
|
& > .github > a::before {
|
||||||
|
content: '';
|
||||||
|
vertical-align: middle;
|
||||||
|
position: relative;
|
||||||
|
top: -2px;
|
||||||
|
}
|
||||||
|
|
||||||
& > .facebook > a::before {
|
& > .facebook > a::before {
|
||||||
@include ion-icon('logo-facebook');
|
@include ion-logo-facebook(16px, #334455);
|
||||||
}
|
}
|
||||||
|
|
||||||
& > .twitter > a::before {
|
& > .twitter > a::before {
|
||||||
@include ion-icon('logo-twitter');
|
@include ion-logo-twitter(16px, #334455);
|
||||||
}
|
}
|
||||||
|
|
||||||
& > .github > a::before {
|
& > .github > a::before {
|
||||||
@include ion-icon('logo-github');
|
@include ion-logo-github(16px, #334455);
|
||||||
|
}
|
||||||
|
|
||||||
|
& > .github > a:hover::before {
|
||||||
|
@include ion-logo-github(16px, white);
|
||||||
}
|
}
|
||||||
|
|
||||||
& > .link.-button > a {
|
& > .link.-button > a {
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
@import './variables';
|
@import './variables';
|
||||||
@import '../vendor/modularscale/modularscale';
|
@import '../vendor/modularscale/modularscale';
|
||||||
@import '../vendor/iconfonts/ionicons@3';
|
@import '../vendor/iconfonts/ionicons@3';
|
||||||
|
@import '../vendor/ionicons-inline/ionicons';
|
||||||
@import './utils/carbon-style';
|
@import './utils/carbon-style';
|
||||||
@import './utils/font-size';
|
@import './utils/font-size';
|
||||||
@import './utils/gutter';
|
@import './utils/gutter';
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue