Commit f54568fa authored by Mark Otto's avatar Mark Otto
Browse files

round the corners on the search form inputs like a boss

parent 00204a80
Showing with 16 additions and 1 deletion
+16 -1
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Designed and built with all the love in the world @twitter by @mdo and @fat. * Designed and built with all the love in the world @twitter by @mdo and @fat.
* Date: Thu Sep 29 01:44:42 PDT 2011 * Date: Thu Sep 29 01:47:26 PDT 2011
*/ */
/* Reset.less /* Reset.less
* Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc). * Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc).
...@@ -930,6 +930,11 @@ textarea[readonly] { ...@@ -930,6 +930,11 @@ textarea[readonly] {
margin-right: 0; margin-right: 0;
margin-left: -1px; margin-left: -1px;
} }
.form-search .search-query {
-webkit-border-radius: 14px;
-moz-border-radius: 14px;
border-radius: 14px;
}
.control-group { .control-group {
margin-bottom: 18px; margin-bottom: 18px;
} }
......
...@@ -161,6 +161,7 @@ input[disabled],select[disabled],textarea[disabled],input[readonly],select[reado ...@@ -161,6 +161,7 @@ input[disabled],select[disabled],textarea[disabled],input[readonly],select[reado
.input-prepend .add-on{*margin-top:1px;} .input-prepend .add-on{*margin-top:1px;}
.input-append input{float:left;-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px;} .input-append input{float:left;-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px;}
.input-append .add-on{-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0;margin-right:0;margin-left:-1px;} .input-append .add-on{-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0;margin-right:0;margin-left:-1px;}
.form-search .search-query{-webkit-border-radius:14px;-moz-border-radius:14px;border-radius:14px;}
.control-group{margin-bottom:18px;} .control-group{margin-bottom:18px;}
.control-group>label{font-weight:bold;} .control-group>label{font-weight:bold;}
.form-horizontal .control-group>label{float:left;width:130px;padding-top:5px;text-align:right;} .form-horizontal .control-group>label{float:left;width:130px;padding-top:5px;text-align:right;}
......
...@@ -357,6 +357,15 @@ textarea[readonly] { ...@@ -357,6 +357,15 @@ textarea[readonly] {
// SEARCH FORM
// -----------
.form-search .search-query {
.border-radius(14px);
}
// HORIZONTAL & VERTICAL FORMS // HORIZONTAL & VERTICAL FORMS
// --------------------------- // ---------------------------
......
Supports Markdown
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