Sha256: ff05c3a4eca98e0ca0a25d503f220b0b126a66d7960bdfb02fc05783548b2eee

Contents?: true

Size: 1.17 KB

Versions: 3

Compression:

Stored size: 1.17 KB

Contents

.o-modal[role='dialog'] {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: var(--z-over-everything);
  display: block;
  width: 75%;
  overflow: hidden;
  background-color: var(--color-background);
  border: 0;
  border-radius: var(--border-radius);
  transform: translate(-50%, -50%);
  visibility: hidden;
  opacity: 0;

  > .c-card {
    background-color: transparent;
    box-shadow: none;

    .c-card__body {
      position: relative;
    }
  }

  &.o-modal--ghost {
    color: #fff;
    background-color: var(--color-transparent);

    .c-heading {
      color: #fff;
    }
  }

  &.o-modal--full {
    top: 1em;
    left: 1em;
    width: calc(100% - 2em);
    height: calc(100% - 2em);
    transform: none;

    .c-card:first-child {
      box-shadow: none;
    }

    .c-card__body {
      position: absolute;
      top: 3.5em;
      bottom: 4em;
      width: 100%;
      overflow-x: hidden;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
    }

    .c-card__footer {
      position: absolute;
      bottom: 0;
      width: 100%;
    }
  }

  &.o-modal--visible {
    visibility: visible;
    opacity: 1;
  }
}

.c-button--close {
  top: var(--spacing-small);
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
activeadmin_blaze_theme-0.7.0 app/assets/stylesheets/activeadmin_blaze_theme/blaze/_objects.modals.scss
activeadmin_blaze_theme-0.6.2 app/assets/stylesheets/activeadmin_blaze_theme/blaze/_objects.modals.scss
activeadmin_blaze_theme-0.6.0 app/assets/stylesheets/activeadmin_blaze_theme/blaze/_objects.modals.scss