Sha256: a6a591a01e2eb8fdab82ad6281fb6ef65158da9c0aa8b4274b170868f4744015

Contents?: true

Size: 1.12 KB

Versions: 33

Compression:

Stored size: 1.12 KB

Contents

.modal {
  display: none;
  background-color: $background-color;
  height: 100%;
  top: 0;
  left: 0;
  overflow-y: hidden;
  padding: 1em;
  position: fixed;
  width: 100%;
  z-index: 13;

  @include breakpoint($breakpoint-m) {
    background-color: rgba(0,0,0, 0.5);
  }

  &.is-visible {
    display: block;
  }

  &.short-modal {
    text-align: center;
  }
}

.modal-wrapper {
  margin: 0 auto;
  background-color: $background-color;

  @include breakpoint($breakpoint-m) {
    max-width: 700px;
    margin-top: 4em;
  }
}

.modal-content {
  padding: 1em;

  @include breakpoint($breakpoint-m) {
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
    padding: 2.5em 1em;
  }

}

.close-btn {
  border: none;
  background: none;
  position: fixed;
  right: 1em;
  top: 1em;

  @include breakpoint($breakpoint-m) {
    position: static;
    float: right;
  }
}

.close-link {
  @include button-subtle;

  @include breakpoint($breakpoint-s) {
    margin-right: 1.5em;
  }
}

.modal-actions {
  @include pie-clearfix;
  @include divider-top;
  text-align: center;

  @include breakpoint($breakpoint-m) {
    border-top: 0 none;
  }
}

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
trusty-festivity-extension-2.6.3 app/assets/stylesheets/library/_modal.scss
trusty-festivity-extension-2.6.2 app/assets/stylesheets/library/_modal.scss
trusty-festivity-extension-2.6.1 app/assets/stylesheets/library/_modal.scss
trusty-festivity-extension-2.6 app/assets/stylesheets/library/_modal.scss
trusty-festivity-extension-2.5.19 app/assets/stylesheets/library/_modal.scss
trusty-festivity-extension-2.5.18 app/assets/stylesheets/library/_modal.scss
trusty-festivity-extension-2.5.17 app/assets/stylesheets/library/_modal.scss
trusty-festivity-extension-2.5.16 app/assets/stylesheets/library/_modal.scss
trusty-festivity-extension-2.5.15 app/assets/stylesheets/library/_modal.scss
trusty-festivity-extension-2.5.14 app/assets/stylesheets/library/_modal.scss
trusty-festivity-extension-2.5.13 app/assets/stylesheets/library/_modal.scss
trusty-festivity-extension-2.5.12 app/assets/stylesheets/library/_modal.scss
trusty-festivity-extension-2.5.11 app/assets/stylesheets/library/_modal.scss
trusty-festivity-extension-2.5.10 app/assets/stylesheets/library/_modal.scss
trusty-festivity-extension-2.5.9 app/assets/stylesheets/library/_modal.scss
trusty-festivity-extension-2.5.8 app/assets/stylesheets/library/_modal.scss
trusty-festivity-extension-2.5.7 app/assets/stylesheets/library/_modal.scss
trusty-festivity-extension-2.5.6 app/assets/stylesheets/library/_modal.scss
trusty-festivity-extension-2.5.5 app/assets/stylesheets/library/_modal.scss
trusty-festivity-extension-2.5.4 app/assets/stylesheets/library/_modal.scss