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.

511 lines
11 KiB

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