Sha256: 6acc1d918a046d8288a54de8df959792e01ed492e8881113fdef594bf11b23ad

Contents?: true

Size: 808 Bytes

Versions: 4

Compression:

Stored size: 808 Bytes

Contents

.alert-message {
  cursor: pointer;

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

  box-sizing: border-box;
  width: 100%;
  padding: 10px;
  background-color: #444;

  color: #ffffff;
  font-size: 13px;
  text-align: center;

  -webkit-transform: translateY(-100%);
  -moz-transform: translateY(-100%);
  transform: translateY(-100%);

  -webkit-transition: .2s ease;
  -moz-transition: .2s ease;
  transition: .2s ease;
}

.alert-message--visible {
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  transform: translateY(0);
}

.alert-message-error, .alert-message-danger {
  background-color: #D33D3D;
}

.alert-message-notice,
.alert-message-success {
  background-color: #67AF72;
}

@media screen and (min-width: 768px) {
  .alert-message {
    font-size: 15px;
  }
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
alert_message-2.0.2 vendor/assets/stylesheets/alert_message.scss
alert_message-2.0.1 vendor/assets/stylesheets/alert_message.scss
alert_message-2.0.0 vendor/assets/stylesheets/alert_message.scss
alert_message-1.1.8 vendor/assets/stylesheets/alert_message.scss