dice-cyfronet/atmosphere

View on GitHub
app/assets/stylesheets/atmosphere/common.scss

Summary

Maintainability
Test Coverage
@mixin border-radius($radius) {
  -webkit-border-radius: $radius;
  -moz-border-radius: $radius;
  -ms-border-radius: $radius;
  -o-border-radius: $radius;
  border-radius: $radius;
}

/** BODY globals **/
body {
  padding-top: 60px;  // accommodating for the fixed top navbar; advised by Bootstrap 3.0 docs
}

/** colours **/
.cred { color: #D12F19 }

/** FLASH message **/
.flash-container {
  display: none;
  cursor: pointer;
  margin: 0;
  text-align: center;
  color: #fff;
  font-size: 14px;
  position: fixed;
  bottom: 0;
  width: 100%;
  opacity: 0.8;
  z-index: 100;

  .flash-notice {
    background: #D9EDF7;
    padding: 10px;
    color: #3A87AD;
  }

  .flash-alert {
    background: #F2DEDE;
    color: #B94A48;
    padding: 10px;
  }
}

.edit {
  padding: 5px;
  margin: 40px 5px 40px 5px;

  @include border-radius(5px);
  border: 3px solid #e5e5e5;
}

a {
  cursor: pointer
}

.description {
  color: #456;
  font-weight: 200;
  line-height: 24px;
  margin: 15px 10px 30px 10px;
}