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
bootstrapped-rails-1.1.1.3 vendor/twitter/scss/alerts.scss
bootstrapped-rails-1.1.1.3 vendor/stylesheets/bootstrapped/alerts.scss
bootstrapped-rails-1.1.1.2 vendor/stylesheets/bootstrapped/alerts.scss
bootstrapped-rails-1.1.1.2 vendor/twitter/scss/alerts.scss
bootstrapped-rails-1.1.1.1 vendor/stylesheets/bootstrapped/alerts.scss
bootstrapped-rails-1.1.1.1 vendor/twitter/scss/alerts.scss
bootstrap-generators-2.0.1 vendor/assets/stylesheets/scss/alerts.scss
cmaitchison-bootstrap-rails-2.0.1.1 vendor/assets/stylesheets/alerts.scss
anjlab-bootstrap-rails-2.0.1.1 vendor/assets/stylesheets/alerts.scss
bootstrap-sass-rails-2.0.1.2 vendor/assets/stylesheets/twitter/bootstrap/_alerts.scss
bootstrap-sass-rails-2.0.1.1 vendor/assets/stylesheets/twitter/bootstrap/_alerts.scss
bootstrap-sass-rails-2.0.1.0 vendor/assets/stylesheets/twitter/bootstrap/_alerts.scss
compass_twitter_bootstrap-2.0.1.2 stylesheets/compass_twitter_bootstrap/_alerts.scss
compass_twitter_bootstrap-2.0.1.1 stylesheets/compass_twitter_bootstrap/_alerts.scss
compass_twitter_bootstrap-2.0.1 stylesheets/compass_twitter_bootstrap/_alerts.scss
anjlab-bootstrap-rails-2.0.1.0 vendor/assets/stylesheets/alerts.scss
anjlab-bootstrap-rails-2.0.0.5 vendor/assets/stylesheets/alerts.scss
anjlab-bootstrap-rails-2.0.0.4 vendor/assets/stylesheets/alerts.scss
anjlab-bootstrap-rails-2.0.0.3 vendor/assets/stylesheets/alerts.scss
bootstrap-sass-rails-2.0.0.3 vendor/assets/stylesheets/twitter/bootstrap/_alerts.scss