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.

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