From b2c4452b8bebb174c974ce4aa5aad3b18372e914 Mon Sep 17 00:00:00 2001 From: Aurelio De Rosa Date: Wed, 10 Jul 2013 00:06:20 +0200 Subject: [PATCH 1/5] Update forms.css Proposed fix for issue #109 --- src/forms/css/forms.css | 1 + 1 file changed, 1 insertion(+) diff --git a/src/forms/css/forms.css b/src/forms/css/forms.css index 993341e..153d556 100644 --- a/src/forms/css/forms.css +++ b/src/forms/css/forms.css @@ -177,6 +177,7 @@ } /* Rounded Inputs */ +.pure-form input.pure-input-rounded, .pure-form .pure-input-rounded { border-radius: 20px; padding-left: 1em; From bc258aa7b89e765e0528c71636eb8a4098aad50f Mon Sep 17 00:00:00 2001 From: Aurelio De Rosa Date: Wed, 10 Jul 2013 00:32:01 +0200 Subject: [PATCH 2/5] Updated HISTORY.md to document pull request #133 --- HISTORY.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/HISTORY.md b/HISTORY.md index 9aa57cf..555cb17 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -4,6 +4,8 @@ Pure Change History NEXT ---- +* Added `.pure-form input.pure-input-rounded` in forms.css to have more specificity for ``s [#109](https://github.com/yui/pure/issues/109) + * Removed `white-space: nowrap` from `.pure-table thead` to fix issue [#95](https://github.com/yui/pure/issues/95) * Removed the gray color of forms' labels. Fix for issue [#89](https://github.com/yui/pure/issues/89) From 445d7ac332d51335fa91ec21596b86eb3df5e197 Mon Sep 17 00:00:00 2001 From: Aurelio De Rosa Date: Wed, 10 Jul 2013 00:52:34 +0200 Subject: [PATCH 3/5] Updated style for .pure-input-rounded --- src/forms/css/forms.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/forms/css/forms.css b/src/forms/css/forms.css index 153d556..94d77e2 100644 --- a/src/forms/css/forms.css +++ b/src/forms/css/forms.css @@ -179,8 +179,8 @@ /* Rounded Inputs */ .pure-form input.pure-input-rounded, .pure-form .pure-input-rounded { - border-radius: 20px; - padding-left: 1em; + border-radius: 2em; + padding: 0.5em 1em; } /* Grouped Inputs */ From 3a2e622559d31a21ee788fc835734febca2c8696 Mon Sep 17 00:00:00 2001 From: Aurelio De Rosa Date: Wed, 10 Jul 2013 00:59:49 +0200 Subject: [PATCH 4/5] Updated Rounded Form section in manual test of forms.html --- src/forms/tests/manual/forms.html | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/forms/tests/manual/forms.html b/src/forms/tests/manual/forms.html index 247a348..45ff27e 100644 --- a/src/forms/tests/manual/forms.html +++ b/src/forms/tests/manual/forms.html @@ -256,10 +256,14 @@

Rounded Form

Add the pure-input-rounded classname to any form control.

-
- - -
+
+ + + + + + +

Selects

From 50742e0a93d68f9db66cfcf162b714349b4c6452 Mon Sep 17 00:00:00 2001 From: Aurelio De Rosa Date: Wed, 10 Jul 2013 22:45:26 +0200 Subject: [PATCH 5/5] Added margin for elements children of .pure-form-stacked --- src/forms/css/forms.css | 1 + 1 file changed, 1 insertion(+) diff --git a/src/forms/css/forms.css b/src/forms/css/forms.css index 94d77e2..edc78c2 100644 --- a/src/forms/css/forms.css +++ b/src/forms/css/forms.css @@ -147,6 +147,7 @@ .pure-form-stacked label, .pure-form-stacked textarea { display: block; + margin: 0.25em 0; } .pure-form-aligned input,