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.

246 lines
5.9 KiB

9 years ago
9 years ago
9 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
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
10 years ago
10 years ago
9 years ago
10 years ago
10 years ago
9 years ago
10 years ago
10 years ago
  1. /*!
  2. * # Semantic UI 2.0.0 - Divider
  3. * http://github.com/semantic-org/semantic-ui/
  4. *
  5. *
  6. * Copyright 2014 Contributors
  7. * Released under the MIT license
  8. * http://opensource.org/licenses/MIT
  9. *
  10. */
  11. /*******************************
  12. Divider
  13. *******************************/
  14. .ui.divider {
  15. margin: 1rem 0rem;
  16. line-height: 1;
  17. height: 0em;
  18. font-weight: bold;
  19. text-transform: uppercase;
  20. letter-spacing: 0.05em;
  21. color: rgba(0, 0, 0, 0.85);
  22. -webkit-user-select: none;
  23. -moz-user-select: none;
  24. -ms-user-select: none;
  25. user-select: none;
  26. -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  27. }
  28. /*--------------
  29. Basic
  30. ---------------*/
  31. .ui.divider:not(.vertical):not(.horizontal) {
  32. border-top: 1px solid rgba(34, 36, 38, 0.15);
  33. border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  34. }
  35. /*--------------
  36. Coupling
  37. ---------------*/
  38. .ui.grid > .ui.divider {
  39. font-size: 1rem;
  40. }
  41. /*--------------
  42. Horizontal
  43. ---------------*/
  44. .ui.horizontal.divider {
  45. display: table;
  46. white-space: nowrap;
  47. height: auto;
  48. margin: '';
  49. overflow: hidden;
  50. line-height: 1;
  51. text-align: center;
  52. }
  53. .ui.horizontal.divider:before,
  54. .ui.horizontal.divider:after {
  55. content: '';
  56. display: table-cell;
  57. position: relative;
  58. top: 50%;
  59. width: 50%;
  60. background-repeat: no-repeat;
  61. }
  62. .ui.horizontal.divider:before {
  63. background-position: right 1em top 50%;
  64. }
  65. .ui.horizontal.divider:after {
  66. background-position: left 1em top 50%;
  67. }
  68. /*--------------
  69. Vertical
  70. ---------------*/
  71. .ui.vertical.divider {
  72. position: absolute;
  73. z-index: 2;
  74. top: 50%;
  75. left: 50%;
  76. margin: 0rem;
  77. padding: 0em;
  78. width: auto;
  79. height: 50%;
  80. line-height: 0em;
  81. text-align: center;
  82. -webkit-transform: translateX(-50%);
  83. -ms-transform: translateX(-50%);
  84. transform: translateX(-50%);
  85. }
  86. .ui.vertical.divider:before,
  87. .ui.vertical.divider:after {
  88. position: absolute;
  89. left: 50%;
  90. content: '';
  91. z-index: 3;
  92. border-left: 1px solid rgba(34, 36, 38, 0.15);
  93. border-right: 1px solid rgba(255, 255, 255, 0.1);
  94. width: 0%;
  95. height: calc(100% - 1rem );
  96. }
  97. .ui.vertical.divider:before {
  98. top: -100%;
  99. }
  100. .ui.vertical.divider:after {
  101. top: auto;
  102. bottom: 0px;
  103. }
  104. /* Inside grid */
  105. @media only screen and (max-width: 767px) {
  106. .ui.stackable.grid .ui.vertical.divider,
  107. .ui.grid .stackable.row .ui.vertical.divider {
  108. position: relative;
  109. margin: 1rem 0rem;
  110. left: 50%;
  111. height: auto;
  112. overflow: hidden;
  113. line-height: 1;
  114. text-align: center;
  115. }
  116. .ui.stackable.grid .ui.vertical.divider:before,
  117. .ui.grid .stackable.row .ui.vertical.divider:before,
  118. .ui.stackable.grid .ui.vertical.divider:after,
  119. .ui.grid .stackable.row .ui.vertical.divider:after {
  120. position: absolute;
  121. left: auto;
  122. content: '';
  123. z-index: 3;
  124. width: 50%;
  125. top: 50%;
  126. height: 0px;
  127. border-top: 1px solid rgba(34, 36, 38, 0.15);
  128. border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  129. }
  130. .ui.stackable.grid .ui.vertical.divider:before,
  131. .ui.grid .stackable.row .ui.vertical.divider:before {
  132. margin-left: -51%;
  133. }
  134. .ui.stackable.grid .ui.vertical.divider:after,
  135. .ui.grid .stackable.row .ui.vertical.divider:after {
  136. margin-left: 1em;
  137. }
  138. }
  139. /*--------------
  140. Icon
  141. ---------------*/
  142. .ui.divider > .icon {
  143. margin: 0rem;
  144. font-size: 1rem;
  145. height: 1em;
  146. vertical-align: middle;
  147. }
  148. /*******************************
  149. Variations
  150. *******************************/
  151. /*--------------
  152. Hidden
  153. ---------------*/
  154. .ui.hidden.divider {
  155. border-color: transparent !important;
  156. }
  157. .ui.hidden.divider:before,
  158. .ui.hidden.divider:after {
  159. display: none;
  160. }
  161. /*--------------
  162. Inverted
  163. ---------------*/
  164. .ui.divider.inverted,
  165. .ui.vertical.inverted.divider,
  166. .ui.horizontal.inverted.divider {
  167. color: #ffffff;
  168. }
  169. .ui.divider.inverted,
  170. .ui.divider.inverted:after,
  171. .ui.divider.inverted:before {
  172. border-top-color: rgba(34, 36, 38, 0.15) !important;
  173. border-left-color: rgba(34, 36, 38, 0.15) !important;
  174. border-bottom-color: rgba(255, 255, 255, 0.15) !important;
  175. border-right-color: rgba(255, 255, 255, 0.15) !important;
  176. }
  177. /*--------------
  178. Fitted
  179. ---------------*/
  180. .ui.fitted.divider {
  181. margin: 0em;
  182. }
  183. /*--------------
  184. Clearing
  185. ---------------*/
  186. .ui.clearing.divider {
  187. clear: both;
  188. }
  189. /*--------------
  190. Section
  191. ---------------*/
  192. .ui.section.divider {
  193. margin-top: 2rem;
  194. margin-bottom: 2rem;
  195. }
  196. /*--------------
  197. Sizes
  198. ---------------*/
  199. .ui.divider {
  200. font-size: 1rem;
  201. }
  202. /*******************************
  203. Theme Overrides
  204. *******************************/
  205. .ui.horizontal.divider:before,
  206. .ui.horizontal.divider:after {
  207. background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABaAAAAACCAYAAACuTHuKAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyFpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzl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BEVuJgyMAAAAAElFTkSuQmCC');
  208. }
  209. /*******************************
  210. Site Overrides
  211. *******************************/