app/assets/stylesheets/includes/_forms.sass in smock-0.1.9 vs app/assets/stylesheets/includes/_forms.sass in smock-0.1.10
- old
+ new
@@ -8,108 +8,22 @@
padding: 0
+space(line-height, 2)
display: block
font-weight: bold
-input[type="checkbox"]
- +space(margin-right, 0.5)
-
-input[type="email"],
-input[type="password"],
-input[type="text"],
-input[type="url"],
-textarea
+input,
+input
padding: 0
margin: 0
border: 0
width: 100%
- +font-size($base-font-size)
+ +typecsset-font-size($base-font-size)
+space(line-height, 2)
+space(padding-left, 0.75)
+space(padding-right, 0.75)
+border
border-radius: $border-radius
background: $white
-input[disabled]
- background: $gray-lightest
-
-textarea
- +space(line-height)
- +space(padding-top, 0.5)
- +space(padding-bottom, 0.5)
-
-select
- margin: 0
- border: 0 solid transparent
- background: $white
- width: 100%
- +border
- border-radius: $border-radius
- +font-size($base-font-size)
- +space(height, 2)
- +space(line-height, 2)
-
abbr[title]
color: $red
border: 0
-
-.errors__input
- +border(1px, $red)
-.errors__message, .error
- color: $red
- +space(line-height, 2)
-
-.field_with_errors
- input
- @extend .errors__input
-
-.stand-alone-button
- +space(margin-top)
-
-.form-terms
- color: $gray-light
- +space(margin-top)
-
-.form-terms a
- color: $gray-light
-
-.input.boolean
- +clearfix
- +space(margin-top)
- +space(margin-bottom)
- label
- display: inline
- +space(line-height)
-
-.hint
- +space(margin-top, 0.5)
- +space(margin-bottom, 0.5)
- width: 100%
- display: block
- color: $gray
- a
- color: $gray
- text-decoration: underline
-
-.input-prepend-wrapper
- +border
- +space(line-height, 2)
- +clearfix
- border-radius: $border-radius
- background: $white
- input.input-prepend-input
- border-top-left-radius: 0
- border-bottom-left-radius: 0
- width: 65%
- display: block
- float: left
- .input-prepend-add-on
- border-top-left-radius: $border-radius
- border-bottom-left-radius: $border-radius
- +space(padding-left)
- +space(padding-right)
- width: 35%
- display: block
- float: left
- background: $gray-lightest
-