_rules-temp.less 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. // /**
  2. // * Copyright © Magento, Inc. All rights reserved.
  3. // * See COPYING.txt for license details.
  4. // */
  5. //
  6. // Rule tree component
  7. // _____________________________________________
  8. .rule-tree-wrapper {
  9. line-height: 28px;
  10. }
  11. .rule-tree {
  12. .admin__field-control & {
  13. padding-top: .3rem;
  14. }
  15. ul {
  16. border-left: 1px dotted @color-gray52;
  17. list-style: none;
  18. padding-left: 16px;
  19. }
  20. li {
  21. margin: 0 0 10px;
  22. }
  23. .x-tree ul {
  24. border-left: none !important;
  25. padding-left: 0 !important;
  26. }
  27. .x-tree li {
  28. margin-bottom: 0 !important;
  29. line-height: normal !important;
  30. }
  31. .legend {
  32. font-weight: @font-weight__semibold;
  33. }
  34. }
  35. .rule-tree .fieldset {
  36. border: 0;
  37. margin: 0;
  38. min-width: 0; // Fixed Chrome fieldset issue
  39. padding: 0;
  40. }
  41. @-moz-document url-prefix() { // Fixed Firefox fieldset issue
  42. .rule-tree .fieldset {
  43. display: table-cell;
  44. }
  45. }
  46. .rule-param .label {
  47. color: @color-black;
  48. float: none;
  49. padding: 0;
  50. text-align: left;
  51. vertical-align: baseline;
  52. width: auto;
  53. }
  54. .rule-param .label-disabled {
  55. color: @color-gray-darken0;
  56. cursor: default;
  57. text-decoration: none;
  58. }
  59. .rule-chooser,
  60. .rule-param .element,
  61. .rule-param-edit .label {
  62. display: none;
  63. }
  64. .rule-chooser .field-row {
  65. .lib-clearfix();
  66. display: block;
  67. margin-bottom: 17px;
  68. .input-text {
  69. margin-top: 5px;
  70. }
  71. .ui-datepicker-trigger {
  72. margin-left: 5px;
  73. margin-top: -2px;
  74. }
  75. }
  76. .rule-param input,
  77. .rule-param select {
  78. margin: 0;
  79. min-width: 170px;
  80. width: auto !important;
  81. }
  82. .rule-param-edit .element {
  83. display: inline;
  84. }
  85. .rule-param-edit .element .addafter {
  86. padding-left: 5px;
  87. }
  88. [class^='rule-param-'],
  89. .rule-chooser-trigger {
  90. img {
  91. vertical-align: middle;
  92. }
  93. }
  94. .rule-chooser {
  95. border: 1px solid @color-gray80;
  96. margin: 20px;
  97. overflow: auto;
  98. padding: 15px 10px 5px;
  99. }
  100. .rule-param-wait {
  101. background: url(../mui/images/ajax-loader-small.gif) no-repeat left center;
  102. padding-left: 20px;
  103. }