Sha256: 8402b6e421be14db520973506d8e96b42b818f32211fb4b0ae25f076285e52ec
Contents?: true
Size: 912 Bytes
Versions: 2
Compression:
Stored size: 912 Bytes
Contents
form{ // Wrap each form input/element in a field div .field{ margin-bottom:$padding/2; } label{ display:block; margin-bottom:5px; } input[type=text],input[type=email],input[type=phone],input[type=password],input[type=number],input[type=search], textarea{ @include box-shadow(inset 0 1px 2px rgba(0,0,0,.05)); width:100%; padding:5px; border:1px solid #ccc; outline:none; &:focus{ border-color:$primary-color; } &.auto{ width:auto; } } // Notes go under the input fields .note{ margin-top:5px; color:$subtle-color; } // Required label .req{ font-style: italic; } // Validation, add error class to the item div .error{ // Validation reason .reason{ margin-top:5px; color:$bad-color; } input[type=text],input[type=email],input[type=phone],input[type=password],input[type=number],input[type=search], textarea{ border-color:$bad-color; } } }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
motherplate-rails-0.0.2 | vendor/assets/stylesheets/motherplate/_forms.scss |
motherplate-rails-0.0.1 | vendor/assets/stylesheets/motherplate/_forms.scss |