mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
forms scss cleanup
This commit is contained in:
14
dist/css/ionic.css
vendored
14
dist/css/ionic.css
vendored
@@ -4110,13 +4110,13 @@ textarea {
|
||||
-ms-flex: 0 0 24px;
|
||||
flex: 0 0 24px;
|
||||
position: static;
|
||||
height: auto;
|
||||
display: inline-block;
|
||||
height: auto;
|
||||
text-align: center;
|
||||
font-size: 16px; }
|
||||
.item-input.item.active, .ionic-pseudo .item-input.item:active {
|
||||
background-color: transparent;
|
||||
border-color: #dddddd; }
|
||||
border-color: #dddddd;
|
||||
background-color: transparent; }
|
||||
|
||||
.input-label {
|
||||
-webkit-box-flex: 1;
|
||||
@@ -4216,6 +4216,10 @@ input[type="radio"],
|
||||
input[type="checkbox"] {
|
||||
width: auto; }
|
||||
|
||||
select[multiple],
|
||||
select[size] {
|
||||
height: auto; }
|
||||
|
||||
select,
|
||||
input[type="file"] {
|
||||
line-height: 34px; }
|
||||
@@ -4224,10 +4228,6 @@ select {
|
||||
border: 1px solid #dddddd;
|
||||
background-color: white; }
|
||||
|
||||
select[multiple],
|
||||
select[size] {
|
||||
height: auto; }
|
||||
|
||||
input:-moz-placeholder,
|
||||
textarea:-moz-placeholder {
|
||||
color: #aaaaaa; }
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
|
||||
/**
|
||||
* Forms
|
||||
* --------------------------------------------------
|
||||
@@ -62,16 +63,16 @@ textarea {
|
||||
.icon {
|
||||
@include flex(0, 0, 24px);
|
||||
position: static;
|
||||
height: auto;
|
||||
display: inline-block;
|
||||
height: auto;
|
||||
text-align: center;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
&.item.active,
|
||||
.ionic-pseudo &.item:active {
|
||||
background-color: transparent;
|
||||
border-color: $item-default-border;
|
||||
background-color: transparent;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -188,6 +189,12 @@ input[type="checkbox"] {
|
||||
width: auto; // Override of generic input selector
|
||||
}
|
||||
|
||||
// Make multiple select elements height not fixed
|
||||
select[multiple],
|
||||
select[size] {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
// Set the height of select and file controls to match text inputs
|
||||
select,
|
||||
input[type="file"] {
|
||||
@@ -200,12 +207,6 @@ select {
|
||||
background-color: $input-bg; // Chrome on Linux and Mobile Safari need background-color
|
||||
}
|
||||
|
||||
// Make multiple select elements height not fixed
|
||||
select[multiple],
|
||||
select[size] {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
|
||||
// Placeholder
|
||||
// -------------------------------
|
||||
|
||||
Reference in New Issue
Block a user