From b8b43c3ebc83ba32dc405fcaecd7a47d46882981 Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Tue, 24 Nov 2009 09:23:48 -0800 Subject: [PATCH] [Blueprint] Password inputs now the same style as regular text inputs Port of blueprint d77e914e85669ff9f05034e51d4d6d8a9dba2fa9 --- .../blueprint/stylesheets/blueprint/_form.sass | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/compass/frameworks/blueprint/stylesheets/blueprint/_form.sass b/lib/compass/frameworks/blueprint/stylesheets/blueprint/_form.sass index 1ff6c040..82d86d34 100644 --- a/lib/compass/frameworks/blueprint/stylesheets/blueprint/_form.sass +++ b/lib/compass/frameworks/blueprint/stylesheets/blueprint/_form.sass @@ -21,7 +21,7 @@ font-weight: bold font-size: 1.2em input - &.text, &.title, &[type=text] + &.text, &.title, &[type=text], &[type=password] margin: 0.5em 0 background-color: #fff padding: 5px @@ -38,8 +38,9 @@ margin: 0.5em 0 =blueprint-form-sizes(!input_width = 300px, !textarea_width = 390px, !textarea_height = 250px) - input.text, input.title - width= !input_width + input + &.text, &.title, &[type=text], &[type=password] + width= !input_width textarea width= !textarea_width height= !textarea_height @@ -47,7 +48,7 @@ =blueprint-form-borders(!unfocused_border_color = #bbb, !focus_border_color = #666, !fieldset_border_color = #ccc) fieldset border= 1px "solid" !fieldset_border_color - input.text, input.title, + input.text, input.title, input[type=text], input[type=password], textarea, select border= 1px "solid" !unfocused_border_color