Author: tmortagne Date: 2007-11-16 11:55:47 +0100 (Fri, 16 Nov 2007) New Revision: 5904
Added: xwiki-platform/web/trunk/standard/src/main/webapp/skins/albatross/icons/rights-manager/back.png Modified: xwiki-platform/web/trunk/standard/src/main/webapp/skins/albatross/css/lightbox/lightbox.css xwiki-platform/web/trunk/standard/src/main/webapp/skins/albatross/css/lightbox/lightboxIE.css xwiki-platform/web/trunk/standard/src/main/webapp/skins/albatross/scripts/lightbox/lightbox.js Log: XWIKI-1780: Improve rights management Fixed some CSS validation errors. (Apply Evelina's patch without modifications) Modified: xwiki-platform/web/trunk/standard/src/main/webapp/skins/albatross/css/lightbox/lightbox.css =================================================================== --- xwiki-platform/web/trunk/standard/src/main/webapp/skins/albatross/css/lightbox/lightbox.css 2007-11-16 10:55:42 UTC (rev 5903) +++ xwiki-platform/web/trunk/standard/src/main/webapp/skins/albatross/css/lightbox/lightbox.css 2007-11-16 10:55:47 UTC (rev 5904) @@ -28,14 +28,15 @@ .rounded .b12, .rounded .b12b { height: 3px; margin: 0 1px; } #lb-bg { - background-color: #000; + background-image: url("$xwiki.getSkinFile("icons/rights-manager/back.png")"); + background-repeat: repeat; height: 100%; + width: 100%; + position: fixed; left: 0; - position: fixed; top: 0; - width: 100%; z-index: 100000; - opacity: 0.7; + /* opacity: 0.7; css3 property */ overflow: auto; } @@ -136,10 +137,16 @@ text-align: left; } -.lbClose { - position: absolute; - top: 20px; - right: 20px; +#close-wrap { + position: relative; + top: 30px; + text-align: right; + cursor: default; +} + +#lb-close { + margin-left: auto; + margin-right: 10px; width: 30px; cursor: pointer; background-image: url("$xwiki.getSkinFile("icons/rights-manager/btnClose.png")"); Modified: xwiki-platform/web/trunk/standard/src/main/webapp/skins/albatross/css/lightbox/lightboxIE.css =================================================================== --- xwiki-platform/web/trunk/standard/src/main/webapp/skins/albatross/css/lightbox/lightboxIE.css 2007-11-16 10:55:42 UTC (rev 5903) +++ xwiki-platform/web/trunk/standard/src/main/webapp/skins/albatross/css/lightbox/lightboxIE.css 2007-11-16 10:55:47 UTC (rev 5904) @@ -46,8 +46,8 @@ top: 0; width: 100%; z-index: 100000; - filter: alpha(opacity=70); - opacity: 0.7; + /* filter: alpha(opacity=70); + opacity: 0.7; */ overflow: auto; } @@ -151,13 +151,18 @@ text-align: left; } -.lbClose { +#close-wrap { position: relative; - top: 20px; - right: 20px; + top: 30px; + text-align: right; + cursor: default; +} + +#lb-close { + margin-left: auto; + margin-right: 10px; width: 30px; cursor: pointer; - z-index: 100007; background-image: url("$xwiki.getSkinFile("icons/rights-manager/btnClose.png")"); background-repeat: no-repeat; -} +} \ No newline at end of file Added: xwiki-platform/web/trunk/standard/src/main/webapp/skins/albatross/icons/rights-manager/back.png =================================================================== (Binary files differ) Property changes on: xwiki-platform/web/trunk/standard/src/main/webapp/skins/albatross/icons/rights-manager/back.png ___________________________________________________________________ Name: svn:executable + * Name: svn:mime-type + image/png Modified: xwiki-platform/web/trunk/standard/src/main/webapp/skins/albatross/scripts/lightbox/lightbox.js =================================================================== --- xwiki-platform/web/trunk/standard/src/main/webapp/skins/albatross/scripts/lightbox/lightbox.js 2007-11-16 10:55:42 UTC (rev 5903) +++ xwiki-platform/web/trunk/standard/src/main/webapp/skins/albatross/scripts/lightbox/lightbox.js 2007-11-16 10:55:47 UTC (rev 5904) @@ -136,7 +136,9 @@ '<div id="lb-align" class="hidden">' + '<div id="lb">' + '<div id="lb-top"><span id="lb-close">' + - '<div class="lbClose" onclick="window.lb.lbHide(); window.lb.lbClearData(); return false;" title="Cancel and close"> </div>' + + '<div id="close-wrap">' + + '<div id="lb-close" onclick="window.lb.lbHide(); window.lb.lbClearData(); return false;" title="Cancel and close"> </div>' + + '</div>' + '</span>'; if(lbtype == "lightrounded") str += this.roundedlighttop(lbbgcolor, lbbordercolor); _______________________________________________ notifications mailing list notifications@xwiki.org http://lists.xwiki.org/mailman/listinfo/notifications