Sha256: a61de96ce80d9d503fb5d86249a8cd3ad07e6f6a8e5a7dde980fc9065bf3d649

Contents?: true

Size: 944 Bytes

Versions: 3

Compression:

Stored size: 944 Bytes

Contents

// alert
$text-1: #FFFFFF;   // branco
$alert-success: #27ae60;  // verde
$alert-danger: #e74c3c;   // vermelho
$alert-notice: #2980b9;   // azul

// box sizing
@mixin box-sizing($boxmodel){
  -webkit-box-sizing: $boxmodel;
     -moz-box-sizing: $boxmodel;
          box-sizing: $boxmodel;
}

.alert-message {
  cursor: pointer;
  @include box-sizing(border-box);

  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;

  width: 100%;

  color: $text-1;
  font-size: 1.4em !important;
  text-align: center;

  padding: 10px;

  .close {
    outline: none;
    @include box-sizing(border-box);

    position: absolute;
    top: 0;
    right: 0;

    width: 42px;
    height: 42px;
    line-height: 42px;

    font-size: 1.4em;

    border: 0;
    background: none;
  }
}

.alert-message-success {
  background: $alert-success;
}

.alert-message-danger {
  background: $alert-danger;
}

.alert-message-notice {
  background: $alert-success;
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
alert_message-1.1.1 vendor/assets/stylesheets/alert_message.css.scss
alert_message-1.1.0 vendor/assets/stylesheets/alert_message.css.scss
alert_message-1.0.7 vendor/assets/stylesheets/alert_message.css.scss