Commit 2359c438 by Brian Talbot Committed by David Baumgold

studio - revises z-index/element depth levels for modals, notifications,…

studio - revises z-index/element depth levels for modals, notifications, prompts, and alerts to use universal .depth Sass extends
parent 3738078c
...@@ -2,22 +2,22 @@ ...@@ -2,22 +2,22 @@
// ==================== // ====================
.modal-cover { .modal-cover {
@extend .depth3;
display: none; display: none;
position: fixed; position: fixed;
top: 0; top: 0;
left: 0; left: 0;
z-index: 1000;
width: 100%; width: 100%;
height: 100%; height: 100%;
background: rgba(0, 0, 0, .8); background: rgba(0, 0, 0, .8);
} }
.modal { .modal {
@extend .depth4;
display: none; display: none;
position: fixed; position: fixed;
top: 60px; top: 60px;
left: 50%; left: 50%;
z-index: 1001;
width: 930px; width: 930px;
height: 540px; height: 540px;
margin-left: -465px; margin-left: -465px;
...@@ -61,12 +61,12 @@ ...@@ -61,12 +61,12 @@
// lean modal alternative // lean modal alternative
#lean_overlay { #lean_overlay {
@extend .depth4;
position: fixed; position: fixed;
z-index: 10000;
top: 0px; top: 0px;
left: 0px; left: 0px;
display: none; display: none;
height: 100%; height: 100%;
width: 100%; width: 100%;
background: $black; background: $black;
} }
\ No newline at end of file
...@@ -144,7 +144,7 @@ ...@@ -144,7 +144,7 @@
// prompts // prompts
.wrapper-prompt { .wrapper-prompt {
@extend .depth4; @extend .depth5;
@include transition(all 0.05s ease-in-out); @include transition(all 0.05s ease-in-out);
position: fixed; position: fixed;
top: 0; top: 0;
...@@ -242,7 +242,7 @@ ...@@ -242,7 +242,7 @@
// notifications // notifications
.wrapper-notification { .wrapper-notification {
@extend .depth3; @extend .depth5;
@include clearfix(); @include clearfix();
@include box-shadow(0 -1px 3px $shadow, inset 0 3px 1px $blue); @include box-shadow(0 -1px 3px $shadow, inset 0 3px 1px $blue);
position: fixed; position: fixed;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment