From d38223da4ad805b6a812be60c8f6ae78e6bf40de Mon Sep 17 00:00:00 2001 From: ZhangRui Date: Tue, 28 Jul 2015 14:44:23 +0800 Subject: [PATCH 1/2] =?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; From 96f21764e55d23b669e0e211e00299e9be09a3e8 Mon Sep 17 00:00:00 2001 From: ZhangRui Date: Tue, 28 Jul 2015 14:44:42 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bower.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bower.json b/bower.json index 2338a4f..d260d23 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "simple-gallery", - "version": "2.2.0", + "version": "2.2.1", "homepage": "https://github.com/mycolorway/simple-gallery", "authors": [ "kshift " diff --git a/package.json b/package.json index 1e4c0ce..ac5f983 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "simple-gallery", - "version": "2.2.0", + "version": "2.2.1", "description": "a simple gallery widget based on Simple Module", "repository": { "type": "git",