Sha256: cb849fe0dd5836a96cb69a30df49404012d8fa77ef375810eb9caa20b720b3cc

Contents?: true

Size: 1.02 KB

Versions: 120

Compression:

Stored size: 1.02 KB

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;

  .fa-times {
    cursor: pointer;
    opacity: 0.5;
    position: relative;
    right: -8px;
  }
  &:hover .fa-times {
    opacity: 1;
  }

  @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

120 entries across 120 versions & 1 rubygems

Version Path
playbook_ui-9.7.0.pre.alpha.a11y.btn app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.scss
playbook_ui-9.7.0 app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.scss
playbook_ui-9.6.1 app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.scss
playbook_ui-9.6.1.pre.deps1 app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.scss
playbook_ui-9.6.0 app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.scss
playbook_ui-9.5.0.alpha.rs.downgrade app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.scss
playbook_ui-9.5.0 app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.scss
playbook_ui-9.4.0.alpha.sisense app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.scss
playbook_ui-9.4.0.alpha.user.kit.bug app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.scss
playbook_ui-9.4.0 app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.scss
playbook_ui-9.3.1.pre.alpha2 app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.scss
playbook_ui-9.4.0.pre.alpha2 app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.scss
playbook_ui-9.4.0.pre.alpha1 app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.scss
playbook_ui-9.3.1.pre.alpha1 app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.scss
playbook_ui-9.3.0.alpha.inline3 app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.scss
playbook_ui-9.3.0.pre.alpha.password.strength.2 app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.scss
playbook_ui-9.3.0.alpha.inline2 app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.scss
playbook_ui-9.3.0.alpha.inline1 app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.scss
playbook_ui-9.3.0.pre.alpha.password.strength.1 app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.scss
playbook_ui-9.3.0 app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.scss