Sha256: a8ccb1c1efda760c06740f780d0d4610e17f5d8f71f6a33aa9d547f4767d6c48

Contents?: true

Size: 899 Bytes

Versions: 137

Compression:

Stored size: 899 Bytes

Contents

@import "../tokens/spacing";
@import "../tokens/colors";
@import "../pb_body/body";

$pb_pill_height: 25px;


$confirmation_toast_colors: (
  neutral:        $neutral,
  success:        $success,
  error:          $error,
  tip:          transparent,
);

[class^=pb_fixed_confirmation_toast_kit] {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: $space_xs $space-md;
  border-radius: $border_rad_mega;
  box-shadow: $shadow_deeper;

  @each $color_name, $color_value in $confirmation_toast_colors {
    &[class*=_#{$color_name}]  {
      background: $color_value;
      @if $color_name == "tip" {
        @include gradient;
      }

      .pb_fixed_confirmation_toast_text {
        color: $white;
        margin: 0 $space_md 0 $space_md;
        text-align: center;
        white-space: pre;
      }

      .pb_icon {
        color: $white;
      }
    }
  }
}

Version data entries

137 entries across 137 versions & 1 rubygems

Version Path
playbook_ui-4.16.0 app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.scss
playbook_ui-4.15.0 app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.scss
playbook_ui-4.14.0 app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.scss
playbook_ui-4.15.1.alpha1 app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.scss
playbook_ui-4.13.1 app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.scss
playbook_ui-4.13.0 app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.scss
playbook_ui-4.12.0 app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.scss
playbook_ui-4.11.0 app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.scss
playbook_ui-4.11.0.pre.alpha3 app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.scss
playbook_ui-4.11.0.pre.alpha.pre.2 app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.scss
playbook_ui-4.10.0 app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.scss
playbook_ui-4.10.0.pre.alpha1 app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.scss
playbook_ui-4.9.0.pre.alpha1 app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.scss
playbook_ui-4.9.0 app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.scss
playbook_ui-4.8.2 app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.scss
playbook_ui-4.8.1 app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.scss
playbook_ui-4.7.1 app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.scss
playbook_ui-4.7.0 app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.scss
playbook_ui-4.6.1 app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.scss
playbook_ui-4.6.0 app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.scss