test.html 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  1. <html>
  2. <head>
  3. <script src="res/common.min.js?v=0.3.19"></script>
  4. <script src="res/framework/mootools/mootools-1.6.0.js"></script>
  5. <script src="res/mwf4/MWF.js"></script>
  6. </head>
  7. <body>
  8. <script>
  9. var x = {
  10. "from": {
  11. "width": "1px",
  12. "height": "1px",
  13. "position": "absolute",
  14. "top": $(document.body).getSize().y/2,
  15. "left": $(document.body).getSize().x/2,
  16. "border-style": "solid",
  17. "border-color": "#999",
  18. "border-width": "1px",
  19. "-webkit-user-select": "none",
  20. "-moz-user-select": "none",
  21. "border-radius": "8px",
  22. "box-shadow": "0px 0px 10px #333",
  23. "padding": "0px",
  24. "overflow": "hidden",
  25. "opacity": 0
  26. },
  27. "to": {
  28. "border-style": "solid",
  29. "border-color": "#999",
  30. "border-width": "0px",
  31. "box-shadow": "0px 0px 10px #333",
  32. "-webkit-user-select": "none",
  33. "-moz-user-select": "none",
  34. "border-radius": "8px",
  35. "font-size": "12px",
  36. "height": "60",
  37. "padding": "0px",
  38. "width": "300",
  39. "position": "absolute",
  40. "top": "0",
  41. "left": "0",
  42. "overflow": "hidden",
  43. "opacity": 1
  44. },
  45. "current": {
  46. },
  47. "uncurrent": {
  48. },
  49. "spacerFrom": {
  50. "-webkit-user-select": "none",
  51. "-moz-user-select": "none",
  52. "width": "1px",
  53. "height": "1px",
  54. "position": "absolute",
  55. "opacity": 0,
  56. "padding": "0px",
  57. "border-radius": "8px",
  58. "background-image": "url("+MWF.defaultPath+"/xDesktop/$Window/desktop_o2/img/window.jpg)"
  59. },
  60. "spacerTo": {
  61. "-webkit-user-select": "none",
  62. "-moz-user-select": "none",
  63. "position": "absolute",
  64. "opacity": 0.8,
  65. "border-radius": "8px",
  66. "padding": "0px",
  67. "background-image": "url("+MWF.defaultPath+"/xDesktop/$Window/desktop_o2/img/window.jpg)"
  68. },
  69. "spacerCurrent":{
  70. "background-image": "url("+MWF.defaultPath+"/xDesktop/$Window/desktop_o2/img/window.jpg)"
  71. },
  72. "spacerUncurrent":{
  73. "background-image": "",
  74. "background-color": "#AAA"
  75. },
  76. "content": {
  77. "position": "relative",
  78. "overflow": "hidden"
  79. },
  80. "mark": {
  81. "height": "0",
  82. "width": "0",
  83. "opacity": 0.3,
  84. "position": "absolute",
  85. "top": "0px",
  86. "left": "0px",
  87. "border-style": "none",
  88. "border-width": "0",
  89. "background-color": "#CCC"
  90. },
  91. "button": {
  92. "border": "1px solid #999",
  93. "color": "#333",
  94. "margin": "0px 5px"
  95. },
  96. "titleAction": {
  97. "cursor": "default"
  98. },
  99. "titleRefresh": {
  100. "width": "20px",
  101. "height": "20px",
  102. "margin-top": "16px",
  103. "margin-right": "4px",
  104. "background-image": "url("+MWF.defaultPath+"/xDesktop/$Window/desktop_o2/img/refresh.png)",
  105. "background-position": "center center",
  106. "background-repeat": "no-repeat"
  107. },
  108. "closeActionNode": {
  109. "float": "right",
  110. "width": "20px",
  111. "height": "20px",
  112. "margin-top": "14px",
  113. "margin-right": "4px",
  114. "background-image": "url("+MWF.defaultPath+"/xDesktop/$Window/desktop_o2/img/close.png)",
  115. "background-position": "0px center",
  116. "background-repeat": "no-repeat"
  117. },
  118. "maxActionNode": {
  119. "float": "right",
  120. "width": "20px",
  121. "height": "20px",
  122. "margin-top": "14px",
  123. "margin-right": "4px",
  124. "background-image": "url("+MWF.defaultPath+"/xDesktop/$Window/desktop_o2/img/max.png)",
  125. "background-position": "0px center",
  126. "background-repeat": "no-repeat"
  127. },
  128. "restoreActionNode": {
  129. "background-image": "url("+MWF.defaultPath+"/xDesktop/$Window/desktop_o2/img/restore.png)"
  130. },
  131. "minActionNode": {
  132. "float": "right",
  133. "width": "20px",
  134. "height": "20px",
  135. "margin-top": "14px",
  136. "margin-right": "4px",
  137. "background-image": "url("+MWF.defaultPath+"/xDesktop/$Window/desktop_o2/img/min.png)",
  138. "background-position": "0px center",
  139. "background-repeat": "no-repeat"
  140. },
  141. "titleActionOver": {
  142. "background-position": "20px center"
  143. },
  144. "titleActionOut": {
  145. ""background-position": "0px center"
  146. },
  147. "titleActionDown": {
  148. "background-position": "20px center"
  149. },
  150. "windowNodeMax": {
  151. "box-shadow": "0px 0px 0px #333",
  152. "border-radius": "0px",
  153. "border-radius": "0px"
  154. },
  155. "windowTitleMax": {
  156. "height": "20px",
  157. "border-bottom": "1px solid #999",
  158. "overflow": "hidden",
  159. "line-height": "20px",
  160. "font-size": "12px",
  161. "background-color": "#e6e6e6"
  162. },
  163. "windowTitleRefreshMax": {
  164. "width": "20px",
  165. "height": "20px",
  166. "margin-top": "0px",
  167. "margin-right": "4px",
  168. },
  169. "windowTitleTextMax": {
  170. "height": "20px",
  171. "float": "left",
  172. "cursor": "default",
  173. "display": "none"
  174. },
  175. "windowTitleActionMax": {
  176. "height": "20px"
  177. },
  178. "windowActionNodeMax": {
  179. "margin-top": "0px"
  180. }
  181. }
  182. </script>
  183. </body>
  184. </html>