border-radius only for first and last input

This commit is contained in:
Martin Zimmermann 2014-05-27 13:42:07 +02:00
parent 065460d78a
commit 77d40a99eb

View File

@ -182,12 +182,17 @@
.postbox > .form-wrapper > .auth-section .input-wrapper input { .postbox > .form-wrapper > .auth-section .input-wrapper input {
padding: .3em 10px; padding: .3em 10px;
max-width: 100%; max-width: 100%;
border-radius: 3px;
background-color: #fff; background-color: #fff;
line-height: 1.4em; line-height: 1.4em;
border: 1px solid rgba(0, 0, 0, 0.2); border: 1px solid rgba(0, 0, 0, 0.2);
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
} }
.postbox > .form-wrapper > .auth-section .input-wrapper:first-child input {
border-radius: 3px 0 0 3px;
}
.postbox > .form-wrapper > .auth-section .input-wrapper:nth-last-child(2) input {
border-radius: 0 3px 3px 0;
}
.postbox > .form-wrapper > .auth-section .post-action { .postbox > .form-wrapper > .auth-section .post-action {
display: inline-block; display: inline-block;
float: right; float: right;
@ -217,6 +222,7 @@
} }
.postbox > .form-wrapper > .auth-section .input-wrapper input { .postbox > .form-wrapper > .auth-section .input-wrapper input {
width: 100%; width: 100%;
border-radius: 3px;
} }
.postbox > .form-wrapper > .auth-section .post-action { .postbox > .form-wrapper > .auth-section .post-action {
display: block; display: block;