Sha256: e075d84d8c292b2a31c23abd394363713fe0096ba2283a3fce9b694b788e948c

Contents?: true

Size: 1020 Bytes

Versions: 6

Compression:

Stored size: 1020 Bytes

Contents

@import "mixins/settings.global";
@import "mixins/objects.grid";
@import "mixins/utilities.alignment";

.o-modal {
  display: block;
  position: fixed;
  top: 50%;
  left: 50%;
  width: $modal-width;
  transform: translate(-50%, -50%);
  border: $modal-border;
  border-radius: $modal-border-radius;
  background-color: $modal-background-color;
  overflow: hidden;
  z-index: $modal-z-index;

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

  .c-card__body {
    position: relative;
  }
}

.o-modal--ghost {
  background-color: $modal-ghost-background-color;
  color: $modal-ghost-color;

  .c-heading {
    color: $modal-ghost-heading-color;
  }
}

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

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

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
activeadmin_blaze_theme-1.1.0 app/assets/stylesheets/activeadmin_blaze_theme/blaze/objects.modals.scss
activeadmin_blaze_theme-1.0.0 app/assets/stylesheets/activeadmin_blaze_theme/blaze/objects.modals.scss
activeadmin_blaze_theme-0.7.10 app/assets/stylesheets/activeadmin_blaze_theme/blaze/objects.modals.scss
activeadmin_blaze_theme-0.7.8 app/assets/stylesheets/activeadmin_blaze_theme/blaze/objects.modals.scss
activeadmin_blaze_theme-0.7.6 app/assets/stylesheets/activeadmin_blaze_theme/blaze/objects.modals.scss
activeadmin_blaze_theme-0.7.4 app/assets/stylesheets/activeadmin_blaze_theme/blaze/objects.modals.scss