From eff65de6860690861024996bde0abb41e1a6e2d9 Mon Sep 17 00:00:00 2001 From: navanchauhan Date: Sat, 21 Jan 2023 16:52:10 -0700 Subject: bundle bulma --- static/assets/bulma/sass/form/input-textarea.sass | 66 +++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 static/assets/bulma/sass/form/input-textarea.sass (limited to 'static/assets/bulma/sass/form/input-textarea.sass') diff --git a/static/assets/bulma/sass/form/input-textarea.sass b/static/assets/bulma/sass/form/input-textarea.sass new file mode 100644 index 0000000..8d842a0 --- /dev/null +++ b/static/assets/bulma/sass/form/input-textarea.sass @@ -0,0 +1,66 @@ +$textarea-padding: $control-padding-horizontal !default +$textarea-max-height: 40em !default +$textarea-min-height: 8em !default + +$textarea-colors: $form-colors !default + +%input-textarea + @extend %input + box-shadow: $input-shadow + max-width: 100% + width: 100% + &[readonly] + box-shadow: none + // Colors + @each $name, $pair in $textarea-colors + $color: nth($pair, 1) + &.is-#{$name} + border-color: $color + &:focus, + &.is-focused, + &:active, + &.is-active + box-shadow: $input-focus-box-shadow-size bulmaRgba($color, 0.25) + // Sizes + &.is-small + +control-small + &.is-medium + +control-medium + &.is-large + +control-large + // Modifiers + &.is-fullwidth + display: block + width: 100% + &.is-inline + display: inline + width: auto + +.input + @extend %input-textarea + &.is-rounded + border-radius: $radius-rounded + padding-left: calc(#{$control-padding-horizontal} + 0.375em) + padding-right: calc(#{$control-padding-horizontal} + 0.375em) + &.is-static + background-color: transparent + border-color: transparent + box-shadow: none + padding-left: 0 + padding-right: 0 + +.textarea + @extend %input-textarea + display: block + max-width: 100% + min-width: 100% + padding: $textarea-padding + resize: vertical + &:not([rows]) + max-height: $textarea-max-height + min-height: $textarea-min-height + &[rows] + height: initial + // Modifiers + &.has-fixed-size + resize: none -- cgit v1.2.3