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.

311 lines
7.6 KiB

10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
11 years ago
10 years ago
  1. /*
  2. * # Semantic - Divider
  3. * http://github.com/semantic-org/semantic-ui/
  4. *
  5. *
  6. * Copyright 2013 Contributors
  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 Variables
  41. *******************************/
  42. /*-------------------
  43. Paths
  44. --------------------*/
  45. /*-------------------
  46. Page
  47. --------------------*/
  48. /*-------------------
  49. Grid
  50. --------------------*/
  51. /*-------------------
  52. Breakpoints
  53. --------------------*/
  54. /*-------------------
  55. Fonts
  56. --------------------*/
  57. /*-------------------
  58. Icons
  59. --------------------*/
  60. /* Max Width of Icon */
  61. /*-------------------
  62. Easing
  63. --------------------*/
  64. /*******************************
  65. BG Colors
  66. *******************************/
  67. /*******************************
  68. Colors
  69. *******************************/
  70. /*--- Colors ---*/
  71. /*--- Neutrals ---*/
  72. /*--- Text Colors ---*/
  73. /* Preserve */
  74. /* Adjust for Legibility */
  75. /*--- Backgrounds ---*/
  76. /*-------------------
  77. Emotive Colors
  78. --------------------*/
  79. /* Positive / Negative */
  80. /* Messages */
  81. /*-------------------
  82. Text Colors
  83. --------------------*/
  84. /*-------------------
  85. Brand Colors
  86. --------------------*/
  87. /*-------------------
  88. Borders
  89. --------------------*/
  90. /*-------------------
  91. Sizes
  92. --------------------*/
  93. /*-------------------
  94. Transitions
  95. --------------------*/
  96. /*******************************
  97. States
  98. *******************************/
  99. /*-------------------
  100. Disabled
  101. --------------------*/
  102. /*-------------------
  103. Hover
  104. --------------------*/
  105. /*--- Colors ---*/
  106. /*--- Emotive ---*/
  107. /*--- Neutrals ---*/
  108. /*-------------------
  109. Down (:active)
  110. --------------------*/
  111. /*--- Colors ---*/
  112. /*--- Emotive ---*/
  113. /*--- Neutrals ---*/
  114. /*-------------------
  115. Active
  116. --------------------*/
  117. /*--- Standard ---*/
  118. /*--- Emotive ---*/
  119. /*--- Neutrals ---*/
  120. /*******************************
  121. Divider
  122. *******************************/
  123. /*-------------------
  124. Element
  125. --------------------*/
  126. /*-------------------
  127. Coupling
  128. --------------------*/
  129. /* Icon */
  130. /*******************************
  131. Variations
  132. *******************************/
  133. /* Horizontal / Vertical */
  134. /* Inverted */
  135. /* Section */
  136. /*------------------
  137. Load Theme
  138. -------------------*/
  139. /*------------------
  140. Load Site
  141. -------------------*/
  142. /*******************************
  143. User Global Variables
  144. *******************************/
  145. /*******************************
  146. User Variable Overrides
  147. *******************************/
  148. /*------------------
  149. Override Mix-in
  150. -------------------*/
  151. /*******************************
  152. Divider
  153. *******************************/
  154. .ui.divider {
  155. margin: 1rem 0rem;
  156. border-top: 1px solid rgba(0, 0, 0, 0.1);
  157. border-bottom: 1px solid rgba(255, 255, 255, 0.8);
  158. line-height: 1;
  159. height: 0em;
  160. -webkit-box-sizing: border-box;
  161. box-sizing: border-box;
  162. -webkit-user-select: none;
  163. -moz-user-select: none;
  164. -ms-user-select: none;
  165. user-select: none;
  166. -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  167. }
  168. .ui.vertical.divider,
  169. .ui.horizontal.divider {
  170. position: absolute;
  171. border: none;
  172. height: 0em;
  173. margin: 0em;
  174. background-color: transparent;
  175. font-size: 1em;
  176. font-weight: bold;
  177. text-align: center;
  178. text-transform: uppercase;
  179. color: rgba(0, 0, 0, 0.8);
  180. }
  181. /*--------------
  182. Vertical
  183. ---------------*/
  184. .ui.vertical.divider {
  185. position: absolute;
  186. z-index: 2;
  187. top: 50%;
  188. left: 50%;
  189. margin: 0% 0% 0% 3%;
  190. width: 6%;
  191. height: 50%;
  192. line-height: 0;
  193. padding: 0em;
  194. }
  195. .ui.vertical.divider:before,
  196. .ui.vertical.divider:after {
  197. position: absolute;
  198. left: 50%;
  199. content: " ";
  200. z-index: 3;
  201. border-left: 1px solid rgba(0, 0, 0, 0.1);
  202. border-right: 1px solid rgba(255, 255, 255, 0.8);
  203. width: 0%;
  204. height: 80%;
  205. }
  206. .ui.vertical.divider:before {
  207. top: -100%;
  208. }
  209. .ui.vertical.divider:after {
  210. top: auto;
  211. bottom: 0px;
  212. }
  213. /*--------------
  214. Horizontal
  215. ---------------*/
  216. .ui.horizontal.divider {
  217. position: relative;
  218. top: 0%;
  219. left: 0%;
  220. margin: 1rem 0em;
  221. height: auto;
  222. padding: 0em;
  223. line-height: 1;
  224. }
  225. .ui.horizontal.divider:before,
  226. .ui.horizontal.divider:after {
  227. position: absolute;
  228. content: '';
  229. z-index: 3;
  230. width: 40%;
  231. top: 50%;
  232. height: 0%;
  233. border-top: 1px solid rgba(0, 0, 0, 0.1);
  234. border-bottom: 1px solid rgba(255, 255, 255, 0.8);
  235. }
  236. .ui.horizontal.divider:before {
  237. left: 0%;
  238. }
  239. .ui.horizontal.divider:after {
  240. left: auto;
  241. right: 0%;
  242. }
  243. /*--------------
  244. Icon
  245. ---------------*/
  246. .ui.divider > .icon {
  247. margin: 0rem;
  248. font-size: 1rem;
  249. vertical-align: middle;
  250. }
  251. /*******************************
  252. Variations
  253. *******************************/
  254. /*--------------
  255. Hidden
  256. ---------------*/
  257. .ui.hidden.divider {
  258. border-color: transparent;
  259. }
  260. /*--------------
  261. Inverted
  262. ---------------*/
  263. .ui.divider.inverted {
  264. color: #ffffff;
  265. }
  266. .ui.vertical.inverted.divider,
  267. .ui.horizontal.inverted.divider {
  268. color: rgba(255, 255, 255, 0.8);
  269. }
  270. .ui.divider.inverted,
  271. .ui.divider.inverted:after,
  272. .ui.divider.inverted:before {
  273. border-top-color: rgba(0, 0, 0, 0.15);
  274. border-bottom-color: rgba(255, 255, 255, 0.15);
  275. border-left-color: rgba(0, 0, 0, 0.15);
  276. border-right-color: rgba(255, 255, 255, 0.15);
  277. }
  278. /*--------------
  279. Fitted
  280. ---------------*/
  281. .ui.fitted.divider {
  282. margin: 0em;
  283. }
  284. /*--------------
  285. Clearing
  286. ---------------*/
  287. .ui.clearing.divider {
  288. clear: both;
  289. }
  290. /*--------------
  291. Section
  292. ---------------*/
  293. .ui.section.divider {
  294. margin-top: 2rem;
  295. margin-bottom: 2rem;
  296. }
  297. /*******************************
  298. Overrides
  299. *******************************/
  300. /*******************************
  301. Overrides
  302. *******************************/