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.

623 lines
14 KiB

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 - Header
  3. * http://github.com/semantic-org/semantic-ui/
  4. *
  5. *
  6. * Copyright 2014 Contributor
  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 Settings
  41. *******************************/
  42. /*-------------------
  43. Paths
  44. --------------------*/
  45. /*-------------------
  46. Fonts
  47. --------------------*/
  48. /*-------------------
  49. Site Colors
  50. --------------------*/
  51. /*--- Colors ---*/
  52. /*--- Light Colors ---*/
  53. /*-------------------
  54. Page
  55. --------------------*/
  56. /*-------------------
  57. Background Colors
  58. --------------------*/
  59. /* Used for differentiating neutrals */
  60. /* Used for differentiating layers */
  61. /*-------------------
  62. Grid
  63. --------------------*/
  64. /*-------------------
  65. Breakpoints
  66. --------------------*/
  67. /*******************************
  68. Power-User
  69. *******************************/
  70. /*-------------------
  71. Icons
  72. --------------------*/
  73. /* Max Width of Icon */
  74. /*-------------------
  75. Easing
  76. --------------------*/
  77. /*--- Neutrals ---*/
  78. /*--- Colored Backgrounds ---*/
  79. /*--- Colored Text ---*/
  80. /*--- Colored Headers ---*/
  81. /*-------------------
  82. Emotive Colors
  83. --------------------*/
  84. /* Mood */
  85. /* Solid Background Color */
  86. /* Status */
  87. /* Darkened Headers */
  88. /*-------------------
  89. Neutral Text
  90. --------------------*/
  91. /*-------------------
  92. Brand Colors
  93. --------------------*/
  94. /*-------------------
  95. Grid Columns
  96. --------------------*/
  97. /*-------------------
  98. Borders
  99. --------------------*/
  100. /*-------------------
  101. Sizes
  102. --------------------*/
  103. /*-------------------
  104. Transitions
  105. --------------------*/
  106. /*******************************
  107. States
  108. *******************************/
  109. /*-------------------
  110. Disabled
  111. --------------------*/
  112. /*-------------------
  113. Hover
  114. --------------------*/
  115. /*--- Colors ---*/
  116. /*--- Emotive ---*/
  117. /*--- Neutrals ---*/
  118. /*-------------------
  119. Down (:active)
  120. --------------------*/
  121. /*--- Colors ---*/
  122. /*--- Emotive ---*/
  123. /*--- Neutrals ---*/
  124. /*-------------------
  125. Active
  126. --------------------*/
  127. /*--- Standard ---*/
  128. /*--- Emotive ---*/
  129. /*--- Neutrals ---*/
  130. /*******************************
  131. Header
  132. *******************************/
  133. /*-------------------
  134. Element
  135. --------------------*/
  136. /* HTML Headings */
  137. /* Sizing */
  138. /* Sub Header */
  139. /* Icon */
  140. /* Label */
  141. /* Content */
  142. /* Paragraph after Header */
  143. /*-------------------
  144. Variations
  145. --------------------*/
  146. /* Icon Header */
  147. /* Divided */
  148. /* Block */
  149. /* Divided */
  150. /* Attached */
  151. /* Inverted */
  152. /* Floated */
  153. /*------------------
  154. Load Theme
  155. -------------------*/
  156. /*------------------
  157. Load Site
  158. -------------------*/
  159. /*******************************
  160. User Global Variables
  161. *******************************/
  162. /*******************************
  163. User Variable Overrides
  164. *******************************/
  165. /*------------------
  166. Override Mix-in
  167. -------------------*/
  168. /*******************************
  169. Header
  170. *******************************/
  171. /* Standard */
  172. .ui.header {
  173. border: none;
  174. font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
  175. margin: 1em 0em 1rem;
  176. padding: 0em 0em;
  177. font-weight: bold;
  178. line-height: 1.33em;
  179. text-transform: none;
  180. color: rgba(0, 0, 0, 0.8);
  181. }
  182. .ui.header .sub.header {
  183. font-size: 1rem;
  184. font-weight: normal;
  185. margin: 0em;
  186. padding: 0em;
  187. line-height: 1.2em;
  188. color: rgba(0, 0, 0, 0.5);
  189. }
  190. /* Icon and Content Together */
  191. .ui.header > .icon {
  192. display: table-cell;
  193. font-size: 1em;
  194. padding-top: 0.165em;
  195. vertical-align: middle;
  196. padding-right: 0.5em;
  197. }
  198. .ui.header > .icon + .content {
  199. padding-left: 0.5em;
  200. display: table-cell;
  201. }
  202. /* Only One */
  203. .ui.header .icon:only-child {
  204. display: inline-block;
  205. padding: 0em;
  206. margin-right: 0.5em;
  207. vertical-align: baseline;
  208. }
  209. .ui.header .content {
  210. display: inline-block;
  211. vertical-align: top;
  212. }
  213. /* Positioning */
  214. .ui.header:first-child {
  215. margin-top: 0em;
  216. }
  217. .ui.header:last-child {
  218. margin-bottom: 0em;
  219. }
  220. .ui.header + p {
  221. margin-top: 0em;
  222. }
  223. /*--------------
  224. Page Heading
  225. ---------------*/
  226. h1.ui.header {
  227. min-height: 1rem;
  228. font-size: 2rem;
  229. }
  230. h2.ui.header {
  231. font-size: 1.5rem;
  232. }
  233. h3.ui.header {
  234. font-size: 1.3rem;
  235. }
  236. h4.ui.header {
  237. font-size: 1.1rem;
  238. }
  239. h5.ui.header {
  240. font-size: 1rem;
  241. }
  242. /*--------------
  243. Content Heading
  244. ---------------*/
  245. .ui.tiny.header {
  246. font-size: 1em;
  247. }
  248. .ui.small.header {
  249. font-size: 1.1em;
  250. }
  251. .ui.medium.header {
  252. font-size: 1.3em;
  253. }
  254. .ui.large.header {
  255. font-size: 1.5em;
  256. }
  257. .ui.huge.header {
  258. min-height: 1em;
  259. font-size: 2em;
  260. }
  261. /*--------------
  262. Loose Coupling
  263. ---------------*/
  264. .ui.header .ui.label {
  265. margin: 0em 0em 0em 0.5rem;
  266. vertical-align: middle;
  267. }
  268. /*******************************
  269. Types
  270. *******************************/
  271. /*-------------------
  272. Icon
  273. --------------------*/
  274. .ui.icon.header {
  275. display: inline-block;
  276. text-align: center;
  277. }
  278. .ui.icon.header .icon {
  279. float: none;
  280. display: block;
  281. font-size: 3em;
  282. margin: 0em auto 0.2em;
  283. opacity: 1;
  284. padding: 0em;
  285. }
  286. .ui.icon.header .content {
  287. display: block;
  288. }
  289. .ui.icon.header .circular.icon {
  290. font-size: 2em;
  291. }
  292. .ui.icon.header .square.icon {
  293. font-size: 2em;
  294. }
  295. .ui.block.icon.header .icon {
  296. margin-bottom: 0em;
  297. }
  298. .ui.icon.header.aligned {
  299. margin-left: auto;
  300. margin-right: auto;
  301. display: block;
  302. }
  303. /*******************************
  304. States
  305. *******************************/
  306. .ui.disabled.header {
  307. opacity: 0.3;
  308. }
  309. /*******************************
  310. Variations
  311. *******************************/
  312. /*-------------------
  313. Colors
  314. --------------------*/
  315. .ui.black.header {
  316. color: #191919 !important;
  317. }
  318. a.ui.black.header:hover {
  319. color: #2b2b2b !important;
  320. }
  321. .ui.blue.header {
  322. color: #0066c0 !important;
  323. }
  324. a.ui.blue.header:hover {
  325. color: #0087fd !important;
  326. }
  327. .ui.green.header {
  328. color: #1aa62a !important;
  329. }
  330. a.ui.green.header:hover {
  331. color: #48d658 !important;
  332. }
  333. .ui.orange.header {
  334. color: #ff7701 !important;
  335. }
  336. a.ui.orange.header:hover {
  337. color: #ff983f !important;
  338. }
  339. .ui.pink.header {
  340. color: #d5348e !important;
  341. }
  342. a.ui.pink.header:hover {
  343. color: #df67aa !important;
  344. }
  345. .ui.purple.header {
  346. color: #903985 !important;
  347. }
  348. a.ui.purple.header:hover {
  349. color: #b94dac !important;
  350. }
  351. .ui.red.header {
  352. color: #ff291c !important;
  353. }
  354. a.ui.red.header:hover {
  355. color: #ff635a !important;
  356. }
  357. .ui.teal.header {
  358. color: #0e8c8c !important;
  359. }
  360. a.ui.teal.header:hover {
  361. color: #55d3d3 !important;
  362. }
  363. .ui.yellow.header {
  364. color: #9c6f04 !important;
  365. }
  366. a.ui.yellow.header:hover {
  367. color: #ffd32c !important;
  368. }
  369. .ui.black.dividing.header {
  370. border-bottom: 2px solid #191919;
  371. }
  372. .ui.blue.dividing.header {
  373. border-bottom: 2px solid #0066c0;
  374. }
  375. .ui.green.dividing.header {
  376. border-bottom: 2px solid #1aa62a;
  377. }
  378. .ui.orange.dividing.header {
  379. border-bottom: 2px solid #ff7701;
  380. }
  381. .ui.pink.dividing.header {
  382. border-bottom: 2px solid #d5348e;
  383. }
  384. .ui.purple.dividing.header {
  385. border-bottom: 2px solid #903985;
  386. }
  387. .ui.red.dividing.header {
  388. border-bottom: 2px solid #ff291c;
  389. }
  390. .ui.teal.dividing.header {
  391. border-bottom: 2px solid #0e8c8c;
  392. }
  393. .ui.yellow.dividing.header {
  394. border-bottom: 2px solid #9c6f04;
  395. }
  396. /*-------------------
  397. Inverted
  398. --------------------*/
  399. .ui.inverted.header {
  400. color: #ffffff;
  401. }
  402. .ui.inverted.header .sub.header {
  403. color: rgba(255, 255, 255, 0.85);
  404. }
  405. .ui.inverted.attached.header {
  406. background: #333333 -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.05));
  407. background: #333333 linear-gradient(transparent, rgba(0, 0, 0, 0.05));
  408. box-shadow: none;
  409. }
  410. .ui.inverted.block.header {
  411. background: #333333 -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.05));
  412. background: #333333 linear-gradient(transparent, rgba(0, 0, 0, 0.05));
  413. box-shadow: none;
  414. }
  415. /*-------------------
  416. Inverted Colors
  417. --------------------*/
  418. .ui.inverted.black.header {
  419. color: #aaaaaa !important;
  420. }
  421. a.ui.inverted.black.header:hover {
  422. color: #bcbcbc !important;
  423. }
  424. .ui.inverted.blue.header {
  425. color: #54c8ff !important;
  426. }
  427. a.ui.inverted.blue.header:hover {
  428. color: #78d3ff !important;
  429. }
  430. .ui.inverted.green.header {
  431. color: #2ecc40 !important;
  432. }
  433. a.ui.inverted.green.header:hover {
  434. color: #48d658 !important;
  435. }
  436. .ui.inverted.orange.header {
  437. color: #ff851b !important;
  438. }
  439. a.ui.inverted.orange.header:hover {
  440. color: #ff983f !important;
  441. }
  442. .ui.inverted.pink.header {
  443. color: #ff8edf !important;
  444. }
  445. a.ui.inverted.pink.header:hover {
  446. color: #ffb2e9 !important;
  447. }
  448. .ui.inverted.purple.header {
  449. color: #cdc6ff !important;
  450. }
  451. a.ui.inverted.purple.header:hover {
  452. color: #eceaff !important;
  453. }
  454. .ui.inverted.red.header {
  455. color: #ff695e !important;
  456. }
  457. a.ui.inverted.red.header:hover {
  458. color: #ff8a82 !important;
  459. }
  460. .ui.inverted.teal.header {
  461. color: #6dffff !important;
  462. }
  463. a.ui.inverted.teal.header:hover {
  464. color: #91ffff !important;
  465. }
  466. .ui.inverted.yellow.header {
  467. color: #ffe21f !important;
  468. }
  469. a.ui.inverted.yellow.header:hover {
  470. color: #ffe743 !important;
  471. }
  472. .ui.inverted.block.header {
  473. border-bottom: none;
  474. }
  475. /*-------------------
  476. Aligned
  477. --------------------*/
  478. .ui.left.aligned.header {
  479. text-align: left;
  480. }
  481. .ui.right.aligned.header {
  482. text-align: right;
  483. }
  484. .ui.centered.header,
  485. .ui.center.aligned.header {
  486. text-align: center;
  487. }
  488. .ui.justified.header {
  489. text-align: justify;
  490. }
  491. .ui.justified.header:after {
  492. display: inline-block;
  493. content: '';
  494. width: 100%;
  495. }
  496. /*-------------------
  497. Floated
  498. --------------------*/
  499. .ui.floated.header,
  500. .ui.left.floated.header {
  501. float: left;
  502. margin-top: 0em;
  503. margin-right: 0.5em;
  504. }
  505. .ui.right.floated.header {
  506. float: right;
  507. margin-top: 0em;
  508. margin-left: 0.5em;
  509. }
  510. /*-------------------
  511. Fittted
  512. --------------------*/
  513. .ui.fitted.header {
  514. padding: 0em;
  515. }
  516. /*-------------------
  517. Dividing
  518. --------------------*/
  519. .ui.dividing.header {
  520. padding-bottom: 0.2rem;
  521. border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  522. }
  523. .ui.dividing.header .sub.header {
  524. padding-bottom: 0.5rem;
  525. }
  526. .ui.dividing.header .icon {
  527. margin-bottom: 0.2em;
  528. }
  529. .ui.inverted.dividing.header {
  530. border-bottom-color: rgba(255, 255, 255, 0.2);
  531. }
  532. /*-------------------
  533. Block
  534. --------------------*/
  535. .ui.block.header {
  536. background: #fafafa -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.05));
  537. background: #fafafa linear-gradient(transparent, rgba(0, 0, 0, 0.05));
  538. padding: 0.75rem 1rem;
  539. box-shadow: 0px 1px 2px 0 rgba(0, 0, 0, 0.05);
  540. border: 1px solid #dddddd;
  541. border-radius: 0.3125rem;
  542. }
  543. .ui.tiny.block.header {
  544. font-size: 0.9em;
  545. }
  546. .ui.small.block.header {
  547. font-size: 1em;
  548. }
  549. .ui.block.header {
  550. font-size: 1.1em;
  551. }
  552. .ui.large.block.header {
  553. font-size: 1.2em;
  554. }
  555. .ui.huge.block.header {
  556. font-size: 1.33em;
  557. }
  558. /*-------------------
  559. Attached
  560. --------------------*/
  561. .ui.attached.header {
  562. background: #fafafa -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.05));
  563. background: #fafafa linear-gradient(transparent, rgba(0, 0, 0, 0.05));
  564. margin: 0em;
  565. padding: 0.75rem 1rem;
  566. box-shadow: 0px 0px 0px 1px #dddddd;
  567. border: none;
  568. margin-left: 0px;
  569. margin-right: 0px;
  570. }
  571. .ui.attached:not(.top):not(.bottom).header {
  572. margin-top: 0em;
  573. margin-bottom: 0em;
  574. border-top: none;
  575. border-bottom: none;
  576. }
  577. .ui.top.attached.header {
  578. margin-bottom: 0em;
  579. border-bottom: none;
  580. border-radius: 0.3125rem 0.3125rem 0em 0em;
  581. }
  582. .ui.bottom.attached.header {
  583. margin-top: 0em;
  584. border-top: none;
  585. border-radius: 0em 0em 0.3125rem 0.3125rem;
  586. }
  587. /* Attached Sizes */
  588. .ui.tiny.attached.header {
  589. font-size: 0.9em;
  590. }
  591. .ui.small.attached.header {
  592. font-size: 1em;
  593. }
  594. .ui.attached.header {
  595. font-size: 1.1em;
  596. }
  597. .ui.large.attached.header {
  598. font-size: 1.2em;
  599. }
  600. .ui.huge.attached.header {
  601. font-size: 1.33em;
  602. }
  603. /*-------------------
  604. Sizing
  605. --------------------*/
  606. .ui.header {
  607. font-size: 1.3em;
  608. }
  609. /*******************************
  610. Overrides
  611. *******************************/
  612. /*******************************
  613. Overrides
  614. *******************************/