Sha256: f0302fd47bad534c36421e6923054e06b1593809742318d04f14a4f01d95bd95

Contents?: true

Size: 1.57 KB

Versions: 11

Compression:

Stored size: 1.57 KB

Contents

//
// Toast notifications
// --------------------------------------------------

.toast-pf {
  background-color: hsla(0, 0%, 100%, .94);
  border-color: #b1b1b1;
  box-shadow: 0 2px 6px hsla(0, 0%, 0%, .2);
  padding-left: 68px; //15px space between the icon and the text
  &.alert-danger > .pficon  { background-color: $alert-danger-border; }
  &.alert-info > .pficon    { background-color: $alert-info-border; }
  &.alert-success > .pficon { background-color: $alert-success-border; }
  &.alert-warning > .pficon { background-color: $alert-warning-border; }
  .dropdown-kebab-pf { margin-left: 10px; }
  > .pficon {
    background-color: $gray-pf;
    bottom:  -1px;
    box-shadow: 2px 0 5px -2px rgba(0,0,0,.2);
    left: -1px;
    padding-top: 10px;
    text-align: center;
    top: -1px;
    width: 53px;
    &:before { color: hsla(0, 0%, 100%, .74); }
  }
  .toast-pf-action {
    margin-left: 15px;
  }
  /* Medium devices (desktops, 992px and up) */
  @media (min-width: $screen-md-min) {
    display: inline-block;
  }
}
// Sets max width on toast notifications
.toast-pf-max-width {
 @media (min-width: $screen-md-min) {
    max-width: 31.1% ; // sets the size to 4 cols;
  }
}
// To position the notification on the top right corner, used in context on cards layout
.toast-pf-top-right {
  left: ($grid-gutter-width / 2);
  position: absolute;
  right: ($grid-gutter-width / 2);
  top: 12px;
  z-index: 1035; // More than $zindex-navbar-fixed and less than $zindex-modal-background
  /* Medium devices (desktops, 992px and up) */
  @media (min-width: $screen-md-min) {
    left: auto;
  }
}

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
patternfly-sass-3.3.6 assets/stylesheets/patternfly/_toast.scss
patternfly-sass-3.3.6.pre.alpha assets/stylesheets/patternfly/_toast.scss
patternfly-sass-3.3.5 assets/stylesheets/patternfly/_toast.scss
patternfly-sass-3.3.4 assets/stylesheets/patternfly/_toast.scss
patternfly-sass-3.3.3 assets/stylesheets/patternfly/_toast.scss
patternfly-sass-3.3.2 assets/stylesheets/patternfly/_toast.scss
patternfly-sass-3.2.0 assets/stylesheets/patternfly/_toast.scss
patternfly-sass-3.1.0 assets/stylesheets/patternfly/_toast.scss
patternfly-sass-2.10.1 assets/stylesheets/patternfly/_toast.scss
patternfly-sass-3.0.0 assets/stylesheets/patternfly/_toast.scss
patternfly-sass-2.10.0 assets/stylesheets/patternfly/_toast.scss