rtl
9 years ago
widget-conditions-rtl.css
3 years ago
widget-conditions-rtl.min.css
4 years ago
widget-conditions.css
4 years ago
widget-conditions.js
4 years ago
widget-conditions.min.css
4 years ago
widget-conditions-rtl.css
228 lines
| 1 | .wp-customizer .expanded .widget-conditional .widget-conditional-inner { |
| 2 | width: 98%; /* Safari/Chrome, other WebKit */ /* Firefox, other Gecko */ |
| 3 | box-sizing: border-box; |
| 4 | } |
| 5 | |
| 6 | .wp-customizer .expanded .widget-conditional .form { |
| 7 | overflow: scroll; |
| 8 | margin-bottom: 20px; |
| 9 | } |
| 10 | |
| 11 | .widget-liquid-right .widget.expanded { |
| 12 | overflow: visible; |
| 13 | } |
| 14 | |
| 15 | .widget-conditional-hide { |
| 16 | display: none; |
| 17 | } |
| 18 | |
| 19 | .widget-conditional .widget-conditional-inner { |
| 20 | background: #f6f7f7; |
| 21 | border: 1px solid #dcdcde; |
| 22 | padding: 12px 10px 0; |
| 23 | } |
| 24 | |
| 25 | .widget-conditional { |
| 26 | margin-bottom: 12px; |
| 27 | margin-top: 10px; |
| 28 | } |
| 29 | |
| 30 | .widget-conditional .conditions { |
| 31 | margin-bottom: 12px; |
| 32 | } |
| 33 | |
| 34 | .widget-conditional .condition, |
| 35 | .widget-conditional .condition-top { |
| 36 | clear: both; |
| 37 | } |
| 38 | |
| 39 | .widget-conditional .condition { |
| 40 | padding-top: 12px; |
| 41 | position: relative; |
| 42 | } |
| 43 | |
| 44 | .widget-conditional .condition select { |
| 45 | width: 120px; |
| 46 | position: relative; |
| 47 | z-index: 2; |
| 48 | } |
| 49 | |
| 50 | .widget-conditional .condition-top select { |
| 51 | width: auto; |
| 52 | } |
| 53 | |
| 54 | .widget-conditional .condition-control { |
| 55 | padding-top: 4px; |
| 56 | clear: both; |
| 57 | margin-top: -20px; |
| 58 | } |
| 59 | |
| 60 | .widget-conditional .selection { |
| 61 | margin-left: 50px; |
| 62 | margin-right: 20px; |
| 63 | } |
| 64 | |
| 65 | .widget-conditional .conditions-rule-has-children { |
| 66 | display: block; |
| 67 | } |
| 68 | |
| 69 | .widget-conditional .condition .actions { |
| 70 | margin-top: -28px; |
| 71 | } |
| 72 | |
| 73 | .widget-conditional .condition .actions { |
| 74 | margin-top: -28px; |
| 75 | } |
| 76 | |
| 77 | .widget-conditional .condition-control a { |
| 78 | text-decoration: none; |
| 79 | position: absolute; |
| 80 | top: 17px; |
| 81 | text-indent: -9999px; |
| 82 | z-index: 1; |
| 83 | } |
| 84 | |
| 85 | .wp-block-legacy-widget__edit-form .widget-conditional .condition-control a { |
| 86 | top: 20px; |
| 87 | } |
| 88 | |
| 89 | .widget-conditional .condition-control a:before { |
| 90 | position: absolute; |
| 91 | text-indent: 0; |
| 92 | top: 0; |
| 93 | right: 0; |
| 94 | } |
| 95 | |
| 96 | .wp-block-legacy-widget__edit-form .widget-inside.widget-inside .widget-conditional .condition-control .delete-condition, |
| 97 | .widget-conditional .condition-control .delete-condition { |
| 98 | right: 0; |
| 99 | color: #f11; |
| 100 | } |
| 101 | |
| 102 | .widget-conditional .condition-control .add-condition { |
| 103 | left: 0; |
| 104 | } |
| 105 | |
| 106 | .wp-block-legacy-widget__edit-form .widget-inside.widget-inside .widget-conditional .widget-conditional-inner a.dashicons { |
| 107 | font-family: dashicons; |
| 108 | } |
| 109 | |
| 110 | .wp-block-legacy-widget__edit-form .widget-inside.widget-inside .widget-conditional-inner select { |
| 111 | display: initial; |
| 112 | width: auto; |
| 113 | background-color: #fff; |
| 114 | } |
| 115 | |
| 116 | .wp-block-legacy-widget__edit-form .widget-inside.widget-inside .widget-conditional .widget-conditional-inner select:disabled { |
| 117 | color: #a7aaad; |
| 118 | border-color: #dcdcde; |
| 119 | background-color: #f6f7f7; |
| 120 | } |
| 121 | |
| 122 | .editor-styles-wrapper .wp-block-legacy-widget__edit-form .widget-inside.widget-inside .widget-conditional .alignleft { |
| 123 | margin-right: 20px; |
| 124 | } |
| 125 | |
| 126 | .widget-conditional .condition:last-child .condition-conjunction, |
| 127 | .widget-conditional .condition:last-child .condition-intersection { |
| 128 | display: none; |
| 129 | } |
| 130 | |
| 131 | .widget-conditional.conjunction .condition-intersection { |
| 132 | display: none; |
| 133 | } |
| 134 | |
| 135 | .widget-conditional.intersection .condition-conjunction { |
| 136 | display: none; |
| 137 | } |
| 138 | |
| 139 | .wp-core-ui .button.display-options { |
| 140 | margin-left: 5px; |
| 141 | } |
| 142 | |
| 143 | .wp-core-ui .button.display-options:hover { |
| 144 | text-decoration: none; |
| 145 | } |
| 146 | |
| 147 | .wp-customizer .widget-conditional select { |
| 148 | min-width: 0; |
| 149 | max-width: none; |
| 150 | height: auto; |
| 151 | } |
| 152 | |
| 153 | .wp-customizer .widget-conditional .condition-control a { |
| 154 | top: 15px; |
| 155 | } |
| 156 | |
| 157 | @media screen and (max-width: 782px) { |
| 158 | .widget-conditional .condition-control a { |
| 159 | top: 20px; |
| 160 | } |
| 161 | } |
| 162 | .wp-block-legacy-widget__edit-form .widget-inside.widget-inside .widget-conditional-inner { |
| 163 | /* |
| 164 | * fonts of labels are reset to 13px in gutenberg editor for legacy widgets, ensure a consistent look on non-labels |
| 165 | */ |
| 166 | font-size: 13px; |
| 167 | } |
| 168 | |
| 169 | /* |
| 170 | * Rules for gutenberg advanced panel |
| 171 | */ |
| 172 | .widget-vis__wrapper .components-base-control, |
| 173 | .widget-vis__rule .components-base-control { |
| 174 | margin-bottom: 12px; |
| 175 | } |
| 176 | |
| 177 | .widget-vis__rule { |
| 178 | padding: 12px; |
| 179 | border: 1px solid #dcdcde; |
| 180 | display: flex; |
| 181 | flex-direction: column; |
| 182 | margin-bottom: 12px; |
| 183 | } |
| 184 | |
| 185 | .widget-vis__rule-major, |
| 186 | .widget-vis__rule-minor { |
| 187 | display: flex; |
| 188 | justify-content: stretch; |
| 189 | align-items: center; |
| 190 | } |
| 191 | |
| 192 | .widget-vis__if, |
| 193 | .widget-vis__is { |
| 194 | margin-left: 8px; |
| 195 | width: 10px; |
| 196 | } |
| 197 | |
| 198 | .widget-vis__show-hide { |
| 199 | margin-bottom: 0; |
| 200 | } |
| 201 | |
| 202 | .components-button.widget-vis__add-new-rule { |
| 203 | display: block; |
| 204 | } |
| 205 | |
| 206 | .widget-vis__delete-rule { |
| 207 | margin-top: 6px; |
| 208 | text-align: left; |
| 209 | } |
| 210 | |
| 211 | .widget-vis__match-all { |
| 212 | margin-top: 12px; |
| 213 | } |
| 214 | |
| 215 | .widget-vis__select { |
| 216 | width: 100%; |
| 217 | } |
| 218 | |
| 219 | .widget-vis__select .components-input-control__container { |
| 220 | position: relative; |
| 221 | top: 4px; |
| 222 | } |
| 223 | |
| 224 | .widget-vis__select-multi-level select option:disabled { |
| 225 | font-size: 18px; |
| 226 | font-weight: 600; |
| 227 | } |
| 228 |