Sha256: b23ee0b1418f79f010db6e5e06cf1d3f5861de44d43083d07fdc8b0d9d1b81f3

Contents?: true

Size: 1.5 KB

Versions: 3

Compression:

Stored size: 1.5 KB

Contents

// ALERT STYLES
// ------------

// Base alert styles
.alert {
  padding: 9px 35px 10px 21px;
  margin: 15px 0;
  //text-shadow: 0 1px 0 rgba(255,255,255,.5);
  background-color: $warningBackground;
  //border: 1px solid $warningBorder;
  @include border-radius(4px);
}
.alert,
.alert-heading {
  color: $warningText;
}

.alert a, .alert a:hover, alert a:active {
  text-decoration:underline;
  }
.alert-error a, .alert-error a:hover, alert-error a:active,
.alert-danger a, .alert-danger a:hover, alert-danger a:active {
  color:#fff;
}

// Adjust close link position
.alert .close {
  position: relative;
  top: -2px;
  right: -21px;
  line-height: 18px;
}

// Alternate styles
// ----------------

.alert-success {
  background-color: $successBackground;
  border-color: $successBorder;  
}
.alert-success,
.alert-success .alert-heading {
  color: $successText;
}
.alert-danger,
.alert-error {
  background-color: $errorBackground;
  border-color: $errorBorder;
}
.alert-danger,
.alert-error,
.alert-danger .alert-heading,
.alert-error .alert-heading {
  color: $errorText;
}
.alert-info {
  background-color: $infoBackground;
  border-color: $infoBorder;
  a {
    color: $linkColorBlue;
    &:hover, &:active {
      color: $openshiftBrightRed;
    }
  }
}
.alert-info,
.alert-info .alert-heading {
  color: $infoText;
}


// Block alerts
// ------------------------
.alert-block {
  padding-top: 14px;
  padding-bottom: 14px;
}
.alert-block > p,
.alert-block > ul {
  margin-bottom: 0;
}
.alert-block p + p {
  margin-top: 5px;
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
openshift-origin-console-1.3.4 app/assets/stylesheets/_alerts.scss
openshift-origin-console-1.3.3 app/assets/stylesheets/_alerts.scss
openshift-origin-console-1.3.2 app/assets/stylesheets/_alerts.scss