-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
…uilt minified files
- Loading branch information
There are no files selected for viewing
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,11 +18,6 @@ perspective effects (not including the modals and the overlay). | |
perspective: 600px; | ||
} | ||
|
||
.container { | ||
background: #e74c3c; | ||
min-height: 100%; | ||
} | ||
|
||
.nifty-modal { | ||
position: fixed; | ||
top: 50%; | ||
|
@@ -57,7 +52,7 @@ perspective effects (not including the modals and the overlay). | |
transition: all 0.3s; | ||
} | ||
|
||
.md-show ~ .md-overlay { | ||
body.md-show .md-overlay { | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
jsimnz
Author
Owner
|
||
opacity: 1; | ||
visibility: visible; | ||
} | ||
|
@@ -727,5 +722,5 @@ perspective effects (not including the modals and the overlay). | |
} | ||
|
||
@media screen and (max-width: 32em) { | ||
body { font-size: 75%; } | ||
.nifty-modal { font-size: 75%; } | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,6 +50,7 @@ | |
}); | ||
updateHandler(); | ||
$(self).addClass("md-show"); | ||
$("body").addClass("md-show"); | ||
This comment has been minimized.
Sorry, something went wrong.
empurium
Contributor
|
||
}; | ||
|
||
var hideHandler = function() { | ||
|
@@ -68,6 +69,9 @@ | |
} | ||
}); | ||
$(self).removeClass("md-show"); | ||
if ($(".nifty-modal.md-show").length == 0) { | ||
$("body").removeClass("md-show") | ||
} | ||
}; | ||
|
||
var updateHandler = function() { | ||
|
Where does the md-overlay div go now? It seems if I put it anywhere in the body, it always shows the overlay until you click away from it.