Sha256: 9490bbeafaf37b8763ec316527281f7dd50f538033457b1d6bc900e35ce82c2c

Contents?: true

Size: 1.05 KB

Versions: 62

Compression:

Stored size: 1.05 KB

Contents

@import "../pb_body/body_mixins";
@import "./textarea_mixin";
@import "../pb_title/title_mixin";

[class^=pb_textarea_kit] {
  margin-bottom: $space_sm;
  .pb_textarea_kit_label {
    margin-bottom: $space_xs;
    display: block;
  }
  textarea::placeholder {
    @include pb_body_light;
  }
  > textarea {
    @include pb_textarea_light;
  }
  textarea:focus {
    @include pb_textarea_focus_light;
  }

  &.error {
    [class*=pb_body_kit] {
      margin-top: $space_xs / 2;
    }
    > textarea {
      border-color: $error;
    }
  }
  &.resize_both > textarea {
    resize: both;
    overflow: auto;
  }
  &.resize_horizontal > textarea {
    resize: horizontal;
    overflow: auto;
  }
  &.resize_vertical > textarea {
    resize: vertical;
    overflow: auto;
  }



  &[class*=_dark] {
    textarea::placeholder {
      @include pb_body_light_dark;
    }
    > textarea {
      @include pb_textarea_dark;
    }
    textarea:focus {
      @include pb_textarea_focus_dark;
    }
    &.error {
      > textarea {
        border-color: $error_dark;
      }
    }
  }
}

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
playbook_ui-5.0.1.pre.alpha1 app/pb_kits/playbook/pb_textarea/_textarea.scss
playbook_ui-4.18.1.pre.alpha1 app/pb_kits/playbook/pb_textarea/_textarea.scss
playbook_ui-4.18.1 app/pb_kits/playbook/pb_textarea/_textarea.scss
playbook_ui-4.18.0 app/pb_kits/playbook/pb_textarea/_textarea.scss
playbook_ui-4.17.0 app/pb_kits/playbook/pb_textarea/_textarea.scss
playbook_ui-4.17.0.pre.alpha1 app/pb_kits/playbook/pb_textarea/_textarea.scss
playbook_ui-4.16.0 app/pb_kits/playbook/pb_textarea/_textarea.scss
playbook_ui-4.15.0 app/pb_kits/playbook/pb_textarea/_textarea.scss
playbook_ui-4.14.0 app/pb_kits/playbook/pb_textarea/_textarea.scss
playbook_ui-4.15.1.alpha1 app/pb_kits/playbook/pb_textarea/_textarea.scss
playbook_ui-4.13.1 app/pb_kits/playbook/pb_textarea/_textarea.scss
playbook_ui-4.13.0 app/pb_kits/playbook/pb_textarea/_textarea.scss
playbook_ui-4.12.0 app/pb_kits/playbook/pb_textarea/_textarea.scss
playbook_ui-4.11.0 app/pb_kits/playbook/pb_textarea/_textarea.scss
playbook_ui-4.11.0.pre.alpha3 app/pb_kits/playbook/pb_textarea/_textarea.scss
playbook_ui-4.11.0.pre.alpha.pre.2 app/pb_kits/playbook/pb_textarea/_textarea.scss
playbook_ui-4.10.0 app/pb_kits/playbook/pb_textarea/_textarea.scss
playbook_ui-4.10.0.pre.alpha1 app/pb_kits/playbook/pb_textarea/_textarea.scss
playbook_ui-4.9.0.pre.alpha1 app/pb_kits/playbook/pb_textarea/_textarea.scss
playbook_ui-4.9.0 app/pb_kits/playbook/pb_textarea/_textarea.scss