Sha256: 89086d429cf45025772efa3ebb37795ee282353384b99fca17738038be71abbb

Contents?: true

Size: 1.45 KB

Versions: 2

Compression:

Stored size: 1.45 KB

Contents

.flash {
   padding: 8px 14px; // (1) top,bottom (2) right,left
   @include border-radius(4px);

   &.error, &.fatal {
    color: $error-text;
    background-color: $error-background;
    border: 1px solid $error-border;
  }

   &.success {
     color: $success-text;
     background-color: $success-background;
     border: 1px solid $success-border;
   }

   &.notice, &.info {
     color: $notice-text;
     background-color: $notice-background;
     border: 1px solid $notice-border;
   }
   
   &.warn, &.warning {
     color: $warning-text;
     background-color: $warning-background;
     border: 1px solid $warning-border;
   }
}


/////////////////////
// color style classes for test page (use like <span class='color error-background'></span>)

// todo: nest inside color (e.g. color { &.error-text {}} ) ???
    
.error-text { background-color: $error-text; }
.error-background { background-color: $error-background; }
.error-border { background-color: $error-border; }

.success-text { background-color: $success-text; }
.success-background { background-color: $success-background; }
.success-border { background-color: $success-border; }

.notice-text { background-color: $notice-text; }
.notice-background { background-color: $notice-background; }
.notice-border { background-color: $notice-border; }

.warning-text { background-color: $warning-text; }
.warning-background { background-color: $warning-background; }
.warning-border { background-color: $warning-border; }

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
beerdb-admin-0.1.2 app/assets/stylesheets/beer_db_admin/flash.css.scss
beerdb-admin-0.1.1 app/assets/stylesheets/beer_db_admin/flash.css.scss