You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

375 lines
8.6 KiB

11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
10 years ago
10 years ago
11 years ago
  1. /*
  2. * # Semantic - Reveal
  3. * http://github.com/jlukic/semantic-ui/
  4. *
  5. *
  6. * Copyright 2013 Contributors
  7. * Released under the MIT license
  8. * http://opensource.org/licenses/MIT
  9. *
  10. */
  11. /*******************************
  12. Reveal
  13. *******************************/
  14. .ui.reveal {
  15. display: inline-block;
  16. position: relative !important;
  17. z-index: 2 !important;
  18. font-size: 0em !important;
  19. }
  20. .ui.reveal > .content {
  21. font-size: 1rem !important;
  22. }
  23. .ui.reveal > .visible.content {
  24. -webkit-transition:
  25. all 0.8s cubic-bezier(0.175, 0.885, 0.320, 1) 0.15s
  26. ;
  27. -moz-transition:
  28. all 0.8s cubic-bezier(0.175, 0.885, 0.320, 1) 0.15s
  29. ;
  30. transition:
  31. all 0.8s cubic-bezier(0.175, 0.885, 0.320, 1) 0.15s
  32. ;
  33. }
  34. .ui.reveal > .visible.content {
  35. position: absolute !important;
  36. top: 0em !important;
  37. right: 0em !important;
  38. z-index: 4 !important;
  39. -webkit-transition:
  40. all 0.8s cubic-bezier(0.175, 0.885, 0.320, 1) 0.15s
  41. ;
  42. -moz-transition:
  43. all 0.8s cubic-bezier(0.175, 0.885, 0.320, 1) 0.15s
  44. ;
  45. transition:
  46. all 0.8s cubic-bezier(0.175, 0.885, 0.320, 1) 0.15s
  47. ;
  48. }
  49. .ui.reveal > .hidden.content {
  50. position: relative !important;
  51. z-index: 3 !important;
  52. }
  53. /*------------------
  54. Loose Coupling
  55. -------------------*/
  56. .ui.reveal.button {
  57. overflow: hidden;
  58. }
  59. /*******************************
  60. Types
  61. *******************************/
  62. /*--------------
  63. Slide
  64. ---------------*/
  65. .ui.slide.reveal {
  66. position: relative !important;
  67. display: block;
  68. overflow: hidden !important;
  69. white-space: nowrap;
  70. }
  71. .ui.slide.reveal > .content {
  72. display: block;
  73. float: right;
  74. -webkit-box-sizing: border-box;
  75. -moz-box-sizing: border-box;
  76. -ms-box-sizing: border-box;
  77. box-sizing: border-box;
  78. margin: 0em;
  79. -webkit-transition:
  80. top 0.8s cubic-bezier(0.175, 0.885, 0.320, 1) 0.15s,
  81. right 0.8s cubic-bezier(0.175, 0.885, 0.320, 1) 0.15s,
  82. left 0.8s cubic-bezier(0.175, 0.885, 0.320, 1) 0.15s,
  83. bottom 0.8s cubic-bezier(0.175, 0.885, 0.320, 1) 0.15s
  84. ;
  85. -moz-transition:
  86. top 0.8s cubic-bezier(0.175, 0.885, 0.320, 1) 0.15s,
  87. right 0.8s cubic-bezier(0.175, 0.885, 0.320, 1) 0.15s,
  88. left 0.8s cubic-bezier(0.175, 0.885, 0.320, 1) 0.15s,
  89. bottom 0.8s cubic-bezier(0.175, 0.885, 0.320, 1) 0.15s
  90. ;
  91. transition:
  92. top 0.8s cubic-bezier(0.175, 0.885, 0.320, 1) 0.15s,
  93. right 0.8s cubic-bezier(0.175, 0.885, 0.320, 1) 0.15s,
  94. left 0.8s cubic-bezier(0.175, 0.885, 0.320, 1) 0.15s,
  95. bottom 0.8s cubic-bezier(0.175, 0.885, 0.320, 1) 0.15s
  96. ;
  97. }
  98. .ui.slide.reveal > .visible.content {
  99. position: relative !important;
  100. }
  101. .ui.slide.reveal > .hidden.content {
  102. position: absolute !important;
  103. right: 100% !important;
  104. width: 100% !important;
  105. }
  106. .ui.slide.reveal:hover > .visible.content,
  107. .ui.slide.reveal:focus > .visible.content, {
  108. right: -100% !important;
  109. }
  110. .ui.slide.reveal:hover > .hidden.content,
  111. .ui.slide.reveal:focus > .hidden.content {
  112. right: 0% !important;
  113. }
  114. .ui.right.slide.reveal > .visible.content {
  115. right: 0%;
  116. }
  117. .ui.right.slide.reveal > .hidden.content {
  118. right: auto !important;
  119. left: 100% !important;
  120. }
  121. .ui.right.slide.reveal:hover > .visible.content,
  122. .ui.right.slide.reveal:focus > .visible.content {
  123. right: 100% !important;
  124. left: auto !important;
  125. }
  126. .ui.right.slide.reveal:hover > .hidden.content,
  127. .ui.right.slide.reveal:focus > .hidden.content {
  128. right: auto !important;
  129. left: 0% !important;
  130. }
  131. .ui.up.slide.reveal > .visible.content {
  132. top: 0% !important;
  133. right: 0% !important;
  134. left: auto !important;
  135. bottom: auto !important;
  136. }
  137. .ui.up.slide.reveal > .hidden.content {
  138. top: 100% !important;
  139. right: 0% !important;
  140. left: auto !important;
  141. bottom: auto !important;
  142. }
  143. .ui.slide.up.reveal:hover > .visible.content,
  144. .ui.slide.up.reveal:focus > .visible.content {
  145. top: -100% !important;
  146. right: 0% !important;
  147. }
  148. .ui.slide.up.reveal:hover > .hidden.content,
  149. .ui.slide.up.reveal:focus > .hidden.content {
  150. top: 0% !important;
  151. right: 0% !important;
  152. }
  153. .ui.down.slide.reveal > .visible.content {
  154. top: auto !important;
  155. left: auto !important;
  156. bottom: auto !important;
  157. bottom: 0% !important;
  158. }
  159. .ui.down.slide.reveal > .hidden.content {
  160. top: auto !important;
  161. left: auto !important;
  162. bottom: 100% !important;
  163. right: 0% !important;
  164. }
  165. .ui.slide.down.reveal:hover > .visible.content,
  166. .ui.slide.down.reveal:focus > .visible.content {
  167. right: 0% !important;
  168. bottom: -100% !important;
  169. }
  170. .ui.slide.down.reveal:hover > .hidden.content,
  171. .ui.slide.down.reveal:focus > .hidden.content {
  172. right: 0% !important;
  173. bottom: 0% !important;
  174. }
  175. /*--------------
  176. Fade
  177. ---------------*/
  178. .ui.fade.reveal > .hidden.content {
  179. -webkit-transition:
  180. opacity 0.8s cubic-bezier(0.175, 0.885, 0.320, 1) 0.15s
  181. ;
  182. -moz-transition:
  183. opacity 0.8s cubic-bezier(0.175, 0.885, 0.320, 1) 0.15s
  184. ;
  185. transition:
  186. opacity 0.8s cubic-bezier(0.175, 0.885, 0.320, 1) 0.15s
  187. ;
  188. }
  189. .ui.fade.reveal > .hidden.content {
  190. z-index: 5 !important;
  191. opacity: 0;
  192. }
  193. .ui.fade.reveal:hover > .hidden.content {
  194. opacity: 1;
  195. }
  196. /*--------------
  197. Move
  198. ---------------*/
  199. .ui.move.reveal > .visible.content,
  200. .ui.move.left.reveal > .visible.content {
  201. right: auto !important;
  202. top: auto !important;
  203. bottom: auto !important;
  204. left: 0% !important;
  205. }
  206. .ui.move.reveal:hover > .visible.content,
  207. .ui.move.left.reveal:hover > .visible.content,
  208. .ui.move.reveal:focus > .visible.content,
  209. .ui.move.left.reveal:focus > .visible.content {
  210. left: 100% !important;
  211. }
  212. .ui.move.right.reveal > .visible.content {
  213. left: auto !important;
  214. top: auto !important;
  215. bottom: auto !important;
  216. right: 0% !important;
  217. }
  218. .ui.move.right.reveal:hover > .visible.content,
  219. .ui.move.right.reveal:focus > .visible.content {
  220. right: 100% !important;
  221. }
  222. .ui.move.up.reveal > .visible.content {
  223. left: auto !important;
  224. right: auto !important;
  225. top: auto !important;
  226. bottom: 0% !important;
  227. }
  228. .ui.move.up.reveal:hover > .visible.content,
  229. .ui.move.up.reveal:focus > .visible.content {
  230. bottom: 100% !important;
  231. }
  232. .ui.move.down.reveal > .visible.content {
  233. left: auto !important;
  234. right: auto !important;
  235. bottom: auto !important;
  236. top: 0% !important;
  237. bottom: auto !important;
  238. }
  239. .ui.move.down.reveal:hover > .visible.content,
  240. .ui.move.down.reveal:focus > .visible.content {
  241. top: 100% !important;
  242. }
  243. /*--------------
  244. Rotate
  245. ---------------*/
  246. .ui.rotate.reveal > .visible.content {
  247. -webkit-transition-duration: 0.8s;
  248. -moz-transition-duration: 0.8s;
  249. transition-duration: 0.8s;
  250. -webkit-transform: rotate(0deg);
  251. -moz-transform: rotate(0deg);
  252. -ms-transform: rotate(0deg);
  253. transform: rotate(0deg);
  254. }
  255. .ui.rotate.reveal > .visible.content,
  256. .ui.rotate.right.reveal > .visible.content {
  257. -webkit-transform-origin: bottom left;
  258. -moz-transform-origin: bottom left;
  259. -ms-transform-origin: bottom left;
  260. transform-origin: bottom left;
  261. }
  262. .ui.rotate.reveal:hover > .visible.content,
  263. .ui.rotate.right.reveal:hover > .visible.content,
  264. .ui.rotate.reveal:focus > .visible.content,
  265. .ui.rotate.right.reveal:focus > .visible.content {
  266. -webkit-transform: rotate(-110deg);
  267. -moz-transform: rotate(-110deg);
  268. -ms-transform: rotate(-110deg);
  269. transform: rotate(-110deg);
  270. }
  271. .ui.rotate.left.reveal > .visible.content {
  272. -webkit-transform-origin: bottom right;
  273. -moz-transform-origin: bottom right;
  274. -ms-transform-origin: bottom right;
  275. transform-origin: bottom right;
  276. }
  277. .ui.rotate.left.reveal:hover > .visible.content,
  278. .ui.rotate.left.reveal:focus > .visible.content {
  279. -webkit-transform: rotate(110deg);
  280. -moz-transform: rotate(110deg);
  281. -ms-transform: rotate(110deg);
  282. transform: rotate(110deg);
  283. }
  284. /*******************************
  285. States
  286. *******************************/
  287. .ui.disabled.reveal {
  288. opacity: 1 !important;
  289. }
  290. .ui.disabled.reveal > .content {
  291. -webkit-transition: none !important;
  292. -moz-transition: none !important;
  293. transition: none !important;
  294. }
  295. .ui.disabled.reveal:hover > .visible.content,
  296. .ui.disabled.reveal:focus > .visible.content {
  297. position: static !important;
  298. display: block !important;
  299. opacity: 1 !important;
  300. top: 0 !important;
  301. right: 0 !important;
  302. left: auto !important;
  303. bottom: auto !important;
  304. -webkit-transform: none !important;
  305. -moz-transform: none !important;
  306. -ms-transform: none !important;
  307. transform: none !important;
  308. }
  309. .ui.disabled.reveal:hover > .hidden.content,
  310. .ui.disabled.reveal:focus > .hidden.content {
  311. display: none !important;
  312. }
  313. /*******************************
  314. Variations
  315. *******************************/
  316. /*--------------
  317. Masked
  318. ---------------*/
  319. .ui.masked.reveal {
  320. overflow: hidden;
  321. }
  322. /*--------------
  323. Instant
  324. ---------------*/
  325. .ui.instant.reveal > .content {
  326. -webkit-transition-delay: 0s !important;
  327. -moz-transition-delay: 0s !important;
  328. transition-delay: 0s !important;
  329. }