Sha256: 636e5005a05e18868955bd8b5a8769ea2fc2f0b4adc47228736c2fdc0fd6ba06

Contents?: true

Size: 1.19 KB

Versions: 4

Compression:

Stored size: 1.19 KB

Contents

@if $moovui-init {
.reveal-modal-bg {
  background: #000;
  background: rgba(#000, 0.45);
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 98;
}

.reveal-modal {
  @include box-shadow(rgba(#000, 0.4) 0 0 10px);
  @include radius;
  background: #fff;
  border: solid 1px #666;
  display: none;
  margin-left: -30%;
  position: absolute;
  top: $nav-height + $sp2;
  left: 50%;
  visibility: hidden;
  width: 60%;
  height: auto;
  z-index: 99;
}

.modal-header {
  @include border-radius($radius $radius 0 0);
  background: #f9f9f9;
  border-bottom: 1px solid #ccc;
  padding: $sp;
  .close-reveal-modal {
    @include border-radius(8px);
    background: #a2a2a2;
    line-height: 14px;
    padding: 0 0 0 4px;
    position: absolute;
    top: 16px;
    right: 16px;
    width: 16px;
    height: 16px;
    &:before {
      content: "\00d7";
      color: #fff;
      font-size: 14px;
    }
  }
  h3 {
    margin: 0;
    text-shadow: #fff 0 1px;
  }
}

.modal-body {
  padding: $sp;
}

.modal-footer {
  @include border-radius(0 0 $radius $radius);
  @include clearfix;
  border-top: 1px solid #d0d0d0;
  padding: $sp;
  text-align: center;
  .btn {
    margin: 0;
  }
}
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
moovui-0.1.2 app/assets/stylesheets/modules/_modal.scss
moovui-0.1.1 app/assets/stylesheets/modules/_modal.scss
moovui-0.0.2 modules/_modal.scss
moovui-0.0.1 modules/_modal.scss