Skip to content

Commit

Permalink
Merge pull request #5 from mycolorway/zr-zindex
Browse files Browse the repository at this point in the history
修改组件z-index
  • Loading branch information
RuochenLyu committed Jul 28, 2015
2 parents bbfc76f + 96f2176 commit 3b180f2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "simple-gallery",
"version": "2.2.0",
"version": "2.2.1",
"homepage": "https://github.com/mycolorway/simple-gallery",
"authors": [
"kshift <[email protected]>"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
6 changes: 3 additions & 3 deletions styles/gallery.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
}
Expand Down
6 changes: 3 additions & 3 deletions styles/gallery.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ html.simple-gallery-active {
position: fixed;
top: 0;
left: 0;
z-index: 9999;
z-index: 500;
width: 100%;
height: 100%;

Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit 3b180f2

Please sign in to comment.