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.

508 lines
11 KiB

10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
11 years ago
10 years ago
  1. /*
  2. * # Semantic - Header
  3. * http://github.com/semantic-org/semantic-ui/
  4. *
  5. *
  6. * Copyright 2013 Contributors
  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 Variables
  41. *******************************/
  42. /*-------------------
  43. Paths
  44. --------------------*/
  45. /*-------------------
  46. Page
  47. --------------------*/
  48. /*-------------------
  49. Grid
  50. --------------------*/
  51. /*-------------------
  52. Breakpoints
  53. --------------------*/
  54. /*-------------------
  55. Fonts
  56. --------------------*/
  57. /*-------------------
  58. Icons
  59. --------------------*/
  60. /* Max Width of Icon */
  61. /*-------------------
  62. Easing
  63. --------------------*/
  64. /*******************************
  65. BG Colors
  66. *******************************/
  67. /*******************************
  68. Colors
  69. *******************************/
  70. /*--- Colors ---*/
  71. /*--- Neutrals ---*/
  72. /*--- Text Colors ---*/
  73. /* Preserve */
  74. /* Adjust for Legibility */
  75. /*--- Backgrounds ---*/
  76. /*-------------------
  77. Emotive Colors
  78. --------------------*/
  79. /* Positive / Negative */
  80. /* Messages */
  81. /*-------------------
  82. Text Colors
  83. --------------------*/
  84. /*-------------------
  85. Brand Colors
  86. --------------------*/
  87. /*-------------------
  88. Borders
  89. --------------------*/
  90. /*-------------------
  91. Sizes
  92. --------------------*/
  93. /*-------------------
  94. Transitions
  95. --------------------*/
  96. /*******************************
  97. States
  98. *******************************/
  99. /*-------------------
  100. Disabled
  101. --------------------*/
  102. /*-------------------
  103. Hover
  104. --------------------*/
  105. /*--- Colors ---*/
  106. /*--- Emotive ---*/
  107. /*--- Neutrals ---*/
  108. /*-------------------
  109. Down (:active)
  110. --------------------*/
  111. /*--- Colors ---*/
  112. /*--- Emotive ---*/
  113. /*--- Neutrals ---*/
  114. /*-------------------
  115. Active
  116. --------------------*/
  117. /*--- Standard ---*/
  118. /*--- Emotive ---*/
  119. /*--- Neutrals ---*/
  120. /*******************************
  121. Header
  122. *******************************/
  123. /*-------------------
  124. Element
  125. --------------------*/
  126. /* HTML Headings */
  127. /* Sizing */
  128. /* Sub Header */
  129. /* Icon */
  130. /* Content */
  131. /* Paragraph after Header */
  132. /*-------------------
  133. Variations
  134. --------------------*/
  135. /* Icon Header */
  136. /* Inverted */
  137. /* Divided */
  138. /* Block */
  139. /* Attached */
  140. /* Floated */
  141. /*------------------
  142. Load Theme
  143. -------------------*/
  144. /*------------------
  145. Load Site
  146. -------------------*/
  147. /*******************************
  148. User Global Variables
  149. *******************************/
  150. /*******************************
  151. User Variable Overrides
  152. *******************************/
  153. /*------------------
  154. Override Mix-in
  155. -------------------*/
  156. /*******************************
  157. Header
  158. *******************************/
  159. /* Standard */
  160. .ui.header {
  161. border: none;
  162. font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
  163. margin: 1em 0em 1rem;
  164. padding: 0em 0em;
  165. font-weight: bold;
  166. line-height: 1.33em;
  167. text-transform: none;
  168. color: rgba(0, 0, 0, 0.8);
  169. }
  170. .ui.header .sub.header {
  171. font-size: 1rem;
  172. font-weight: normal;
  173. margin: 0em;
  174. padding: 0em;
  175. line-height: 1.2em;
  176. color: rgba(0, 0, 0, 0.5);
  177. }
  178. /* Icon and Content Together */
  179. .ui.header > .icon {
  180. display: table-cell;
  181. font-size: 1em;
  182. padding-top: 0.165em;
  183. vertical-align: middle;
  184. padding-right: 0.5em;
  185. }
  186. .ui.header > .icon + .content {
  187. padding-left: 0.5em;
  188. display: table-cell;
  189. }
  190. /* Only One */
  191. .ui.header .icon:only-child {
  192. display: inline-block;
  193. padding: 0em;
  194. vertical-align: middle;
  195. }
  196. .ui.header .content {
  197. display: inline-block;
  198. vertical-align: top;
  199. }
  200. /* Positioning */
  201. .ui.header:first-child {
  202. margin-top: 0em;
  203. }
  204. .ui.header:last-child {
  205. margin-bottom: 0em;
  206. }
  207. .ui.header + p {
  208. margin-top: 0em;
  209. }
  210. /*--------------
  211. Page Heading
  212. ---------------*/
  213. h1.ui.header {
  214. min-height: 1rem;
  215. font-size: 2rem;
  216. }
  217. h2.ui.header {
  218. font-size: 1.75rem;
  219. }
  220. h3.ui.header {
  221. font-size: 1.33rem;
  222. }
  223. h4.ui.header {
  224. font-size: 1.1rem;
  225. }
  226. h5.ui.header {
  227. font-size: 1rem;
  228. }
  229. /*--------------
  230. Content Heading
  231. ---------------*/
  232. .ui.tiny.header {
  233. font-size: 1em;
  234. }
  235. .ui.small.header {
  236. font-size: 1.1em;
  237. }
  238. .ui.medium.header {
  239. font-size: 1.33em;
  240. }
  241. .ui.large.header {
  242. font-size: 1.75em;
  243. }
  244. .ui.huge.header {
  245. min-height: 1em;
  246. font-size: 2em;
  247. }
  248. /*--------------
  249. Loose Coupling
  250. ---------------*/
  251. .ui.header .ui.label {
  252. vertical-align: middle;
  253. }
  254. /*******************************
  255. Types
  256. *******************************/
  257. /*-------------------
  258. Icon
  259. --------------------*/
  260. .ui.icon.header {
  261. display: inline-block;
  262. text-align: center;
  263. }
  264. .ui.icon.header .icon {
  265. float: none;
  266. display: block;
  267. font-size: 3em;
  268. margin: 0em auto 0.2em;
  269. opacity: 1;
  270. padding: 0em;
  271. }
  272. .ui.icon.header .content {
  273. display: block;
  274. }
  275. .ui.icon.header .circular.icon {
  276. font-size: 2em;
  277. }
  278. .ui.icon.header .square.icon {
  279. font-size: 2em;
  280. }
  281. .ui.block.icon.header .icon {
  282. margin-bottom: 0em;
  283. }
  284. .ui.icon.header.aligned {
  285. margin-left: auto;
  286. margin-right: auto;
  287. display: block;
  288. }
  289. /*******************************
  290. States
  291. *******************************/
  292. .ui.disabled.header {
  293. opacity: 0.3;
  294. }
  295. /*******************************
  296. Variations
  297. *******************************/
  298. /*-------------------
  299. Colors
  300. --------------------*/
  301. .ui.black.header {
  302. color: #333333 !important;
  303. }
  304. .ui.blue.header {
  305. color: #0074d9 !important;
  306. }
  307. .ui.green.header {
  308. color: #2ecc40 !important;
  309. }
  310. .ui.orange.header {
  311. color: #ff851b !important;
  312. }
  313. .ui.pink.header {
  314. color: #d9499a !important;
  315. }
  316. .ui.purple.header {
  317. color: #564f8a !important;
  318. }
  319. .ui.red.header {
  320. color: #ff4136 !important;
  321. }
  322. .ui.teal.header {
  323. color: #39cccc !important;
  324. }
  325. .ui.yellow.header {
  326. color: #ffcb08 !important;
  327. }
  328. .ui.black.dividing.header {
  329. border-bottom: 3px solid #333333;
  330. }
  331. .ui.blue.dividing.header {
  332. border-bottom: 3px solid #0074d9;
  333. }
  334. .ui.green.dividing.header {
  335. border-bottom: 3px solid #2ecc40;
  336. }
  337. .ui.orange.dividing.header {
  338. border-bottom: 3px solid #ff851b;
  339. }
  340. .ui.pink.dividing.header {
  341. border-bottom: 3px solid #d9499a;
  342. }
  343. .ui.purple.dividing.header {
  344. border-bottom: 3px solid #564f8a;
  345. }
  346. .ui.red.dividing.header {
  347. border-bottom: 3px solid #ff4136;
  348. }
  349. .ui.teal.dividing.header {
  350. border-bottom: 3px solid #39cccc;
  351. }
  352. .ui.yellow.dividing.header {
  353. border-bottom: 3px solid #ffcb08;
  354. }
  355. /*-------------------
  356. Inverted
  357. --------------------*/
  358. .ui.inverted.header {
  359. color: #ffffff;
  360. }
  361. .ui.inverted.header .sub.header {
  362. color: rgba(255, 255, 255, 0.85);
  363. }
  364. /*-------------------
  365. Inverted Colors
  366. --------------------*/
  367. .ui.inverted.black.header {
  368. background-color: #333333 !important;
  369. color: #ffffff !important;
  370. }
  371. .ui.inverted.blue.header {
  372. background-color: #0074d9 !important;
  373. color: #ffffff !important;
  374. }
  375. .ui.inverted.green.header {
  376. background-color: #2ecc40 !important;
  377. color: #ffffff !important;
  378. }
  379. .ui.inverted.orange.header {
  380. background-color: #ff851b !important;
  381. color: #ffffff !important;
  382. }
  383. .ui.inverted.pink.header {
  384. background-color: #d9499a !important;
  385. color: #ffffff !important;
  386. }
  387. .ui.inverted.purple.header {
  388. background-color: #564f8a !important;
  389. color: #ffffff !important;
  390. }
  391. .ui.inverted.red.header {
  392. background-color: #ff4136 !important;
  393. color: #ffffff !important;
  394. }
  395. .ui.inverted.teal.header {
  396. background-color: #39cccc !important;
  397. color: #ffffff !important;
  398. }
  399. .ui.inverted.yellow.header {
  400. background-color: #ffcb08 !important;
  401. color: #ffffff !important;
  402. }
  403. .ui.inverted.block.header {
  404. border-bottom: none;
  405. }
  406. /*-------------------
  407. Aligned
  408. --------------------*/
  409. .ui.left.aligned.header {
  410. text-align: left;
  411. }
  412. .ui.right.aligned.header {
  413. text-align: right;
  414. }
  415. .ui.centered.header,
  416. .ui.center.aligned.header {
  417. text-align: center;
  418. }
  419. .ui.justified.header {
  420. text-align: justify;
  421. }
  422. .ui.justified.header:after {
  423. display: inline-block;
  424. content: '';
  425. width: 100%;
  426. }
  427. /*-------------------
  428. Floated
  429. --------------------*/
  430. .ui.floated.header,
  431. .ui.left.floated.header {
  432. float: left;
  433. margin-top: 0em;
  434. margin-right: 0.5em;
  435. }
  436. .ui.right.floated.header {
  437. float: right;
  438. margin-top: 0em;
  439. margin-left: 0.5em;
  440. }
  441. /*-------------------
  442. Fittted
  443. --------------------*/
  444. .ui.fitted.header {
  445. padding: 0em;
  446. }
  447. /*-------------------
  448. Dividing
  449. --------------------*/
  450. .ui.dividing.header {
  451. padding-bottom: 0.2rem;
  452. border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  453. }
  454. .ui.dividing.header .sub.header {
  455. padding-bottom: 0.5rem;
  456. }
  457. .ui.dividing.header .icon {
  458. margin-bottom: 0.2em;
  459. }
  460. /*-------------------
  461. Block
  462. --------------------*/
  463. .ui.block.header {
  464. background: rgba(0, 0, 0, 0.05);
  465. padding: 0.5em 1em;
  466. }
  467. /*-------------------
  468. Attached
  469. --------------------*/
  470. .ui.attached.header {
  471. background: #f0f0f0;
  472. margin: 0em;
  473. padding: 0.75rem 0.75rem;
  474. -webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
  475. box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
  476. }
  477. .ui.attached:not(.top, .bottom) {
  478. margin: 0em;
  479. }
  480. .ui.top.attached.header {
  481. margin-bottom: 0em;
  482. border-radius: 0.3125em 0.3125em 0em 0em;
  483. }
  484. .ui.bottom.attached.header {
  485. margin-top: 0em;
  486. border-radius: 0em 0em 0.3125em 0.3125em;
  487. }
  488. /*-------------------
  489. Sizing
  490. --------------------*/
  491. .ui.header {
  492. font-size: 1.33em;
  493. }
  494. /*******************************
  495. Overrides
  496. *******************************/
  497. /*******************************
  498. Overrides
  499. *******************************/