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.

692 lines
13 KiB

  1. .ui.label {
  2. display: inline-block;
  3. vertical-align: middle;
  4. margin: -.25em .25em 0;
  5. background-color: #E8E8E8;
  6. border-color: #E8E8E8;
  7. padding: .5em .8em;
  8. color: rgba(0,0,0,.65);
  9. text-transform: uppercase;
  10. font-weight: 400;
  11. border-radius: .325em;
  12. -webkit-box-sizing: border-box;
  13. -moz-box-sizing: border-box;
  14. -ms-box-sizing: border-box;
  15. box-sizing: border-box;
  16. -webkit-transition: background .1s linear;
  17. transition: background .1s linear;
  18. }
  19. .ui.label:first-child {
  20. margin-right: 0;
  21. }
  22. .ui.label:last-child {
  23. margin-left: 0;
  24. }
  25. a.ui.label {
  26. cursor: pointer;
  27. }
  28. .ui.label a {
  29. cursor: pointer;
  30. color: inherit;
  31. opacity: .8;
  32. -webkit-transition: .2s opacity ease;
  33. transition: .2s opacity ease;
  34. }
  35. .ui.label a:hover {
  36. opacity: 1;
  37. }
  38. .ui.label .detail {
  39. display: inline-block;
  40. margin-right: .5em;
  41. font-weight: 700;
  42. opacity: .8;
  43. }
  44. .ui.label .icon {
  45. width: auto;
  46. }
  47. .ui.label .delete.icon {
  48. cursor: pointer;
  49. margin: 0 .5em 0 0;
  50. opacity: .7;
  51. -webkit-transition: background .1s linear;
  52. transition: background .1s linear;
  53. }
  54. .ui.label .delete.icon:hover {
  55. opacity: .99;
  56. }
  57. .ui.segment>.attached.label:first-child+* {
  58. margin-top: 2.5em;
  59. }
  60. .ui.segment>.bottom.attached.label:first-child~:last-child {
  61. margin-top: 0;
  62. margin-bottom: 2.5em;
  63. }
  64. .ui.image.label {
  65. width: auto!important;
  66. margin-top: 0;
  67. margin-bottom: 0;
  68. padding-top: .4em;
  69. padding-bottom: .4em;
  70. line-height: 1.5em;
  71. vertical-align: baseline;
  72. text-transform: none;
  73. -webkit-box-shadow: 0 0 0 1px rgba(0,0,0,.1) inset;
  74. box-shadow: 0 0 0 1px rgba(0,0,0,.1) inset;
  75. }
  76. .ui.image.label img {
  77. display: inline-block;
  78. height: 2.25em;
  79. margin: -.4em -.8em -.4em .8em;
  80. vertical-align: top;
  81. border-radius: 0 .325em .325em 0;
  82. }
  83. .ui.label.disabled {
  84. opacity: .5;
  85. }
  86. a.ui.labels .label:hover,
  87. a.ui.label:hover {
  88. background-color: #E0E0E0;
  89. border-color: #E0E0E0;
  90. color: rgba(0,0,0,.7);
  91. }
  92. .ui.labels a.label:hover:before,
  93. a.ui.label:hover:before {
  94. background-color: #E0E0E0;
  95. color: rgba(0,0,0,.7);
  96. }
  97. .ui.labels.visible .label,
  98. .ui.label.visible {
  99. display: inline-block!important;
  100. }
  101. .ui.labels.hidden .label,
  102. .ui.label.hidden {
  103. display: none!important;
  104. }
  105. .ui.tag.labels .label,
  106. .ui.tag.label {
  107. margin-right: 1em;
  108. position: relative;
  109. padding: .33em 1.4em .33em 1.3em;
  110. border-radius: 3px 0 0 3px;
  111. }
  112. .ui.tag.labels .label:before,
  113. .ui.tag.label:before {
  114. position: absolute;
  115. top: .3em;
  116. right: .3em;
  117. content: '';
  118. margin-right: -1em;
  119. background-image: none;
  120. width: 1.5em;
  121. height: 1.5em;
  122. -webkit-transform: rotate(45deg);
  123. -ms-transform: rotate(45deg);
  124. transform: rotate(45deg);
  125. -webkit-transition: background .1s linear;
  126. transition: background .1s linear;
  127. }
  128. .ui.tag.labels .label:after,
  129. .ui.tag.label:after {
  130. position: absolute;
  131. content: '';
  132. top: 50%;
  133. right: -.25em;
  134. margin-top: -.3em;
  135. background-color: #FFF;
  136. width: .55em;
  137. height: .55em;
  138. -webkit-box-shadow: 0 -1px 1px 0 rgba(0,0,0,.3);
  139. box-shadow: 0 -1px 1px 0 rgba(0,0,0,.3);
  140. border-radius: 100px;
  141. }
  142. .ui.ribbon.label {
  143. position: relative;
  144. margin: 0 .2em;
  145. right: -2rem;
  146. padding-right: 2rem;
  147. border-radius: 4px 0 0 4px;
  148. border-color: rgba(0,0,0,.15);
  149. }
  150. .ui.ribbon.label:after {
  151. position: absolute;
  152. content: "";
  153. top: 100%;
  154. right: 0;
  155. border-top: 0 solid transparent;
  156. border-left-width: 1em;
  157. border-left-color: inherit;
  158. border-left-style: solid;
  159. border-bottom: 1em solid transparent;
  160. border-right: 0 solid transparent;
  161. width: 0;
  162. height: 0;
  163. }
  164. .ui.top.attached.label,
  165. .ui.attached.label {
  166. width: 100%;
  167. position: absolute;
  168. margin: 0;
  169. top: 0;
  170. right: 0;
  171. padding: .75em 1em;
  172. border-radius: 4px 4px 0 0;
  173. }
  174. .ui.bottom.attached.label {
  175. top: auto;
  176. bottom: 0;
  177. border-radius: 0 0 4px 4px;
  178. }
  179. .ui.top.left.attached.label {
  180. width: auto;
  181. margin-top: 0!important;
  182. border-radius: 0 4px;
  183. }
  184. .ui.top.right.attached.label {
  185. width: auto;
  186. right: auto;
  187. left: 0;
  188. border-radius: 4px 0;
  189. }
  190. .ui.bottom.left.attached.label {
  191. width: auto;
  192. top: auto;
  193. bottom: 0;
  194. border-radius: 0 4px 4px 0;
  195. }
  196. .ui.bottom.right.attached.label {
  197. top: auto;
  198. bottom: 0;
  199. right: auto;
  200. left: 0;
  201. width: auto;
  202. border-radius: 0 4px;
  203. }
  204. .ui.corner.label {
  205. background-color: transparent;
  206. position: absolute;
  207. top: 0;
  208. left: 0;
  209. z-index: 10;
  210. margin: 0;
  211. font-size: .8125em;
  212. width: 2rem;
  213. height: 2rem;
  214. padding: 0;
  215. text-align: center;
  216. -webkit-transition: color .2s ease;
  217. transition: color .2s ease;
  218. }
  219. .ui.corner.label:after {
  220. position: absolute;
  221. content: "";
  222. left: 0;
  223. top: 0;
  224. z-index: -1;
  225. width: 0;
  226. height: 0;
  227. border-top: 0 solid transparent;
  228. border-left: 3em solid transparent;
  229. border-bottom: 3em solid transparent;
  230. border-right: 0 solid transparent;
  231. border-left-color: inherit;
  232. -webkit-transition: border-color .2s ease;
  233. transition: border-color .2s ease;
  234. }
  235. .ui.corner.label .icon {
  236. margin: .4em .7em 0 0;
  237. }
  238. .ui.corner.label .text {
  239. display: inline-block;
  240. font-weight: 700;
  241. margin: .5em .6em 0 0;
  242. width: 2.5em;
  243. font-size: .82em;
  244. text-align: center;
  245. -webkit-transform: rotate(45deg);
  246. -ms-transform: rotate(45deg);
  247. transform: rotate(45deg);
  248. }
  249. .ui.left.corner.label,
  250. .ui.left.corner.label:after {
  251. left: auto;
  252. right: 0;
  253. }
  254. .ui.left.corner.label:after {
  255. border-top: 3em solid transparent;
  256. border-left: 3em solid transparent;
  257. border-bottom: 0 solid transparent;
  258. border-right: 0 solid transparent;
  259. border-top-color: inherit;
  260. }
  261. .ui.left.corner.label .icon {
  262. margin: .4em -.7em 0 0;
  263. }
  264. .ui.left.corner.label .text {
  265. margin: .5em -.6em 0 0;
  266. -webkit-transform: rotate(-45deg);
  267. -ms-transform: rotate(-45deg);
  268. transform: rotate(-45deg);
  269. }
  270. .ui.corner.label:hover {
  271. background-color: transparent;
  272. }
  273. .ui.label.fluid,
  274. .ui.fluid.labels>.label {
  275. width: 100%;
  276. -webkit-box-sizing: border-box;
  277. -moz-box-sizing: border-box;
  278. -ms-box-sizing: border-box;
  279. box-sizing: border-box;
  280. }
  281. .ui.inverted.labels .label,
  282. .ui.inverted.label {
  283. color: #FFF!important;
  284. }
  285. .ui.black.labels .label,
  286. .ui.black.label {
  287. background-color: #5C6166!important;
  288. border-color: #5C6166!important;
  289. color: #FFF!important;
  290. }
  291. .ui.labels .black.label:before,
  292. .ui.black.labels .label:before,
  293. .ui.black.label:before {
  294. background-color: #5C6166!important;
  295. }
  296. a.ui.black.labels .label:hover,
  297. a.ui.black.label:hover {
  298. background-color: #333!important;
  299. border-color: #333!important;
  300. }
  301. .ui.labels a.black.label:hover:before,
  302. .ui.black.labels a.label:hover:before,
  303. a.ui.black.label:hover:before {
  304. background-color: #333!important;
  305. }
  306. .ui.black.corner.label,
  307. .ui.black.corner.label:hover {
  308. background-color: transparent!important;
  309. }
  310. .ui.black.ribbon.label {
  311. border-color: #333!important;
  312. }
  313. .ui.green.labels .label,
  314. .ui.green.label {
  315. background-color: #A1CF64!important;
  316. border-color: #A1CF64!important;
  317. color: #FFF!important;
  318. }
  319. .ui.labels .green.label:before,
  320. .ui.green.labels .label:before,
  321. .ui.green.label:before {
  322. background-color: #A1CF64!important;
  323. }
  324. a.ui.green.labels .label:hover,
  325. a.ui.green.label:hover {
  326. background-color: #89B84C!important;
  327. border-color: #89B84C!important;
  328. }
  329. .ui.labels a.green.label:hover:before,
  330. .ui.green.labels a.label:hover:before,
  331. a.ui.green.label:hover:before {
  332. background-color: #89B84C!important;
  333. }
  334. .ui.green.corner.label,
  335. .ui.green.corner.label:hover {
  336. background-color: transparent!important;
  337. }
  338. .ui.green.ribbon.label {
  339. border-color: #89B84C!important;
  340. }
  341. .ui.red.labels .label,
  342. .ui.red.label {
  343. background-color: #D95C5C!important;
  344. border-color: #D95C5C!important;
  345. color: #FFF!important;
  346. }
  347. .ui.labels .red.label:before,
  348. .ui.red.labels .label:before,
  349. .ui.red.label:before {
  350. background-color: #D95C5C!important;
  351. }
  352. .ui.red.corner.label,
  353. .ui.red.corner.label:hover {
  354. background-color: transparent!important;
  355. }
  356. a.ui.red.labels .label:hover,
  357. a.ui.red.label:hover {
  358. background-color: #DE3859!important;
  359. border-color: #DE3859!important;
  360. color: #FFF!important;
  361. }
  362. .ui.labels a.red.label:hover:before,
  363. .ui.red.labels a.label:hover:before,
  364. a.ui.red.label:hover:before {
  365. background-color: #DE3859!important;
  366. }
  367. .ui.red.ribbon.label {
  368. border-color: #DE3859!important;
  369. }
  370. .ui.blue.labels .label,
  371. .ui.blue.label {
  372. background-color: #6ECFF5!important;
  373. border-color: #6ECFF5!important;
  374. color: #FFF!important;
  375. }
  376. .ui.labels .blue.label:before,
  377. .ui.blue.labels .label:before,
  378. .ui.blue.label:before {
  379. background-color: #6ECFF5!important;
  380. }
  381. a.ui.blue.labels .label:hover,
  382. .ui.blue.labels a.label:hover,
  383. a.ui.blue.label:hover {
  384. background-color: #1AB8F3!important;
  385. border-color: #1AB8F3!important;
  386. color: #FFF!important;
  387. }
  388. .ui.labels a.blue.label:hover:before,
  389. .ui.blue.labels a.label:hover:before,
  390. a.ui.blue.label:hover:before {
  391. background-color: #1AB8F3!important;
  392. }
  393. .ui.blue.corner.label,
  394. .ui.blue.corner.label:hover {
  395. background-color: transparent!important;
  396. }
  397. .ui.blue.ribbon.label {
  398. border-color: #1AB8F3!important;
  399. }
  400. .ui.purple.labels .label,
  401. .ui.purple.label {
  402. background-color: #564F8A!important;
  403. border-color: #564F8A!important;
  404. color: #FFF!important;
  405. }
  406. .ui.labels .purple.label:before,
  407. .ui.purple.labels .label:before,
  408. .ui.purple.label:before {
  409. background-color: #564F8A!important;
  410. }
  411. a.ui.purple.labels .label:hover,
  412. .ui.purple.labels a.label:hover,
  413. a.ui.purple.label:hover {
  414. background-color: #3E3773!important;
  415. border-color: #3E3773!important;
  416. color: #FFF!important;
  417. }
  418. .ui.labels a.purple.label:hover:before,
  419. .ui.purple.labels a.label:hover:before,
  420. a.ui.purple.label:hover:before {
  421. background-color: #3E3773!important;
  422. }
  423. .ui.purple.corner.label,
  424. .ui.purple.corner.label:hover {
  425. background-color: transparent!important;
  426. }
  427. .ui.purple.ribbon.label {
  428. border-color: #3E3773!important;
  429. }
  430. .ui.orange.labels .label,
  431. .ui.orange.label {
  432. background-color: #F05940!important;
  433. border-color: #F05940!important;
  434. color: #FFF!important;
  435. }
  436. .ui.labels .orange.label:before,
  437. .ui.orange.labels .label:before,
  438. .ui.orange.label:before {
  439. background-color: #F05940!important;
  440. }
  441. a.ui.orange.labels .label:hover,
  442. .ui.orange.labels a.label:hover,
  443. a.ui.orange.label:hover {
  444. background-color: #FF4121!important;
  445. border-color: #FF4121!important;
  446. color: #FFF!important;
  447. }
  448. .ui.labels a.orange.label:hover:before,
  449. .ui.orange.labels a.label:hover:before,
  450. a.ui.orange.label:hover:before {
  451. background-color: #FF4121!important;
  452. }
  453. .ui.orange.corner.label,
  454. .ui.orange.corner.label:hover {
  455. background-color: transparent!important;
  456. }
  457. .ui.orange.ribbon.label {
  458. border-color: #FF4121!important;
  459. }
  460. .ui.teal.labels .label,
  461. .ui.teal.label {
  462. background-color: #00B5AD!important;
  463. border-color: #00B5AD!important;
  464. color: #FFF!important;
  465. }
  466. .ui.labels .teal.label:before,
  467. .ui.teal.labels .label:before,
  468. .ui.teal.label:before {
  469. background-color: #00B5AD!important;
  470. }
  471. a.ui.teal.labels .label:hover,
  472. .ui.teal.labels a.label:hover,
  473. a.ui.teal.label:hover {
  474. background-color: #009A93!important;
  475. border-color: #009A93!important;
  476. color: #FFF!important;
  477. }
  478. .ui.labels a.teal.label:hover:before,
  479. .ui.teal.labels a.label:hover:before,
  480. a.ui.teal.label:hover:before {
  481. background-color: #009A93!important;
  482. }
  483. .ui.teal.corner.label,
  484. .ui.teal.corner.label:hover {
  485. background-color: transparent!important;
  486. }
  487. .ui.teal.ribbon.label {
  488. border-color: #009A93!important;
  489. }
  490. .ui.horizontal.labels .label,
  491. .ui.horizontal.label {
  492. margin: -.125em 0 -.125em .5em;
  493. padding: .35em 1em;
  494. min-width: 6em;
  495. text-align: center;
  496. }
  497. .ui.circular.labels .label,
  498. .ui.circular.label {
  499. min-height: 1em;
  500. max-height: 2em;
  501. padding: .5em!important;
  502. line-height: 1em;
  503. text-align: center;
  504. border-radius: 500rem;
  505. }
  506. .ui.pointing.label {
  507. position: relative;
  508. }
  509. .ui.attached.pointing.label {
  510. position: absolute;
  511. }
  512. .ui.pointing.label:before {
  513. position: absolute;
  514. content: "";
  515. width: .6em;
  516. height: .6em;
  517. background-image: none;
  518. -webkit-transform: rotate(45deg);
  519. -ms-transform: rotate(45deg);
  520. transform: rotate(45deg);
  521. z-index: 2;
  522. -webkit-transition: background .1s linear;
  523. transition: background .1s linear;
  524. }
  525. .ui.pointing.label:before {
  526. background-color: #E8E8E8;
  527. }
  528. .ui.pointing.label,
  529. .ui.pointing.above.label {
  530. margin-top: 1em;
  531. }
  532. .ui.pointing.label:before,
  533. .ui.pointing.above.label:before {
  534. margin-right: -.3em;
  535. top: -.3em;
  536. right: 50%;
  537. }
  538. .ui.pointing.below.label {
  539. margin-top: 0;
  540. margin-bottom: 1em;
  541. }
  542. .ui.pointing.below.label:before {
  543. margin-right: -.3em;
  544. top: auto;
  545. left: auto;
  546. bottom: -.3em;
  547. right: 50%;
  548. }
  549. .ui.pointing.left.label {
  550. margin-top: 0;
  551. margin-right: 1em;
  552. }
  553. .ui.pointing.left.label:before {
  554. margin-top: -.3em;
  555. bottom: auto;
  556. left: auto;
  557. top: 50%;
  558. right: 0;
  559. }
  560. .ui.pointing.right.label {
  561. margin-top: 0;
  562. margin-left: 1em;
  563. }
  564. .ui.pointing.right.label:before {
  565. margin-top: -.3em;
  566. left: -.3em;
  567. top: 50%;
  568. bottom: auto;
  569. right: auto;
  570. }
  571. .ui.floating.label {
  572. position: absolute;
  573. z-index: 100;
  574. top: -1em;
  575. right: 100%;
  576. margin: 0 -1.5em 0 0!important;
  577. }
  578. .ui.small.labels .label,
  579. .ui.small.label {
  580. font-size: .75rem;
  581. }
  582. .ui.label {
  583. font-size: .8125rem;
  584. }
  585. .ui.large.labels .label,
  586. .ui.large.label {
  587. font-size: .875rem;
  588. }
  589. .ui.huge.labels .label,
  590. .ui.huge.label {
  591. font-size: 1rem;
  592. }