mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 06:57:02 +08:00
ionicons
This commit is contained in:
@ -3,7 +3,7 @@
|
|||||||
<svg xmlns="http://www.w3.org/2000/svg">
|
<svg xmlns="http://www.w3.org/2000/svg">
|
||||||
<metadata></metadata>
|
<metadata></metadata>
|
||||||
<defs>
|
<defs>
|
||||||
<font id="fontawesomeregular" horiz-adv-x="1536" >
|
<font id="ioniconsregular" horiz-adv-x="1536" >
|
||||||
<font-face units-per-em="1792" ascent="1536" descent="-256" />
|
<font-face units-per-em="1792" ascent="1536" descent="-256" />
|
||||||
<missing-glyph horiz-adv-x="448" />
|
<missing-glyph horiz-adv-x="448" />
|
||||||
<glyph unicode=" " horiz-adv-x="448" />
|
<glyph unicode=" " horiz-adv-x="448" />
|
||||||
|
Before Width: | Height: | Size: 193 KiB After Width: | Height: | Size: 193 KiB |
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
[class^="icon-"],
|
[class^="icon-"],
|
||||||
[class*=" icon-"] {
|
[class*=" icon-"] {
|
||||||
@include icon-FontAwesome();
|
@include icon-Ionicon();
|
||||||
}
|
}
|
||||||
|
|
||||||
[class^="icon-"]:before,
|
[class^="icon-"]:before,
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
/* BOOTSTRAP SPECIFIC CLASSES
|
/* IONIC SPECIFIC CLASSES
|
||||||
* -------------------------- */
|
* -------------------------- */
|
||||||
|
|
||||||
/* Bootstrap 2.0 sprites.less reset */
|
/* Bootstrap 2.0 sprites.less reset */
|
||||||
@ -2,12 +2,12 @@
|
|||||||
// --------------------------
|
// --------------------------
|
||||||
|
|
||||||
@mixin icon($icon) {
|
@mixin icon($icon) {
|
||||||
@include icon-FontAwesome();
|
@include icon-Ionicon();
|
||||||
content: $icon;
|
content: $icon;
|
||||||
}
|
}
|
||||||
|
|
||||||
@mixin icon-FontAwesome() {
|
@mixin icon-Ionicon() {
|
||||||
font-family: FontAwesome;
|
font-family: Ionicon;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
text-decoration: inherit;
|
text-decoration: inherit;
|
||||||
|
|||||||
@ -2,13 +2,13 @@
|
|||||||
* -------------------------- */
|
* -------------------------- */
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'FontAwesome';
|
font-family: 'Ionicon';
|
||||||
src: url('#{$FontAwesomePath}/fontawesome-webfont.eot?v=#{$FontAwesomeVersion}');
|
src: url('#{$IoniconPath}/ionicon-webfont.eot?v=#{$IoniconVersion}');
|
||||||
src: url('#{$FontAwesomePath}/fontawesome-webfont.eot?#iefix&v=#{$FontAwesomeVersion}') format('embedded-opentype'),
|
src: url('#{$IoniconPath}/ionicon-webfont.eot?#iefix&v=#{$IoniconVersion}') format('embedded-opentype'),
|
||||||
url('#{$FontAwesomePath}/fontawesome-webfont.woff?v=#{$FontAwesomeVersion}') format('woff'),
|
url('#{$IoniconPath}/ionicon-webfont.woff?v=#{$IoniconVersion}') format('woff'),
|
||||||
url('#{$FontAwesomePath}/fontawesome-webfont.ttf?v=#{$FontAwesomeVersion}') format('truetype'),
|
url('#{$IoniconPath}/ionicon-webfont.ttf?v=#{$IoniconVersion}') format('truetype'),
|
||||||
url('#{$FontAwesomePath}/fontawesome-webfont.svg#fontawesomeregular?v=#{$FontAwesomeVersion}') format('svg');
|
url('#{$IoniconPath}/ionicon-webfont.svg#ioniconsregular?v=#{$IoniconVersion}') format('svg');
|
||||||
// src: url('#{$FontAwesomePath}/FontAwesome.otf') format('opentype'); // used when developing fonts
|
// src: url('#{$IoniconPath}/Ionicon.otf') format('opentype'); // used when developing fonts
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,8 +1,8 @@
|
|||||||
// Variables
|
// Ionicon Variables
|
||||||
// --------------------------
|
// --------------------------
|
||||||
|
|
||||||
$FontAwesomePath: "../font" !default;
|
$IoniconPath: "../ionicons/font" !default;
|
||||||
$FontAwesomeVersion: "3.2.1" !default;
|
$IoniconVersion: "0.0.1" !default;
|
||||||
$borderColor: #eeeeee !default;
|
$borderColor: #eeeeee !default;
|
||||||
$iconMuted: #eeeeee !default;
|
$iconMuted: #eeeeee !default;
|
||||||
$iconLight: white !default;
|
$iconLight: white !default;
|
||||||
|
|||||||
@ -1,4 +1,7 @@
|
|||||||
/*!
|
/*!
|
||||||
|
* Ionicons 0.0.1
|
||||||
|
*
|
||||||
|
* CSS structure inspired by
|
||||||
* Font Awesome 3.2.1
|
* Font Awesome 3.2.1
|
||||||
* the iconic font designed for Bootstrap
|
* the iconic font designed for Bootstrap
|
||||||
* ------------------------------------------------------------------------------
|
* ------------------------------------------------------------------------------
|
||||||
@ -28,6 +31,6 @@
|
|||||||
@import "mixins";
|
@import "mixins";
|
||||||
@import "path";
|
@import "path";
|
||||||
@import "core";
|
@import "core";
|
||||||
@import "bootstrap";
|
@import "ionic";
|
||||||
@import "extras";
|
@import "extras";
|
||||||
@import "icons";
|
@import "icons";
|
||||||
|
|||||||
Reference in New Issue
Block a user