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.

943 lines
19 KiB

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