Sha256: f29d1568ebfe23aa9ad252c20438550f2a8900aed3db3fc28d898db152b4fb1b
Contents?: true
Size: 1.21 KB
Versions: 51
Compression:
Stored size: 1.21 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; } &[class*=_multi_line] .pb_fixed_confirmation_toast_text { color: $white; margin: 0 $space_md 0 $space_md; max-width: 100%; white-space: break-spaces; } } } }
Version data entries
51 entries across 51 versions & 1 rubygems