widget-conditions.css 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. .wp-customizer .expanded .widget-conditional .widget-conditional-inner {
  2. width: 98%;
  3. -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  4. -moz-box-sizing: border-box; /* Firefox, other Gecko */
  5. box-sizing: border-box;
  6. }
  7. .wp-customizer .expanded .widget-conditional .form{
  8. overflow: scroll;
  9. margin-bottom: 20px;
  10. }
  11. .widget-liquid-right .widget.expanded {
  12. overflow: visible;
  13. }
  14. .widget-conditional-hide {
  15. display: none;
  16. }
  17. .widget-conditional .widget-conditional-inner {
  18. background: #F9F9F9;
  19. border: 1px solid #DFDFDF;
  20. padding: 12px 10px 0;
  21. }
  22. .widget-conditional {
  23. margin-bottom: 12px;
  24. }
  25. .widget-conditional .conditions{
  26. margin-bottom: 12px;
  27. }
  28. .widget-conditional .condition,
  29. .widget-conditional .condition-top {
  30. clear:both;
  31. }
  32. .widget-conditional .condition {
  33. padding-top: 12px;
  34. position: relative;
  35. }
  36. .widget-conditional .condition select {
  37. width: 120px;
  38. position: relative;
  39. z-index: 2;
  40. }
  41. .widget-conditional .condition-top select {
  42. width: auto;
  43. }
  44. .widget-conditional .condition-control {
  45. padding-top: 4px;
  46. clear: both;
  47. margin-top: -20px;
  48. }
  49. .widget-conditional .selection {
  50. margin-right: 50px;
  51. margin-left: 20px;
  52. }
  53. .widget-conditional .conditions-rule-has-children {
  54. display: block;
  55. }
  56. .widget-conditional .condition .actions {
  57. margin-top: -28px;
  58. }.widget-conditional .condition .actions {
  59. margin-top: -28px;
  60. }
  61. .widget-conditional .condition-control a {
  62. text-decoration: none;
  63. position: absolute;
  64. top: 17px;
  65. text-indent: -9999px;
  66. z-index: 1;
  67. }
  68. .widget-conditional .condition-control a:before {
  69. position: absolute;
  70. text-indent: 0;
  71. top: 0;
  72. left: 0;
  73. }
  74. .widget-conditional .condition-control .delete-condition {
  75. left: 0;
  76. color: #f11;
  77. }
  78. .widget-conditional .condition-control .add-condition {
  79. right: 0;
  80. }
  81. .widget-conditional .condition:last-child .condition-conjunction,
  82. .widget-conditional .condition:last-child .condition-intersection {
  83. display: none;
  84. }
  85. .widget-conditional.conjunction .condition-intersection {
  86. display: none;
  87. }
  88. .widget-conditional.intersection .condition-conjunction {
  89. display: none;
  90. }
  91. .wp-core-ui .button.display-options {
  92. margin-right: 5px;
  93. }
  94. .wp-core-ui .button.display-options:hover {
  95. text-decoration: none;
  96. }
  97. .wp-customizer .widget-conditional select {
  98. min-width: 0;
  99. max-width: none;
  100. height: auto;
  101. }
  102. .wp-customizer .widget-conditional .condition-control a {
  103. top: 15px;
  104. }
  105. @media screen and ( max-width: 782px ) {
  106. .widget-conditional .condition-control a {
  107. top: 20px;
  108. }
  109. }