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.

609 lines
11 KiB

9 years ago
9 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
  1. /*!
  2. * # Semantic UI 1.11.4 - Header
  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. Header
  13. *******************************/
  14. /* Standard */
  15. .ui.header {
  16. border: none;
  17. margin: -webkit-calc(2rem - 0.165em ) 0em 1rem;
  18. margin: calc(2rem - 0.165em ) 0em 1rem;
  19. padding: 0em 0em;
  20. font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
  21. font-weight: bold;
  22. line-height: 1.33em;
  23. text-transform: none;
  24. color: rgba(0, 0, 0, 0.8);
  25. }
  26. .ui.header:first-child {
  27. margin-top: -0.165em;
  28. }
  29. .ui.header:last-child {
  30. margin-bottom: 0em;
  31. }
  32. /*--------------
  33. Sub Heading
  34. ---------------*/
  35. .ui.sub.header {
  36. margin: 0em;
  37. padding: 0em;
  38. font-weight: bold;
  39. font-size: 0.85714286em;
  40. text-transform: uppercase;
  41. color: '';
  42. }
  43. /*--------------
  44. Sub Header
  45. ---------------*/
  46. .ui.header .sub.header {
  47. font-weight: normal;
  48. margin: 0em;
  49. padding: 0em;
  50. font-size: 1.1428rem;
  51. line-height: 1.2em;
  52. color: rgba(0, 0, 0, 0.5);
  53. }
  54. /*--------------
  55. Icon
  56. ---------------*/
  57. .ui.header > .icon {
  58. display: table-cell;
  59. opacity: 1;
  60. font-size: 1.5em;
  61. padding-top: 0.165em;
  62. vertical-align: middle;
  63. }
  64. /* With Text Node */
  65. .ui.header .icon:only-child {
  66. display: inline-block;
  67. padding: 0em;
  68. margin-right: 0.75rem;
  69. }
  70. /*-------------------
  71. Image
  72. --------------------*/
  73. .ui.header > .image,
  74. .ui.header > img {
  75. display: inline-block;
  76. margin-top: 0.165em;
  77. width: 2.5em;
  78. height: auto;
  79. vertical-align: middle;
  80. }
  81. .ui.header > .image:only-child,
  82. .ui.header > img:only-child {
  83. margin-right: 0.75rem;
  84. }
  85. /*--------------
  86. Content
  87. ---------------*/
  88. .ui.header .content {
  89. display: inline-block;
  90. vertical-align: top;
  91. }
  92. /* After Image */
  93. .ui.header > img + .content,
  94. .ui.header > .image + .content {
  95. padding-left: 0.75rem;
  96. vertical-align: middle;
  97. }
  98. /* After Icon */
  99. .ui.header > .icon + .content {
  100. padding-left: 0.75rem;
  101. display: table-cell;
  102. vertical-align: middle;
  103. }
  104. /*--------------
  105. Loose Coupling
  106. ---------------*/
  107. .ui.header .ui.label {
  108. font-size: '';
  109. margin-left: 0.5rem;
  110. vertical-align: middle;
  111. }
  112. /* Positioning */
  113. .ui.header + p {
  114. margin-top: 0em;
  115. }
  116. /*******************************
  117. Types
  118. *******************************/
  119. /*--------------
  120. Page
  121. ---------------*/
  122. h1.ui.header {
  123. font-size: 2rem;
  124. }
  125. h2.ui.header {
  126. font-size: 1.714rem;
  127. }
  128. h3.ui.header {
  129. font-size: 1.28rem;
  130. }
  131. h4.ui.header {
  132. font-size: 1.071rem;
  133. }
  134. h5.ui.header {
  135. font-size: 1rem;
  136. }
  137. /* Sub Header */
  138. h1.ui.header .sub.header {
  139. font-size: 1.4285rem;
  140. }
  141. h2.ui.header .sub.header {
  142. font-size: 1.1428rem;
  143. }
  144. h3.ui.header .sub.header {
  145. font-size: 1.1428rem;
  146. }
  147. h4.ui.header .sub.header {
  148. font-size: 1rem;
  149. }
  150. h5.ui.header .sub.header {
  151. font-size: 0.9285rem;
  152. }
  153. /*--------------
  154. Content Heading
  155. ---------------*/
  156. .ui.huge.header {
  157. min-height: 1em;
  158. font-size: 2em;
  159. }
  160. .ui.large.header {
  161. font-size: 1.714em;
  162. }
  163. .ui.medium.header {
  164. font-size: 1.28em;
  165. }
  166. .ui.small.header {
  167. font-size: 1.071em;
  168. }
  169. .ui.tiny.header {
  170. font-size: 1em;
  171. }
  172. /* Sub Header */
  173. .ui.huge.header .sub.header {
  174. font-size: 1.4285rem;
  175. }
  176. .ui.large.header .sub.header {
  177. font-size: 1.4285rem;
  178. }
  179. .ui.header .sub.header {
  180. font-size: 1.1428rem;
  181. }
  182. .ui.small.header .sub.header {
  183. font-size: 1rem;
  184. }
  185. .ui.tiny.header .sub.header {
  186. font-size: 0.9285rem;
  187. }
  188. /*-------------------
  189. Icon
  190. --------------------*/
  191. .ui.icon.header {
  192. display: inline-block;
  193. text-align: center;
  194. margin: 2rem 0em 1rem;
  195. }
  196. .ui.icon.header:after {
  197. content: '';
  198. display: block;
  199. height: 0px;
  200. clear: both;
  201. visibility: hidden;
  202. }
  203. .ui.icon.header:first-child {
  204. margin-top: 0em;
  205. }
  206. .ui.icon.header .icon {
  207. float: none;
  208. display: block;
  209. width: auto;
  210. height: auto;
  211. padding: 0em;
  212. font-size: 3em;
  213. margin: 0em auto 0.25rem;
  214. opacity: 1;
  215. }
  216. .ui.icon.header .content {
  217. display: block;
  218. }
  219. .ui.icon.header .circular.icon {
  220. font-size: 2em;
  221. }
  222. .ui.icon.header .square.icon {
  223. font-size: 2em;
  224. }
  225. .ui.block.icon.header .icon {
  226. margin-bottom: 0em;
  227. }
  228. .ui.icon.header.aligned {
  229. margin-left: auto;
  230. margin-right: auto;
  231. display: block;
  232. }
  233. /*******************************
  234. States
  235. *******************************/
  236. .ui.disabled.header {
  237. opacity: 0.3;
  238. }
  239. /*******************************
  240. Variations
  241. *******************************/
  242. /*-------------------
  243. Colors
  244. --------------------*/
  245. .ui.black.header {
  246. color: #1b1c1d !important;
  247. }
  248. a.ui.black.header:hover {
  249. color: #1b1c1d !important;
  250. }
  251. .ui.blue.header {
  252. color: #3b83c0 !important;
  253. }
  254. a.ui.blue.header:hover {
  255. color: #458ac6 !important;
  256. }
  257. .ui.green.header {
  258. color: #5bbd72 !important;
  259. }
  260. a.ui.green.header:hover {
  261. color: #66c17b !important;
  262. }
  263. .ui.orange.header {
  264. color: #e07b53 !important;
  265. }
  266. a.ui.orange.header:hover {
  267. color: #e28560 !important;
  268. }
  269. .ui.pink.header {
  270. color: #d9499a !important;
  271. }
  272. a.ui.pink.header:hover {
  273. color: #dc56a1 !important;
  274. }
  275. .ui.purple.header {
  276. color: #564f8a !important;
  277. }
  278. a.ui.purple.header:hover {
  279. color: #5c5594 !important;
  280. }
  281. .ui.red.header {
  282. color: #d95c5c !important;
  283. }
  284. a.ui.red.header:hover {
  285. color: #dc6868 !important;
  286. }
  287. .ui.teal.header {
  288. color: #00b5ad !important;
  289. }
  290. a.ui.teal.header:hover {
  291. color: #00c4bc !important;
  292. }
  293. .ui.yellow.header {
  294. color: #f2c61f !important;
  295. }
  296. a.ui.yellow.header:hover {
  297. color: #f3ca2d !important;
  298. }
  299. .ui.black.dividing.header {
  300. border-bottom: 2px solid #1b1c1d;
  301. }
  302. .ui.blue.dividing.header {
  303. border-bottom: 2px solid #3b83c0;
  304. }
  305. .ui.green.dividing.header {
  306. border-bottom: 2px solid #5bbd72;
  307. }
  308. .ui.orange.dividing.header {
  309. border-bottom: 2px solid #e07b53;
  310. }
  311. .ui.pink.dividing.header {
  312. border-bottom: 2px solid #d9499a;
  313. }
  314. .ui.purple.dividing.header {
  315. border-bottom: 2px solid #564f8a;
  316. }
  317. .ui.red.dividing.header {
  318. border-bottom: 2px solid #d95c5c;
  319. }
  320. .ui.teal.dividing.header {
  321. border-bottom: 2px solid #00b5ad;
  322. }
  323. .ui.yellow.dividing.header {
  324. border-bottom: 2px solid #f2c61f;
  325. }
  326. /*-------------------
  327. Inverted
  328. --------------------*/
  329. .ui.inverted.header {
  330. color: #ffffff;
  331. }
  332. .ui.inverted.header .sub.header {
  333. color: rgba(255, 255, 255, 0.85);
  334. }
  335. .ui.inverted.attached.header {
  336. background: #333333 -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.05));
  337. background: #333333 linear-gradient(transparent, rgba(0, 0, 0, 0.05));
  338. box-shadow: none;
  339. }
  340. .ui.inverted.block.header {
  341. background: #333333 -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.05));
  342. background: #333333 linear-gradient(transparent, rgba(0, 0, 0, 0.05));
  343. box-shadow: none;
  344. }
  345. /*-------------------
  346. Inverted Colors
  347. --------------------*/
  348. .ui.inverted.black.header {
  349. color: #aaaaaa !important;
  350. }
  351. a.ui.inverted.black.header:hover {
  352. color: #b2b2b2 !important;
  353. }
  354. .ui.inverted.blue.header {
  355. color: #54c8ff !important;
  356. }
  357. a.ui.inverted.blue.header:hover {
  358. color: #63cdff !important;
  359. }
  360. .ui.inverted.green.header {
  361. color: #2ecc40 !important;
  362. }
  363. a.ui.inverted.green.header:hover {
  364. color: #37d249 !important;
  365. }
  366. .ui.inverted.orange.header {
  367. color: #ff851b !important;
  368. }
  369. a.ui.inverted.orange.header:hover {
  370. color: #ff8d2a !important;
  371. }
  372. .ui.inverted.pink.header {
  373. color: #ff8edf !important;
  374. }
  375. a.ui.inverted.pink.header:hover {
  376. color: #ff9de3 !important;
  377. }
  378. .ui.inverted.purple.header {
  379. color: #cdc6ff !important;
  380. }
  381. a.ui.inverted.purple.header:hover {
  382. color: #dad5ff !important;
  383. }
  384. .ui.inverted.red.header {
  385. color: #ff695e !important;
  386. }
  387. a.ui.inverted.red.header:hover {
  388. color: #ff776d !important;
  389. }
  390. .ui.inverted.teal.header {
  391. color: #6dffff !important;
  392. }
  393. a.ui.inverted.teal.header:hover {
  394. color: #7cffff !important;
  395. }
  396. .ui.inverted.yellow.header {
  397. color: #ffe21f !important;
  398. }
  399. a.ui.inverted.yellow.header:hover {
  400. color: #ffe42e !important;
  401. }
  402. .ui.inverted.block.header {
  403. border-bottom: none;
  404. }
  405. /*-------------------
  406. Aligned
  407. --------------------*/
  408. .ui.left.aligned.header {
  409. text-align: left;
  410. }
  411. .ui.right.aligned.header {
  412. text-align: right;
  413. }
  414. .ui.centered.header,
  415. .ui.center.aligned.header {
  416. text-align: center;
  417. }
  418. .ui.justified.header {
  419. text-align: justify;
  420. }
  421. .ui.justified.header:after {
  422. display: inline-block;
  423. content: '';
  424. width: 100%;
  425. }
  426. /*-------------------
  427. Floated
  428. --------------------*/
  429. .ui.floated.header,
  430. .ui[class*="left floated"].header {
  431. float: left;
  432. margin-top: 0em;
  433. margin-right: 0.5em;
  434. }
  435. .ui[class*="right floated"].header {
  436. float: right;
  437. margin-top: 0em;
  438. margin-left: 0.5em;
  439. }
  440. /*-------------------
  441. Fittted
  442. --------------------*/
  443. .ui.fitted.header {
  444. padding: 0em;
  445. }
  446. /*-------------------
  447. Dividing
  448. --------------------*/
  449. .ui.dividing.header {
  450. padding-bottom: 0.25rem;
  451. border-bottom: 1px solid rgba(34, 36, 38, 0.15);
  452. }
  453. .ui.dividing.header .sub.header {
  454. padding-bottom: 0.25rem;
  455. }
  456. .ui.dividing.header .icon {
  457. margin-bottom: 0em;
  458. }
  459. .ui.inverted.dividing.header {
  460. border-bottom-color: rgba(255, 255, 255, 0.1);
  461. }
  462. /*-------------------
  463. Block
  464. --------------------*/
  465. .ui.block.header {
  466. background: #f0f0f0;
  467. padding: 0.75rem 1rem;
  468. box-shadow: none;
  469. border: 1px solid #d4d4d5;
  470. border-radius: 0.3125rem;
  471. }
  472. .ui.tiny.block.header {
  473. font-size: 1em;
  474. }
  475. .ui.small.block.header {
  476. font-size: 1.071em;
  477. }
  478. .ui.block.header:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6) {
  479. font-size: 1.28em;
  480. }
  481. .ui.large.block.header {
  482. font-size: 1.714em;
  483. }
  484. .ui.huge.block.header {
  485. font-size: 2em;
  486. }
  487. /*-------------------
  488. Attached
  489. --------------------*/
  490. .ui.attached.header {
  491. background: #ffffff;
  492. padding: 0.75rem 1rem;
  493. margin-left: -1px;
  494. margin-right: -1px;
  495. box-shadow: none;
  496. border: 1px solid #d4d4d5;
  497. }
  498. .ui.attached.block.header {
  499. background: #f0f0f0;
  500. }
  501. .ui.attached:not(.top):not(.bottom).header {
  502. margin-top: 0em;
  503. margin-bottom: 0em;
  504. border-top: none;
  505. border-bottom: none;
  506. border-radius: 0em;
  507. }
  508. .ui.top.attached.header {
  509. margin-bottom: 0em;
  510. border-bottom: none;
  511. border-radius: 0.3125rem 0.3125rem 0em 0em;
  512. }
  513. .ui.bottom.attached.header {
  514. margin-top: 0em;
  515. border-top: none;
  516. border-radius: 0em 0em 0.3125rem 0.3125rem;
  517. }
  518. /* Attached Sizes */
  519. .ui.tiny.attached.header {
  520. font-size: 0.8571em;
  521. }
  522. .ui.small.attached.header {
  523. font-size: 0.9285em;
  524. }
  525. .ui.attached.header:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6) {
  526. font-size: 1em;
  527. }
  528. .ui.large.attached.header {
  529. font-size: 1.0714em;
  530. }
  531. .ui.huge.attached.header {
  532. font-size: 1.1428em;
  533. }
  534. /*-------------------
  535. Sizing
  536. --------------------*/
  537. .ui.header:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6) {
  538. font-size: 1.28em;
  539. }
  540. /*******************************
  541. Theme Overrides
  542. *******************************/
  543. /*******************************
  544. Site Overrides
  545. *******************************/