Skip to content

Commit

Permalink
Merge pull request #537 from twbs/and-forms
Browse files Browse the repository at this point in the history
Adjusting the form inputs and input-rows in the android theme
  • Loading branch information
connors committed Apr 2, 2014
2 parents bc4aa8b + 37c6acd commit 980b250
Show file tree
Hide file tree
Showing 11 changed files with 29 additions and 7 deletions.
6 changes: 6 additions & 0 deletions dist/css/ratchet-theme-android.css
Expand Up @@ -411,9 +411,15 @@ textarea,
}

.input-row {
height: 40px;
border-bottom: 1px solid #d9d9d9;
}

.input-row label {
padding-top: 10px;
padding-bottom: 10px;
}

.input-row label + input {
background-image: none;
border-bottom: 0;
Expand Down
2 changes: 1 addition & 1 deletion dist/css/ratchet-theme-android.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/css/ratchet.css
Expand Up @@ -495,8 +495,8 @@ input[type="button"] {
background-color: white;
border-bottom: 1px solid #ddd;

backface-visibility: hidden;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
}

.bar-header-secondary {
Expand Down
2 changes: 1 addition & 1 deletion dist/css/ratchet.min.css

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions docs/assets/css/docs.css
Expand Up @@ -1766,8 +1766,13 @@ hr {
background-image: none;
}
.platform-android .input-row {
height: 40px;
border-bottom: 1px solid #d9d9d9;
}
.platform-android .input-row label {
padding-top: 10px;
padding-bottom: 10px;
}
.platform-android .input-row label + input {
background-image: none;
border-bottom: 0;
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/css/docs.min.css

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions docs/dist/css/ratchet-theme-android.css
Expand Up @@ -411,9 +411,15 @@ textarea,
}

.input-row {
height: 40px;
border-bottom: 1px solid #d9d9d9;
}

.input-row label {
padding-top: 10px;
padding-bottom: 10px;
}

.input-row label + input {
background-image: none;
border-bottom: 0;
Expand Down
2 changes: 1 addition & 1 deletion docs/dist/css/ratchet-theme-android.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/dist/css/ratchet.css
Expand Up @@ -495,8 +495,8 @@ input[type="button"] {
background-color: white;
border-bottom: 1px solid #ddd;

backface-visibility: hidden;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
}

.bar-header-secondary {
Expand Down
2 changes: 1 addition & 1 deletion docs/dist/css/ratchet.min.css

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions sass/theme-android.scss
Expand Up @@ -530,8 +530,13 @@ textarea,

// To use labels with input groups, wrap a label and an input in an .input-row
.input-row {
height: 40px; // Matches the height of inputs.
border-bottom: 1px solid #d9d9d9;
}
.input-row label {
padding-top: 10px;
padding-bottom: 10px;
}
// Remove bottom border on last input-row to avoid double bottom border
.input-row label + input {
background-image: none;
Expand Down

0 comments on commit 980b250

Please sign in to comment.