みんな考えてるけどコレだ!っていうのがないですよね。最近流行っているっぽいフォームの周りに淡く枠っぽいものを書いて凹んでるっぽく見せるのをつくってみたけど今三。入力ボックスとボタンをくっつけるのはそこそこうまくいったけど、んー。
#search {
form {
div {
padding: 6px 4px 6px 6px;
border-radius: 1em/1.25em;
display: inline-block;
line-height: 1;
background-color: rgba(0, 0, 0, 0, 0.05);
input {
border: 1px solid rgb(114, 143, 153) !important;
border-radius: 0.75em/1em;
box-sizing: content-box;
vertical-align: middle;
&:hover, &:active, &:focus {
border-color: !important;
}
}
.edit {
border-width: none;
margin: 0 -2em 0 0;
width: 186px;
height: 28px;
}
.button {
padding: 0 16px;
border-radius: 0.75em/1em;
box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.7));
height: 32px;
color: rgb(255, 255, 255);
background-color: rgb(136, 187, 204);
background-image: linear-gradient(top, rgba(255, 255, 255, 0.2) 0, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0) 100%);
&:hover {
cursor: pointer;
}
}
}
}
}