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.

909 lines
17 KiB

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