mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
placeholder inputs
This commit is contained in:
@ -11,7 +11,17 @@
|
||||
</ion-input>
|
||||
|
||||
<ion-input>
|
||||
<input placeholder="Text Input Placeholder" value="Text input value" type="text">
|
||||
<input placeholder="Text Input Placeholder" value="Text Input Value" type="text">
|
||||
</ion-input>
|
||||
|
||||
<ion-input>
|
||||
<icon name="ion-ios-telephone"></icon>
|
||||
<input placeholder="Text Input Placeholder" type="text">
|
||||
</ion-input>
|
||||
|
||||
<ion-input>
|
||||
<icon name="ion-android-call"></icon>
|
||||
<input placeholder="Text Input Placeholder" value="Text Input Value" type="text">
|
||||
</ion-input>
|
||||
|
||||
<ion-input>
|
||||
|
@ -43,7 +43,6 @@ $item-ios-note-color: #999 !default;
|
||||
}
|
||||
}
|
||||
|
||||
.text-input,
|
||||
.input-label,
|
||||
.item-content,
|
||||
.item-note {
|
||||
@ -54,6 +53,11 @@ $item-ios-note-color: #999 !default;
|
||||
margin: $item-ios-padding-media-top $item-ios-padding-right $item-ios-padding-media-bottom $item-ios-padding-left;
|
||||
}
|
||||
|
||||
.text-input {
|
||||
margin: $item-ios-padding-top $item-ios-padding-right $item-ios-padding-bottom $item-ios-padding-left;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.item-note {
|
||||
color: $item-ios-note-color;
|
||||
}
|
||||
@ -90,13 +94,6 @@ $item-ios-note-color: #999 !default;
|
||||
max-height: $item-ios-thumbnail-size;
|
||||
}
|
||||
|
||||
.item-input {
|
||||
&:before,
|
||||
&:after {
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
@ -71,7 +71,8 @@ button.item.item {
|
||||
.item-content + icon,
|
||||
.item-media + .item-content,
|
||||
.item-content + .item-media,
|
||||
.item-content + .item-content {
|
||||
.item-content + .item-content,
|
||||
icon + .input {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
|
@ -38,7 +38,7 @@
|
||||
// Input Placeholder
|
||||
// --------------------------------------------------
|
||||
|
||||
@mixin placeholder($color: #aaaaaa, $text-indent: 0) {
|
||||
@mixin placeholder($color: #999, $text-indent: 0) {
|
||||
&::-moz-placeholder { // Firefox 19+
|
||||
color: $color;
|
||||
}
|
||||
|
Reference in New Issue
Block a user