label.css 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  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-level {
  59. position: relative;
  60. width: 100%;
  61. }
  62. .sys-labels-level.sys-ll-0 {
  63. position: relative;
  64. display: block;
  65. display: -webkit-flex;
  66. display: flex;
  67. -webkit-flex-wrap: wrap;
  68. flex-wrap: wrap;
  69. }
  70. .sys-labels-level.sys-ll-0 > .sys-labels-list-item {
  71. -webkit-flex: 0 0 auto;
  72. -ms-flex: 0 0 auto;
  73. flex: 0 0 auto;
  74. padding-left: 0.25rem;
  75. padding-right: 0.25rem;
  76. }
  77. .sys-labels-list .sys-labels-level.sys-ll-0 > .sys-labels-list-item {
  78. width: 50%;
  79. }
  80. .bx-layout-column-thin .sys-labels-browse .sys-labels-level.sys-ll-0 > .sys-labels-list-item {
  81. width: 50%;
  82. }
  83. .bx-layout-column-half .sys-labels-browse .sys-labels-level.sys-ll-0 > .sys-labels-list-item {
  84. width: 33.3%;
  85. }
  86. .bx-layout-column-wide .sys-labels-browse .sys-labels-level.sys-ll-0 > .sys-labels-list-item {
  87. width: 25%;
  88. }
  89. .bx-layout-column-fullwidth .sys-labels-browse .sys-labels-level.sys-ll-0 > .sys-labels-list-item {
  90. width: 16.6%;
  91. }
  92. .bx-media-phone .sys-labels-browse .sys-labels-level.sys-ll-0 > .sys-labels-list-item {
  93. width: 50%;
  94. }
  95. .sys-labels-li-sublist {
  96. display: none;
  97. }
  98. .sys-labels-li-sublist.sys-labels-lis-opened {
  99. display: block;
  100. }
  101. /*-- Labels List Item --*/
  102. .sys-labels-list-item-box {
  103. position: relative;
  104. display: -webkit-flex;
  105. display: flex;
  106. -webkit-align-items: center;
  107. align-items: center;
  108. -webkit-flex-wrap: nowrap;
  109. flex-wrap: nowrap;
  110. }
  111. .sys-labels-list-item-box > * {
  112. -webkit-flex-grow: 0;
  113. flex-grow: 0;
  114. }
  115. .sys-labels-li-checbox input {
  116. margin: 0;
  117. }
  118. .sys-labels-li-title {
  119. -webkit-flex-grow: 1;
  120. flex-grow: 1;
  121. white-space: nowrap;
  122. text-overflow: ellipsis;
  123. overflow: hidden;
  124. }
  125. .sys-labels .bx-form-input-text.bx-form-input-autotoken b:first-child{
  126. margin-left: 0.125rem;
  127. }