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.

596 lines
10 KiB

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