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.

912 lines
19 KiB

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