Sha256: 68b3f3f79a5dcaa1196d5f8a55118dd1767b1884cc913636ba70cf197edaea72

Contents?: true

Size: 1.2 KB

Versions: 86

Compression:

Stored size: 1.2 KB

Contents

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

// Base alert styles
.alert {
  padding: 8px 35px 8px 14px;
  margin-bottom: $baseLineHeight;
  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;
}

// 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;
}
.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

86 entries across 60 versions & 8 rubygems

Version Path
sass-twitter-bootstrap-2.0.1 vendor/assets/stylesheets/twitter/_alerts.scss
openshift-origin-console-1.3.4 vendor/assets/stylesheets/bootstrap/_alerts.scss
openshift-origin-console-1.3.3 vendor/assets/stylesheets/bootstrap/_alerts.scss
openshift-origin-console-1.3.2 vendor/assets/stylesheets/bootstrap/_alerts.scss
bootstrapped-rails-2.0.8.1 vendor/assets/twitter/scss/alerts.scss
bootstrapped-rails-2.0.8 vendor/assets/twitter/scss/alerts.scss
bootstrapped-rails-2.0.7.9 vendor/assets/twitter/scss/alerts.scss
bootstrapped-rails-2.0.7.8 vendor/assets/twitter/scss/alerts.scss
bootstrapped-rails-2.0.7.7 vendor/assets/twitter/scss/alerts.scss
bootstrapped-rails-2.0.7.6 vendor/assets/twitter/scss/alerts.scss
bootstrapped-rails-2.0.7.5 vendor/assets/twitter/scss/alerts.scss
bootstrapped-rails-2.0.7.4 vendor/assets/twitter/scss/alerts.scss
bootstrapped-rails-2.0.7.3 vendor/assets/twitter/scss/alerts.scss
bootstrapped-rails-2.0.7.2 vendor/assets/twitter/scss/alerts.scss
bootstrapped-rails-2.0.7.1 vendor/assets/stylesheets/bootstrapped/alerts.scss
bootstrapped-rails-2.0.7.1 vendor/assets/twitter/scss/alerts.scss
bootstrapped-rails-2.0.7 vendor/assets/stylesheets/bootstrapped/alerts.scss
bootstrapped-rails-2.0.7 vendor/assets/twitter/scss/alerts.scss
bootstrapped-rails-2.0.6 vendor/assets/stylesheets/bootstrapped/alerts.scss
bootstrapped-rails-2.0.6 vendor/assets/twitter/scss/alerts.scss