mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-06 22:29:44 +08:00
Removed ionicIcons build target for CSS
This commit is contained in:
@ -26,10 +26,6 @@ module.exports = function(grunt) {
|
||||
],
|
||||
dest: 'dist/<%= pkg.name %>.js'
|
||||
},
|
||||
cssWithIcons: {
|
||||
src: ['ionicons/style.css', 'dist/ionic.css'],
|
||||
dest: 'dist/ionicIcons.css'
|
||||
},
|
||||
distAngular: {
|
||||
src: [
|
||||
'ext/angular/src/*.js'
|
||||
|
||||
65
dist/ionic.css
vendored
65
dist/ionic.css
vendored
@ -1,4 +1,69 @@
|
||||
@charset "UTF-8";
|
||||
@font-face {
|
||||
font-family: 'ionicon-test';
|
||||
src: url("fonts/ionicon-test.eot");
|
||||
src: url("fonts/ionicon-test.eot?#iefix") format("embedded-opentype"), url("fonts/ionicon-test.woff") format("woff"), url("fonts/ionicon-test.ttf") format("truetype"), url("fonts/ionicon-test.svg#ionicon-test") format("svg");
|
||||
font-weight: normal;
|
||||
font-style: normal; }
|
||||
|
||||
/* Use the following CSS code if you want to use data attributes for inserting your icons */
|
||||
[data-icon]:before {
|
||||
font-family: 'ionicon-test';
|
||||
content: attr(data-icon);
|
||||
speak: none;
|
||||
font-weight: normal;
|
||||
font-variant: normal;
|
||||
text-transform: none;
|
||||
line-height: 1;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale; }
|
||||
|
||||
/* Use the following CSS code if you want to have a class per icon */
|
||||
/*
|
||||
Instead of a list of all class selectors,
|
||||
you can use the generic selector below, but it's slower:
|
||||
[class*="icon-"] {
|
||||
*/
|
||||
.icon-voicemail, .icon-star, .icon-star-filled, .icon-voicemail-filled, .icon-keypad, .icon-keypad-filled, .icon-contact, .icon-clock, .icon-clock-filled, .icon-contact-filled {
|
||||
font-family: 'ionicon-test';
|
||||
speak: none;
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-variant: normal;
|
||||
text-transform: none;
|
||||
line-height: 1;
|
||||
-webkit-font-smoothing: antialiased; }
|
||||
|
||||
.icon-voicemail:before {
|
||||
content: "\e000"; }
|
||||
|
||||
.icon-star:before {
|
||||
content: "\e001"; }
|
||||
|
||||
.icon-star-filled:before {
|
||||
content: "\e002"; }
|
||||
|
||||
.icon-voicemail-filled:before {
|
||||
content: "\e003"; }
|
||||
|
||||
.icon-keypad:before {
|
||||
content: "\e004"; }
|
||||
|
||||
.icon-keypad-filled:before {
|
||||
content: "\e005"; }
|
||||
|
||||
.icon-contact:before {
|
||||
content: "\e006"; }
|
||||
|
||||
.icon-clock:before {
|
||||
content: "\e007"; }
|
||||
|
||||
.icon-clock-filled:before {
|
||||
content: "\e008"; }
|
||||
|
||||
.icon-contact-filled:before {
|
||||
content: "\e009"; }
|
||||
|
||||
/**
|
||||
* Adapted from normalize.css and some reset.css. We don't care even one
|
||||
* bit about old IE, so we don't need any hacks for that in here.
|
||||
|
||||
2316
dist/ionicIcons.css
vendored
2316
dist/ionicIcons.css
vendored
File diff suppressed because it is too large
Load Diff
1450
dist/ionicons.css
vendored
1450
dist/ionicons.css
vendored
File diff suppressed because it is too large
Load Diff
@ -5,6 +5,8 @@
|
||||
"mixins",
|
||||
"variables",
|
||||
|
||||
"../../ionicons/style",
|
||||
|
||||
// Base
|
||||
"reset",
|
||||
"scaffolding",
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
|
||||
<!-- Sets initial viewport load and disables zooming -->
|
||||
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<link href="../dist/ionicIcons.css" rel="stylesheet">
|
||||
<link href="../dist/ionic.css" rel="stylesheet">
|
||||
<style>
|
||||
.bar {
|
||||
position: relative;
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
|
||||
<!-- Sets initial viewport load and disables zooming -->
|
||||
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<link href="../dist/ionicIcons.css" rel="stylesheet">
|
||||
<link href="../dist/ionic.css" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
|
||||
<!-- Sets initial viewport load and disables zooming -->
|
||||
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<link href="../dist/ionicIcons.css" rel="stylesheet">
|
||||
<link href="../dist/ionic.css" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
|
||||
<!-- Sets initial viewport load and disables zooming -->
|
||||
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<link href="../dist/ionicIcons.css" rel="stylesheet">
|
||||
<link href="../dist/ionic.css" rel="stylesheet">
|
||||
<style>
|
||||
.content {
|
||||
height: 100%;
|
||||
|
||||
Reference in New Issue
Block a user