label.css 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. /*-- Labels Form Field --*/
  2. .sys-labels .bx-form-input-text.bx-form-input-autotoken {
  3. display: -webkit-flex;
  4. display: flex;
  5. -webkit-flex-wrap: wrap;
  6. flex-wrap: wrap;
  7. box-sizing: border-box;
  8. height: auto;
  9. min-height: 2.5rem;
  10. padding: 0.25rem;
  11. }
  12. .sys-labels .bx-form-input-text.bx-form-input-autotoken b,
  13. .sys-labels .bx-form-input-text.bx-form-input-autotoken input:not([type = 'hidden']) {
  14. position: relative;
  15. display: block;
  16. float: none;
  17. height: 1.625rem;
  18. margin: 0.125rem;
  19. line-height: 1.625rem;
  20. }
  21. .sys-labels .bx-form-input-text.bx-form-input-autotoken b {
  22. padding-left: 0.5rem;
  23. border-radius: 1.25rem;
  24. font-weight: normal;
  25. white-space: nowrap;
  26. cursor: pointer;
  27. }
  28. .sys-labels .bx-form-input-text.bx-form-input-autotoken b:first-child {
  29. margin-left: 0.75rem;
  30. }
  31. .sys-labels .bx-form-input-text.bx-form-input-autotoken b:after {
  32. top: -1px;
  33. margin: 0;
  34. padding: 0 0.5rem;
  35. }
  36. .sys-labels .bx-form-input-text.bx-form-input-autotoken b.val-placeholder {
  37. border-style: dashed;
  38. }
  39. .sys-labels .bx-form-input-text.bx-form-input-autotoken.bx-form-input-disabled b {
  40. padding-left: 0.5rem;
  41. padding-right: 0.5rem;
  42. }
  43. .sys-labels .bx-form-input-text.bx-form-input-autotoken input:not([type = 'hidden']) {
  44. width: auto !important;
  45. padding: 0;
  46. }
  47. /*-- Labels Popup Search --*/
  48. .sys-labels-select .bx-form-input-text.bx-form-input-autotoken b {
  49. padding-left: 0.5rem;
  50. }
  51. /*-- Labels Popup List and Labels Browse --*/
  52. .sys-labels-level {
  53. position: relative;
  54. width: 100%;
  55. }
  56. .sys-labels-level.sys-ll-0 {
  57. position: relative;
  58. display: block;
  59. display: -webkit-flex;
  60. display: flex;
  61. -webkit-flex-wrap: wrap;
  62. flex-wrap: wrap;
  63. }
  64. .sys-labels-level.sys-ll-0 > .sys-labels-list-item {
  65. -webkit-flex: 0 0 auto;
  66. -ms-flex: 0 0 auto;
  67. flex: 0 0 auto;
  68. padding-left: 0.25rem;
  69. padding-right: 0.25rem;
  70. }
  71. .sys-labels-list .sys-labels-level.sys-ll-0 > .sys-labels-list-item {
  72. width: 50%;
  73. }
  74. .bx-layout-column-thin .sys-labels-browse .sys-labels-level.sys-ll-0 > .sys-labels-list-item {
  75. width: 50%;
  76. }
  77. .bx-layout-column-half .sys-labels-browse .sys-labels-level.sys-ll-0 > .sys-labels-list-item {
  78. width: 33.3%;
  79. }
  80. .bx-layout-column-wide .sys-labels-browse .sys-labels-level.sys-ll-0 > .sys-labels-list-item {
  81. width: 25%;
  82. }
  83. .bx-layout-column-fullwidth .sys-labels-browse .sys-labels-level.sys-ll-0 > .sys-labels-list-item {
  84. width: 16.6%;
  85. }
  86. .bx-media-phone .sys-labels-browse .sys-labels-level.sys-ll-0 > .sys-labels-list-item {
  87. width: 50%;
  88. }
  89. .sys-labels-li-sublist {
  90. display: none;
  91. }
  92. .sys-labels-li-sublist.sys-labels-lis-opened {
  93. display: block;
  94. }
  95. /*-- Labels List Item --*/
  96. .sys-labels-list-item-box {
  97. position: relative;
  98. display: -webkit-flex;
  99. display: flex;
  100. -webkit-align-items: center;
  101. align-items: center;
  102. -webkit-flex-wrap: nowrap;
  103. flex-wrap: nowrap;
  104. }
  105. .sys-labels-list-item-box > * {
  106. -webkit-flex-grow: 0;
  107. flex-grow: 0;
  108. }
  109. .sys-labels-li-checbox input {
  110. margin: 0;
  111. }
  112. .sys-labels-li-title {
  113. -webkit-flex-grow: 1;
  114. flex-grow: 1;
  115. white-space: nowrap;
  116. text-overflow: ellipsis;
  117. overflow: hidden;
  118. }