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.

313 lines
6.6 KiB

  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: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1) 0.15s;
  25. transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1) 0.15s;
  26. }
  27. .ui.reveal > .visible.content {
  28. position: absolute !important;
  29. top: 0em !important;
  30. right: 0em !important;
  31. z-index: 4 !important;
  32. -webkit-transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1) 0.15s;
  33. transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1) 0.15s;
  34. }
  35. .ui.reveal > .hidden.content {
  36. position: relative !important;
  37. z-index: 3 !important;
  38. }
  39. /*------------------
  40. Loose Coupling
  41. -------------------*/
  42. .ui.reveal.button {
  43. overflow: hidden;
  44. }
  45. /*******************************
  46. Types
  47. *******************************/
  48. /*--------------
  49. Slide
  50. ---------------*/
  51. .ui.slide.reveal {
  52. position: relative !important;
  53. display: block;
  54. overflow: hidden !important;
  55. white-space: nowrap;
  56. }
  57. .ui.slide.reveal > .content {
  58. display: block;
  59. float: right;
  60. -moz-box-sizing: border-box;
  61. -ms-box-sizing: border-box;
  62. box-sizing: border-box;
  63. margin: 0em;
  64. -webkit-transition: top 0.8s cubic-bezier(0.175, 0.885, 0.32, 1) 0.15s, right 0.8s cubic-bezier(0.175, 0.885, 0.32, 1) 0.15s, left 0.8s cubic-bezier(0.175, 0.885, 0.32, 1) 0.15s, bottom 0.8s cubic-bezier(0.175, 0.885, 0.32, 1) 0.15s;
  65. transition: top 0.8s cubic-bezier(0.175, 0.885, 0.32, 1) 0.15s, right 0.8s cubic-bezier(0.175, 0.885, 0.32, 1) 0.15s, left 0.8s cubic-bezier(0.175, 0.885, 0.32, 1) 0.15s, bottom 0.8s cubic-bezier(0.175, 0.885, 0.32, 1) 0.15s;
  66. }
  67. .ui.slide.reveal > .visible.content {
  68. position: relative !important;
  69. }
  70. .ui.slide.reveal > .hidden.content {
  71. position: absolute !important;
  72. right: 100% !important;
  73. width: 100% !important;
  74. }
  75. .ui.slide.reveal:hover > .visible.content {
  76. right: -100% !important;
  77. }
  78. .ui.slide.reveal:hover > .hidden.content {
  79. right: 0% !important;
  80. }
  81. .ui.right.slide.reveal > .visible.content {
  82. right: 0%;
  83. }
  84. .ui.right.slide.reveal > .hidden.content {
  85. right: auto !important;
  86. left: 100% !important;
  87. }
  88. .ui.right.slide.reveal:hover > .visible.content {
  89. right: 100% !important;
  90. left: auto !important;
  91. }
  92. .ui.right.slide.reveal:hover > .hidden.content {
  93. right: auto !important;
  94. left: 0% !important;
  95. }
  96. .ui.up.slide.reveal > .visible.content {
  97. top: 0% !important;
  98. right: 0% !important;
  99. left: auto !important;
  100. bottom: auto !important;
  101. }
  102. .ui.up.slide.reveal > .hidden.content {
  103. top: 100% !important;
  104. right: 0% !important;
  105. left: auto !important;
  106. bottom: auto !important;
  107. }
  108. .ui.slide.up.reveal:hover > .visible.content {
  109. top: -100% !important;
  110. right: 0% !important;
  111. }
  112. .ui.slide.up.reveal:hover > .hidden.content {
  113. top: 0% !important;
  114. right: 0% !important;
  115. }
  116. .ui.down.slide.reveal > .visible.content {
  117. top: auto !important;
  118. left: auto !important;
  119. bottom: auto !important;
  120. bottom: 0% !important;
  121. }
  122. .ui.down.slide.reveal > .hidden.content {
  123. top: auto !important;
  124. left: auto !important;
  125. bottom: 100% !important;
  126. right: 0% !important;
  127. }
  128. .ui.slide.down.reveal:hover > .visible.content {
  129. right: 0% !important;
  130. bottom: -100% !important;
  131. }
  132. .ui.slide.down.reveal:hover > .hidden.content {
  133. right: 0% !important;
  134. bottom: 0% !important;
  135. }
  136. /*--------------
  137. Fade
  138. ---------------*/
  139. .ui.fade.reveal > .visible.content {
  140. opacity: 1;
  141. }
  142. .ui.fade.reveal:hover > .visible.content {
  143. opacity: 0;
  144. }
  145. /*--------------
  146. Move
  147. ---------------*/
  148. .ui.move.reveal > .visible.content,
  149. .ui.move.left.reveal > .visible.content {
  150. right: auto !important;
  151. top: auto !important;
  152. bottom: auto !important;
  153. left: 0% !important;
  154. }
  155. .ui.move.reveal:hover > .visible.content,
  156. .ui.move.left.reveal:hover > .visible.content {
  157. left: 100% !important;
  158. }
  159. .ui.move.right.reveal > .visible.content {
  160. left: auto !important;
  161. top: auto !important;
  162. bottom: auto !important;
  163. right: 0% !important;
  164. }
  165. .ui.move.right.reveal:hover > .visible.content {
  166. right: 100% !important;
  167. }
  168. .ui.move.up.reveal > .visible.content {
  169. left: auto !important;
  170. right: auto !important;
  171. top: auto !important;
  172. bottom: 0% !important;
  173. }
  174. .ui.move.up.reveal:hover > .visible.content {
  175. bottom: 100% !important;
  176. }
  177. .ui.move.down.reveal > .visible.content {
  178. left: auto !important;
  179. right: auto !important;
  180. top: 0% !important;
  181. bottom: auto !important;
  182. }
  183. .ui.move.down.reveal:hover > .visible.content {
  184. top: 100% !important;
  185. }
  186. /*--------------
  187. Rotate
  188. ---------------*/
  189. .ui.rotate.reveal > .visible.content {
  190. -webkit-transition-duration: 0.8s;
  191. transition-duration: 0.8s;
  192. -webkit-transform: rotate(0deg);
  193. -ms-transform: rotate(0deg);
  194. transform: rotate(0deg);
  195. }
  196. .ui.rotate.reveal > .visible.content,
  197. .ui.rotate.right.reveal > .visible.content {
  198. -webkit-transform-origin: bottom left;
  199. -ms-transform-origin: bottom left;
  200. transform-origin: bottom left;
  201. }
  202. .ui.rotate.reveal:hover > .visible.content,
  203. .ui.rotate.right.reveal:hover > .visible.content {
  204. -webkit-transform: rotate(110deg);
  205. -ms-transform: rotate(110deg);
  206. transform: rotate(110deg);
  207. }
  208. .ui.rotate.left.reveal > .visible.content {
  209. -webkit-transform-origin: bottom right;
  210. -ms-transform-origin: bottom right;
  211. transform-origin: bottom right;
  212. }
  213. .ui.rotate.left.reveal:hover > .visible.content {
  214. -webkit-transform: rotate(-110deg);
  215. -ms-transform: rotate(-110deg);
  216. transform: rotate(-110deg);
  217. }
  218. /*******************************
  219. States
  220. *******************************/
  221. .ui.disabled.reveal {
  222. opacity: 1 !important;
  223. }
  224. .ui.disabled.reveal > .content {
  225. -webkit-transition: none !important;
  226. transition: none !important;
  227. }
  228. .ui.disabled.reveal:hover > .visible.content {
  229. position: static !important;
  230. display: block !important;
  231. opacity: 1 !important;
  232. top: 0 !important;
  233. right: 0 !important;
  234. left: auto !important;
  235. bottom: auto !important;
  236. -webkit-transform: none !important;
  237. -ms-transform: none !important;
  238. transform: none !important;
  239. }
  240. .ui.disabled.reveal:hover > .hidden.content {
  241. display: none !important;
  242. }
  243. /*******************************
  244. Variations
  245. *******************************/
  246. /*--------------
  247. Masked
  248. ---------------*/
  249. .ui.masked.reveal {
  250. overflow: hidden;
  251. }
  252. /*--------------
  253. Instant
  254. ---------------*/
  255. .ui.instant.reveal > .content {
  256. -webkit-transition-delay: 0s !important;
  257. transition-delay: 0s !important;
  258. }