Sha256: 792836610dcf2f29994803fbe6647562dc87475a96fe2498c0da43904b7c5d62

Contents?: true

Size: 1.55 KB

Versions: 3

Compression:

Stored size: 1.55 KB

Contents

/* Table of Contents
==================================================
# Alert
# Application
# Colors
# Media Queries */

/* # Alert
================================================== */
.alert-fixed {
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 1040;
}
.alert {
  background: $color-gray;
  border-bottom: 2px solid rgba(0,0,0,0.1);
  box-sizing: border-box;
  color: $color-white;
  display: block;
  font-size: 16px;
  line-height: 20px;
  margin: 0;
  padding: 10px 20px 9px 20px;
  width: 100%;
}
.alert > a {
  color: $color-white;
  border-bottom: 1px dotted $color-white;
  font-style: italic;
}
.alert-lined { border: 2px solid rgba(0,0,0,0.1); }
.alert-close {
  border: 0 !important;
  color: $color-white !important;
  float: right;
  font-size: 18px;
  line-height: 24px;
}

/* # Application
================================================== */
.alert.alert-app { width: calc(100% - 280px); }

/* # Colors
================================================== */
.alert-green,
.alert-success { background: $color-green; }
.alert-orange,
.alert-warning { background: $color-orange; }
.alert-red,
.alert-error,
.alert-alert { background: $color-red; }
.alert-black,
.alert-system { background: $color-gray-dark; }

/* # Media Queries
================================================== */
@media only screen and (max-width: 1365px) {
  .alert.alert-app { width: calc(100% - 250px); }
}
@media only screen and (max-width: 1199px) {
  .alert.alert-app { width: calc(100% - 220px); }
}
@media only screen and (max-width: 959px) {
  .alert.alert-app { width: 100%; }
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
active_frontend-7.0.2 vendor/assets/stylesheets/_alert.scss
active_frontend-7.0.1 vendor/assets/stylesheets/_alert.scss
active_frontend-7.0.0 vendor/assets/stylesheets/_alert.scss