summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-08-14 23:29:04 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-08-14 23:29:04 +0200
commit9500f10ed3e9c18529b1bf91e96fa16f9f926a2f (patch)
tree05e3a9b4b1ffb2a3e9c996d17016678611f531b0 /module
parentimproved QueueLayout (diff)
downloadpyload-9500f10ed3e9c18529b1bf91e96fa16f9f926a2f.tar.xz
addjusted animations
Diffstat (limited to 'module')
-rw-r--r--module/web/static/css/omniwindow.css5
-rw-r--r--module/web/templates/default/base.html5
2 files changed, 4 insertions, 6 deletions
diff --git a/module/web/static/css/omniwindow.css b/module/web/static/css/omniwindow.css
index 12f4d451c..2117a77e0 100644
--- a/module/web/static/css/omniwindow.css
+++ b/module/web/static/css/omniwindow.css
@@ -5,7 +5,7 @@
width: 100%;
position: absolute;
left: 0;
- top: 0;
+ top: 0; /* TODO change gradient at all browser */
background: -moz-radial-gradient(center, ellipse cover, rgba(127,127,0,0) 0%, rgba(127,127,127,0.9) 100%);
background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,rgba(127,127,127,0)), color-stop(100%,rgba(127,127,127,0.9)));
background: -webkit-radial-gradient(center, ellipse cover, rgba(127,127,127,0) 0%,rgba(127,127,127,0.9) 100%);
@@ -13,7 +13,7 @@
background: -ms-radial-gradient(center, ellipse cover, rgba(127,127,127,0) 0%,rgba(127,127,127,0.9) 100%);
background: radial-gradient(center, ellipse cover, rgba(127,127,127,0) 0%,rgba(127,127,127,0.9) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#007f7f7f', endColorstr='#e67f7f7f',GradientType=1 );
- z-index: 50;
+ z-index: 50;
}
/* Default class for both hidden overlay and modal window */
@@ -35,7 +35,6 @@
.window-container {
background: #fcfcfc;
opacity: 0;
- margin: 8em auto;
width: 500px;
padding: 10px 20px 20px;
text-align: left;
diff --git a/module/web/templates/default/base.html b/module/web/templates/default/base.html
index 5e1b2089a..5f18634ee 100644
--- a/module/web/templates/default/base.html
+++ b/module/web/templates/default/base.html
@@ -199,7 +199,6 @@
internalCallback(subjects); // call internal callback
})
},
-
show:function (subjects, internalCallback) {
subjects.overlay.fadeIn(250, function () {
internalCallback(subjects); // call internal callback
@@ -209,13 +208,13 @@
animations:{
hide:function (subjects, internalCallback) {
subjects.modal.removeClass('window-container-visible');
- subjects.modal.fadeOut(function () {
+ subjects.modal.fadeOut(250, function () {
internalCallback(subjects); // call internal callback
});
},
show:function (subjects, internalCallback) {
- subjects.modal.fadeIn(function () {
+ subjects.modal.fadeIn(0, function () {
subjects.modal.addClass('window-container-visible');
internalCallback(subjects); // call internal callback
});