remove unused scaffolding classes, fixes #68

This commit is contained in:
Adam Bradley
2013-11-04 15:51:21 -06:00
parent 9d64b61502
commit 153e89ccea
4 changed files with 58 additions and 141 deletions

View File

@ -182,7 +182,7 @@ sub {
fieldset { fieldset {
margin: 0 2px; margin: 0 2px;
padding: 0.35em 0.625em 0.75em; padding: 0.35em 0.625em 0.75em;
border: 1px solid silver; } border: 1px solid #c0c0c0; }
/** /**
* 1. Correct `color` not being inherited in IE 8/9. * 1. Correct `color` not being inherited in IE 8/9.
@ -349,22 +349,15 @@ body, .ionic-body {
-webkit-user-drag: none; -webkit-user-drag: none;
-webkit-user-select: none; } -webkit-user-select: none; }
.view-full {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%; }
.content:before, .content:before,
.content:after { .content:after {
content: "\00a0";
/* No-break space character */
display: block; display: block;
overflow: hidden; overflow: hidden;
height: 0; } height: 0;
content: "\00a0";
/* No-break space character */ }
/* Hack to force all relatively and absolutely positioned elements still render while scrolling /* Force all relatively and absolutely positioned elements still render while scrolling
Note: This is a bug for "-webkit-overflow-scrolling: touch" (via ratchet) */ Note: This is a bug for "-webkit-overflow-scrolling: touch" (via ratchet) */
.content > * { .content > * {
-webkit-transform: translateZ(0px); -webkit-transform: translateZ(0px);
@ -372,9 +365,9 @@ body, .ionic-body {
.content { .content {
position: absolute; position: absolute;
overflow: auto;
width: 100%; width: 100%;
height: 100%; height: 100%;
overflow: auto;
-webkit-overflow-scrolling: touch; } -webkit-overflow-scrolling: touch; }
.has-header { .has-header {
@ -392,24 +385,11 @@ body, .ionic-body {
right: 0; right: 0;
bottom: 0; bottom: 0;
left: 0; left: 0;
z-index: 1;
width: 100%; width: 100%;
height: 100%; height: 100%;
z-index: 1;
background-color: #fff; } background-color: #fff; }
.page, .full-section {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 1;
overflow: auto;
width: 100%;
height: 100%;
background-color: #fff;
-webkit-overflow-scrolling: touch; }
p { p {
margin: 0 0 10px; } margin: 0 0 10px; }
@ -1741,7 +1721,7 @@ input[type="file"] {
line-height: 34px; } line-height: 34px; }
select { select {
border: 1px solid #cccccc; border: 1px solid #ccc;
background-color: white; } background-color: white; }
select[multiple], select[multiple],
@ -1813,7 +1793,7 @@ input[type="checkbox"][readonly] {
right: 20px; right: 20px;
transition: 0.2s ease; transition: 0.2s ease;
transition-property: left, right; transition-property: left, right;
transition-delay: 0s, 0.05s; } transition-delay: 0s, .05s; }
.toggle :checked + .track { .toggle :checked + .track {
/* When the toggle is "on" */ /* When the toggle is "on" */
@ -1828,7 +1808,7 @@ input[type="checkbox"][readonly] {
right: 0; right: 0;
left: 20px; left: 20px;
-webkit-transform: none; -webkit-transform: none;
transition-delay: 0.05s, 0s; } transition-delay: .05s, 0s; }
.item-radio { .item-radio {
padding: 0; } padding: 0; }
@ -2113,7 +2093,7 @@ input[type="range"] {
.button.button-icon:active, .button.button-icon.active { .button.button-icon:active, .button.button-icon.active {
background: none; background: none;
box-shadow: none; box-shadow: none;
text-shadow: 0px 0px 10px white; } text-shadow: 0px 0px 10px #fff; }
.button.block, .button.button-full { .button.block, .button.button-full {
margin-top: 10px; margin-top: 10px;
margin-bottom: 10px; } margin-bottom: 10px; }
@ -2457,9 +2437,9 @@ a.button {
line-height: 1; line-height: 1;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
-webkit-animation: spin 0.75s linear infinite; -webkit-animation: spin .75s linear infinite;
-moz-animation: spin 0.75s linear infinite; -moz-animation: spin .75s linear infinite;
animation: spin 0.75s linear infinite; } animation: spin .75s linear infinite; }
.ion-loading:before { .ion-loading:before {
content: "\e144"; } content: "\e144"; }
@ -2472,9 +2452,9 @@ a.button {
line-height: 1; line-height: 1;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
-webkit-animation: spin 0.75s linear infinite; -webkit-animation: spin .75s linear infinite;
-moz-animation: spin 0.75s linear infinite; -moz-animation: spin .75s linear infinite;
animation: spin 0.75s linear infinite; } animation: spin .75s linear infinite; }
.ion-refreshing:before { .ion-refreshing:before {
content: "\e144"; } content: "\e144"; }

View File

@ -129,7 +129,7 @@
/** /**
* Remove most spacing between table cells. * Remove most spacing between table cells.
*/ */
/* Hack to force all relatively and absolutely positioned elements still render while scrolling /* Force all relatively and absolutely positioned elements still render while scrolling
Note: This is a bug for "-webkit-overflow-scrolling: touch" (via ratchet) */ Note: This is a bug for "-webkit-overflow-scrolling: touch" (via ratchet) */
/** /**
* Tabs * Tabs
@ -210,7 +210,7 @@
transform: rotate(360deg); } } transform: rotate(360deg); } }
} }
.ionic .ion { .ionic .ion {
font-family: "Ionicons" !important; font-family: 'Ionicons' !important;
speak: none !important; speak: none !important;
font-style: normal !important; font-style: normal !important;
font-weight: normal !important; font-weight: normal !important;
@ -1192,7 +1192,7 @@
.ionic fieldset { .ionic fieldset {
margin: 0 2px; margin: 0 2px;
padding: 0.35em 0.625em 0.75em; padding: 0.35em 0.625em 0.75em;
border: 1px solid silver; } border: 1px solid #c0c0c0; }
.ionic legend { .ionic legend {
padding: 0; padding: 0;
/* 2 */ /* 2 */
@ -1289,27 +1289,21 @@
-webkit-tap-highlight-color: transparent; -webkit-tap-highlight-color: transparent;
-webkit-user-drag: none; -webkit-user-drag: none;
-webkit-user-select: none; } -webkit-user-select: none; }
.ionic .view-full {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%; }
.ionic .content:before, .ionic .content:before,
.ionic .content:after { .ionic .content:after {
content: "\00a0";
/* No-break space character */
display: block; display: block;
overflow: hidden; overflow: hidden;
height: 0; } height: 0;
content: "\00a0";
/* No-break space character */ }
.ionic .content > * { .ionic .content > * {
-webkit-transform: translateZ(0px); -webkit-transform: translateZ(0px);
transform: translateZ(0px); } transform: translateZ(0px); }
.ionic .content { .ionic .content {
position: absolute; position: absolute;
overflow: auto;
width: 100%; width: 100%;
height: 100%; height: 100%;
overflow: auto;
-webkit-overflow-scrolling: touch; } -webkit-overflow-scrolling: touch; }
.ionic .has-header { .ionic .has-header {
top: 44px; } top: 44px; }
@ -1323,22 +1317,10 @@
right: 0; right: 0;
bottom: 0; bottom: 0;
left: 0; left: 0;
z-index: 1;
width: 100%; width: 100%;
height: 100%; height: 100%;
z-index: 1;
background-color: #fff; } background-color: #fff; }
.ionic .page, .ionic .full-section {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 1;
overflow: auto;
width: 100%;
height: 100%;
background-color: #fff;
-webkit-overflow-scrolling: touch; }
.ionic p { .ionic p {
margin: 0 0 10px; } margin: 0 0 10px; }
.ionic .lead { .ionic .lead {
@ -2556,7 +2538,7 @@
.ionic input[type="file"] { .ionic input[type="file"] {
line-height: 34px; } line-height: 34px; }
.ionic select { .ionic select {
border: 1px solid #cccccc; border: 1px solid #ccc;
background-color: white; } background-color: white; }
.ionic select[multiple], .ionic select[multiple],
.ionic select[size] { .ionic select[size] {
@ -2605,7 +2587,7 @@
border-radius: 50%; border-radius: 50%;
background: white; background: white;
content: ' '; content: ' ';
transition: background-color 0.1s ease-in-out; } transition: background-color .1s ease-in-out; }
.ionic .checkbox input:after { .ionic .checkbox input:after {
position: absolute; position: absolute;
top: 34%; top: 34%;
@ -2618,7 +2600,7 @@
border-right: 0; border-right: 0;
content: ' '; content: ' ';
opacity: 0; opacity: 0;
transition: opacity 0.05s ease-in-out; transition: opacity .05s ease-in-out;
-webkit-transform: rotate(-45deg); -webkit-transform: rotate(-45deg);
transform: rotate(-45deg); } transform: rotate(-45deg); }
.ionic .checkbox input:checked:before { .ionic .checkbox input:checked:before {
@ -2970,7 +2952,7 @@
.ionic .button.button-icon:active, .ionic .button.button-icon.active { .ionic .button.button-icon:active, .ionic .button.button-icon.active {
background: none; background: none;
box-shadow: none; box-shadow: none;
text-shadow: 0px 0px 10px white; } text-shadow: 0px 0px 10px #fff; }
.ionic .button.block, .ionic .button.button-full { .ionic .button.block, .ionic .button.button-full {
margin-top: 10px; margin-top: 10px;
margin-bottom: 10px; } margin-bottom: 10px; }
@ -3220,9 +3202,9 @@
line-height: 1; line-height: 1;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
-webkit-animation: spin 0.75s linear infinite; -webkit-animation: spin .75s linear infinite;
-moz-animation: spin 0.75s linear infinite; -moz-animation: spin .75s linear infinite;
animation: spin 0.75s linear infinite; } animation: spin .75s linear infinite; }
.ionic .ion-loading:before { .ionic .ion-loading:before {
content: "\e144"; } content: "\e144"; }
.ionic .ion-refreshing { .ionic .ion-refreshing {
@ -3234,9 +3216,9 @@
line-height: 1; line-height: 1;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
-webkit-animation: spin 0.75s linear infinite; -webkit-animation: spin .75s linear infinite;
-moz-animation: spin 0.75s linear infinite; -moz-animation: spin .75s linear infinite;
animation: spin 0.75s linear infinite; } animation: spin .75s linear infinite; }
.ionic .ion-refreshing:before { .ionic .ion-refreshing:before {
content: "\e144"; } content: "\e144"; }
.ionic .hidden, .ionic .hidden,

56
dist/css/ionic.css vendored
View File

@ -7,7 +7,7 @@
font-style: normal; } font-style: normal; }
.ion { .ion {
font-family: "Ionicons" !important; font-family: 'Ionicons' !important;
speak: none !important; speak: none !important;
font-style: normal !important; font-style: normal !important;
font-weight: normal !important; font-weight: normal !important;
@ -1521,7 +1521,7 @@ sub {
fieldset { fieldset {
margin: 0 2px; margin: 0 2px;
padding: 0.35em 0.625em 0.75em; padding: 0.35em 0.625em 0.75em;
border: 1px solid silver; } border: 1px solid #c0c0c0; }
/** /**
* 1. Correct `color` not being inherited in IE 8/9. * 1. Correct `color` not being inherited in IE 8/9.
@ -1688,22 +1688,15 @@ body, .ionic-body {
-webkit-user-drag: none; -webkit-user-drag: none;
-webkit-user-select: none; } -webkit-user-select: none; }
.view-full {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%; }
.content:before, .content:before,
.content:after { .content:after {
content: "\00a0";
/* No-break space character */
display: block; display: block;
overflow: hidden; overflow: hidden;
height: 0; } height: 0;
content: "\00a0";
/* No-break space character */ }
/* Hack to force all relatively and absolutely positioned elements still render while scrolling /* Force all relatively and absolutely positioned elements still render while scrolling
Note: This is a bug for "-webkit-overflow-scrolling: touch" (via ratchet) */ Note: This is a bug for "-webkit-overflow-scrolling: touch" (via ratchet) */
.content > * { .content > * {
-webkit-transform: translateZ(0px); -webkit-transform: translateZ(0px);
@ -1711,9 +1704,9 @@ body, .ionic-body {
.content { .content {
position: absolute; position: absolute;
overflow: auto;
width: 100%; width: 100%;
height: 100%; height: 100%;
overflow: auto;
-webkit-overflow-scrolling: touch; } -webkit-overflow-scrolling: touch; }
.has-header { .has-header {
@ -1731,24 +1724,11 @@ body, .ionic-body {
right: 0; right: 0;
bottom: 0; bottom: 0;
left: 0; left: 0;
z-index: 1;
width: 100%; width: 100%;
height: 100%; height: 100%;
z-index: 1;
background-color: #fff; } background-color: #fff; }
.page, .full-section {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 1;
overflow: auto;
width: 100%;
height: 100%;
background-color: #fff;
-webkit-overflow-scrolling: touch; }
p { p {
margin: 0 0 10px; } margin: 0 0 10px; }
@ -3144,7 +3124,7 @@ input[type="file"] {
line-height: 34px; } line-height: 34px; }
select { select {
border: 1px solid #cccccc; border: 1px solid #ccc;
background-color: white; } background-color: white; }
select[multiple], select[multiple],
@ -3199,7 +3179,7 @@ input[type="checkbox"][readonly] {
border-radius: 50%; border-radius: 50%;
background: white; background: white;
content: ' '; content: ' ';
transition: background-color 0.1s ease-in-out; } transition: background-color .1s ease-in-out; }
/* the checkmark within the box */ /* the checkmark within the box */
.checkbox input:after { .checkbox input:after {
@ -3214,7 +3194,7 @@ input[type="checkbox"][readonly] {
border-right: 0; border-right: 0;
content: ' '; content: ' ';
opacity: 0; opacity: 0;
transition: opacity 0.05s ease-in-out; transition: opacity .05s ease-in-out;
-webkit-transform: rotate(-45deg); -webkit-transform: rotate(-45deg);
transform: rotate(-45deg); } transform: rotate(-45deg); }
@ -3594,7 +3574,7 @@ input[type="range"] {
.button.button-icon:active, .button.button-icon.active { .button.button-icon:active, .button.button-icon.active {
background: none; background: none;
box-shadow: none; box-shadow: none;
text-shadow: 0px 0px 10px white; } text-shadow: 0px 0px 10px #fff; }
.button.block, .button.button-full { .button.block, .button.button-full {
margin-top: 10px; margin-top: 10px;
margin-bottom: 10px; } margin-bottom: 10px; }
@ -4116,9 +4096,9 @@ a.button {
line-height: 1; line-height: 1;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
-webkit-animation: spin 0.75s linear infinite; -webkit-animation: spin .75s linear infinite;
-moz-animation: spin 0.75s linear infinite; -moz-animation: spin .75s linear infinite;
animation: spin 0.75s linear infinite; } animation: spin .75s linear infinite; }
.ion-loading:before { .ion-loading:before {
content: "\e144"; } content: "\e144"; }
@ -4131,9 +4111,9 @@ a.button {
line-height: 1; line-height: 1;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
-webkit-animation: spin 0.75s linear infinite; -webkit-animation: spin .75s linear infinite;
-moz-animation: spin 0.75s linear infinite; -moz-animation: spin .75s linear infinite;
animation: spin 0.75s linear infinite; } animation: spin .75s linear infinite; }
.ion-refreshing:before { .ion-refreshing:before {
content: "\e144"; } content: "\e144"; }

View File

@ -44,38 +44,26 @@ body, .ionic-body {
-webkit-user-select: none; -webkit-user-select: none;
} }
.view {
}
.view-full {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.content:before, .content:before,
.content:after { .content:after {
// Uncollapse content margin if child elements DO have an margin
content: "\00a0"; /* No-break space character */
display: block; display: block;
overflow: hidden; overflow: hidden;
height: 0; height: 0;
// Uncollapse content margin if child elements DO have an margin
content: "\00a0"; /* No-break space character */
} }
/* Hack to force all relatively and absolutely positioned elements still render while scrolling /* Force all relatively and absolutely positioned elements still render while scrolling
Note: This is a bug for "-webkit-overflow-scrolling: touch" (via ratchet) */ Note: This is a bug for "-webkit-overflow-scrolling: touch" (via ratchet) */
.content > * { .content > * {
-webkit-transform: translateZ(0px); -webkit-transform: translateZ(0px);
transform: translateZ(0px); transform: translateZ(0px);
} }
.content { .content {
position: absolute; position: absolute;
overflow: auto;
width: 100%; width: 100%;
height: 100%; height: 100%;
overflow: auto;
-webkit-overflow-scrolling: touch; -webkit-overflow-scrolling: touch;
} }
@ -100,22 +88,9 @@ body, .ionic-body {
right: 0; right: 0;
bottom: 0; bottom: 0;
left: 0; left: 0;
z-index: 1;
width: 100%; width: 100%;
height: 100%; height: 100%;
z-index: 1;
background-color: #fff; background-color: #fff;
} }
.page, .full-section {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 1;
overflow: auto;
width: 100%;
height: 100%;
background-color: #fff;
-webkit-overflow-scrolling: touch;
}