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.

944 lines
19 KiB

10 years ago
  1. /*
  2. * # Semantic UI
  3. * git://github.com/Semantic-Org/Semantic-UI.git
  4. *
  5. *
  6. * Copyright 2014 Contributors
  7. * Released under the MIT license
  8. * http://opensource.org/licenses/MIT
  9. *
  10. */
  11. /*******************************
  12. Label
  13. *******************************/
  14. .ui.label {
  15. display: inline-block;
  16. vertical-align: baseline;
  17. line-height: 1;
  18. margin: 0em 0.125em;
  19. background-color: #e8e8e8;
  20. border-color: #e8e8e8;
  21. background-image: none;
  22. padding: 0.6em 0.8em;
  23. color: rgba(0, 0, 0, 0.6);
  24. text-transform: none;
  25. font-weight: bold;
  26. border-radius: 0.325em;
  27. box-sizing: border-box;
  28. -webkit-transition: background 0.1s linear
  29. ;
  30. transition: background 0.1s linear
  31. ;
  32. }
  33. .ui.label:first-child {
  34. margin-left: 0em;
  35. }
  36. .ui.label:last-child {
  37. margin-right: 0em;
  38. }
  39. /* Link */
  40. a.ui.label {
  41. cursor: pointer;
  42. }
  43. /* Inside Link */
  44. .ui.label a {
  45. cursor: pointer;
  46. color: inherit;
  47. opacity: 0.8;
  48. -webkit-transition: 0.2s opacity ease;
  49. transition: 0.2s opacity ease;
  50. }
  51. .ui.label a:hover {
  52. opacity: 1;
  53. }
  54. /* Icon */
  55. .ui.label .icon {
  56. width: auto;
  57. margin: 0em 0.75em 0em 0em;
  58. }
  59. /* Detail */
  60. .ui.label .detail {
  61. display: inline-block;
  62. vertical-align: top;
  63. font-weight: bold;
  64. margin-left: 1em;
  65. opacity: 0.8;
  66. }
  67. .ui.label .detail .icon {
  68. margin: 0em 0.25em 0em 0em;
  69. }
  70. /* Removable label */
  71. .ui.label .close.icon,
  72. .ui.label .delete.icon {
  73. cursor: pointer;
  74. margin-right: 0em;
  75. margin-left: 0.5em;
  76. opacity: 0.8;
  77. -webkit-transition: background 0.1s linear
  78. ;
  79. transition: background 0.1s linear
  80. ;
  81. }
  82. .ui.label .delete.icon:hover {
  83. opacity: 1;
  84. }
  85. /*-------------------
  86. Group
  87. --------------------*/
  88. .ui.labels .label {
  89. margin: 0em 0.5em 0.75em 0em;
  90. }
  91. /*-------------------
  92. Coupling
  93. --------------------*/
  94. /* Padding on next content after a label */
  95. .ui.top.attached.label:first-child + :not(.attached) {
  96. margin-top: 2rem !important;
  97. }
  98. .ui.bottom.attached.label:first-child ~ :last-child:not(.attached) {
  99. margin-top: 0em;
  100. margin-bottom: 2rem !important;
  101. }
  102. /*******************************
  103. Types
  104. *******************************/
  105. .ui.image.label {
  106. width: auto !important;
  107. margin-top: 0em;
  108. margin-bottom: 0em;
  109. max-width: 9999px;
  110. vertical-align: baseline;
  111. text-transform: none;
  112. background: #e8e8e8;
  113. padding: 0.6em 0.8em 0.6em 0.5em;
  114. border-radius: 0.325em;
  115. box-shadow: none;
  116. }
  117. .ui.image.label img {
  118. display: inline-block;
  119. vertical-align: top;
  120. height: 2.2em;
  121. margin: -0.6em 0.5em -0.6em -0.5em;
  122. border-radius: 0.325em;
  123. }
  124. .ui.image.label .detail {
  125. background: rgba(0, 0, 0, 0.1);
  126. margin: -0.6em -0.8em -0.6em 0.5em;
  127. padding: 0.6em 0.8em;
  128. border-radius: 0em 0.325em 0.325em 0em;
  129. }
  130. /*-------------------
  131. Tag
  132. --------------------*/
  133. .ui.tag.labels .label,
  134. .ui.tag.label {
  135. margin-left: 1em;
  136. position: relative;
  137. padding-left: 1.5em;
  138. padding-right: 1.5em;
  139. border-radius: 0em 0.325em 0.325em 0em;
  140. }
  141. .ui.tag.labels .label:before,
  142. .ui.tag.label:before {
  143. position: absolute;
  144. top: 50%;
  145. right: 100%;
  146. content: '';
  147. background-color: #e8e8e8;
  148. background-image: none;
  149. width: 1.56em;
  150. height: 1.56em;
  151. -webkit-transform: translateY(-50%) translateX(50%) rotate(-45deg);
  152. -ms-transform: translateY(-50%) translateX(50%) rotate(-45deg);
  153. transform: translateY(-50%) translateX(50%) rotate(-45deg);
  154. -webkit-transition: background 0.1s linear
  155. ;
  156. transition: background 0.1s linear
  157. ;
  158. }
  159. .ui.tag.labels .label:after,
  160. .ui.tag.label:after {
  161. position: absolute;
  162. content: '';
  163. top: 50%;
  164. left: -0.25em;
  165. margin-top: -0.25em;
  166. background-color: #ffffff !important;
  167. width: 0.5em;
  168. height: 0.5em;
  169. box-shadow: 0 -1px 1px 0 rgba(0, 0, 0, 0.3);
  170. border-radius: 500rem;
  171. }
  172. /*-------------------
  173. Corner Label
  174. --------------------*/
  175. .ui.corner.label {
  176. position: absolute;
  177. top: 0em;
  178. right: 0em;
  179. z-index: 10;
  180. margin: 0em;
  181. width: 3.25em;
  182. height: 3.25em;
  183. padding: 0em;
  184. text-align: center;
  185. -webkit-transition: color 0.2s ease;
  186. transition: color 0.2s ease;
  187. }
  188. /* Icon Label */
  189. .ui.corner.label {
  190. background-color: transparent !important;
  191. }
  192. .ui.corner.label:after {
  193. position: absolute;
  194. content: "";
  195. right: 0em;
  196. top: 0em;
  197. z-index: -1;
  198. width: 0em;
  199. height: 0em;
  200. background-color: transparent !important;
  201. border-top: 0em solid transparent;
  202. border-right: 3.25em solid transparent;
  203. border-bottom: 3.25em solid transparent;
  204. border-left: 0em solid transparent;
  205. border-right-color: inherit;
  206. -webkit-transition: border-color 0.2s ease;
  207. transition: border-color 0.2s ease;
  208. }
  209. .ui.corner.label .icon {
  210. position: relative;
  211. top: 0.4em;
  212. left: 0.75em;
  213. font-size: 1em;
  214. margin: 0em;
  215. }
  216. /* Text Label
  217. .ui.text.corner.label {
  218. font-weight: @cornerTextWeight;
  219. text-align: center;
  220. padding: 0.25em 0;
  221. top: 1.1em;
  222. transform: rotate(45deg);
  223. width: 4em;
  224. height: auto;
  225. }
  226. .ui.left.text.corner.label {
  227. transform: rotate(-45deg);
  228. }
  229. .ui.text.corner.label:before,
  230. .ui.text.corner.label:after {
  231. position: absolute;
  232. content: '';
  233. top: 0em;
  234. width: 0em;
  235. height: 0em;
  236. }
  237. .ui.text.corner.label:before {
  238. left: auto;
  239. right: 100%;
  240. border-top: 0em solid transparent;
  241. border-right-width: @ribbonTriangleSize;
  242. border-right-color: inherit;
  243. border-right-style: solid;
  244. border-bottom: @ribbonTriangleSize solid transparent;
  245. border-left: 0em solid transparent;
  246. }
  247. .ui.text.corner.label:after {
  248. left: 100%;
  249. right: auto;
  250. border-top: 0em solid transparent;
  251. border-right-width: @ribbonTriangleSize;
  252. border-right-color: inherit;
  253. border-right-style: solid;
  254. border-bottom: @ribbonTriangleSize solid transparent;
  255. border-left: 0em solid transparent;
  256. }
  257. */
  258. /* Left Corner */
  259. .ui.left.corner.label,
  260. .ui.left.corner.label:after {
  261. right: auto;
  262. left: 0em;
  263. }
  264. .ui.left.corner.label:after {
  265. border-top: 3.25em solid transparent;
  266. border-right: 3.25em solid transparent;
  267. border-bottom: 0em solid transparent;
  268. border-left: 0em solid transparent;
  269. border-top-color: inherit;
  270. }
  271. .ui.left.corner.label .icon {
  272. left: -0.75em;
  273. }
  274. /* Segment */
  275. .ui.segment > .ui.corner.label {
  276. top: -1px;
  277. right: -1px;
  278. }
  279. .ui.segment > .ui.left.corner.label {
  280. right: auto;
  281. left: -1px;
  282. }
  283. /* Input */
  284. .ui.input > .ui.corner.label {
  285. top: 1px;
  286. right: 1px;
  287. }
  288. .ui.input > .ui.right.corner.label {
  289. right: auto;
  290. left: 1px;
  291. }
  292. /*-------------------
  293. Ribbon
  294. --------------------*/
  295. .ui.ribbon.label {
  296. position: relative;
  297. margin: 0em;
  298. left: -2rem;
  299. padding-left: 2rem;
  300. border-radius: 0em 0.325em 0.325em 0em;
  301. border-color: rgba(0, 0, 0, 0.15);
  302. }
  303. .ui.ribbon.label:after {
  304. position: absolute;
  305. content: "";
  306. top: 100%;
  307. left: 0%;
  308. background-color: transparent !important;
  309. border-top: 0em solid transparent;
  310. border-right-width: 1.2em;
  311. border-right-color: inherit;
  312. border-right-style: solid;
  313. border-bottom: 1.2em solid transparent;
  314. border-left: 0em solid transparent;
  315. width: 0em;
  316. height: 0em;
  317. }
  318. /*-------------------
  319. Attached
  320. --------------------*/
  321. .ui.top.attached.label,
  322. .ui.attached.label {
  323. width: 100%;
  324. position: absolute;
  325. margin: 0em;
  326. top: 0em;
  327. left: 0em;
  328. padding: 0.75em 1em;
  329. border-radius: 0.325em 0.325em 0em 0em;
  330. }
  331. .ui.bottom.attached.label {
  332. top: auto;
  333. bottom: 0em;
  334. border-radius: 0em 0em 0.325em 0.325em;
  335. }
  336. .ui.top.left.attached.label {
  337. width: auto;
  338. margin-top: 0em !important;
  339. border-radius: 0.325em 0em 0.325em 0em;
  340. }
  341. .ui.top.right.attached.label {
  342. width: auto;
  343. left: auto;
  344. right: 0em;
  345. border-radius: 0em 0.325em 0em 0.325em;
  346. }
  347. .ui.bottom.left.attached.label {
  348. width: auto;
  349. top: auto;
  350. bottom: 0em;
  351. border-radius: 0em 0em 0.325em 0.325em;
  352. }
  353. .ui.bottom.right.attached.label {
  354. top: auto;
  355. bottom: 0em;
  356. left: auto;
  357. right: 0em;
  358. width: auto;
  359. border-radius: 0.325em 0em 0.325em 0em;
  360. }
  361. /*******************************
  362. States
  363. *******************************/
  364. /*-------------------
  365. Disabled
  366. --------------------*/
  367. .ui.label.disabled {
  368. opacity: 0.5;
  369. }
  370. /*-------------------
  371. Hover
  372. --------------------*/
  373. a.ui.labels .label:hover,
  374. a.ui.label:hover {
  375. background-color: #e0e0e0;
  376. border-color: #e0e0e0;
  377. background-image: none;
  378. color: rgba(0, 0, 0, 0.8);
  379. }
  380. .ui.labels a.label:hover:before,
  381. a.ui.label:hover:before {
  382. background-color: #e0e0e0;
  383. background-image: none;
  384. color: rgba(0, 0, 0, 0.8);
  385. }
  386. /*-------------------
  387. Visible
  388. --------------------*/
  389. .ui.labels.visible .label,
  390. .ui.label.visible {
  391. display: inline-block !important;
  392. }
  393. /*-------------------
  394. Hidden
  395. --------------------*/
  396. .ui.labels.hidden .label,
  397. .ui.label.hidden {
  398. display: none !important;
  399. }
  400. /*******************************
  401. Variations
  402. *******************************/
  403. /*-------------------
  404. Colors
  405. --------------------*/
  406. /*--- Black ---*/
  407. .ui.black.labels .label,
  408. .ui.black.label {
  409. background-color: #1b1c1d !important;
  410. border-color: #1b1c1d !important;
  411. color: #ffffff !important;
  412. }
  413. .ui.labels .black.label:before,
  414. .ui.black.labels .label:before,
  415. .ui.black.label:before {
  416. background-color: #1b1c1d !important;
  417. }
  418. a.ui.black.labels .label:hover,
  419. a.ui.black.label:hover {
  420. background-color: #222425 !important;
  421. border-color: #222425 !important;
  422. }
  423. .ui.labels a.black.label:hover:before,
  424. .ui.black.labels a.label:hover:before,
  425. a.ui.black.label:hover:before {
  426. background-color: #222425 !important;
  427. }
  428. .ui.black.corner.label,
  429. .ui.black.corner.label:hover {
  430. background-color: transparent !important;
  431. }
  432. .ui.black.ribbon.label {
  433. border-color: #020203 !important;
  434. }
  435. /*--- Blue ---*/
  436. .ui.blue.labels .label,
  437. .ui.blue.label {
  438. background-color: #3b83c0 !important;
  439. border-color: #3b83c0 !important;
  440. color: #ffffff !important;
  441. }
  442. .ui.labels .blue.label:before,
  443. .ui.blue.labels .label:before,
  444. .ui.blue.label:before {
  445. background-color: #3b83c0 !important;
  446. }
  447. a.ui.blue.labels .label:hover,
  448. .ui.blue.labels a.label:hover,
  449. a.ui.blue.label:hover {
  450. background-color: #458ac6 !important;
  451. border-color: #458ac6 !important;
  452. color: #ffffff !important;
  453. }
  454. .ui.labels a.blue.label:hover:before,
  455. .ui.blue.labels a.label:hover:before,
  456. a.ui.blue.label:hover:before {
  457. background-color: #458ac6 !important;
  458. }
  459. .ui.blue.corner.label,
  460. .ui.blue.corner.label:hover {
  461. background-color: transparent !important;
  462. }
  463. .ui.blue.ribbon.label {
  464. border-color: #2f6899 !important;
  465. }
  466. /*--- Green ---*/
  467. .ui.green.labels .label,
  468. .ui.green.label {
  469. background-color: #5bbd72 !important;
  470. border-color: #5bbd72 !important;
  471. color: #ffffff !important;
  472. }
  473. .ui.labels .green.label:before,
  474. .ui.green.labels .label:before,
  475. .ui.green.label:before {
  476. background-color: #5bbd72 !important;
  477. }
  478. a.ui.green.labels .label:hover,
  479. a.ui.green.label:hover {
  480. background-color: #66c17b !important;
  481. border-color: #66c17b !important;
  482. }
  483. .ui.labels a.green.label:hover:before,
  484. .ui.green.labels a.label:hover:before,
  485. a.ui.green.label:hover:before {
  486. background-color: #66c17b !important;
  487. }
  488. .ui.green.corner.label,
  489. .ui.green.corner.label:hover {
  490. background-color: transparent !important;
  491. }
  492. .ui.green.ribbon.label {
  493. border-color: #42a359 !important;
  494. }
  495. /*--- Orange ---*/
  496. .ui.orange.labels .label,
  497. .ui.orange.label {
  498. background-color: #e07b53 !important;
  499. border-color: #e07b53 !important;
  500. color: #ffffff !important;
  501. }
  502. .ui.labels .orange.label:before,
  503. .ui.orange.labels .label:before,
  504. .ui.orange.label:before {
  505. background-color: #e07b53 !important;
  506. }
  507. a.ui.orange.labels .label:hover,
  508. .ui.orange.labels a.label:hover,
  509. a.ui.orange.label:hover {
  510. background-color: #e28560 !important;
  511. border-color: #e28560 !important;
  512. color: #ffffff !important;
  513. }
  514. .ui.labels a.orange.label:hover:before,
  515. .ui.orange.labels a.label:hover:before,
  516. a.ui.orange.label:hover:before {
  517. background-color: #e28560 !important;
  518. }
  519. .ui.orange.corner.label,
  520. .ui.orange.corner.label:hover {
  521. background-color: transparent !important;
  522. }
  523. .ui.orange.ribbon.label {
  524. border-color: #d85a28 !important;
  525. }
  526. /*--- Pink ---*/
  527. .ui.pink.labels .label,
  528. .ui.pink.label {
  529. background-color: #d9499a !important;
  530. border-color: #d9499a !important;
  531. color: #ffffff !important;
  532. }
  533. .ui.labels .pink.label:before,
  534. .ui.pink.labels .label:before,
  535. .ui.pink.label:before {
  536. background-color: #d9499a !important;
  537. }
  538. a.ui.pink.labels .label:hover,
  539. .ui.pink.labels a.label:hover,
  540. a.ui.pink.label:hover {
  541. background-color: #dc56a1 !important;
  542. border-color: #dc56a1 !important;
  543. color: #ffffff !important;
  544. }
  545. .ui.labels a.pink.label:hover:before,
  546. .ui.pink.labels a.label:hover:before,
  547. a.ui.pink.label:hover:before {
  548. background-color: #dc56a1 !important;
  549. }
  550. .ui.pink.corner.label,
  551. .ui.pink.corner.label:hover {
  552. background-color: transparent !important;
  553. }
  554. .ui.pink.ribbon.label {
  555. border-color: #c62981 !important;
  556. }
  557. /*--- Purple ---*/
  558. .ui.purple.labels .label,
  559. .ui.purple.label {
  560. background-color: #564f8a !important;
  561. border-color: #564f8a !important;
  562. color: #ffffff !important;
  563. }
  564. .ui.labels .purple.label:before,
  565. .ui.purple.labels .label:before,
  566. .ui.purple.label:before {
  567. background-color: #564f8a !important;
  568. }
  569. a.ui.purple.labels .label:hover,
  570. .ui.purple.labels a.label:hover,
  571. a.ui.purple.label:hover {
  572. background-color: #5c5594 !important;
  573. border-color: #5c5594 !important;
  574. color: #ffffff !important;
  575. }
  576. .ui.labels a.purple.label:hover:before,
  577. .ui.purple.labels a.label:hover:before,
  578. a.ui.purple.label:hover:before {
  579. background-color: #5c5594 !important;
  580. }
  581. .ui.purple.corner.label,
  582. .ui.purple.corner.label:hover {
  583. background-color: transparent !important;
  584. }
  585. .ui.purple.ribbon.label {
  586. border-color: #423c6a !important;
  587. }
  588. /*--- Red ---*/
  589. .ui.red.labels .label,
  590. .ui.red.label {
  591. background-color: #d95c5c !important;
  592. border-color: #d95c5c !important;
  593. color: #ffffff !important;
  594. }
  595. .ui.labels .red.label:before,
  596. .ui.red.labels .label:before,
  597. .ui.red.label:before {
  598. background-color: #d95c5c !important;
  599. }
  600. .ui.red.corner.label,
  601. .ui.red.corner.label:hover {
  602. background-color: transparent !important;
  603. }
  604. a.ui.red.labels .label:hover,
  605. a.ui.red.label:hover {
  606. background-color: #dc6868 !important;
  607. border-color: #dc6868 !important;
  608. color: #ffffff !important;
  609. }
  610. .ui.labels a.red.label:hover:before,
  611. .ui.red.labels a.label:hover:before,
  612. a.ui.red.label:hover:before {
  613. background-color: #dc6868 !important;
  614. }
  615. .ui.red.ribbon.label {
  616. border-color: #cf3333 !important;
  617. }
  618. /*--- Teal ---*/
  619. .ui.teal.labels .label,
  620. .ui.teal.label {
  621. background-color: #00b5ad !important;
  622. border-color: #00b5ad !important;
  623. color: #ffffff !important;
  624. }
  625. .ui.labels .teal.label:before,
  626. .ui.teal.labels .label:before,
  627. .ui.teal.label:before {
  628. background-color: #00b5ad !important;
  629. }
  630. a.ui.teal.labels .label:hover,
  631. .ui.teal.labels a.label:hover,
  632. a.ui.teal.label:hover {
  633. background-color: #00c4bc !important;
  634. border-color: #00c4bc !important;
  635. color: #ffffff !important;
  636. }
  637. .ui.labels a.teal.label:hover:before,
  638. .ui.teal.labels a.label:hover:before,
  639. a.ui.teal.label:hover:before {
  640. background-color: #00c4bc !important;
  641. }
  642. .ui.teal.corner.label,
  643. .ui.teal.corner.label:hover {
  644. background-color: transparent !important;
  645. }
  646. .ui.teal.ribbon.label {
  647. border-color: #00827c !important;
  648. }
  649. /*--- Yellow ---*/
  650. .ui.yellow.labels .label,
  651. .ui.yellow.label {
  652. background-color: #f2c61f !important;
  653. border-color: #f2c61f !important;
  654. color: #ffffff !important;
  655. }
  656. .ui.labels .yellow.label:before,
  657. .ui.yellow.labels .label:before,
  658. .ui.yellow.label:before {
  659. background-color: #f2c61f !important;
  660. }
  661. a.ui.yellow.labels .label:hover,
  662. .ui.yellow.labels a.label:hover,
  663. a.ui.yellow.label:hover {
  664. background-color: #f3ca2d !important;
  665. border-color: #f3ca2d !important;
  666. color: #ffffff !important;
  667. }
  668. .ui.labels a.yellow.label:hover:before,
  669. .ui.yellow.labels a.label:hover:before,
  670. a.ui.yellow.label:hover:before {
  671. background-color: #f3ca2d !important;
  672. }
  673. .ui.yellow.corner.label,
  674. .ui.yellow.corner.label:hover {
  675. background-color: transparent !important;
  676. }
  677. .ui.yellow.ribbon.label {
  678. border-color: #d2a90c !important;
  679. }
  680. /*-------------------
  681. Fluid
  682. --------------------*/
  683. .ui.label.fluid,
  684. .ui.fluid.labels > .label {
  685. width: 100%;
  686. box-sizing: border-box;
  687. }
  688. /*-------------------
  689. Inverted
  690. --------------------*/
  691. .ui.inverted.labels .label,
  692. .ui.inverted.label {
  693. color: #ffffff !important;
  694. }
  695. /*-------------------
  696. Horizontal
  697. --------------------*/
  698. .ui.horizontal.labels .label,
  699. .ui.horizontal.label {
  700. margin: 0em 0.5em 0em 0em;
  701. padding: 0.4em 0.8em;
  702. min-width: 3em;
  703. text-align: center;
  704. }
  705. /*-------------------
  706. Circular
  707. --------------------*/
  708. .ui.circular.labels .label,
  709. .ui.circular.label {
  710. min-width: 2em;
  711. min-height: 2em;
  712. padding: 0.5em !important;
  713. line-height: 1em;
  714. text-align: center;
  715. border-radius: 500rem;
  716. }
  717. .ui.empty.circular.labels .label,
  718. .ui.empty.circular.label {
  719. min-width: 0em;
  720. min-height: 0em;
  721. overflow: hidden;
  722. width: 0.5em;
  723. height: 0.5em;
  724. vertical-align: baseline;
  725. }
  726. /*-------------------
  727. Pointing
  728. --------------------*/
  729. .ui.pointing.label {
  730. position: relative;
  731. }
  732. .ui.attached.pointing.label {
  733. position: absolute;
  734. }
  735. .ui.pointing.label:before {
  736. position: absolute;
  737. content: '';
  738. width: 0.6em;
  739. height: 0.6em;
  740. background-image: none;
  741. -webkit-transform: rotate(45deg);
  742. -ms-transform: rotate(45deg);
  743. transform: rotate(45deg);
  744. z-index: 2;
  745. -webkit-transition: background 0.1s linear
  746. ;
  747. transition: background 0.1s linear
  748. ;
  749. }
  750. /*--- Above ---*/
  751. .ui.pointing.label:before {
  752. background-color: #e8e8e8;
  753. background-image: none;
  754. }
  755. .ui.pointing.label,
  756. .ui.pointing.above.label {
  757. margin-top: 1em;
  758. }
  759. .ui.pointing.label:before,
  760. .ui.pointing.above.label:before {
  761. margin-left: -0.3em;
  762. top: -0.3em;
  763. left: 50%;
  764. }
  765. /*--- Below ---*/
  766. .ui.pointing.bottom.label,
  767. .ui.pointing.below.label {
  768. margin-top: 0em;
  769. margin-bottom: 1em;
  770. }
  771. .ui.pointing.bottom.label:before,
  772. .ui.pointing.below.label:before {
  773. margin-left: -0.3em;
  774. top: auto;
  775. right: auto;
  776. bottom: -0.3em;
  777. left: 50%;
  778. }
  779. /*--- Left ---*/
  780. .ui.pointing.left.label {
  781. margin-top: 0em;
  782. margin-left: 1em;
  783. }
  784. .ui.pointing.left.label:before {
  785. margin-top: -0.3em;
  786. bottom: auto;
  787. right: auto;
  788. top: 50%;
  789. left: 0em;
  790. }
  791. /*--- Right ---*/
  792. .ui.pointing.right.label {
  793. margin-top: 0em;
  794. margin-right: 1em;
  795. }
  796. .ui.pointing.right.label:before {
  797. margin-top: -0.3em;
  798. right: -0.3em;
  799. top: 50%;
  800. bottom: auto;
  801. left: auto;
  802. }
  803. /*------------------
  804. Floating Label
  805. -------------------*/
  806. .ui.floating.label {
  807. position: absolute;
  808. z-index: 100;
  809. top: -1em;
  810. left: 100%;
  811. margin: 0em 0em 0em -1.5em !important;
  812. }
  813. /*-------------------
  814. Sizes
  815. --------------------*/
  816. .ui.mini.labels .label,
  817. .ui.mini.label {
  818. font-size: 0.6428em;
  819. }
  820. .ui.tiny.labels .label,
  821. .ui.tiny.label {
  822. font-size: 0.7142em;
  823. }
  824. .ui.small.labels .label,
  825. .ui.small.label {
  826. font-size: 0.7857em;
  827. }
  828. .ui.labels .label,
  829. .ui.label {
  830. font-size: 0.8571em;
  831. }
  832. .ui.large.labels .label,
  833. .ui.large.label {
  834. font-size: 1em;
  835. }
  836. .ui.big.labels .label,
  837. .ui.big.label {
  838. font-size: 1.1428em;
  839. }
  840. .ui.huge.labels .label,
  841. .ui.huge.label {
  842. font-size: 1.2857em;
  843. }
  844. .ui.massive.labels .label,
  845. .ui.massive.label {
  846. font-size: 1.4285em;
  847. }
  848. /*******************************
  849. Theme Overrides
  850. *******************************/
  851. /*******************************
  852. Site Overrides
  853. *******************************/