aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2011-09-29 01:47:55 -0700
committerMark Otto <[email protected]>2011-09-29 01:47:55 -0700
commitf54568fa31396556a0df7bf8e2b180885e2b1c3f (patch)
tree26a27a2d2317d8071e3f60ff940a05b6b66d60c1
parent00204a80cf1c45cb9d7d80986756401d304a3944 (diff)
downloadbootstrap-f54568fa31396556a0df7bf8e2b180885e2b1c3f.tar.xz
bootstrap-f54568fa31396556a0df7bf8e2b180885e2b1c3f.zip
round the corners on the search form inputs like a boss
-rw-r--r--bootstrap.css7
-rw-r--r--bootstrap.min.css1
-rw-r--r--lib/forms.less9
3 files changed, 16 insertions, 1 deletions
diff --git a/bootstrap.css b/bootstrap.css
index acc05c717..6758ea7eb 100644
--- a/bootstrap.css
+++ b/bootstrap.css
@@ -6,7 +6,7 @@
* http://www.apache.org/licenses/LICENSE-2.0
*
* 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
* 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] {
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;
}
diff --git a/bootstrap.min.css b/bootstrap.min.css
index 5be71dd4a..cf290c8e1 100644
--- a/bootstrap.min.css
+++ b/bootstrap.min.css
@@ -161,6 +161,7 @@ input[disabled],select[disabled],textarea[disabled],input[readonly],select[reado
.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 .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>label{font-weight:bold;}
.form-horizontal .control-group>label{float:left;width:130px;padding-top:5px;text-align:right;}
diff --git a/lib/forms.less b/lib/forms.less
index fd46fc71e..56325daa9 100644
--- a/lib/forms.less
+++ b/lib/forms.less
@@ -357,6 +357,15 @@ textarea[readonly] {
+// SEARCH FORM
+// -----------
+
+.form-search .search-query {
+ .border-radius(14px);
+}
+
+
+
// HORIZONTAL & VERTICAL FORMS
// ---------------------------