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.

506 lines
9.0 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
  1. /*
  2. * # Semantic UI
  3. * https://github.com/Semantic-Org/Semantic-UI
  4. * http://beta.semantic-ui.com/
  5. *
  6. * Copyright 2014 Contributors
  7. * Released under the MIT license
  8. * http://opensource.org/licenses/MIT
  9. *
  10. */
  11. /*******************************
  12. Header
  13. *******************************/
  14. /* Standard */
  15. .ui.header {
  16. border: none;
  17. margin: -webkit-calc(2rem - 0.165em ) 0em 1rem;
  18. margin: calc(2rem - 0.165em ) 0em 1rem;
  19. padding: 0em 0em;
  20. font-weight: bold;
  21. line-height: 1.33em;
  22. text-transform: none;
  23. color: rgba(0, 0, 0, 0.8);
  24. }
  25. .ui.header .sub.header {
  26. font-size: 1.0714rem;
  27. font-weight: normal;
  28. margin: 0em;
  29. padding: 0em;
  30. line-height: 1.2em;
  31. color: rgba(0, 0, 0, 0.5);
  32. }
  33. /* Icon and Content Together */
  34. .ui.header > .icon {
  35. display: table-cell;
  36. opacity: 1;
  37. font-size: 1.5em;
  38. padding-top: 0.165em;
  39. vertical-align: middle;
  40. padding-right: 0.5rem;
  41. }
  42. .ui.header > .icon + .content {
  43. padding-left: 0.5rem;
  44. display: table-cell;
  45. }
  46. /* Only One */
  47. .ui.header .icon:only-child {
  48. display: inline-block;
  49. padding: 0em;
  50. margin-right: 0.5rem;
  51. vertical-align: baseline;
  52. }
  53. .ui.header .content {
  54. display: inline-block;
  55. vertical-align: top;
  56. }
  57. .ui.header .icon + .content {
  58. vertical-align: middle;
  59. }
  60. /* Positioning */
  61. .ui.header:first-child {
  62. margin-top: -0.165em;
  63. }
  64. .ui.header:last-child {
  65. margin-bottom: 0em;
  66. }
  67. .ui.header + p {
  68. margin-top: 0em;
  69. }
  70. /*--------------
  71. Content Heading
  72. ---------------*/
  73. .ui.tiny.header {
  74. font-size: 1em;
  75. }
  76. .ui.small.header {
  77. font-size: 1.071em;
  78. }
  79. .ui.medium.header {
  80. font-size: 1.285em;
  81. }
  82. .ui.large.header {
  83. font-size: 1.714em;
  84. }
  85. .ui.huge.header {
  86. min-height: 1em;
  87. font-size: 2em;
  88. }
  89. /*--------------
  90. Loose Coupling
  91. ---------------*/
  92. .ui.header .ui.label {
  93. margin: 0em 0em 0em 0.5rem;
  94. vertical-align: middle;
  95. }
  96. /*******************************
  97. Types
  98. *******************************/
  99. /*-------------------
  100. Icon
  101. --------------------*/
  102. .ui.icon.header {
  103. display: inline-block;
  104. text-align: center;
  105. margin: 2rem 0em 1rem;
  106. }
  107. .ui.icon.header:after {
  108. content: '';
  109. display: block;
  110. height: 0px;
  111. clear: both;
  112. visibility: hidden;
  113. }
  114. .ui.icon.header:first-child {
  115. margin-top: 0em;
  116. }
  117. .ui.icon.header .icon {
  118. float: none;
  119. display: block;
  120. width: auto;
  121. height: auto;
  122. padding: 0em;
  123. font-size: 3em;
  124. margin: 0em auto 0.25rem;
  125. opacity: 1;
  126. }
  127. .ui.icon.header .content {
  128. display: block;
  129. }
  130. .ui.icon.header .circular.icon {
  131. font-size: 2em;
  132. }
  133. .ui.icon.header .square.icon {
  134. font-size: 2em;
  135. }
  136. .ui.block.icon.header .icon {
  137. margin-bottom: 0em;
  138. }
  139. .ui.icon.header.aligned {
  140. margin-left: auto;
  141. margin-right: auto;
  142. display: block;
  143. }
  144. /*******************************
  145. States
  146. *******************************/
  147. .ui.disabled.header {
  148. opacity: 0.3;
  149. }
  150. /*******************************
  151. Variations
  152. *******************************/
  153. /*-------------------
  154. Colors
  155. --------------------*/
  156. .ui.black.header {
  157. color: #1b1c1d !important;
  158. }
  159. a.ui.black.header:hover {
  160. color: #1b1c1d !important;
  161. }
  162. .ui.blue.header {
  163. color: #3b83c0 !important;
  164. }
  165. a.ui.blue.header:hover {
  166. color: #458ac6 !important;
  167. }
  168. .ui.green.header {
  169. color: #5bbd72 !important;
  170. }
  171. a.ui.green.header:hover {
  172. color: #66c17b !important;
  173. }
  174. .ui.orange.header {
  175. color: #e07b53 !important;
  176. }
  177. a.ui.orange.header:hover {
  178. color: #e28560 !important;
  179. }
  180. .ui.pink.header {
  181. color: #d9499a !important;
  182. }
  183. a.ui.pink.header:hover {
  184. color: #dc56a1 !important;
  185. }
  186. .ui.purple.header {
  187. color: #564f8a !important;
  188. }
  189. a.ui.purple.header:hover {
  190. color: #5c5594 !important;
  191. }
  192. .ui.red.header {
  193. color: #d95c5c !important;
  194. }
  195. a.ui.red.header:hover {
  196. color: #dc6868 !important;
  197. }
  198. .ui.teal.header {
  199. color: #00b5ad !important;
  200. }
  201. a.ui.teal.header:hover {
  202. color: #00c4bc !important;
  203. }
  204. .ui.yellow.header {
  205. color: #f2c61f !important;
  206. }
  207. a.ui.yellow.header:hover {
  208. color: #f3ca2d !important;
  209. }
  210. .ui.black.dividing.header {
  211. border-bottom: 2px solid #1b1c1d;
  212. }
  213. .ui.blue.dividing.header {
  214. border-bottom: 2px solid #3b83c0;
  215. }
  216. .ui.green.dividing.header {
  217. border-bottom: 2px solid #5bbd72;
  218. }
  219. .ui.orange.dividing.header {
  220. border-bottom: 2px solid #e07b53;
  221. }
  222. .ui.pink.dividing.header {
  223. border-bottom: 2px solid #d9499a;
  224. }
  225. .ui.purple.dividing.header {
  226. border-bottom: 2px solid #564f8a;
  227. }
  228. .ui.red.dividing.header {
  229. border-bottom: 2px solid #d95c5c;
  230. }
  231. .ui.teal.dividing.header {
  232. border-bottom: 2px solid #00b5ad;
  233. }
  234. .ui.yellow.dividing.header {
  235. border-bottom: 2px solid #f2c61f;
  236. }
  237. /*-------------------
  238. Inverted
  239. --------------------*/
  240. .ui.inverted.header {
  241. color: #ffffff;
  242. }
  243. .ui.inverted.header .sub.header {
  244. color: rgba(255, 255, 255, 0.85);
  245. }
  246. .ui.inverted.attached.header {
  247. background: #333333 -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.05));
  248. background: #333333 linear-gradient(transparent, rgba(0, 0, 0, 0.05));
  249. box-shadow: none;
  250. }
  251. .ui.inverted.block.header {
  252. background: #333333 -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.05));
  253. background: #333333 linear-gradient(transparent, rgba(0, 0, 0, 0.05));
  254. box-shadow: none;
  255. }
  256. /*-------------------
  257. Inverted Colors
  258. --------------------*/
  259. .ui.inverted.black.header {
  260. color: #aaaaaa !important;
  261. }
  262. a.ui.inverted.black.header:hover {
  263. color: #b2b2b2 !important;
  264. }
  265. .ui.inverted.blue.header {
  266. color: #54c8ff !important;
  267. }
  268. a.ui.inverted.blue.header:hover {
  269. color: #63cdff !important;
  270. }
  271. .ui.inverted.green.header {
  272. color: #2ecc40 !important;
  273. }
  274. a.ui.inverted.green.header:hover {
  275. color: #37d249 !important;
  276. }
  277. .ui.inverted.orange.header {
  278. color: #ff851b !important;
  279. }
  280. a.ui.inverted.orange.header:hover {
  281. color: #ff8d2a !important;
  282. }
  283. .ui.inverted.pink.header {
  284. color: #ff8edf !important;
  285. }
  286. a.ui.inverted.pink.header:hover {
  287. color: #ff9de3 !important;
  288. }
  289. .ui.inverted.purple.header {
  290. color: #cdc6ff !important;
  291. }
  292. a.ui.inverted.purple.header:hover {
  293. color: #dad5ff !important;
  294. }
  295. .ui.inverted.red.header {
  296. color: #ff695e !important;
  297. }
  298. a.ui.inverted.red.header:hover {
  299. color: #ff776d !important;
  300. }
  301. .ui.inverted.teal.header {
  302. color: #6dffff !important;
  303. }
  304. a.ui.inverted.teal.header:hover {
  305. color: #7cffff !important;
  306. }
  307. .ui.inverted.yellow.header {
  308. color: #ffe21f !important;
  309. }
  310. a.ui.inverted.yellow.header:hover {
  311. color: #ffe42e !important;
  312. }
  313. .ui.inverted.block.header {
  314. border-bottom: none;
  315. }
  316. /*-------------------
  317. Aligned
  318. --------------------*/
  319. .ui.left.aligned.header {
  320. text-align: left;
  321. }
  322. .ui.right.aligned.header {
  323. text-align: right;
  324. }
  325. .ui.centered.header,
  326. .ui.center.aligned.header {
  327. text-align: center;
  328. }
  329. .ui.justified.header {
  330. text-align: justify;
  331. }
  332. .ui.justified.header:after {
  333. display: inline-block;
  334. content: '';
  335. width: 100%;
  336. }
  337. /*-------------------
  338. Floated
  339. --------------------*/
  340. .ui.floated.header,
  341. .ui.left.floated.header {
  342. float: left;
  343. margin-top: 0em;
  344. margin-right: 0.5em;
  345. }
  346. .ui.right.floated.header {
  347. float: right;
  348. margin-top: 0em;
  349. margin-left: 0.5em;
  350. }
  351. /*-------------------
  352. Fittted
  353. --------------------*/
  354. .ui.fitted.header {
  355. padding: 0em;
  356. }
  357. /*-------------------
  358. Dividing
  359. --------------------*/
  360. .ui.dividing.header {
  361. padding-bottom: 0.25rem;
  362. border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  363. }
  364. .ui.dividing.header .sub.header {
  365. padding-bottom: 0.25rem;
  366. }
  367. .ui.dividing.header .icon {
  368. margin-bottom: 0em;
  369. }
  370. .ui.inverted.dividing.header {
  371. border-bottom-color: rgba(255, 255, 255, 0.2);
  372. }
  373. /*-------------------
  374. Block
  375. --------------------*/
  376. .ui.block.header {
  377. background: #f0f0f0;
  378. padding: 0.75rem 1rem;
  379. box-shadow: none;
  380. border: 1px solid #d4d4d5;
  381. border-radius: 0.3125rem;
  382. }
  383. .ui.tiny.block.header {
  384. font-size: 1em;
  385. }
  386. .ui.small.block.header {
  387. font-size: 1.071em;
  388. }
  389. .ui.block.header:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6) {
  390. font-size: 1.285em;
  391. }
  392. .ui.large.block.header {
  393. font-size: 1.714em;
  394. }
  395. .ui.huge.block.header {
  396. font-size: 2em;
  397. }
  398. /*-------------------
  399. Attached
  400. --------------------*/
  401. .ui.attached.header {
  402. background: #ffffff;
  403. padding: 0.75rem 1rem;
  404. margin-left: -1px;
  405. margin-right: -1px;
  406. box-shadow: none;
  407. border: 1px solid #d4d4d5;
  408. }
  409. .ui.attached.block.header {
  410. background: #f0f0f0;
  411. }
  412. .ui.attached:not(.top):not(.bottom).header {
  413. margin-top: 0em;
  414. margin-bottom: 0em;
  415. border-top: none;
  416. border-bottom: none;
  417. border-radius: 0em;
  418. }
  419. .ui.top.attached.header {
  420. margin-bottom: 0em;
  421. border-bottom: none;
  422. border-radius: 0.3125rem 0.3125rem 0em 0em;
  423. }
  424. .ui.bottom.attached.header {
  425. margin-top: 0em;
  426. border-top: none;
  427. border-radius: 0em 0em 0.3125rem 0.3125rem;
  428. }
  429. /* Attached Sizes */
  430. .ui.tiny.attached.header {
  431. font-size: 0.8571em;
  432. }
  433. .ui.small.attached.header {
  434. font-size: 0.9285em;
  435. }
  436. .ui.attached.header:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6) {
  437. font-size: 1em;
  438. }
  439. .ui.large.attached.header {
  440. font-size: 1.0714em;
  441. }
  442. .ui.huge.attached.header {
  443. font-size: 1.1428em;
  444. }
  445. /*-------------------
  446. Sizing
  447. --------------------*/
  448. .ui.header:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6) {
  449. font-size: 1.285em;
  450. }
  451. /*******************************
  452. Theme Overrides
  453. *******************************/
  454. /*******************************
  455. Site Overrides
  456. *******************************/