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.

722 lines
12 KiB

  1. /*!
  2. * # Semantic UI 2.0.0 - Header
  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. Header
  13. *******************************/
  14. /* Standard */
  15. .ui.header {
  16. border: none;
  17. margin: calc(2rem - 0.14285em ) 0em 1rem;
  18. padding: 0em 0em;
  19. font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
  20. font-weight: bold;
  21. line-height: 1.2857em;
  22. text-transform: none;
  23. color: rgba(0, 0, 0, 0.87);
  24. }
  25. .ui.header:first-child {
  26. margin-top: -0.14285em;
  27. }
  28. .ui.header:last-child {
  29. margin-bottom: 0em;
  30. }
  31. /*--------------
  32. Sub Header
  33. ---------------*/
  34. .ui.header .sub.header {
  35. font-weight: normal;
  36. padding: 0em;
  37. margin: 0em;
  38. font-size: 1rem;
  39. line-height: 1.2em;
  40. color: rgba(0, 0, 0, 0.6);
  41. }
  42. /*--------------
  43. Icon
  44. ---------------*/
  45. .ui.header > .icon {
  46. display: table-cell;
  47. opacity: 1;
  48. font-size: 1.5em;
  49. padding-top: 0.14285em;
  50. vertical-align: middle;
  51. }
  52. /* With Text Node */
  53. .ui.header .icon:only-child {
  54. display: inline-block;
  55. padding: 0em;
  56. margin-right: 0.75rem;
  57. }
  58. /*-------------------
  59. Image
  60. --------------------*/
  61. .ui.header > .image,
  62. .ui.header > img {
  63. display: inline-block;
  64. margin-top: 0.14285em;
  65. width: 2.5em;
  66. height: auto;
  67. vertical-align: middle;
  68. }
  69. .ui.header > .image:only-child,
  70. .ui.header > img:only-child {
  71. margin-right: 0.75rem;
  72. }
  73. /*--------------
  74. Content
  75. ---------------*/
  76. .ui.header .content {
  77. display: inline-block;
  78. vertical-align: top;
  79. }
  80. /* After Image */
  81. .ui.header > img + .content,
  82. .ui.header > .image + .content {
  83. padding-left: 0.75rem;
  84. vertical-align: middle;
  85. }
  86. /* After Icon */
  87. .ui.header > .icon + .content {
  88. padding-left: 0.75rem;
  89. display: table-cell;
  90. vertical-align: middle;
  91. }
  92. /*--------------
  93. Loose Coupling
  94. ---------------*/
  95. .ui.header .ui.label {
  96. font-size: '';
  97. margin-left: 0.5rem;
  98. vertical-align: middle;
  99. }
  100. /* Positioning */
  101. .ui.header + p {
  102. margin-top: 0em;
  103. }
  104. /*******************************
  105. Types
  106. *******************************/
  107. /*--------------
  108. Page
  109. ---------------*/
  110. h1.ui.header {
  111. font-size: 2rem;
  112. }
  113. h2.ui.header {
  114. font-size: 1.714rem;
  115. }
  116. h3.ui.header {
  117. font-size: 1.28rem;
  118. }
  119. h4.ui.header {
  120. font-size: 1.071rem;
  121. }
  122. h5.ui.header {
  123. font-size: 1rem;
  124. }
  125. /* Sub Header */
  126. h1.ui.header .sub.header {
  127. font-size: 1.14285714rem;
  128. }
  129. h2.ui.header .sub.header {
  130. font-size: 1.14285714rem;
  131. }
  132. h3.ui.header .sub.header {
  133. font-size: 1rem;
  134. }
  135. h4.ui.header .sub.header {
  136. font-size: 1rem;
  137. }
  138. h5.ui.header .sub.header {
  139. font-size: 0.92857143rem;
  140. }
  141. /*--------------
  142. Content Heading
  143. ---------------*/
  144. .ui.huge.header {
  145. min-height: 1em;
  146. font-size: 2em;
  147. }
  148. .ui.large.header {
  149. font-size: 1.714em;
  150. }
  151. .ui.medium.header {
  152. font-size: 1.28em;
  153. }
  154. .ui.small.header {
  155. font-size: 1.071em;
  156. }
  157. .ui.tiny.header {
  158. font-size: 1em;
  159. }
  160. /* Sub Header */
  161. .ui.huge.header .sub.header {
  162. font-size: 1.14285714rem;
  163. }
  164. .ui.large.header .sub.header {
  165. font-size: 1.14285714rem;
  166. }
  167. .ui.header .sub.header {
  168. font-size: 1rem;
  169. }
  170. .ui.small.header .sub.header {
  171. font-size: 1rem;
  172. }
  173. .ui.tiny.header .sub.header {
  174. font-size: 0.92857143rem;
  175. }
  176. /*--------------
  177. Sub Heading
  178. ---------------*/
  179. .ui.sub.header {
  180. padding: 0em;
  181. margin-bottom: 0.14285714rem;
  182. font-weight: bold;
  183. font-size: 0.85714286em;
  184. text-transform: uppercase;
  185. color: '';
  186. }
  187. .ui.small.sub.header {
  188. font-size: 0.71428571em;
  189. }
  190. .ui.sub.header {
  191. font-size: 0.85714286em;
  192. }
  193. .ui.large.sub.header {
  194. font-size: 0.92857143em;
  195. }
  196. .ui.huge.sub.header {
  197. font-size: 1em;
  198. }
  199. /*-------------------
  200. Icon
  201. --------------------*/
  202. .ui.icon.header {
  203. display: inline-block;
  204. text-align: center;
  205. margin: 2rem 0em 1rem;
  206. }
  207. .ui.icon.header:after {
  208. content: '';
  209. display: block;
  210. height: 0px;
  211. clear: both;
  212. visibility: hidden;
  213. }
  214. .ui.icon.header:first-child {
  215. margin-top: 0em;
  216. }
  217. .ui.icon.header .icon {
  218. float: none;
  219. display: block;
  220. width: auto;
  221. height: auto;
  222. line-height: 1;
  223. padding: 0em;
  224. font-size: 3em;
  225. margin: 0em auto 0.5rem;
  226. opacity: 1;
  227. }
  228. .ui.icon.header .content {
  229. display: block;
  230. }
  231. .ui.icon.header .circular.icon {
  232. font-size: 2em;
  233. }
  234. .ui.icon.header .square.icon {
  235. font-size: 2em;
  236. }
  237. .ui.block.icon.header .icon {
  238. margin-bottom: 0em;
  239. }
  240. .ui.icon.header.aligned {
  241. margin-left: auto;
  242. margin-right: auto;
  243. display: block;
  244. }
  245. /*******************************
  246. States
  247. *******************************/
  248. .ui.disabled.header {
  249. opacity: 0.45;
  250. }
  251. /*******************************
  252. Variations
  253. *******************************/
  254. /*-------------------
  255. Inverted
  256. --------------------*/
  257. .ui.inverted.header {
  258. color: #ffffff;
  259. }
  260. .ui.inverted.header .sub.header {
  261. color: rgba(255, 255, 255, 0.8);
  262. }
  263. .ui.inverted.attached.header {
  264. background: #545454 -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.05));
  265. background: #545454 linear-gradient(transparent, rgba(0, 0, 0, 0.05));
  266. box-shadow: none;
  267. border-color: transparent;
  268. }
  269. .ui.inverted.block.header {
  270. background: #545454 -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.05));
  271. background: #545454 linear-gradient(transparent, rgba(0, 0, 0, 0.05));
  272. box-shadow: none;
  273. }
  274. .ui.inverted.block.header {
  275. border-bottom: none;
  276. }
  277. /*-------------------
  278. Colors
  279. --------------------*/
  280. /*--- Red ---*/
  281. .ui.red.header {
  282. color: #db2828 !important;
  283. }
  284. a.ui.red.header:hover {
  285. color: #d01919 !important;
  286. }
  287. .ui.red.dividing.header {
  288. border-bottom: 2px solid #db2828;
  289. }
  290. /* Inverted */
  291. .ui.inverted.red.header {
  292. color: #ff695e !important;
  293. }
  294. a.ui.inverted.red.header:hover {
  295. color: #ff5144 !important;
  296. }
  297. /*--- Orange ---*/
  298. .ui.orange.header {
  299. color: #f2711c !important;
  300. }
  301. a.ui.orange.header:hover {
  302. color: #f26202 !important;
  303. }
  304. .ui.orange.dividing.header {
  305. border-bottom: 2px solid #f2711c;
  306. }
  307. /* Inverted */
  308. .ui.inverted.orange.header {
  309. color: #ff851b !important;
  310. }
  311. a.ui.inverted.orange.header:hover {
  312. color: #ff7701 !important;
  313. }
  314. /*--- Olive ---*/
  315. .ui.olive.header {
  316. color: #b5cc18 !important;
  317. }
  318. a.ui.olive.header:hover {
  319. color: #a7bd0d !important;
  320. }
  321. .ui.olive.dividing.header {
  322. border-bottom: 2px solid #b5cc18;
  323. }
  324. /* Inverted */
  325. .ui.inverted.olive.header {
  326. color: #d9e778 !important;
  327. }
  328. a.ui.inverted.olive.header:hover {
  329. color: #d8ea5c !important;
  330. }
  331. /*--- Yellow ---*/
  332. .ui.yellow.header {
  333. color: #fbbd08 !important;
  334. }
  335. a.ui.yellow.header:hover {
  336. color: #eaae00 !important;
  337. }
  338. .ui.yellow.dividing.header {
  339. border-bottom: 2px solid #fbbd08;
  340. }
  341. /* Inverted */
  342. .ui.inverted.yellow.header {
  343. color: #ffe21f !important;
  344. }
  345. a.ui.inverted.yellow.header:hover {
  346. color: #ffdf05 !important;
  347. }
  348. /*--- Green ---*/
  349. .ui.green.header {
  350. color: #21ba45 !important;
  351. }
  352. a.ui.green.header:hover {
  353. color: #16ab39 !important;
  354. }
  355. .ui.green.dividing.header {
  356. border-bottom: 2px solid #21ba45;
  357. }
  358. /* Inverted */
  359. .ui.inverted.green.header {
  360. color: #2ecc40 !important;
  361. }
  362. a.ui.inverted.green.header:hover {
  363. color: #22be34 !important;
  364. }
  365. /*--- Teal ---*/
  366. .ui.teal.header {
  367. color: #00b5ad !important;
  368. }
  369. a.ui.teal.header:hover {
  370. color: #009c95 !important;
  371. }
  372. .ui.teal.dividing.header {
  373. border-bottom: 2px solid #00b5ad;
  374. }
  375. /* Inverted */
  376. .ui.inverted.teal.header {
  377. color: #6dffff !important;
  378. }
  379. a.ui.inverted.teal.header:hover {
  380. color: #54ffff !important;
  381. }
  382. /*--- Blue ---*/
  383. .ui.blue.header {
  384. color: #2185d0 !important;
  385. }
  386. a.ui.blue.header:hover {
  387. color: #1678c2 !important;
  388. }
  389. .ui.blue.dividing.header {
  390. border-bottom: 2px solid #2185d0;
  391. }
  392. /* Inverted */
  393. .ui.inverted.blue.header {
  394. color: #54c8ff !important;
  395. }
  396. a.ui.inverted.blue.header:hover {
  397. color: #3ac0ff !important;
  398. }
  399. /*--- Violet ---*/
  400. .ui.violet.header {
  401. color: #6435c9 !important;
  402. }
  403. a.ui.violet.header:hover {
  404. color: #5829bb !important;
  405. }
  406. .ui.violet.dividing.header {
  407. border-bottom: 2px solid #6435c9;
  408. }
  409. /* Inverted */
  410. .ui.inverted.violet.header {
  411. color: #a291fb !important;
  412. }
  413. a.ui.inverted.violet.header:hover {
  414. color: #8a73ff !important;
  415. }
  416. /*--- Purple ---*/
  417. .ui.purple.header {
  418. color: #a333c8 !important;
  419. }
  420. a.ui.purple.header:hover {
  421. color: #9627ba !important;
  422. }
  423. .ui.purple.dividing.header {
  424. border-bottom: 2px solid #a333c8;
  425. }
  426. /* Inverted */
  427. .ui.inverted.purple.header {
  428. color: #dc73ff !important;
  429. }
  430. a.ui.inverted.purple.header:hover {
  431. color: #d65aff !important;
  432. }
  433. /*--- Pink ---*/
  434. .ui.pink.header {
  435. color: #e03997 !important;
  436. }
  437. a.ui.pink.header:hover {
  438. color: #e61a8d !important;
  439. }
  440. .ui.pink.dividing.header {
  441. border-bottom: 2px solid #e03997;
  442. }
  443. /* Inverted */
  444. .ui.inverted.pink.header {
  445. color: #ff8edf !important;
  446. }
  447. a.ui.inverted.pink.header:hover {
  448. color: #ff74d8 !important;
  449. }
  450. /*--- Brown ---*/
  451. .ui.brown.header {
  452. color: #a5673f !important;
  453. }
  454. a.ui.brown.header:hover {
  455. color: #975b33 !important;
  456. }
  457. .ui.brown.dividing.header {
  458. border-bottom: 2px solid #a5673f;
  459. }
  460. /* Inverted */
  461. .ui.inverted.brown.header {
  462. color: #d67c1c !important;
  463. }
  464. a.ui.inverted.brown.header:hover {
  465. color: #c86f11 !important;
  466. }
  467. /*--- Grey ---*/
  468. .ui.grey.header {
  469. color: #767676 !important;
  470. }
  471. a.ui.grey.header:hover {
  472. color: #838383 !important;
  473. }
  474. .ui.grey.dividing.header {
  475. border-bottom: 2px solid #767676;
  476. }
  477. /* Inverted */
  478. .ui.inverted.grey.header {
  479. color: #dcddde !important;
  480. }
  481. a.ui.inverted.grey.header:hover {
  482. color: #cfd0d2 !important;
  483. }
  484. /*-------------------
  485. Aligned
  486. --------------------*/
  487. .ui.left.aligned.header {
  488. text-align: left;
  489. }
  490. .ui.right.aligned.header {
  491. text-align: right;
  492. }
  493. .ui.centered.header,
  494. .ui.center.aligned.header {
  495. text-align: center;
  496. }
  497. .ui.justified.header {
  498. text-align: justify;
  499. }
  500. .ui.justified.header:after {
  501. display: inline-block;
  502. content: '';
  503. width: 100%;
  504. }
  505. /*-------------------
  506. Floated
  507. --------------------*/
  508. .ui.floated.header,
  509. .ui[class*="left floated"].header {
  510. float: left;
  511. margin-top: 0em;
  512. margin-right: 0.5em;
  513. }
  514. .ui[class*="right floated"].header {
  515. float: right;
  516. margin-top: 0em;
  517. margin-left: 0.5em;
  518. }
  519. /*-------------------
  520. Fittted
  521. --------------------*/
  522. .ui.fitted.header {
  523. padding: 0em;
  524. }
  525. /*-------------------
  526. Dividing
  527. --------------------*/
  528. .ui.dividing.header {
  529. padding-bottom: 0.21428571rem;
  530. border-bottom: 1px solid rgba(34, 36, 38, 0.15);
  531. }
  532. .ui.dividing.header .sub.header {
  533. padding-bottom: 0.21428571rem;
  534. }
  535. .ui.dividing.header .icon {
  536. margin-bottom: 0em;
  537. }
  538. .ui.inverted.dividing.header {
  539. border-bottom-color: rgba(255, 255, 255, 0.1);
  540. }
  541. /*-------------------
  542. Block
  543. --------------------*/
  544. .ui.block.header {
  545. background: #f3f4f5;
  546. padding: 0.71428571rem 1rem;
  547. box-shadow: none;
  548. border: 1px solid #d4d4d5;
  549. border-radius: 0.28571429rem;
  550. }
  551. .ui.tiny.block.header {
  552. font-size: 0.85714286rem;
  553. }
  554. .ui.small.block.header {
  555. font-size: 0.92857143rem;
  556. }
  557. .ui.block.header:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6) {
  558. font-size: 1rem;
  559. }
  560. .ui.large.block.header {
  561. font-size: 1.14285714rem;
  562. }
  563. .ui.huge.block.header {
  564. font-size: 1.42857143rem;
  565. }
  566. /*-------------------
  567. Attached
  568. --------------------*/
  569. .ui.attached.header {
  570. background: #ffffff;
  571. padding: 0.71428571rem 1rem;
  572. margin-left: -1px;
  573. margin-right: -1px;
  574. box-shadow: none;
  575. border: 1px solid #d4d4d5;
  576. }
  577. .ui.attached.block.header {
  578. background: #f3f4f5;
  579. }
  580. .ui.attached:not(.top):not(.bottom).header {
  581. margin-top: 0em;
  582. margin-bottom: 0em;
  583. border-top: none;
  584. border-bottom: none;
  585. border-radius: 0em;
  586. }
  587. .ui.top.attached.header {
  588. margin-bottom: 0em;
  589. border-bottom: none;
  590. border-radius: 0.28571429rem 0.28571429rem 0em 0em;
  591. }
  592. .ui.bottom.attached.header {
  593. margin-top: 0em;
  594. border-top: none;
  595. border-radius: 0em 0em 0.28571429rem 0.28571429rem;
  596. }
  597. /* Attached Sizes */
  598. .ui.tiny.attached.header {
  599. font-size: 0.85714286em;
  600. }
  601. .ui.small.attached.header {
  602. font-size: 0.92857143em;
  603. }
  604. .ui.attached.header:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6) {
  605. font-size: 1em;
  606. }
  607. .ui.large.attached.header {
  608. font-size: 1.14285714em;
  609. }
  610. .ui.huge.attached.header {
  611. font-size: 1.42857143em;
  612. }
  613. /*-------------------
  614. Sizing
  615. --------------------*/
  616. .ui.header:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6) {
  617. font-size: 1.28em;
  618. }
  619. /*******************************
  620. Theme Overrides
  621. *******************************/
  622. /*******************************
  623. Site Overrides
  624. *******************************/