From d38223da4ad805b6a812be60c8f6ae78e6bf40de Mon Sep 17 00:00:00 2001 From: ZhangRui Date: Tue, 28 Jul 2015 14:44:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=BB=84=E4=BB=B6z-index?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- styles/gallery.css | 6 +++--- styles/gallery.scss | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/styles/gallery.css b/styles/gallery.css index 5afe023..f55f1bc 100644 --- a/styles/gallery.css +++ b/styles/gallery.css @@ -6,7 +6,7 @@ html.simple-gallery-active { position: fixed; top: 0; left: 0; - z-index: 9999; + z-index: 500; width: 100%; height: 100%; transition: background-color 200ms ease-out; @@ -73,7 +73,7 @@ html.simple-gallery-active { border-radius: 4px; background-color: #999; opacity: 0.6; - z-index: 100; + z-index: 501; } .simple-gallery .zoom-in:hover { opacity: 1; @@ -175,7 +175,7 @@ html.simple-gallery-active { right: 0; bottom: 0; left: 0; - z-index: 9999; + z-index: 502; overflow: auto; background-color: #000; } diff --git a/styles/gallery.scss b/styles/gallery.scss index 879d60f..45b13fa 100644 --- a/styles/gallery.scss +++ b/styles/gallery.scss @@ -6,7 +6,7 @@ html.simple-gallery-active { position: fixed; top: 0; left: 0; - z-index: 9999; + z-index: 500; width: 100%; height: 100%; @@ -82,7 +82,7 @@ html.simple-gallery-active { border-radius: 4px; background-color: #999; opacity: 0.6; - z-index: 100; + z-index: 501; &:hover { opacity: 1; @@ -200,7 +200,7 @@ html.simple-gallery-active { right: 0; bottom: 0; left: 0; - z-index: 9999; + z-index: 502; overflow: auto; background-color: #000;