label.css 3.5 KB

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