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.

158 lines
3.6 KiB

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