mirror of
https://github.com/FortAwesome/Font-Awesome.git
synced 2024-12-26 21:41:29 +08:00
implementing prefix from AlvinLing b7976b8a10
This commit is contained in:
parent
8f93d701a0
commit
b0d91e4a3a
@ -19,9 +19,9 @@
|
|||||||
* Twitter: http://twitter.com/fortaweso_me
|
* Twitter: http://twitter.com/fortaweso_me
|
||||||
* Work: Lead Product Designer @ http://kyruus.com
|
* Work: Lead Product Designer @ http://kyruus.com
|
||||||
|
|
||||||
$fontAwesomePath: "../font" !default
|
$fontAwesomePath: "../font" !default
|
||||||
$borderColor: #eee
|
$fontAwesomeBorderColor: #eee !default
|
||||||
$iconMuted: #eee
|
$fontAwesomeMutedColor: #eee !default
|
||||||
@mixin border-radius($radius)
|
@mixin border-radius($radius)
|
||||||
-webkit-border-radius: $radius
|
-webkit-border-radius: $radius
|
||||||
-moz-border-radius: $radius
|
-moz-border-radius: $radius
|
||||||
@ -97,13 +97,13 @@ ul.icons
|
|||||||
width: .75em
|
width: .75em
|
||||||
|
|
||||||
.icon-muted
|
.icon-muted
|
||||||
color: $iconMuted
|
color: $fontAwesomeMutedColor
|
||||||
|
|
||||||
// Icon Borders
|
// Icon Borders
|
||||||
// -------------------------
|
// -------------------------
|
||||||
|
|
||||||
.icon-border
|
.icon-border
|
||||||
border: solid 1px $borderColor
|
border: solid 1px $fontAwesomeBorderColor
|
||||||
padding: .2em .25em .15em
|
padding: .2em .25em .15em
|
||||||
@include border-radius(3px)
|
@include border-radius(3px)
|
||||||
|
|
||||||
|
17
sass/font-awesome.scss
vendored
17
sass/font-awesome.scss
vendored
@ -21,11 +21,14 @@
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$fontAwesomePath: "../font" !default;
|
$fontAwesomePath: "../font" !default;
|
||||||
$borderColor: #eee;
|
$fontAwesomeBorderColor: #eee !default;
|
||||||
$iconMuted: #eee;
|
$fontAwesomeMutedColor: #eee !default;
|
||||||
@mixin border-radius($radius) { -webkit-border-radius: $radius; -moz-border-radius: $radius; border-radius: $radius; }
|
@mixin border-radius($radius) {
|
||||||
|
-webkit-border-radius: $radius;
|
||||||
|
-moz-border-radius: $radius;
|
||||||
|
border-radius: $radius;
|
||||||
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'FontAwesome';
|
font-family: 'FontAwesome';
|
||||||
@ -115,14 +118,14 @@ ul.icons {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.icon-muted {
|
.icon-muted {
|
||||||
color: $iconMuted;
|
color: $fontAwesomeMutedColor;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Icon Borders
|
// Icon Borders
|
||||||
// -------------------------
|
// -------------------------
|
||||||
|
|
||||||
.icon-border {
|
.icon-border {
|
||||||
border: solid 1px $borderColor;
|
border: solid 1px $fontAwesomeBorderColor;
|
||||||
padding: .2em .25em .15em;
|
padding: .2em .25em .15em;
|
||||||
@include border-radius(3px);
|
@include border-radius(3px);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user