Removed ionicIcons build target for CSS

This commit is contained in:
Max Lynch
2013-09-27 17:59:18 -05:00
parent 358627c019
commit b27f41ebff
10 changed files with 71 additions and 3774 deletions

View File

@ -26,10 +26,6 @@ module.exports = function(grunt) {
], ],
dest: 'dist/<%= pkg.name %>.js' dest: 'dist/<%= pkg.name %>.js'
}, },
cssWithIcons: {
src: ['ionicons/style.css', 'dist/ionic.css'],
dest: 'dist/ionicIcons.css'
},
distAngular: { distAngular: {
src: [ src: [
'ext/angular/src/*.js' 'ext/angular/src/*.js'

65
dist/ionic.css vendored
View File

@ -1,4 +1,69 @@
@charset "UTF-8"; @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 * 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. * bit about old IE, so we don't need any hacks for that in here.

2316
dist/ionicIcons.css vendored

File diff suppressed because it is too large Load Diff

1450
dist/ionicons.css vendored

File diff suppressed because it is too large Load Diff

View File

@ -5,6 +5,8 @@
"mixins", "mixins",
"variables", "variables",
"../../ionicons/style",
// Base // Base
"reset", "reset",
"scaffolding", "scaffolding",

View File

@ -5,7 +5,7 @@
<!-- Sets initial viewport load and disables zooming --> <!-- Sets initial viewport load and disables zooming -->
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no"> <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> <style>
.bar { .bar {
position: relative; position: relative;

View File

@ -5,7 +5,7 @@
<!-- Sets initial viewport load and disables zooming --> <!-- Sets initial viewport load and disables zooming -->
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no"> <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> </head>
<body> <body>

View File

@ -5,7 +5,7 @@
<!-- Sets initial viewport load and disables zooming --> <!-- Sets initial viewport load and disables zooming -->
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no"> <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> </head>
<body> <body>

View File

@ -5,7 +5,7 @@
<!-- Sets initial viewport load and disables zooming --> <!-- Sets initial viewport load and disables zooming -->
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no"> <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> <style>
.content { .content {
height: 100%; height: 100%;