minor CSS improvement to input and submit fields

This commit is contained in:
Martin Zimmermann 2013-10-03 13:37:52 +02:00
parent 2f6f4bc338
commit e4f9b53668
2 changed files with 23 additions and 8 deletions

View File

@ -154,6 +154,21 @@ a {
> .form-wrapper {
@include span-columns(10 of 11);
textarea {
@include fill-parent;
@include isso-shadow;
@include placeholder {
color: #AAA;
}
min-height: 48px;
font: inherit;
}
> .textarea-wrapper {
margin-bottom: 0.2em;
}
> .auth-section {
@include outer-container;
@ -165,7 +180,12 @@ a {
input {
@include fill-parent;
@include isso-shadow;
@include pad(0.4em);
@include pad(0.2em);
@include placeholder {
color: #AAA;
}
font: inherit;
}
}
@ -174,6 +194,7 @@ a {
margin-top: 0.1em;
> input {
@include fill-parent;
padding: 0.4em 1em;
border-radius: 2px;
@ -192,11 +213,5 @@ a {
}
}
}
textarea {
@include fill-parent;
@include isso-shadow;
min-height: 48px;
}
}
}

View File

@ -4,7 +4,7 @@
</div>
<div class="form-wrapper">
<div class="textarea-wrapper">
<textarea name="text" rows="3" placeholder="{{ i18n-postbox-text }}"></textarea>
<textarea name="text" rows="2" placeholder="{{ i18n-postbox-text }}"></textarea>
</div>
<section class="auth-section">
<p class="input-wrapper">