window_rails 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (180) hide show
  1. data/CHANGELOG.rdoc +0 -0
  2. data/LICENSE +44 -0
  3. data/README.rdoc +68 -0
  4. data/app/controllers/window_rails_controller.rb +32 -0
  5. data/files/javascripts/debug.js +137 -0
  6. data/files/javascripts/extended_debug.js +113 -0
  7. data/files/javascripts/tooltip.js +241 -0
  8. data/files/javascripts/window.js +1872 -0
  9. data/files/javascripts/window_effects.js +157 -0
  10. data/files/javascripts/window_ext.js +115 -0
  11. data/files/themes/alert.css +119 -0
  12. data/files/themes/alert/bottom.gif +0 -0
  13. data/files/themes/alert/bottom_left.gif +0 -0
  14. data/files/themes/alert/bottom_right.gif +0 -0
  15. data/files/themes/alert/left.gif +0 -0
  16. data/files/themes/alert/overlay.png +0 -0
  17. data/files/themes/alert/progress.gif +0 -0
  18. data/files/themes/alert/right.gif +0 -0
  19. data/files/themes/alert/top.gif +0 -0
  20. data/files/themes/alert/top_left.gif +0 -0
  21. data/files/themes/alert/top_right.gif +0 -0
  22. data/files/themes/alert_lite.css +88 -0
  23. data/files/themes/alphacube.css +150 -0
  24. data/files/themes/alphacube/bottom-left-c.gif +0 -0
  25. data/files/themes/alphacube/bottom-middle.gif +0 -0
  26. data/files/themes/alphacube/bottom-right-c.gif +0 -0
  27. data/files/themes/alphacube/button-close-focus.gif +0 -0
  28. data/files/themes/alphacube/button-max-focus.gif +0 -0
  29. data/files/themes/alphacube/button-min-focus.gif +0 -0
  30. data/files/themes/alphacube/frame-left.gif +0 -0
  31. data/files/themes/alphacube/frame-right.gif +0 -0
  32. data/files/themes/alphacube/left-top.gif +0 -0
  33. data/files/themes/alphacube/right-top.gif +0 -0
  34. data/files/themes/alphacube/top-middle.gif +0 -0
  35. data/files/themes/behavior.htc +51 -0
  36. data/files/themes/darkX.css +121 -0
  37. data/files/themes/darkX/button-close-focused.png +0 -0
  38. data/files/themes/darkX/button-maximize-focused.png +0 -0
  39. data/files/themes/darkX/button-minimize-focused.png +0 -0
  40. data/files/themes/darkX/frame-bottom-left-focused.png +0 -0
  41. data/files/themes/darkX/frame-bottom-mid-focused.png +0 -0
  42. data/files/themes/darkX/frame-bottom-right-focused.png +0 -0
  43. data/files/themes/darkX/frame-left-focused.png +0 -0
  44. data/files/themes/darkX/frame-right-focused.png +0 -0
  45. data/files/themes/darkX/titlebar-left-focused.png +0 -0
  46. data/files/themes/darkX/titlebar-mid-focused.png +0 -0
  47. data/files/themes/darkX/titlebar-right-focused.png +0 -0
  48. data/files/themes/debug.css +25 -0
  49. data/files/themes/default.css +155 -0
  50. data/files/themes/default/bottom_left.gif +0 -0
  51. data/files/themes/default/bottom_mid.gif +0 -0
  52. data/files/themes/default/bottom_right.gif +0 -0
  53. data/files/themes/default/bottom_right_resize.gif +0 -0
  54. data/files/themes/default/center_left.gif +0 -0
  55. data/files/themes/default/center_right.gif +0 -0
  56. data/files/themes/default/clear.gif +0 -0
  57. data/files/themes/default/close.gif +0 -0
  58. data/files/themes/default/inspect.gif +0 -0
  59. data/files/themes/default/maximize.gif +0 -0
  60. data/files/themes/default/minimize.gif +0 -0
  61. data/files/themes/default/overlay.png +0 -0
  62. data/files/themes/default/resize.gif +0 -0
  63. data/files/themes/default/sizer.gif +0 -0
  64. data/files/themes/default/top_left.gif +0 -0
  65. data/files/themes/default/top_mid.gif +0 -0
  66. data/files/themes/default/top_right.gif +0 -0
  67. data/files/themes/iefix/blank.gif +0 -0
  68. data/files/themes/iefix/iepngfix.css +3 -0
  69. data/files/themes/iefix/iepngfix.htc +54 -0
  70. data/files/themes/lighting.css +960 -0
  71. data/files/themes/lighting/background_buttons.gif +0 -0
  72. data/files/themes/lighting/bottom-left-blue.png +0 -0
  73. data/files/themes/lighting/bottom-left-darkblue.png +0 -0
  74. data/files/themes/lighting/bottom-left-green.png +0 -0
  75. data/files/themes/lighting/bottom-left-grey.png +0 -0
  76. data/files/themes/lighting/bottom-middle-blue.png +0 -0
  77. data/files/themes/lighting/bottom-middle-darkblue.png +0 -0
  78. data/files/themes/lighting/bottom-middle-green.png +0 -0
  79. data/files/themes/lighting/bottom-middle-grey.png +0 -0
  80. data/files/themes/lighting/bottom-right-blue.png +0 -0
  81. data/files/themes/lighting/bottom-right-darkblue.png +0 -0
  82. data/files/themes/lighting/bottom-right-green.png +0 -0
  83. data/files/themes/lighting/bottom-right-grey.png +0 -0
  84. data/files/themes/lighting/button-close-blue.png +0 -0
  85. data/files/themes/lighting/button-close-darkblue.png +0 -0
  86. data/files/themes/lighting/button-close-green.png +0 -0
  87. data/files/themes/lighting/button-close-grey.png +0 -0
  88. data/files/themes/lighting/button-maximize-blue.png +0 -0
  89. data/files/themes/lighting/button-maximize-darkblue.png +0 -0
  90. data/files/themes/lighting/button-maximize-green.png +0 -0
  91. data/files/themes/lighting/button-maximize-grey.png +0 -0
  92. data/files/themes/lighting/button-minimize-blue.png +0 -0
  93. data/files/themes/lighting/button-minimize-darkblue.png +0 -0
  94. data/files/themes/lighting/button-minimize-green.png +0 -0
  95. data/files/themes/lighting/button-minimize-grey.png +0 -0
  96. data/files/themes/lighting/left-blue.png +0 -0
  97. data/files/themes/lighting/left-darkblue.png +0 -0
  98. data/files/themes/lighting/left-green.png +0 -0
  99. data/files/themes/lighting/left-grey.png +0 -0
  100. data/files/themes/lighting/pngbehavior.htc +67 -0
  101. data/files/themes/lighting/right-blue.png +0 -0
  102. data/files/themes/lighting/right-darkblue.png +0 -0
  103. data/files/themes/lighting/right-green.png +0 -0
  104. data/files/themes/lighting/right-grey.png +0 -0
  105. data/files/themes/lighting/spinner.gif +0 -0
  106. data/files/themes/lighting/top-left-blue.png +0 -0
  107. data/files/themes/lighting/top-left-darkblue.png +0 -0
  108. data/files/themes/lighting/top-left-green.png +0 -0
  109. data/files/themes/lighting/top-left-grey.png +0 -0
  110. data/files/themes/lighting/top-middle-blue.png +0 -0
  111. data/files/themes/lighting/top-middle-darkblue.png +0 -0
  112. data/files/themes/lighting/top-middle-green.png +0 -0
  113. data/files/themes/lighting/top-middle-grey.png +0 -0
  114. data/files/themes/lighting/top-right-blue.png +0 -0
  115. data/files/themes/lighting/top-right-darkblue.png +0 -0
  116. data/files/themes/lighting/top-right-green.png +0 -0
  117. data/files/themes/lighting/top-right-grey.png +0 -0
  118. data/files/themes/mac_os_x.css +333 -0
  119. data/files/themes/mac_os_x/B.png +0 -0
  120. data/files/themes/mac_os_x/BL.png +0 -0
  121. data/files/themes/mac_os_x/BL_Main.png +0 -0
  122. data/files/themes/mac_os_x/BR.png +0 -0
  123. data/files/themes/mac_os_x/BR_Main.png +0 -0
  124. data/files/themes/mac_os_x/B_Main.png +0 -0
  125. data/files/themes/mac_os_x/L.png +0 -0
  126. data/files/themes/mac_os_x/L_Main.png +0 -0
  127. data/files/themes/mac_os_x/R.png +0 -0
  128. data/files/themes/mac_os_x/R_Main.png +0 -0
  129. data/files/themes/mac_os_x/T.png +0 -0
  130. data/files/themes/mac_os_x/TL.png +0 -0
  131. data/files/themes/mac_os_x/TL_Main.png +0 -0
  132. data/files/themes/mac_os_x/TR.png +0 -0
  133. data/files/themes/mac_os_x/TR_Main.png +0 -0
  134. data/files/themes/mac_os_x/T_Main.png +0 -0
  135. data/files/themes/mac_os_x/close.gif +0 -0
  136. data/files/themes/mac_os_x/maximize.gif +0 -0
  137. data/files/themes/mac_os_x/minimize.gif +0 -0
  138. data/files/themes/mac_os_x_dialog.css +160 -0
  139. data/files/themes/mac_os_x_dialog/B.png +0 -0
  140. data/files/themes/mac_os_x_dialog/BL.png +0 -0
  141. data/files/themes/mac_os_x_dialog/BR.png +0 -0
  142. data/files/themes/mac_os_x_dialog/L.png +0 -0
  143. data/files/themes/mac_os_x_dialog/R.png +0 -0
  144. data/files/themes/mac_os_x_dialog/T.png +0 -0
  145. data/files/themes/mac_os_x_dialog/TL.png +0 -0
  146. data/files/themes/mac_os_x_dialog/TR.png +0 -0
  147. data/files/themes/mac_os_x_dialog/bg.gif +0 -0
  148. data/files/themes/mac_os_x_dialog/close.gif +0 -0
  149. data/files/themes/mac_os_x_dialog/maximize.gif +0 -0
  150. data/files/themes/mac_os_x_dialog/minimize.gif +0 -0
  151. data/files/themes/nuncio.css +164 -0
  152. data/files/themes/nuncio/bottom_left.png +0 -0
  153. data/files/themes/nuncio/bottom_mid.png +0 -0
  154. data/files/themes/nuncio/bottom_right.png +0 -0
  155. data/files/themes/nuncio/center_left.png +0 -0
  156. data/files/themes/nuncio/center_right.png +0 -0
  157. data/files/themes/nuncio/close.png +0 -0
  158. data/files/themes/nuncio/minimize.png +0 -0
  159. data/files/themes/nuncio/overlay.png +0 -0
  160. data/files/themes/nuncio/top_left.png +0 -0
  161. data/files/themes/nuncio/top_mid.png +0 -0
  162. data/files/themes/nuncio/top_right.png +0 -0
  163. data/files/themes/spread.css +108 -0
  164. data/files/themes/spread/bottom-left-c.gif +0 -0
  165. data/files/themes/spread/bottom-middle.gif +0 -0
  166. data/files/themes/spread/bottom-right-c.gif +0 -0
  167. data/files/themes/spread/button-close-focus.gif +0 -0
  168. data/files/themes/spread/button-max-focus.gif +0 -0
  169. data/files/themes/spread/button-min-focus.gif +0 -0
  170. data/files/themes/spread/frame-left.gif +0 -0
  171. data/files/themes/spread/frame-right.gif +0 -0
  172. data/files/themes/spread/left-top.gif +0 -0
  173. data/files/themes/spread/right-top.gif +0 -0
  174. data/files/themes/spread/top-middle.gif +0 -0
  175. data/init.rb +1 -0
  176. data/install.rb +32 -0
  177. data/lib/window_rails.rb +164 -0
  178. data/lib/window_rails/version.rb +3 -0
  179. data/uninstall.rb +9 -0
  180. metadata +260 -0
@@ -0,0 +1,157 @@
1
+ Effect.ResizeWindow = Class.create();
2
+ Object.extend(Object.extend(Effect.ResizeWindow.prototype, Effect.Base.prototype), {
3
+ initialize: function(win, top, left, width, height) {
4
+ this.window = win;
5
+ this.window.resizing = true;
6
+
7
+ var size = win.getSize();
8
+ this.initWidth = parseFloat(size.width);
9
+ this.initHeight = parseFloat(size.height);
10
+
11
+ var location = win.getLocation();
12
+ this.initTop = parseFloat(location.top);
13
+ this.initLeft = parseFloat(location.left);
14
+
15
+ this.width = width != null ? parseFloat(width) : this.initWidth;
16
+ this.height = height != null ? parseFloat(height) : this.initHeight;
17
+ this.top = top != null ? parseFloat(top) : this.initTop;
18
+ this.left = left != null ? parseFloat(left) : this.initLeft;
19
+
20
+ this.dx = this.left - this.initLeft;
21
+ this.dy = this.top - this.initTop;
22
+ this.dw = this.width - this.initWidth;
23
+ this.dh = this.height - this.initHeight;
24
+
25
+ this.r2 = $(this.window.getId() + "_row2");
26
+ this.content = $(this.window.getId() + "_content");
27
+
28
+ this.contentOverflow = this.content.getStyle("overflow") || "auto";
29
+ this.content.setStyle({overflow: "hidden"});
30
+
31
+ // Wired mode
32
+ if (this.window.options.wiredDrag) {
33
+ this.window.currentDrag = win._createWiredElement();
34
+ this.window.currentDrag.show();
35
+ this.window.element.hide();
36
+ }
37
+
38
+ this.start(arguments[5]);
39
+ },
40
+
41
+ update: function(position) {
42
+ var width = Math.floor(this.initWidth + this.dw * position);
43
+ var height = Math.floor(this.initHeight + this.dh * position);
44
+ var top = Math.floor(this.initTop + this.dy * position);
45
+ var left = Math.floor(this.initLeft + this.dx * position);
46
+
47
+ if (window.ie) {
48
+ if (Math.floor(height) == 0)
49
+ this.r2.hide();
50
+ else if (Math.floor(height) >1)
51
+ this.r2.show();
52
+ }
53
+ this.r2.setStyle({height: height});
54
+ this.window.setSize(width, height);
55
+ this.window.setLocation(top, left);
56
+ },
57
+
58
+ finish: function(position) {
59
+ // Wired mode
60
+ if (this.window.options.wiredDrag) {
61
+ this.window._hideWiredElement();
62
+ this.window.element.show();
63
+ }
64
+
65
+ this.window.setSize(this.width, this.height);
66
+ this.window.setLocation(this.top, this.left);
67
+ this.r2.setStyle({height: null});
68
+
69
+ this.content.setStyle({overflow: this.contentOverflow});
70
+
71
+ this.window.resizing = false;
72
+ }
73
+ });
74
+
75
+ Effect.ModalSlideDown = function(element) {
76
+ var windowScroll = WindowUtilities.getWindowScroll();
77
+ var height = element.getStyle("height");
78
+ element.setStyle({top: - (parseFloat(height) - windowScroll.top) + "px"});
79
+
80
+ element.show();
81
+ return new Effect.Move(element, Object.extend({ x: 0, y: parseFloat(height) }, arguments[1] || {}));
82
+ };
83
+
84
+
85
+ Effect.ModalSlideUp = function(element) {
86
+ var height = element.getStyle("height");
87
+ return new Effect.Move(element, Object.extend({ x: 0, y: -parseFloat(height) }, arguments[1] || {}));
88
+ };
89
+
90
+ PopupEffect = Class.create();
91
+ PopupEffect.prototype = {
92
+ initialize: function(htmlElement) {
93
+ this.html = $(htmlElement);
94
+ this.options = Object.extend({className: "popup_effect", duration: 0.4}, arguments[1] || {});
95
+
96
+ },
97
+ show: function(element, options) {
98
+ var position = Position.cumulativeOffset(this.html);
99
+ var size = this.html.getDimensions();
100
+ var bounds = element.win.getBounds();
101
+ this.window = element.win;
102
+ // Create a div
103
+ if (!this.div) {
104
+ this.div = document.createElement("div");
105
+ this.div.className = this.options.className;
106
+ this.div.style.height = size.height + "px";
107
+ this.div.style.width = size.width + "px";
108
+ this.div.style.top = position[1] + "px";
109
+ this.div.style.left = position[0] + "px";
110
+ this.div.style.position = "absolute"
111
+ document.body.appendChild(this.div);
112
+ }
113
+ if (this.options.fromOpacity)
114
+ this.div.setStyle({opacity: this.options.fromOpacity})
115
+ this.div.show();
116
+ var style = "top:" + bounds.top + ";left:" +bounds.left + ";width:" + bounds.width +";height:" + bounds.height;
117
+ if (this.options.toOpacity)
118
+ style += ";opacity:" + this.options.toOpacity;
119
+
120
+ new Effect.Morph(this.div ,{style: style, duration: this.options.duration, afterFinish: this._showWindow.bind(this)});
121
+ },
122
+
123
+ hide: function(element, options) {
124
+ var position = Position.cumulativeOffset(this.html);
125
+ var size = this.html.getDimensions();
126
+ this.window.visible = true;
127
+ var bounds = this.window.getBounds();
128
+ this.window.visible = false;
129
+
130
+ this.window.element.hide();
131
+
132
+ this.div.style.height = bounds.height;
133
+ this.div.style.width = bounds.width;
134
+ this.div.style.top = bounds.top;
135
+ this.div.style.left = bounds.left;
136
+
137
+ if (this.options.toOpacity)
138
+ this.div.setStyle({opacity: this.options.toOpacity})
139
+
140
+ this.div.show();
141
+ var style = "top:" + position[1] + "px;left:" + position[0] + "px;width:" + size.width +"px;height:" + size.height + "px";
142
+
143
+ if (this.options.fromOpacity)
144
+ style += ";opacity:" + this.options.fromOpacity;
145
+ new Effect.Morph(this.div ,{style: style, duration: this.options.duration, afterFinish: this._hideDiv.bind(this)});
146
+ },
147
+
148
+ _showWindow: function() {
149
+ this.div.hide();
150
+ this.window.element.show();
151
+ },
152
+
153
+ _hideDiv: function() {
154
+ this.div.hide();
155
+ }
156
+ }
157
+
@@ -0,0 +1,115 @@
1
+ // Copyright (c) 2006 Sébastien Gruhier (http://xilinus.com, http://itseb.com)
2
+ // YOU MUST INCLUDE window.js BEFORE
3
+ //
4
+ // Object to store hide/show windows status in a cookie
5
+ // Just add at the end of your HTML file this javascript line: WindowStore.init()
6
+ WindowStore = {
7
+ doSetCookie: false,
8
+ cookieName: "__window_store__",
9
+ expired: null,
10
+
11
+ // Init function with two optional parameters
12
+ // - cookieName (default = __window_store__)
13
+ // - expiration date (default 3 years from now)
14
+ init: function(cookieName, expired) {
15
+ WindowStore.cookieName = cookieName || WindowStore.cookieName
16
+
17
+ if (! expired) {
18
+ var today = new Date();
19
+ today.setYear(today.getYear()+1903);
20
+ WindowStore.expired = today;
21
+ }
22
+ else
23
+ WindowStore.expired = expired;
24
+
25
+ Windows.windows.each(function(win) {
26
+ win.setCookie(win.getId(), WindowStore.expired);
27
+ });
28
+
29
+ // Create observer on show/hide events
30
+ var myObserver = {
31
+ onShow: function(eventName, win) {
32
+ WindowStore._saveCookie();
33
+ },
34
+
35
+ onClose: function(eventName, win) {
36
+ WindowStore._saveCookie();
37
+ },
38
+
39
+ onHide: function(eventName, win) {
40
+ WindowStore._saveCookie();
41
+ }
42
+ }
43
+ Windows.addObserver(myObserver);
44
+
45
+ WindowStore._restoreWindows();
46
+ WindowStore._saveCookie();
47
+ },
48
+
49
+ show: function(win) {
50
+ eval("var cookie = " + WindowUtilities.getCookie(WindowStore.cookieName));
51
+ if (cookie != null) {
52
+ if (cookie[win.getId()])
53
+ win.show();
54
+ }
55
+ else
56
+ win.show();
57
+ },
58
+
59
+ // Function to store windows show/hide status in a cookie
60
+ _saveCookie: function() {
61
+ if (!doSetCookie)
62
+ return;
63
+
64
+ var cookieValue = "{";
65
+ Windows.windows.each(function(win) {
66
+ if (cookieValue != "{")
67
+ cookieValue += ","
68
+ cookieValue += win.getId() + ": " + win.isVisible();
69
+ });
70
+ cookieValue += "}"
71
+
72
+ WindowUtilities.setCookie(cookieValue, [WindowStore.cookieName, WindowStore.expired]);
73
+ },
74
+
75
+ // Function to restore windows show/hide status from a cookie if exists
76
+ _restoreWindows: function() {
77
+ eval("var cookie = " + WindowUtilities.getCookie(WindowStore.cookieName));
78
+ if (cookie != null) {
79
+ doSetCookie = false;
80
+ Windows.windows.each(function(win) {
81
+ if (cookie[win.getId()])
82
+ win.show();
83
+ });
84
+ }
85
+ doSetCookie = true;
86
+ }
87
+ }
88
+
89
+ // Object to set a close key an all windows
90
+ WindowCloseKey = {
91
+ keyCode: Event.KEY_ESC,
92
+
93
+ init: function(keyCode) {
94
+ if (keyCode)
95
+ WindowCloseKey.keyCode = keyCode;
96
+
97
+ Event.observe(document, 'keydown', this._closeCurrentWindow.bindAsEventListener(this));
98
+ },
99
+
100
+ _closeCurrentWindow: function(event) {
101
+ var e = event || window.event
102
+ var characterCode = e.which || e.keyCode;
103
+
104
+ // Check if there is a top window (it means it's an URL content)
105
+ var win = top.Windows.focusedWindow;
106
+ if (characterCode == WindowCloseKey.keyCode && win) {
107
+ if (win.cancelCallback)
108
+ top.Dialog.cancelCallback();
109
+ else if (win.okCallback)
110
+ top.Dialog.okCallback();
111
+ else
112
+ top.Windows.close(top.Windows.focusedWindow.getId());
113
+ }
114
+ }
115
+ }
@@ -0,0 +1,119 @@
1
+ .overlay_alert {
2
+ background-color: #85BBEF;
3
+ filter:alpha(opacity=60);
4
+ -moz-opacity: 0.6;
5
+ opacity: 0.6;
6
+ }
7
+
8
+ .alert_nw {
9
+ width: 5px;
10
+ height: 5px;
11
+ background: transparent url(alert/top_left.gif) no-repeat bottom left;
12
+ }
13
+
14
+ .alert_n {
15
+ height: 5px;
16
+ background: transparent url(alert/top.gif) repeat-x bottom left;
17
+ }
18
+
19
+ .alert_ne {
20
+ width: 5px;
21
+ height: 5px;
22
+ background: transparent url(alert/top_right.gif) no-repeat bottom left
23
+ }
24
+
25
+ .alert_e {
26
+ width: 5px;
27
+ background: transparent url(alert/right.gif) repeat-y 0 0;
28
+ }
29
+
30
+ .alert_w {
31
+ width: 5px;
32
+ background: transparent url(alert/left.gif) repeat-y 0 0;
33
+ }
34
+
35
+ .alert_sw {
36
+ width: 5px;
37
+ height: 5px;
38
+ background: transparent url(alert/bottom_left.gif) no-repeat 0 0;
39
+ }
40
+
41
+ .alert_s {
42
+ height: 5px;
43
+ background: transparent url(alert/bottom.gif) repeat-x 0 0;
44
+ }
45
+
46
+ .alert_se, .alert_sizer {
47
+ width: 5px;
48
+ height: 5px;
49
+ background: transparent url(alert/bottom_right.gif) no-repeat 0 0;
50
+ }
51
+
52
+ .alert_close {
53
+ width:0px;
54
+ height:0px;
55
+ display:none;
56
+ }
57
+
58
+ .alert_minimize {
59
+ width:0px;
60
+ height:0px;
61
+ display:none;
62
+ }
63
+
64
+ .alert_maximize {
65
+ width:0px;
66
+ height:0px;
67
+ display:none;
68
+ }
69
+
70
+ .alert_title {
71
+ float:left;
72
+ height:1px;
73
+ width:100%;
74
+ }
75
+
76
+ .alert_content {
77
+ overflow:visible;
78
+ color: #000;
79
+ font-family: Tahoma, Arial, sans-serif;
80
+ font: 12px arial;
81
+ background: #FFF;
82
+ }
83
+
84
+ /* For alert/confirm dialog */
85
+ .alert_window {
86
+ background: #FFF;
87
+ padding:20px;
88
+ margin-left:auto;
89
+ margin-right:auto;
90
+ width:400px;
91
+ }
92
+
93
+ .alert_message {
94
+ font: 12px arial;
95
+ width:100%;
96
+ color:#F00;
97
+ padding-bottom:10px;
98
+ }
99
+
100
+ .alert_buttons {
101
+ text-align:center;
102
+ width:100%;
103
+ }
104
+
105
+ .alert_buttons input {
106
+ width:20%;
107
+ margin:10px;
108
+ }
109
+
110
+ .alert_progress {
111
+ float:left;
112
+ margin:auto;
113
+ text-align:center;
114
+ width:100%;
115
+ height:16px;
116
+ background: #FFF url('alert/progress.gif') no-repeat center center
117
+ }
118
+
119
+
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,88 @@
1
+ .overlay_alert_lite {
2
+ background-color: #85BBEF;
3
+ filter:alpha(opacity=60);
4
+ -moz-opacity: 0.6;
5
+ opacity: 0.6;
6
+ }
7
+
8
+ .alert_lite_sizer {
9
+ width:0px;
10
+ height:0px;
11
+ display:none;
12
+ }
13
+
14
+ .alert_lite_close {
15
+ width:0px;
16
+ height:0px;
17
+ display:none;
18
+ }
19
+
20
+ .alert_lite_minimize {
21
+ width:0px;
22
+ height:0px;
23
+ display:none;
24
+ }
25
+
26
+ .alert_lite_maximize {
27
+ width:0px;
28
+ height:0px;
29
+ display:none;
30
+ }
31
+
32
+ .alert_lite_title {
33
+ width:0px;
34
+ height:0px;
35
+ display:none;
36
+ }
37
+
38
+ .alert_lite_content {
39
+ overflow:auto;
40
+ color: #000;
41
+ font-family: Tahoma, Arial, sans-serif;
42
+ font-size: 10px;
43
+ background: #FFF;
44
+ }
45
+
46
+
47
+ /* For alert/confirm dialog */
48
+ .alert_lite_window {
49
+ border:1px solid #F00;
50
+ background: #FFF;
51
+ padding:20px;
52
+ margin-left:auto;
53
+ margin-right:auto;
54
+ width:400px;
55
+ }
56
+
57
+ .alert_lite_message {
58
+ font-size:16px;
59
+ text-align:center;
60
+ width:100%;
61
+ color:#F00;
62
+ padding-bottom:10px;
63
+ }
64
+
65
+ .alert_lite_buttons {
66
+ text-align:center;
67
+ width:100%;
68
+ }
69
+
70
+ .alert_lite_buttons input {
71
+ width:20%;
72
+ margin:10px;
73
+ }
74
+
75
+ .alert_lite_progress {
76
+ float:left;
77
+ margin:auto;
78
+ text-align:center;
79
+ width:100%;
80
+ height:16px;
81
+ background: #FFF url('alert/progress.gif') no-repeat center center
82
+ }
83
+
84
+ table.alert_lite_header {
85
+ border:1px solid #F00;
86
+ background:#FFF
87
+ }
88
+