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.

555 lines
12 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
  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. /*-------------------
  53. Page
  54. --------------------*/
  55. /*-------------------
  56. Background Colors
  57. --------------------*/
  58. /* Used for differentiating neutrals */
  59. /* Used for differentiating layers */
  60. /*-------------------
  61. Grid
  62. --------------------*/
  63. /*-------------------
  64. Breakpoints
  65. --------------------*/
  66. /*******************************
  67. Power-User
  68. *******************************/
  69. /*-------------------
  70. Icons
  71. --------------------*/
  72. /* Max Width of Icon */
  73. /*-------------------
  74. Easing
  75. --------------------*/
  76. /*--- Light Variations ---*/
  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. /* Content */
  141. /* Paragraph after Header */
  142. /*-------------------
  143. Variations
  144. --------------------*/
  145. /* Icon Header */
  146. /* Inverted */
  147. /* Divided */
  148. /* Block */
  149. /* Attached */
  150. /* Floated */
  151. /*------------------
  152. Load Theme
  153. -------------------*/
  154. /*------------------
  155. Load Site
  156. -------------------*/
  157. /*******************************
  158. User Global Variables
  159. *******************************/
  160. /*******************************
  161. User Variable Overrides
  162. *******************************/
  163. /*------------------
  164. Override Mix-in
  165. -------------------*/
  166. /*******************************
  167. Header
  168. *******************************/
  169. /* Standard */
  170. .ui.header {
  171. border: none;
  172. font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif;
  173. margin: 1em 0em 1rem;
  174. padding: 0em 0em;
  175. font-weight: bold;
  176. line-height: 1.33em;
  177. text-transform: none;
  178. color: rgba(0, 0, 0, 0.8);
  179. }
  180. .ui.header .sub.header {
  181. font-size: 1rem;
  182. font-weight: normal;
  183. margin: 0em;
  184. padding: 0em;
  185. line-height: 1.2em;
  186. color: rgba(0, 0, 0, 0.5);
  187. }
  188. /* Icon and Content Together */
  189. .ui.header > .icon {
  190. display: table-cell;
  191. font-size: 1em;
  192. padding-top: 0.165em;
  193. vertical-align: middle;
  194. padding-right: 0.5em;
  195. }
  196. .ui.header > .icon + .content {
  197. padding-left: 0.5em;
  198. display: table-cell;
  199. }
  200. /* Only One */
  201. .ui.header .icon:only-child {
  202. display: inline-block;
  203. padding: 0em;
  204. margin-right: 0.5em;
  205. vertical-align: baseline;
  206. }
  207. .ui.header .content {
  208. display: inline-block;
  209. vertical-align: top;
  210. }
  211. /* Positioning */
  212. .ui.header:first-child {
  213. margin-top: 0em;
  214. }
  215. .ui.header:last-child {
  216. margin-bottom: 0em;
  217. }
  218. .ui.header + p {
  219. margin-top: 0em;
  220. }
  221. /*--------------
  222. Page Heading
  223. ---------------*/
  224. h1.ui.header {
  225. min-height: 1rem;
  226. font-size: 2rem;
  227. }
  228. h2.ui.header {
  229. font-size: 1.5rem;
  230. }
  231. h3.ui.header {
  232. font-size: 1.3rem;
  233. }
  234. h4.ui.header {
  235. font-size: 1.1rem;
  236. }
  237. h5.ui.header {
  238. font-size: 1rem;
  239. }
  240. /*--------------
  241. Content Heading
  242. ---------------*/
  243. .ui.tiny.header {
  244. font-size: 1em;
  245. }
  246. .ui.small.header {
  247. font-size: 1.1em;
  248. }
  249. .ui.medium.header {
  250. font-size: 1.3em;
  251. }
  252. .ui.large.header {
  253. font-size: 1.5em;
  254. }
  255. .ui.huge.header {
  256. min-height: 1em;
  257. font-size: 2em;
  258. }
  259. /*--------------
  260. Loose Coupling
  261. ---------------*/
  262. .ui.header .ui.label {
  263. vertical-align: middle;
  264. }
  265. /*******************************
  266. Types
  267. *******************************/
  268. /*-------------------
  269. Icon
  270. --------------------*/
  271. .ui.icon.header {
  272. display: inline-block;
  273. text-align: center;
  274. }
  275. .ui.icon.header .icon {
  276. float: none;
  277. display: block;
  278. font-size: 3em;
  279. margin: 0em auto 0.2em;
  280. opacity: 1;
  281. padding: 0em;
  282. }
  283. .ui.icon.header .content {
  284. display: block;
  285. }
  286. .ui.icon.header .circular.icon {
  287. font-size: 2em;
  288. }
  289. .ui.icon.header .square.icon {
  290. font-size: 2em;
  291. }
  292. .ui.block.icon.header .icon {
  293. margin-bottom: 0em;
  294. }
  295. .ui.icon.header.aligned {
  296. margin-left: auto;
  297. margin-right: auto;
  298. display: block;
  299. }
  300. /*******************************
  301. States
  302. *******************************/
  303. .ui.disabled.header {
  304. opacity: 0.3;
  305. }
  306. /*******************************
  307. Variations
  308. *******************************/
  309. /*-------------------
  310. Colors
  311. --------------------*/
  312. .ui.black.header {
  313. color: #191919 !important;
  314. }
  315. .ui.blue.header {
  316. color: #0074d9 !important;
  317. }
  318. .ui.green.header {
  319. color: #2ecc40 !important;
  320. }
  321. .ui.orange.header {
  322. color: #ff851b !important;
  323. }
  324. .ui.pink.header {
  325. color: #d9499a !important;
  326. }
  327. .ui.purple.header {
  328. color: #a24096 !important;
  329. }
  330. .ui.red.header {
  331. color: #ff4136 !important;
  332. }
  333. .ui.teal.header {
  334. color: #39cccc !important;
  335. }
  336. .ui.yellow.header {
  337. color: #ffcb08 !important;
  338. }
  339. .ui.black.dividing.header {
  340. border-bottom: 3px solid #191919;
  341. }
  342. .ui.blue.dividing.header {
  343. border-bottom: 3px solid #0074d9;
  344. }
  345. .ui.green.dividing.header {
  346. border-bottom: 3px solid #2ecc40;
  347. }
  348. .ui.orange.dividing.header {
  349. border-bottom: 3px solid #ff851b;
  350. }
  351. .ui.pink.dividing.header {
  352. border-bottom: 3px solid #d9499a;
  353. }
  354. .ui.purple.dividing.header {
  355. border-bottom: 3px solid #a24096;
  356. }
  357. .ui.red.dividing.header {
  358. border-bottom: 3px solid #ff4136;
  359. }
  360. .ui.teal.dividing.header {
  361. border-bottom: 3px solid #39cccc;
  362. }
  363. .ui.yellow.dividing.header {
  364. border-bottom: 3px solid #ffcb08;
  365. }
  366. /*-------------------
  367. Inverted
  368. --------------------*/
  369. .ui.inverted.header {
  370. color: #ffffff;
  371. }
  372. .ui.inverted.header .sub.header {
  373. color: rgba(255, 255, 255, 0.85);
  374. }
  375. /*-------------------
  376. Inverted Colors
  377. --------------------*/
  378. .ui.inverted.black.header {
  379. color: #aaaaaa !important;
  380. }
  381. .ui.inverted.blue.header {
  382. color: #54c8ff !important;
  383. }
  384. .ui.inverted.green.header {
  385. color: #2ecc40 !important;
  386. }
  387. .ui.inverted.orange.header {
  388. color: #ff851b !important;
  389. }
  390. .ui.inverted.pink.header {
  391. color: #ff8edf !important;
  392. }
  393. .ui.inverted.purple.header {
  394. color: #cdc6ff !important;
  395. }
  396. .ui.inverted.red.header {
  397. color: #ff695e !important;
  398. }
  399. .ui.inverted.teal.header {
  400. color: #6dffff !important;
  401. }
  402. .ui.inverted.yellow.header {
  403. color: #ffe21f !important;
  404. }
  405. .ui.inverted.block.header {
  406. border-bottom: none;
  407. }
  408. /*-------------------
  409. Aligned
  410. --------------------*/
  411. .ui.left.aligned.header {
  412. text-align: left;
  413. }
  414. .ui.right.aligned.header {
  415. text-align: right;
  416. }
  417. .ui.centered.header,
  418. .ui.center.aligned.header {
  419. text-align: center;
  420. }
  421. .ui.justified.header {
  422. text-align: justify;
  423. }
  424. .ui.justified.header:after {
  425. display: inline-block;
  426. content: '';
  427. width: 100%;
  428. }
  429. /*-------------------
  430. Floated
  431. --------------------*/
  432. .ui.floated.header,
  433. .ui.left.floated.header {
  434. float: left;
  435. margin-top: 0em;
  436. margin-right: 0.5em;
  437. }
  438. .ui.right.floated.header {
  439. float: right;
  440. margin-top: 0em;
  441. margin-left: 0.5em;
  442. }
  443. /*-------------------
  444. Fittted
  445. --------------------*/
  446. .ui.fitted.header {
  447. padding: 0em;
  448. }
  449. /*-------------------
  450. Dividing
  451. --------------------*/
  452. .ui.dividing.header {
  453. padding-bottom: 0.2rem;
  454. border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  455. }
  456. .ui.dividing.header .sub.header {
  457. padding-bottom: 0.5rem;
  458. }
  459. .ui.dividing.header .icon {
  460. margin-bottom: 0.2em;
  461. }
  462. .ui.inverted.dividing.header {
  463. border-bottom-color: rgba(255, 255, 255, 0.2);
  464. }
  465. /*-------------------
  466. Block
  467. --------------------*/
  468. .ui.block.header {
  469. background: #f0f0f0 -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.05));
  470. background: #f0f0f0 linear-gradient(transparent, rgba(0, 0, 0, 0.05));
  471. padding: 0.5em 1em;
  472. box-shadow: 0px 2px 1px 0 rgba(0, 0, 0, 0.05);
  473. border: 1px solid #dddddd;
  474. border-radius: 0.3125rem;
  475. }
  476. .ui.tiny.block.header {
  477. font-size: 0.875em;
  478. }
  479. .ui.small.block.header {
  480. font-size: 0.9em;
  481. }
  482. .ui.block.header {
  483. font-size: 1em;
  484. }
  485. .ui.large.block.header {
  486. font-size: 1.1em;
  487. }
  488. .ui.huge.block.header {
  489. font-size: 1.25em;
  490. }
  491. /*-------------------
  492. Attached
  493. --------------------*/
  494. .ui.attached.header {
  495. background: #f0f0f0 -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.05));
  496. background: #f0f0f0 linear-gradient(transparent, rgba(0, 0, 0, 0.05));
  497. margin: 0em;
  498. padding: 0.5em 1em;
  499. box-shadow: 0px 0px 0px 1px #dddddd;
  500. border: none;
  501. margin-left: 0px;
  502. margin-right: 0px;
  503. }
  504. .ui.attached:not(.top):not(.bottom) {
  505. margin-top: 0em;
  506. margin-bottom: 0em;
  507. border-top: none;
  508. border-bottom: none;
  509. }
  510. .ui.top.attached.header {
  511. margin-bottom: 0em;
  512. border-bottom: none;
  513. border-radius: 0.3125rem 0.3125rem 0em 0em;
  514. }
  515. .ui.bottom.attached.header {
  516. margin-top: 0em;
  517. border-top: none;
  518. border-radius: 0em 0em 0.3125rem 0.3125rem;
  519. }
  520. .ui.tiny.attached.header {
  521. font-size: 0.875em;
  522. }
  523. .ui.small.attached.header {
  524. font-size: 0.9em;
  525. }
  526. .ui.attached.header {
  527. font-size: 1em;
  528. }
  529. .ui.large.attached.header {
  530. font-size: 1.1em;
  531. }
  532. .ui.huge.attached.header {
  533. font-size: 1.25em;
  534. }
  535. /*-------------------
  536. Sizing
  537. --------------------*/
  538. .ui.header {
  539. font-size: 1.3em;
  540. }
  541. /*******************************
  542. Overrides
  543. *******************************/
  544. /*******************************
  545. Overrides
  546. *******************************/