demos.css 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308
  1. /*
  2. File: Style.css
  3. Slick Style for MooTools Demos.
  4. License:
  5. Copyright (c)2007 Valerio Proietti, <http://mad4milk.net>.
  6. */
  7. body{/*opera 9.5 fix*/
  8. position:absolute;
  9. }
  10. /*@group Mif*/
  11. #title h1 .mif-m{
  12. color:#e76f01;
  13. }
  14. #title h1 .mif-i{
  15. color:#375b8f;
  16. }
  17. #title h1 .mif-f{
  18. color:#e74747;
  19. }
  20. #title h1 .mif-tree{
  21. color:#2cad59;
  22. }
  23. #title h1 .mif-dot{
  24. color:#588ed1;
  25. }
  26. #title h1 a:hover .mif-dot{
  27. color:#db4f6a;
  28. }
  29. /*@end*/
  30. /* @group Reset */
  31. * {
  32. margin: 0;
  33. padding: 0;
  34. }
  35. .clear {
  36. clear: both;
  37. display: block;
  38. }
  39. .left { float: left; }
  40. #menu ul {
  41. list-style: none;
  42. }
  43. #submenu ul {
  44. list-style-type: square;
  45. }
  46. /* @end */
  47. /* @group Base */
  48. html {
  49. overflow: hidden;
  50. }
  51. body {
  52. font: 11px/1.5 Lucida Grande, Helvetica, Arial, sans-serif;
  53. background: #F3F1F1;
  54. color: #41464D;
  55. }
  56. body, #container {
  57. width: 100%;
  58. height: 100%;
  59. overflow: hidden;
  60. }
  61. a {
  62. text-decoration:none;
  63. }
  64. #title {
  65. position: absolute;
  66. top: 0;
  67. left: 0;
  68. width: 100%;
  69. padding: 5px 0;
  70. background: #aaa;
  71. background: #41464D;
  72. color: #F3F1F1;
  73. height: 30px;
  74. }
  75. #menu {
  76. position: absolute;
  77. width: 30%;
  78. overflow-y: auto;
  79. overflow-x: hidden;
  80. top: 40px;
  81. left: 0;
  82. bottom: 0;
  83. height: expression(document.body.clientHeight-40);
  84. }
  85. #demos {
  86. position: absolute;
  87. top: 40px;
  88. right: 0;
  89. bottom: 0;
  90. overflow: auto;
  91. width: 70%;
  92. height: expression(document.body.clientHeight-40);
  93. }
  94. span.spc {
  95. display: block;
  96. height: 16px;
  97. }
  98. #demos-wrapper, #menu-wrapper {
  99. overflow: hidden;
  100. padding: 4px 4px 0;
  101. background: #fff;
  102. }
  103. #demos-wrapper {
  104. margin: 16px 16px 0 8px;
  105. }
  106. #menu-wrapper {
  107. margin: 16px 8px 0 16px;
  108. }
  109. .success a:link, .success a:visited {
  110. color: #657528;
  111. }
  112. .exception a:link, .exception a:visited {
  113. color: #B33F3F;
  114. }
  115. a:link, a:visited {
  116. color: #528CE0;
  117. }
  118. a:hover, a:active {
  119. color: #41464D !important;
  120. cursor: pointer !important;
  121. }
  122. #title h1 {
  123. font: 25px/1.1 Arial, sans-serif;
  124. font-weight: bolder;
  125. float: left;
  126. margin: 1px 0 2px 20px;
  127. text-shadow: 0 2px 2px rgba(0,0,0,0.4);
  128. }
  129. #title h1 span {
  130. color: #D2E0E6;
  131. }
  132. #title ul li {
  133. font-weight: bold;
  134. font-size: 12px;
  135. float: right;
  136. margin: 10px 5px 0;
  137. }
  138. #title ul {
  139. margin-right: 20px;
  140. }
  141. #menu h2 {
  142. font-size: 14px;
  143. background: #D0C8C8;
  144. color: #8A7575;
  145. margin-bottom: 4px;
  146. padding: 2px 5px;
  147. }
  148. br {
  149. display: none;
  150. }
  151. #menu h3 a {
  152. display: block;
  153. }
  154. #menu h3.selected {
  155. background-color: #e2e5d2;
  156. }
  157. #menu h3.selected a {
  158. color: #657528;
  159. }
  160. h1, h2, h3, h4, h5, h6 {
  161. cursor: default;
  162. }
  163. #menu h3 {
  164. font-size: 12px;
  165. padding: 3px 5px 1px;
  166. background: #D2E0E6;
  167. color: #528CE0;
  168. margin-bottom: 4px;
  169. }
  170. #submenu {
  171. background: #CBCEBD;
  172. color: #424D1A;
  173. padding: 2px 30px;
  174. max-height: 200px;
  175. overflow: auto;
  176. margin-bottom: 4px;
  177. }
  178. #submenu a {
  179. color: #424D1A;
  180. display: block;
  181. }
  182. #submenu a:hover {
  183. text-decoration: underline;
  184. color: #424D1A;
  185. display: block;
  186. }
  187. #submenu ul.subgroup {
  188. padding-left: 20px;
  189. }
  190. p {
  191. color: #575d67;
  192. }
  193. div#footer {
  194. text-align: right;
  195. padding: 10px 16px 0 0;
  196. }
  197. div#footer p {
  198. padding: 0;
  199. }
  200. /* @end */
  201. /* @group demos */
  202. .help {
  203. background: #e6efc2;
  204. border: 2px solid #c6d880;
  205. color: #529214;
  206. margin: 1em 0;
  207. padding: 0.8em;
  208. }
  209. .help a {
  210. color: #529214;
  211. }
  212. #container #demos-wrapper {
  213. padding: 1em;
  214. }
  215. #container #demos-wrapper h1 {
  216. margin-bottom: 1em;
  217. }
  218. #container #demos-wrapper hr {
  219. background: none;
  220. border: none;
  221. border-bottom: 2px solid #cecece;
  222. margin: 0.5em 0 1em;
  223. }
  224. #container #demos-wrapper h2 {
  225. border-bottom: 1px solid #cecece;
  226. margin: 0.5em;
  227. }
  228. .info{
  229. border:solid 1px #aeaeae;
  230. padding:5px;
  231. text-align: right;
  232. background:#f5f5bc;
  233. }
  234. .info a{
  235. padding-right:20px;
  236. margin-right:5px;
  237. text-decoration:underline;
  238. }
  239. .informer{
  240. border: solid 1px #d2d2d2;
  241. border-top:none;
  242. max-height:300px;
  243. overflow:auto;
  244. padding-left:1em;
  245. }
  246. /* @end */