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.

148 lines
2.6 KiB

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