mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
reorg scss util files
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
/**
|
||||
* Forms
|
||||
* --------------------------------------------------
|
||||
*/
|
||||
|
||||
// Forms
|
||||
// --------------------------------------------------
|
||||
|
||||
$input-label-color: get-color(dark, base);
|
||||
$input-color: $input-label-color;
|
||||
@@ -14,6 +12,7 @@ $input-height-base: 5rem;
|
||||
$input-height-large: $input-height-base + 0.3rem;
|
||||
$input-height-small: 1.2rem;
|
||||
|
||||
|
||||
// Make all forms have space below them
|
||||
form {
|
||||
margin: 0 0 $line-height-base;
|
||||
@@ -24,7 +23,7 @@ label,
|
||||
input,
|
||||
select,
|
||||
textarea {
|
||||
@include font-shorthand($font-size-base, normal, $line-height-base); // Set size, weight, line-height here
|
||||
// @include font-shorthand($font-size-base, normal, $line-height-base); // Set size, weight, line-height here
|
||||
}
|
||||
input,
|
||||
select,
|
||||
|
||||
@@ -26,7 +26,7 @@ export class Input extends IonInputItem {
|
||||
|
||||
|
||||
@Directive({
|
||||
selector: 'textarea,input[type=text],input[type=password],input[type=number],input[type=search],input[type=email],input[type=url]',
|
||||
selector: 'textarea,input[type=text],input[type=password],input[type=number],input[type=search],input[type=email],input[type=url],input[type=tel]',
|
||||
property: [
|
||||
'tabIndex'
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user