Commit 819c617e authored by Dries's avatar Dries

- Patch #777728 by Jeff Burnz: improve formatting of default search block.

parent 724d3fdb
......@@ -19,3 +19,8 @@ fieldset legend {
#footer-wrapper #footer .block {
height: 100%;
}
#search-block-form input.form-submit,
#search-form input.form-submit {
text-transform: capitalize; /* Trigger text indent. */
height: 26px;
}
......@@ -9,3 +9,6 @@
.tabs ul.primary {
zoom: 1;
}
#block-search-form .form-item-search-block-form input {
width: 67%;
}
......@@ -152,9 +152,14 @@ a.button {
/* --------------- Search Form ---------------- */
#search-form input#edit-keys,
#block-search-form .form-item-search-block-form input {
float: right;
}
#search-block-form input.form-submit,
#search-form input.form-submit {
margin-left: 0;
margin-right: 5px;
}
/* ------------------ Footer ------------------ */
......
......@@ -1158,36 +1158,30 @@ div.vertical-tabs .vertical-tabs-panes fieldset.vertical-tabs-pane {
/* --------------- Search Form ---------------- */
#block-search-form {
padding-bottom: 7px;
}
#block-search-form .content {
margin-top: 0;
}
#search-form input#edit-keys,
#block-search-form .form-item-search-block-form input {
width: 70%;
}
.region-content #block-search-form .form-item-search-block-form input,
.region-footer #block-search-form .form-item-search-block-form input {
width: auto;
}
#block-search-form #edit-actions {
float: right;
}
.region-content #block-search-form #edit-actions,
.region-footer #block-search-form #edit-actions {
float: none;
}
#block-search-form .form-actions {
padding-top: 0;
float: left; /* LTR */
}
#search-block-form input.form-submit,
#search-form input.form-submit {
margin-left: 5px; /* LTR */
margin-right: 0; /* LTR */
height: 24px;
width: 14px;
overflow: hidden;
height: 25px;
width: 34px;
padding: 0;
cursor: pointer;
text-indent: -9999px;
border: none;
background: url(../images/search-button.png) no-repeat left center;
border: 1px solid #ccc;
background: url(../images/search-button.png) no-repeat center center;
}
#search-form .form-item-keys label {
display: block;
}
/* -------------- Shortcut Links -------------- */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment