-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from xtoolkit/v3
Micon css font toolkit V3
- Loading branch information
Showing
1,918 changed files
with
75,605 additions
and
49,284 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,5 @@ script_out/* | |
[Dd]esktop.ini | ||
*.DS_store | ||
.DS_store? | ||
node_modules/ | ||
script.php |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// Animated Icons | ||
// -------------------------- | ||
|
||
{{=[[ ]]=}} | ||
.@{[[config.fontPrefix]]-css-prefix}-spin { | ||
animation: [[config.fontPrefix]]-spin 2s infinite linear; | ||
} | ||
|
||
.@{[[config.fontPrefix]]-css-prefix}-pulse { | ||
animation: [[config.fontPrefix]]-spin 1s infinite steps(8); | ||
} | ||
|
||
@keyframes [[config.fontPrefix]]-spin { | ||
0% { | ||
transform: rotate(0deg); | ||
} | ||
100% { | ||
transform: rotate(360deg); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// Bordered & Pulled | ||
// ------------------------- | ||
|
||
{{=[[ ]]=}} | ||
.@{[[config.fontPrefix]]-css-prefix}-border { | ||
border-radius: .1em; | ||
border: solid .08em @[[config.fontPrefix]]-border-color; | ||
padding: .2em .25em .15em; | ||
} | ||
|
||
.@{[[config.fontPrefix]]-css-prefix}-pull-left { float: left; } | ||
.@{[[config.fontPrefix]]-css-prefix}-pull-right { float: right; } | ||
|
||
.@{[[config.fontPrefix]]-css-prefix}, .fas, .far, .fal, .fab { | ||
&.@{[[config.fontPrefix]]-css-prefix}-pull-left { margin-right: .3em; } | ||
&.@{[[config.fontPrefix]]-css-prefix}-pull-right { margin-left: .3em; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// Base Class Definition | ||
// ------------------------- | ||
|
||
{{=[[ ]]=}} | ||
.@{[[config.fontPrefix]]-css-prefix} { | ||
-moz-osx-font-smoothing: grayscale; | ||
-webkit-font-smoothing: antialiased; | ||
display: inline-block; | ||
font-style: normal; | ||
font-variant: normal; | ||
text-rendering: auto; | ||
line-height: 1; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
// Fixed Width Icons | ||
// ------------------------- | ||
|
||
{{=[[ ]]=}} | ||
.@{[[config.fontPrefix]]-css-prefix}-fw { | ||
text-align: center; | ||
width: (20em / 16); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen | ||
readers do not read off random characters that represent icons */ | ||
|
||
{{=[[ ]]=}} | ||
[[#glyphs]] | ||
.@{[[config.fontPrefix]]-css-prefix}-[[name]][[#names]]:before, .@{[[config.fontPrefix]]-css-prefix}-[[.]][[/names]]:before { content: @[[config.fontPrefix]]-var-[[name]]; } | ||
[[/glyphs]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
// Icon Sizes | ||
// ------------------------- | ||
|
||
{{=[[ ]]=}} | ||
.larger(@factor) when (@factor > 0) { | ||
.larger((@factor - 1)); | ||
|
||
.@{[[config.fontPrefix]]-css-prefix}-@{factor}x { | ||
font-size: (@factor * 1em); | ||
} | ||
} | ||
|
||
/* makes the font 33% larger relative to the icon container */ | ||
.@{[[config.fontPrefix]]-css-prefix}-lg { | ||
font-size: (4em / 3); | ||
line-height: (3em / 4); | ||
vertical-align: -.0667em; | ||
} | ||
|
||
.@{[[config.fontPrefix]]-css-prefix}-xs { | ||
font-size: .75em; | ||
} | ||
|
||
.@{[[config.fontPrefix]]-css-prefix}-sm { | ||
font-size: .875em; | ||
} | ||
|
||
.larger(10); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// List Icons | ||
// ------------------------- | ||
|
||
{{=[[ ]]=}} | ||
.@{[[config.fontPrefix]]-css-prefix}-ul { | ||
list-style-type: none; | ||
margin-left: @[[config.fontPrefix]]-li-width * 5/4; | ||
padding-left: 0; | ||
|
||
> li { position: relative; } | ||
} | ||
|
||
.@{[[config.fontPrefix]]-css-prefix}-li { | ||
left: -@[[config.fontPrefix]]-li-width; | ||
position: absolute; | ||
text-align: center; | ||
width: @[[config.fontPrefix]]-li-width; | ||
line-height: inherit; | ||
} |
Oops, something went wrong.