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.

157 lines
3.6 KiB

9 years ago
7 years ago
9 years ago
10 years ago
10 years ago
10 years ago
10 years ago
9 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
  1. /*!
  2. * # Semantic UI 2.2.11 - Shape
  3. * http://github.com/semantic-org/semantic-ui/
  4. *
  5. *
  6. * Released under the MIT license
  7. * http://opensource.org/licenses/MIT
  8. *
  9. */
  10. /*******************************
  11. Shape
  12. *******************************/
  13. .ui.shape {
  14. position: relative;
  15. vertical-align: top;
  16. display: inline-block;
  17. -webkit-perspective: 2000px;
  18. perspective: 2000px;
  19. -webkit-transition: left 0.6s ease-in-out, width 0.6s ease-in-out, height 0.6s ease-in-out, -webkit-transform 0.6s ease-in-out;
  20. transition: left 0.6s ease-in-out, width 0.6s ease-in-out, height 0.6s ease-in-out, -webkit-transform 0.6s ease-in-out;
  21. transition: transform 0.6s ease-in-out, left 0.6s ease-in-out, width 0.6s ease-in-out, height 0.6s ease-in-out;
  22. transition: transform 0.6s ease-in-out, left 0.6s ease-in-out, width 0.6s ease-in-out, height 0.6s ease-in-out, -webkit-transform 0.6s ease-in-out;
  23. }
  24. .ui.shape .sides {
  25. -webkit-transform-style: preserve-3d;
  26. transform-style: preserve-3d;
  27. }
  28. .ui.shape .side {
  29. opacity: 1;
  30. width: 100%;
  31. margin: 0em !important;
  32. -webkit-backface-visibility: hidden;
  33. backface-visibility: hidden;
  34. }
  35. .ui.shape .side {
  36. display: none;
  37. }
  38. .ui.shape .side * {
  39. -webkit-backface-visibility: visible !important;
  40. backface-visibility: visible !important;
  41. }
  42. /*******************************
  43. Types
  44. *******************************/
  45. .ui.cube.shape .side {
  46. min-width: 15em;
  47. height: 15em;
  48. padding: 2em;
  49. background-color: #E6E6E6;
  50. color: rgba(0, 0, 0, 0.87);
  51. box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.3);
  52. }
  53. .ui.cube.shape .side > .content {
  54. width: 100%;
  55. height: 100%;
  56. display: table;
  57. text-align: center;
  58. -webkit-user-select: text;
  59. -moz-user-select: text;
  60. -ms-user-select: text;
  61. user-select: text;
  62. }
  63. .ui.cube.shape .side > .content > div {
  64. display: table-cell;
  65. vertical-align: middle;
  66. font-size: 2em;
  67. }
  68. /*******************************
  69. Variations
  70. *******************************/
  71. .ui.text.shape.animating .sides {
  72. position: static;
  73. }
  74. .ui.text.shape .side {
  75. white-space: nowrap;
  76. }
  77. .ui.text.shape .side > * {
  78. white-space: normal;
  79. }
  80. /*******************************
  81. States
  82. *******************************/
  83. /*--------------
  84. Loading
  85. ---------------*/
  86. .ui.loading.shape {
  87. position: absolute;
  88. top: -9999px;
  89. left: -9999px;
  90. }
  91. /*--------------
  92. Animating
  93. ---------------*/
  94. .ui.shape .animating.side {
  95. position: absolute;
  96. top: 0px;
  97. left: 0px;
  98. display: block;
  99. z-index: 100;
  100. }
  101. .ui.shape .hidden.side {
  102. opacity: 0.6;
  103. }
  104. /*--------------
  105. CSS
  106. ---------------*/
  107. .ui.shape.animating .sides {
  108. position: absolute;
  109. }
  110. .ui.shape.animating .sides {
  111. -webkit-transition: left 0.6s ease-in-out, width 0.6s ease-in-out, height 0.6s ease-in-out, -webkit-transform 0.6s ease-in-out;
  112. transition: left 0.6s ease-in-out, width 0.6s ease-in-out, height 0.6s ease-in-out, -webkit-transform 0.6s ease-in-out;
  113. transition: transform 0.6s ease-in-out, left 0.6s ease-in-out, width 0.6s ease-in-out, height 0.6s ease-in-out;
  114. transition: transform 0.6s ease-in-out, left 0.6s ease-in-out, width 0.6s ease-in-out, height 0.6s ease-in-out, -webkit-transform 0.6s ease-in-out;
  115. }
  116. .ui.shape.animating .side {
  117. -webkit-transition: opacity 0.6s ease-in-out;
  118. transition: opacity 0.6s ease-in-out;
  119. }
  120. /*--------------
  121. Active
  122. ---------------*/
  123. .ui.shape .active.side {
  124. display: block;
  125. }
  126. /*******************************
  127. Theme Overrides
  128. *******************************/
  129. /*******************************
  130. User Overrides
  131. *******************************/