Sha256: 854160789aa0e576d7b9ff982937126591a1db5a23f163b011758b602f59da55
Contents?: true
Size: 1020 Bytes
Versions: 2
Compression:
Stored size: 1020 Bytes
Contents
// form ::: generic components .form { // General .input-stacked { @include position(relative); padding: .5em 1em .9em; @include bottom-border($neutralColor); &:last-child { @include no-bottom-border; } textarea, input { width: 100%; @include no-outline; @include placeholder { color: $lightColor; } } .label { display: block; line-height: 1.8; color: $stableColor; } } // Validation error .error-message { color: $assertiveColor; font-size: .8em; margin-left: .5em; } // Required .input-required .label:before { content: '*'; color: $assertiveColor; @include position(absolute, null null null .38em); } // Disabled .input-disabled { textarea, input { color: lighten($black, 20%); } } // Character counter .input-character-counter { font-size: .8em; margin-left: .5em; &.exceeds { color: $assertiveColor; } } // Information box .form-information { margin : 1em 1em 0; padding : 1em; background : $neutralColor; text-align : center; } }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
formagic-0.2.6 | app/assets/stylesheets/formagic/form.scss |
formagic-0.2.5 | app/assets/stylesheets/formagic/form.scss |