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.

919 lines
19 KiB

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