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.

496 lines
11 KiB

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