loop.less 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. /* Auto suggestion in Loop builder **/
  2. .vc_loop-info {
  3. position: relative;
  4. top: 8px;
  5. margin-top: 5px;
  6. }
  7. .loop_params_holder {
  8. border: 1px solid #dfdfdf;
  9. padding: 10px;
  10. margin-top: 10px;
  11. background: #f5f5f5 url(../vc/rowbg.png);
  12. position: relative;
  13. &:before {
  14. content: "";
  15. display: block;
  16. width: 0;
  17. height: 0;
  18. position: absolute;
  19. top: -8px;
  20. left: 20px;
  21. border-left: 8px solid transparent;
  22. border-right: 8px solid transparent;
  23. border-bottom: 8px solid #dfdfdf;
  24. }
  25. .vc_row-fluid {
  26. border-bottom-color: #cccccc;
  27. }
  28. }
  29. .vc_suggest-field {
  30. clear: both;
  31. .vc_suggester {
  32. margin: 0;
  33. background: #ffffff;
  34. border: 1px solid #dfdfdf;
  35. border-radius: 3px;
  36. padding: 2px;
  37. cursor: text;
  38. min-height: 24px;
  39. li {
  40. margin-bottom: 0px;
  41. float: left;
  42. &.exclude {
  43. background: #f2dede;
  44. color: #b94a48;
  45. border: 1px solid #eed3d7;
  46. &:after {
  47. content: "-";
  48. display: block;
  49. position: absolute;
  50. width: 5px;
  51. height: 5px;
  52. left: 3px;
  53. font-weight: bold;
  54. top: 1px;
  55. }
  56. }
  57. &.include {
  58. background: #dff0d8;
  59. color: #468847;
  60. border: 1px solid #d6e9c6;
  61. &:after {
  62. content: "+";
  63. display: block;
  64. position: absolute;
  65. width: 5px;
  66. height: 5px;
  67. left: 3px;
  68. font-weight: bold;
  69. top: 2px;
  70. }
  71. }
  72. &.vc_suggest-label {
  73. border-radius: 2px;
  74. padding: 0 0 0 8px;
  75. margin: 2px;
  76. position: relative;
  77. cursor: pointer;
  78. .label {
  79. display: inline-block;
  80. line-height: 18px;
  81. font-size: 11px;
  82. padding: 0 6px 0 5px;
  83. }
  84. .remove {
  85. color: #999999;
  86. display: block;
  87. cursor: pointer;
  88. position: absolute;
  89. top: -5px;
  90. right: -3px;
  91. width: 9px;
  92. height: 9px;
  93. background: #F7F7F7;
  94. line-height: 9px;
  95. font-size: 12px;
  96. text-align: center;
  97. &:hover {
  98. color: red;
  99. }
  100. }
  101. }
  102. &.input {
  103. width: 170px;
  104. padding: 0 3px;
  105. box-sizing: border-box;
  106. input {
  107. width: 100%;
  108. border: 0;
  109. padding: 5px 0px;
  110. margin: 0px;
  111. &:focus {
  112. -webkit-box-shadow: none;
  113. box-shadow: none;
  114. }
  115. }
  116. }
  117. &.clear {
  118. clear: both;
  119. float: none;
  120. }
  121. }
  122. }
  123. }
  124. // Fix for bootstrap modal and autocomplete z-index
  125. .vc_ui-front {
  126. z-index: 100052 !important;
  127. }