Sha256: 2681d1e8c54fba75060bac0555d47d73b52e5ae8076f79b7521298176c2f428c

Contents?: true

Size: 1.2 KB

Versions: 1

Compression:

Stored size: 1.2 KB

Contents

.modal-content {
  border: none;
  border-radius: 0;

  .modal.loading & {
    min-height: 100px;

    display: flex;
    align-items: center;
    justify-content: center;

    &:after {
      @extend .fa;
      @extend .fa-spin;
      content: $fa-var-spinner;

      font-size: 32px;
      opacity: 0.25;
    }
  }
}

.modal-header {
  background: $theme-bg;
  border-bottom: none;

  .close {
    opacity: 0.75;

    &, &:hover, &:focus {
      color: white;
    }

    &:hover, &:focus {
      opacity: 1;
    }
  }

  .modal.error & {
    background: $error-bg;
  }
}

.modal-title {
  font-size: 18px;
  font-weight: 500;
  text-shadow: rgba(black, 0.5) 0 1px 1px;
  color: white;
}

.modal-tabs .nav-tabs {
  background: $body-bg;
  padding: 10px 15px 0 15px;
}

.modal-flash {
  .alert {
    margin-bottom: 0;
    border-radius: 0;
    border-width: 0 0 1px 0;

    padding-top: 10px;
    padding-bottom: 10px;

    .alert-icon {
      font-size: 40px;
      margin-right: 15px;
    }

    h3 {
      font-size: 18px;
    }

    p {
      font-size: 13px;
    }
  }
}

.modal-body {
  @extend .tab-content;
}

.modal-footer {
  .primary-toolbar {
    float: right;
  }

  .secondary-toolbar {
    float: left;
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
trestle-0.8.6 app/assets/stylesheets/trestle/components/_modal.scss