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.

277 lines
7.0 KiB

10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
  1. /*
  2. * # Semantic - Shape
  3. * http://github.com/semantic-org/semantic-ui/
  4. *
  5. *
  6. * Copyright 2014 Contributor
  7. * Released under the MIT license
  8. * http://opensource.org/licenses/MIT
  9. *
  10. */
  11. /*******************************
  12. Theme
  13. *******************************/
  14. /*
  15. */
  16. /*******************************
  17. Folders
  18. *******************************/
  19. /* Path to theme packages */
  20. /* Path to site override folder */
  21. /*******************************
  22. Themes
  23. *******************************/
  24. /* To override a theme for an individual element
  25. specify theme name below
  26. Be sure to update the user folder name (see README)
  27. */
  28. /* Global */
  29. /* Elements */
  30. /* Collections */
  31. /* Modules */
  32. /* Views */
  33. /*******************************
  34. Import Directives
  35. *******************************/
  36. /*------------------
  37. Load Default
  38. -------------------*/
  39. /*******************************
  40. Site Settings
  41. *******************************/
  42. /*-------------------
  43. Paths
  44. --------------------*/
  45. /*-------------------
  46. Fonts
  47. --------------------*/
  48. /*-------------------
  49. Site Colors
  50. --------------------*/
  51. /*--- Colors ---*/
  52. /*--- Light Colors ---*/
  53. /*-------------------
  54. Page
  55. --------------------*/
  56. /* Used to match floats with text */
  57. /*-------------------
  58. Background Colors
  59. --------------------*/
  60. /* Used for differentiating neutrals */
  61. /* Used for differentiating layers */
  62. /*-------------------
  63. Grid
  64. --------------------*/
  65. /*-------------------
  66. Breakpoints
  67. --------------------*/
  68. /*******************************
  69. Power-User
  70. *******************************/
  71. /*-------------------
  72. Icons
  73. --------------------*/
  74. /* Max Width of Icon */
  75. /*-------------------
  76. Easing
  77. --------------------*/
  78. /*--- Neutrals ---*/
  79. /*--- Colored Backgrounds ---*/
  80. /*--- Colored Text ---*/
  81. /*--- Colored Headers ---*/
  82. /*-------------------
  83. Emotive Colors
  84. --------------------*/
  85. /* Mood */
  86. /* Solid Background Color */
  87. /* Status */
  88. /* Darkened Headers */
  89. /*-------------------
  90. Neutral Text
  91. --------------------*/
  92. /*-------------------
  93. Brand Colors
  94. --------------------*/
  95. /*-------------------
  96. Grid Columns
  97. --------------------*/
  98. /*-------------------
  99. Borders
  100. --------------------*/
  101. /*-------------------
  102. Sizes
  103. --------------------*/
  104. /*-------------------
  105. Transitions
  106. --------------------*/
  107. /*******************************
  108. States
  109. *******************************/
  110. /*-------------------
  111. Disabled
  112. --------------------*/
  113. /*-------------------
  114. Hover
  115. --------------------*/
  116. /*--- Colors ---*/
  117. /*--- Emotive ---*/
  118. /*--- Neutrals ---*/
  119. /*-------------------
  120. Down (:active)
  121. --------------------*/
  122. /*--- Colors ---*/
  123. /*--- Emotive ---*/
  124. /*--- Neutrals ---*/
  125. /*-------------------
  126. Active
  127. --------------------*/
  128. /*--- Standard ---*/
  129. /*--- Emotive ---*/
  130. /*--- Neutrals ---*/
  131. /*******************************
  132. Shape
  133. *******************************/
  134. /* Animating */
  135. /* Side */
  136. /*--------------
  137. Types
  138. ---------------*/
  139. /* Cube */
  140. /*------------------
  141. Load Theme
  142. -------------------*/
  143. /*------------------
  144. Load Site
  145. -------------------*/
  146. /*******************************
  147. User Global Variables
  148. *******************************/
  149. /*******************************
  150. User Variable Overrides
  151. *******************************/
  152. /*------------------
  153. Override Mix-in
  154. -------------------*/
  155. /*******************************
  156. Shape
  157. *******************************/
  158. .ui.shape {
  159. position: relative;
  160. display: inline-block;
  161. -webkit-perspective: 2000px;
  162. perspective: 2000px;
  163. }
  164. .ui.shape .sides {
  165. -webkit-transform-style: preserve-3d;
  166. transform-style: preserve-3d;
  167. }
  168. .ui.shape .side {
  169. opacity: 1;
  170. width: 100%;
  171. margin: 0em !important;
  172. -webkit-backface-visibility: hidden;
  173. backface-visibility: hidden;
  174. }
  175. .ui.shape .side {
  176. display: none;
  177. }
  178. /*******************************
  179. Types
  180. *******************************/
  181. .ui.cube.shape .side {
  182. min-width: 15em;
  183. height: 15em;
  184. padding: 2em;
  185. background-color: #e6e6e6;
  186. color: rgba(0, 0, 0, 0.8);
  187. box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.3);
  188. }
  189. .ui.cube.shape .side > .content {
  190. width: 100%;
  191. height: 100%;
  192. display: table;
  193. text-align: center;
  194. -webkit-user-select: text;
  195. -moz-user-select: text;
  196. -ms-user-select: text;
  197. user-select: text;
  198. }
  199. .ui.cube.shape .side > .content > div {
  200. display: table-cell;
  201. vertical-align: middle;
  202. font-size: 2em;
  203. }
  204. /*******************************
  205. Variations
  206. *******************************/
  207. .ui.text.shape.animating .sides {
  208. position: static;
  209. }
  210. .ui.text.shape .side {
  211. white-space: nowrap;
  212. }
  213. .ui.text.shape .side > * {
  214. white-space: normal;
  215. }
  216. /*******************************
  217. States
  218. *******************************/
  219. /*--------------
  220. Loading
  221. ---------------*/
  222. .ui.loading.shape {
  223. position: absolute;
  224. top: -9999px;
  225. left: -9999px;
  226. }
  227. /*--------------
  228. Animating
  229. ---------------*/
  230. .ui.shape .animating.side {
  231. position: absolute;
  232. top: 0px;
  233. left: 0px;
  234. z-index: 100;
  235. }
  236. .ui.shape .hidden.side {
  237. opacity: 0.4;
  238. }
  239. /*--------------
  240. CSS
  241. ---------------*/
  242. .ui.shape.animating {
  243. -webkit-transition: all 0.6s ease-in-out;
  244. transition: all 0.6s ease-in-out;
  245. }
  246. .ui.shape.animating .sides {
  247. position: absolute;
  248. }
  249. .ui.shape.animating .sides {
  250. -webkit-transition: all 0.6s ease-in-out;
  251. transition: all 0.6s ease-in-out;
  252. }
  253. .ui.shape.animating .side {
  254. -webkit-transition: opacity 0.6s ease-in-out;
  255. transition: opacity 0.6s ease-in-out;
  256. }
  257. /*--------------
  258. Active
  259. ---------------*/
  260. .ui.shape .active.side {
  261. display: block;
  262. }
  263. /*******************************
  264. Overrides
  265. *******************************/
  266. /*******************************
  267. User Overrides
  268. *******************************/