From d2f784723bf6b473d7931c6f2e6abcf01ca53fc4 Mon Sep 17 00:00:00 2001 From: suVene Date: Sat, 6 Dec 2008 21:52:18 +0000 Subject: jquery.jgrowl.css > growl.css git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@26021 d0d07461-0603-4401-acd4-de1884942a52 --- notifier/growl.css | 87 ++++++++++++++++++++++++++++++++++++++++++++++ notifier/jquery.jgrowl.css | 87 ---------------------------------------------- notifier/observer_growl.js | 4 +-- 3 files changed, 89 insertions(+), 89 deletions(-) create mode 100644 notifier/growl.css delete mode 100644 notifier/jquery.jgrowl.css (limited to 'notifier') diff --git a/notifier/growl.css b/notifier/growl.css new file mode 100644 index 0000000..5cbd9ed --- /dev/null +++ b/notifier/growl.css @@ -0,0 +1,87 @@ + +div.observer_growl { + padding: 10px; + z-index: 9999; +} + +/** Normal Style Positions **/ +body > div.observer_growl { + position: fixed; +} + +body > div.observer_growl.top-left { + left: 0px; + top: 0px; +} + +body > div.observer_growl.top-right { + right: 0px; + top: 0px; +} + +body > div.observer_growl.bottom-left { + left: 0px; + bottom: 0px; +} + +body > div.observer_growl.bottom-right { + right: 0px; + bottom: 0px; +} + +body > div.observer_growl.center { + top: 0px; + width: 50%; + left: 25%; +} + +/** Cross Browser Styling **/ +div.center div.observer_growl_notification, div.center div.observer_growl-closer { + margin-left: auto; + margin-right: auto; +} + +div.observer_growl div.observer_growl_notification, div.observer_growl div.observer_growl-closer { + background-color: #000; + color: #fff; + opacity: .85; + filter: alpha(opacity = 85); + zoom: 1; + width: 235px; + padding: 10px; + margin-top: 5px; + margin-bottom: 5px; + font-family: Tahoma, Arial, Helvetica, sans-serif; + font-size: 12px; + text-align: left; + display: none; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; +} + +div.observer_growl div.observer_growl_notification { + min-height: 40px; +} + +div.observer_growl div.observer_growl_notification div.header { + font-weight: bold; + font-size: 10px; +} + +div.observer_growl div.observer_growl_notification div.close { + float: right; + font-weight: bold; + font-size: 12px; + cursor: pointer; +} + +div.observer_growl div.observer_growl-closer { + height: 15px; + padding-top: 4px; + padding-bottom: 4px; + cursor: pointer; + font-size: 11px; + font-weight: bold; + text-align: center; +} + diff --git a/notifier/jquery.jgrowl.css b/notifier/jquery.jgrowl.css deleted file mode 100644 index 5cbd9ed..0000000 --- a/notifier/jquery.jgrowl.css +++ /dev/null @@ -1,87 +0,0 @@ - -div.observer_growl { - padding: 10px; - z-index: 9999; -} - -/** Normal Style Positions **/ -body > div.observer_growl { - position: fixed; -} - -body > div.observer_growl.top-left { - left: 0px; - top: 0px; -} - -body > div.observer_growl.top-right { - right: 0px; - top: 0px; -} - -body > div.observer_growl.bottom-left { - left: 0px; - bottom: 0px; -} - -body > div.observer_growl.bottom-right { - right: 0px; - bottom: 0px; -} - -body > div.observer_growl.center { - top: 0px; - width: 50%; - left: 25%; -} - -/** Cross Browser Styling **/ -div.center div.observer_growl_notification, div.center div.observer_growl-closer { - margin-left: auto; - margin-right: auto; -} - -div.observer_growl div.observer_growl_notification, div.observer_growl div.observer_growl-closer { - background-color: #000; - color: #fff; - opacity: .85; - filter: alpha(opacity = 85); - zoom: 1; - width: 235px; - padding: 10px; - margin-top: 5px; - margin-bottom: 5px; - font-family: Tahoma, Arial, Helvetica, sans-serif; - font-size: 12px; - text-align: left; - display: none; - -moz-border-radius: 5px; - -webkit-border-radius: 5px; -} - -div.observer_growl div.observer_growl_notification { - min-height: 40px; -} - -div.observer_growl div.observer_growl_notification div.header { - font-weight: bold; - font-size: 10px; -} - -div.observer_growl div.observer_growl_notification div.close { - float: right; - font-weight: bold; - font-size: 12px; - cursor: pointer; -} - -div.observer_growl div.observer_growl-closer { - height: 15px; - padding-top: 4px; - padding-bottom: 4px; - cursor: pointer; - font-size: 11px; - font-weight: bold; - text-align: center; -} - diff --git a/notifier/observer_growl.js b/notifier/observer_growl.js index b6f1d96..2875909 100644 --- a/notifier/observer_growl.js +++ b/notifier/observer_growl.js @@ -26,7 +26,7 @@ var Growl = function() {//{{{ } Growl.prototype = { defaults: { - life: 3000 + life: 5000 }, initialize: function(dom, container) { this.dom = dom; @@ -48,7 +48,7 @@ notifier.observer.register({ io.getRuntimeDirectories('').forEach(function(dir) { let path = io.expandPath(dir.path + '/plugin/notifier'); - $U.readDirectory(path, '^jquery' , function(f) { + $U.readDirectory(path, '^growl' , function(f) { try { io.source(f.path, true) logger.log('load success: ' + f.leafName); -- cgit v1.2.3