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.

521 lines
7.9 KiB

  1. /*
  2. * # Semantic - Header
  3. * http://github.com/jlukic/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. Theme
  16. --------------------*/
  17. /* To override a theme for an individual element
  18. specify theme name below
  19. */
  20. /* Global */
  21. /* Elements */
  22. /* Collections */
  23. /* Modules */
  24. /* Views */
  25. /* Import */
  26. /*******************************
  27. Global Variables
  28. *******************************/
  29. /*-------------------
  30. Paths
  31. --------------------*/
  32. /*-------------------
  33. Page
  34. --------------------*/
  35. /*-------------------
  36. Fonts
  37. --------------------*/
  38. /*-------------------
  39. Icons
  40. --------------------*/
  41. /* Width of largest icon */
  42. /*******************************
  43. BG Colors
  44. *******************************/
  45. /*******************************
  46. Colors
  47. *******************************/
  48. /*-------------------
  49. Background
  50. --------------------*/
  51. /*--- Colors ---*/
  52. /*--- Emotive ---*/
  53. /*--- Neutrals ---*/
  54. /*-------------------
  55. Text Colors
  56. --------------------*/
  57. /*-------------------
  58. Brand Colors
  59. --------------------*/
  60. /*-------------------
  61. Borders
  62. --------------------*/
  63. /*-------------------
  64. Sizes
  65. --------------------*/
  66. /*-------------------
  67. Transitions
  68. --------------------*/
  69. /*******************************
  70. States
  71. *******************************/
  72. /*-------------------
  73. Disabled
  74. --------------------*/
  75. /*-------------------
  76. Hover
  77. --------------------*/
  78. /*--- Colors ---*/
  79. /*--- Emotive ---*/
  80. /*--- Neutrals ---*/
  81. /*-------------------
  82. Down (:active)
  83. --------------------*/
  84. /*--- Colors ---*/
  85. /*--- Emotive ---*/
  86. /*--- Neutrals ---*/
  87. /*-------------------
  88. Active
  89. --------------------*/
  90. /*--- Standard ---*/
  91. /*--- Emotive ---*/
  92. /*--- Neutrals ---*/
  93. /*******************************
  94. User Global Variables
  95. *******************************/
  96. /*-------------------
  97. Globals Used
  98. --------------------*/
  99. /*-------------------
  100. Modified Globals
  101. --------------------*/
  102. /*-------------------
  103. Header Variables
  104. --------------------*/
  105. /*******************************
  106. User Variable Overrides
  107. *******************************/
  108. /*******************************
  109. Overrides
  110. *******************************/
  111. /*******************************
  112. Overrides
  113. *******************************/
  114. /*******************************
  115. Header
  116. *******************************/
  117. /* Standard */
  118. .ui.header {
  119. border: none;
  120. margin: 1em 0em 1rem;
  121. padding: 0em;
  122. font-size: 1.33em;
  123. font-weight: bold;
  124. line-height: 1.33;
  125. }
  126. .ui.header .sub.header {
  127. font-size: 1rem;
  128. font-weight: normal;
  129. margin: 0em;
  130. padding: 0em;
  131. line-height: 1.2;
  132. color: rgba(0, 0, 0, 0.5);
  133. }
  134. .ui.header .icon {
  135. display: table-cell;
  136. vertical-align: middle;
  137. padding-right: 0.5em;
  138. }
  139. .ui.header .icon:only-child {
  140. display: inline-block;
  141. vertical-align: baseline;
  142. }
  143. .ui.header .content {
  144. display: inline-block;
  145. vertical-align: top;
  146. }
  147. .ui.header .icon + .content {
  148. padding-left: 0.5em;
  149. display: table-cell;
  150. }
  151. /* Positioning */
  152. .ui.header:first-child {
  153. margin-top: 0em;
  154. }
  155. .ui.header:last-child {
  156. margin-bottom: 0em;
  157. }
  158. .ui.header + p {
  159. margin-top: 0em;
  160. }
  161. /*--------------
  162. Page Heading
  163. ---------------*/
  164. h1.ui.header {
  165. min-height: 1rem;
  166. line-height: 1.33;
  167. font-size: 2rem;
  168. }
  169. h2.ui.header {
  170. line-height: 1.33;
  171. font-size: 1.75rem;
  172. }
  173. h3.ui.header {
  174. line-height: 1.33;
  175. font-size: 1.33rem;
  176. }
  177. h4.ui.header {
  178. line-height: 1.33;
  179. font-size: 1.1rem;
  180. }
  181. h5.ui.header {
  182. line-height: 1.2;
  183. font-size: 1rem;
  184. }
  185. /*--------------
  186. Content Heading
  187. ---------------*/
  188. .ui.huge.header {
  189. min-height: 1em;
  190. font-size: 2em;
  191. }
  192. .ui.large.header {
  193. font-size: 1.75em;
  194. }
  195. .ui.medium.header {
  196. font-size: 1.33em;
  197. }
  198. .ui.small.header {
  199. font-size: 1.1em;
  200. }
  201. .ui.tiny.header {
  202. font-size: 1em;
  203. }
  204. /*******************************
  205. Types
  206. *******************************/
  207. /*-------------------
  208. Icon
  209. --------------------*/
  210. .ui.icon.header {
  211. display: inline-block;
  212. text-align: center;
  213. }
  214. .ui.icon.header .icon {
  215. float: none;
  216. display: block;
  217. font-size: 3em;
  218. margin: 0em auto 0.2em;
  219. padding: 0em;
  220. }
  221. .ui.icon.header .content {
  222. display: block;
  223. }
  224. .ui.icon.header .circular.icon,
  225. .ui.icon.header .square.icon {
  226. font-size: 2em;
  227. }
  228. .ui.block.icon.header .icon {
  229. margin-bottom: 0em;
  230. }
  231. .ui.icon.header.aligned {
  232. margin-left: auto;
  233. margin-right: auto;
  234. display: block;
  235. }
  236. /*******************************
  237. States
  238. *******************************/
  239. .ui.disabled.header {
  240. opacity: 0.3;
  241. }
  242. /*******************************
  243. Variations
  244. *******************************/
  245. /*-------------------
  246. Colors
  247. --------------------*/
  248. .ui.blue.header {
  249. color: #6ecff5 !important;
  250. }
  251. .ui.black.header {
  252. color: #555555 !important;
  253. }
  254. .ui.green.header {
  255. color: #5bbd72 !important;
  256. }
  257. .ui.red.header {
  258. color: #d95c5c !important;
  259. }
  260. .ui.purple.header {
  261. color: #564f8a !important;
  262. }
  263. .ui.teal.header {
  264. color: #00b5ad !important;
  265. }
  266. .ui.blue.dividing.header {
  267. border-bottom: 3px solid #6ecff5;
  268. }
  269. .ui.black.dividing.header {
  270. border-bottom: 3px solid #555555;
  271. }
  272. .ui.green.dividing.header {
  273. border-bottom: 3px solid #5bbd72;
  274. }
  275. .ui.red.dividing.header {
  276. border-bottom: 3px solid #d95c5c;
  277. }
  278. .ui.purple.dividing.header {
  279. border-bottom: 3px solid #564f8a;
  280. }
  281. .ui.teal.dividing.header {
  282. border-bottom: 3px solid #00b5ad;
  283. }
  284. /*-------------------
  285. Inverted
  286. --------------------*/
  287. .ui.inverted.header {
  288. color: #ffffff;
  289. }
  290. .ui.inverted.header .sub.header {
  291. color: rgba(255, 255, 255, 0.85);
  292. }
  293. /*-------------------
  294. Inverted Colors
  295. --------------------*/
  296. .ui.inverted.black.header {
  297. background-color: #555555 !important;
  298. color: #ffffff !important;
  299. }
  300. .ui.inverted.blue.header {
  301. background-color: #6ecff5 !important;
  302. color: #ffffff !important;
  303. }
  304. .ui.inverted.green.header {
  305. background-color: #5bbd72 !important;
  306. color: #ffffff !important;
  307. }
  308. .ui.inverted.red.header {
  309. background-color: #d95c5c !important;
  310. color: #ffffff !important;
  311. }
  312. .ui.inverted.purple.header {
  313. background-color: #564f8a !important;
  314. color: #ffffff !important;
  315. }
  316. .ui.inverted.teal.header {
  317. background-color: #00b5ad !important;
  318. color: #ffffff !important;
  319. }
  320. .ui.inverted.block.header {
  321. border-bottom: none;
  322. }
  323. /*-------------------
  324. Aligned
  325. --------------------*/
  326. .ui.left.aligned.header {
  327. text-align: left;
  328. }
  329. .ui.right.aligned.header {
  330. text-align: right;
  331. }
  332. .ui.center.aligned.header {
  333. text-align: center;
  334. }
  335. /*-------------------
  336. Floated
  337. --------------------*/
  338. .ui.floated.header,
  339. .ui.left.floated.header {
  340. float: left;
  341. margin-top: 0em;
  342. margin-right: 0.5em;
  343. }
  344. .ui.right.floated.header {
  345. float: right;
  346. margin-top: 0em;
  347. margin-left: 0.5em;
  348. }
  349. /*-------------------
  350. Fittted
  351. --------------------*/
  352. .ui.fitted.header {
  353. padding: 0em;
  354. }
  355. /*-------------------
  356. Dividing
  357. --------------------*/
  358. .ui.dividing.header {
  359. padding-bottom: 0.2rem;
  360. border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  361. }
  362. .ui.dividing.header .sub.header {
  363. padding-bottom: 0.5em;
  364. }
  365. .ui.dividing.header .icon {
  366. margin-bottom: 0.2em;
  367. }
  368. /*-------------------
  369. Block
  370. --------------------*/
  371. .ui.block.header {
  372. background-color: rgba(0, 0, 0, 0.05);
  373. padding: 0.5em 1em;
  374. }
  375. /*-------------------
  376. Attached
  377. --------------------*/
  378. .ui.attached.header {
  379. background-color: #F0F0F0;
  380. margin: 0em;
  381. padding: 0.75rem 1rem;
  382. -webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
  383. box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
  384. }
  385. .ui.attached:not(.top,
  386. .bottom) {
  387. margin: 0em;
  388. }
  389. .ui.top.attached.header {
  390. margin-bottom: 0em;
  391. border-radius: 0.3125em 0.3125em 0em 0em;
  392. }
  393. .ui.bottom.attached.header {
  394. margin-top: 0em;
  395. border-radius: 0em 0em 0.3125em 0.3125em;
  396. }