Sha256: b5ca78ffd6cf42799f954aad5ca57393f0d5d3ccf13ff3b4a55b5eb6b90752cf
Contents?: true
Size: 1.37 KB
Versions: 2
Compression:
Stored size: 1.37 KB
Contents
@import "../tokens/colors"; @import "../tokens/border_radius"; @import "../tokens/spacing"; @import "../tokens/animation-curves"; @import "../pb_title/title_mixin"; @mixin pb_textarea($border_color, $background_color, $text_color) { @include pb_title_4; border: 1px solid $border_color; border-radius: $border_rad_heavier; display: block; width: 100%; color: $text_color; background-color: $background_color; padding: ($space_xs + 4) $space_sm; transition: $easeIn; outline: none; overflow: auto; overflow-wrap: break-word; resize: none; transition-property: border-color, box-shadow, color, background-color; transition-duration: .24s; transition-timing-function: $bezier; &:disabled, &:disabled:hover, &:disabled:focus, &:disabled:active { background-color: shade($background_color, 5%); box-shadow: none; opacity: 0.5; } } @mixin pb_textarea_focus($focus_color: $focus_input_light) { background-color: $focus_color; } // Textarea ====================== @mixin pb_textarea_light { @include pb_textarea($border_light, $white, $text_lt_default); } @mixin pb_textarea_dark { @include pb_textarea($border_dark, $bg_dark, $text_dk_default); } // Hovers ====================== @mixin pb_textarea_focus_light { @include pb_textarea_focus($focus_input_light); } @mixin pb_textarea_focus_dark { @include pb_textarea_focus($focus_input_dark); }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
playbook_ui-3.0.1 | app/pb_kits/playbook/pb_textarea/_textarea_mixin.scss |
playbook_ui-3.0.0 | app/pb_kits/playbook/pb_textarea/_textarea_mixin.scss |