move and update jgrowl css

git-svn-id: http://piwigo.org/svn/trunk@22338 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
mistic100 2013-04-23 15:46:47 +00:00
commit ee3e287aa0
9 changed files with 63 additions and 55 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

View file

@ -2,7 +2,7 @@
{combine_script id='jquery.jgrowl' load='footer' require='jquery' path='themes/default/js/plugins/jquery.jgrowl_minimized.js' } {combine_script id='jquery.jgrowl' load='footer' require='jquery' path='themes/default/js/plugins/jquery.jgrowl_minimized.js' }
{combine_script id='jquery.uploadify' load='footer' require='jquery' path='admin/include/uploadify/jquery.uploadify.v3.0.0.min.js' } {combine_script id='jquery.uploadify' load='footer' require='jquery' path='admin/include/uploadify/jquery.uploadify.v3.0.0.min.js' }
{combine_script id='jquery.ui.progressbar' load='footer'} {combine_script id='jquery.ui.progressbar' load='footer'}
{combine_css path="admin/themes/default/uploadify.jGrowl.css"} {combine_css path="themes/default/js/plugins/jquery.jgrowl.css"}
{combine_css path="admin/include/uploadify/uploadify.css"} {combine_css path="admin/include/uploadify/uploadify.css"}
{/if} {/if}

View file

@ -1,6 +1,6 @@
{combine_script id='jquery.ajaxmanager' load='footer' require='jquery' path='themes/default/js/plugins/jquery.ajaxmanager.js'} {combine_script id='jquery.ajaxmanager' load='footer' require='jquery' path='themes/default/js/plugins/jquery.ajaxmanager.js'}
{combine_script id='jquery.jgrowl' load='footer' require='jquery' path='themes/default/js/plugins/jquery.jgrowl_minimized.js'} {combine_script id='jquery.jgrowl' load='footer' require='jquery' path='themes/default/js/plugins/jquery.jgrowl_minimized.js'}
{combine_css path="admin/themes/default/uploadify.jGrowl.css"} {combine_css path="themes/default/js/plugins/jquery.jgrowl.css"}
{footer_script require='jquery.ui.effect-blind,jquery.ajaxmanager,jquery.jgrowl'} {footer_script require='jquery.ui.effect-blind,jquery.ajaxmanager,jquery.jgrowl'}
var pwg_token = '{$PWG_TOKEN}'; var pwg_token = '{$PWG_TOKEN}';

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

View file

@ -1,87 +1,92 @@
/* div.jGrowl {
Default jGrowl style definitions for: z-index: 9999;
color: #fff;
font-size: 12px;
}
Uploadify v1.6.2 div.jGrowl-notification.success>div,
Copyright (C) 2009 by Ronnie Garcia div.jGrowl-notification.error>div,
Co-developed by Travis Nickels div.jGrowl-notification.warning>div{
*/ margin-left:45px;
/** Uploadify Styling here Styling **/
div.jGrowl div.success {
background: url(images/jgrowl-check.png) no-repeat 6px 6px;
} }
div.jGrowl div.error { div.jGrowl-notification.success {
background: url(images/jgrowl-error.png) no-repeat 6px center; background: url(jgrowl-check.png) no-repeat 5px 5px;
} }
div.jGrowl div.warning { div.jGrowl-notification.error {
background: url(images/jgrowl-alert.png) no-repeat 6px 6px; background: url(jgrowl-error.png) no-repeat 5px 5px;
} }
div.jGrowl div.warning:before { div.jGrowl-notification.warning {
background: url(jgrowl-alert.png) no-repeat 5px 5px;
}
div.jGrowl-notification.warning:before {
content:none; content:none;
} }
/** Cross Browser Styling **/
div.center div.jGrowl-notification, div.center div.jGrowl-closer {
margin-left: auto;
margin-right: auto;
}
div.jGrowl div.jGrowl-notification, div.jGrowl div.jGrowl-closer { div.jGrowl div.jGrowl-notification, div.jGrowl div.jGrowl-closer {
background-color: #000; background-color: #000;
color: #fff;
opacity: .85; opacity: .85;
filter: alpha(opacity = 85); -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)";
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=85);
zoom: 1; zoom: 1;
width: 300px; width: 300px;
padding: 10px; padding: 5px;
margin-top: 5px; margin-top: 5px;
margin-bottom: 5px; margin-bottom: 5px;
font-family: Tahoma, Arial, Helvetica, sans-serif; font-family: Tahoma, Arial, Helvetica, sans-serif;
font-size: 12px; font-size: 1em;
text-align: left; text-align: left;
display: none; display: none;
border-radius: 5px;
-moz-border-radius: 5px; -moz-border-radius: 5px;
-webkit-border-radius: 5px; -webkit-border-radius: 5px;
} }
/* original jGrowl css styling */
div.center div.jGrowl-notification, div.center div.jGrowl-closer {
margin-left: auto;
margin-right: auto;
}
div.jGrowl div.jGrowl-notification { div.jGrowl div.jGrowl-notification {
min-height: 40px; min-height: 40px;
} }
div.jGrowl div.jGrowl-notification div.close { div.jGrowl div.jGrowl-notification,
div.jGrowl div.jGrowl-closer {
margin: 8px;
}
div.jGrowl div.jGrowl-notification div.jGrowl-header {
font-weight: bold;
font-size: 1em;
}
div.jGrowl div.jGrowl-notification div.jGrowl-message {
font-size: 0.9em;
}
div.jGrowl div.jGrowl-notification div.jGrowl-close {
z-index: 99;
float: right; float: right;
font-weight: bold; font-weight: bold;
font-size: 12px; font-size: 1em;
cursor: pointer; cursor: pointer;
} }
div.jGrowl div.jGrowl-closer { div.jGrowl div.jGrowl-closer {
height: 15px;
padding-top: 4px; padding-top: 4px;
padding-bottom: 4px; padding-bottom: 4px;
cursor: pointer; cursor: pointer;
font-size: 11px; font-size: .9em;
font-weight: bold; font-weight: bold;
text-align: center; text-align: center;
} }
div.jGrowl div.jGrowl-notification div.header { /** Hide jGrowl when printing **/
font-weight: bold; @media print {
font-size: 14px; div.jGrowl {
margin-left: 47px; display: none;
} }
div.jGrowl div.jGrowl-notification div.message {
font-size: 12px;
margin-left: 47px;
}
div.jGrowl div.jGrowl-notification p {
font-size: 6px;
}
div.jGrowl {
padding: 10px;
z-index: 9999;
} }
/** Special IE6 Style Positioning **/ /** Special IE6 Style Positioning **/
@ -93,7 +98,7 @@ div.ie6.top-right {
right: auto; right: auto;
bottom: auto; bottom: auto;
left: expression( ( 0 - jGrowl.offsetWidth + ( document.documentElement.clientWidth ? document.documentElement.clientWidth : document.body.clientWidth ) + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' ); left: expression( ( 0 - jGrowl.offsetWidth + ( document.documentElement.clientWidth ? document.documentElement.clientWidth : document.body.clientWidth ) + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
top: expression( ( 0 + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' ); top: expression( ( 0 + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
} }
div.ie6.top-left { div.ie6.top-left {
@ -118,33 +123,36 @@ div.ie6.center {
} }
/** Normal Style Positions **/ /** Normal Style Positions **/
div.jGrowl {
position: absolute;
}
body > div.jGrowl { body > div.jGrowl {
position: fixed; position: fixed;
} }
body > div.jGrowl.top-left { div.jGrowl.top-left {
left: 0px; left: 0px;
top: 0px; top: 0px;
} }
body > div.jGrowl.top-right { div.jGrowl.top-right {
right: 0px; right: 0px;
top: 0px; top: 0px;
} }
body > div.jGrowl.bottom-left { div.jGrowl.bottom-left {
left: 0px; left: 0px;
bottom: 0px; bottom: 0px;
} }
body > div.jGrowl.bottom-right { div.jGrowl.bottom-right {
right: 0px; right: 0px;
bottom: 0px; bottom: 0px;
} }
body > div.jGrowl.center { div.jGrowl.center {
top: 0px; top: 0px;
width: 50%; width: 50%;
left: 25%; left: 25%;
} }