Sha256: 7ed9bcc7f977c45029add0d6f108bb122c66462721ecc563a7c3b2bb36f6eaee

Contents?: true

Size: 1.54 KB

Versions: 2

Compression:

Stored size: 1.54 KB

Contents

/* Toggles */

.drawer {
  position: relative;
  width: 100%;
  max-height: 0;
  background: $drawer-background-color;
  @include box-shadow(
    inset $drawer-inner-shadow-x-offset  #{-$drawer-inner-shadow-y-offset} $drawer-inner-shadow-blur $drawer-inner-shadow-color,
    inset $drawer-inner-shadow-x-offset $drawer-inner-shadow-y-offset $drawer-inner-shadow-blur $drawer-inner-shadow-color);
  ;
  overflow: hidden;
  @include transition-duration(.3s);
  &.active {
    height: auto;
    max-height: 800px;
    @include transition-duration(.5s);
  }
}

.modal {
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 999999;
  background: rgb(0, 0, 0);
  background: $modal-overlay-color;
 	> .content {
 		width: 50%;
 		min-height: 50%;
    max-height: 65%;
 		position: relative;
 		top: 25%;
 		margin: 0 auto;
 		padding: $gutter-in-px;
 		background: $modal-window-color;
 		z-index: 2;
 		overflow: auto;
    @include respond(portrait-tablets) {
      width: 80%;
      min-height: 80%;
      max-height: 80%;
      top: 10%;
    }
    @include respond(all-phones) {
      width: 92.5%;
      min-height: 92.5%;
      max-height: 92.5%;
      top: 3.75%;
    }
 	  > .close {
      position: absolute;
      top: 10px;
      right: 10px;
      cursor: pointer;
      z-index: 3;
    }
  }
  &, > .content {
    visibility: hidden;
    @include opacity(0);
  }
 	&.active {
    @include transition-property(opacity);
    @include transition-duration(.3s);
    &, > .content {
      visibility: visible;
      @include opacity(1);
    }
 	}
}

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
gumby_on_rails-0.0.1 app/assets/stylesheets/gumby/ui/_toggles.scss
middleman-gumby-0.0.1 vendor/assets/sass/ui/_toggles.scss