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.

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