← All changes
|
modules/widget-visibility/widget-conditions/widget-conditions-rtl.css
+232
-0
16.2-beta
→
16.3-beta
View file →
| @@ -1,0 +1,232 @@ | ||
| 1 | +.wp-customizer .expanded .widget-conditional .widget-conditional-inner { | |
| 2 | + width: 98%; | |
| 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-control a { | |
| 74 | + text-decoration: none; | |
| 75 | + position: absolute; | |
| 76 | + top: 17px; | |
| 77 | + text-indent: -9999px; | |
| 78 | + z-index: 1; | |
| 79 | +} | |
| 80 | + | |
| 81 | +.wp-block-legacy-widget__edit-form .widget-conditional .condition-control a { | |
| 82 | + top: 20px; | |
| 83 | +} | |
| 84 | + | |
| 85 | +.widget-conditional .condition-control a::before { | |
| 86 | + position: absolute; | |
| 87 | + text-indent: 0; | |
| 88 | + top: 0; | |
| 89 | + right: 0; | |
| 90 | +} | |
| 91 | + | |
| 92 | +.wp-block-legacy-widget__edit-form .widget-inside.widget-inside .widget-conditional .condition-control .delete-condition, | |
| 93 | +.widget-conditional .condition-control .delete-condition { | |
| 94 | + right: 0; | |
| 95 | + color: #f11; | |
| 96 | +} | |
| 97 | + | |
| 98 | +.widget-conditional .condition-control .add-condition { | |
| 99 | + left: 0; | |
| 100 | +} | |
| 101 | + | |
| 102 | +.wp-block-legacy-widget__edit-form .widget-inside.widget-inside .widget-conditional .widget-conditional-inner a.dashicons { | |
| 103 | + font-family: dashicons; | |
| 104 | +} | |
| 105 | + | |
| 106 | +.wp-block-legacy-widget__edit-form .widget-inside.widget-inside .widget-conditional-inner select { | |
| 107 | + display: initial; | |
| 108 | + width: auto; | |
| 109 | + background-color: #fff; | |
| 110 | +} | |
| 111 | + | |
| 112 | +.wp-block-legacy-widget__edit-form .widget-inside.widget-inside .widget-conditional .widget-conditional-inner select:disabled { | |
| 113 | + color: #a7aaad; | |
| 114 | + border-color: #dcdcde; | |
| 115 | + background-color: #f6f7f7; | |
| 116 | +} | |
| 117 | + | |
| 118 | +.editor-styles-wrapper .wp-block-legacy-widget__edit-form .widget-inside.widget-inside .widget-conditional .alignleft { | |
| 119 | + margin-right: 20px; | |
| 120 | +} | |
| 121 | + | |
| 122 | +.widget-conditional .condition:last-child .condition-conjunction, | |
| 123 | +.widget-conditional .condition:last-child .condition-intersection { | |
| 124 | + display: none; | |
| 125 | +} | |
| 126 | + | |
| 127 | +.widget-conditional.conjunction .condition-intersection { | |
| 128 | + display: none; | |
| 129 | +} | |
| 130 | + | |
| 131 | +.widget-conditional.intersection .condition-conjunction { | |
| 132 | + display: none; | |
| 133 | +} | |
| 134 | + | |
| 135 | +.wp-core-ui .button.display-options { | |
| 136 | + margin-left: 5px; | |
| 137 | +} | |
| 138 | + | |
| 139 | +.wp-core-ui .button.display-options:hover { | |
| 140 | + text-decoration: none; | |
| 141 | +} | |
| 142 | + | |
| 143 | +.wp-customizer .widget-conditional select { | |
| 144 | + min-width: 0; | |
| 145 | + max-width: none; | |
| 146 | + height: auto; | |
| 147 | +} | |
| 148 | + | |
| 149 | +.wp-customizer .widget-conditional .condition-control a { | |
| 150 | + top: 15px; | |
| 151 | +} | |
| 152 | + | |
| 153 | +@media screen and (max-width: 782px) { | |
| 154 | + .widget-conditional .condition-control a { | |
| 155 | + top: 20px; | |
| 156 | + } | |
| 157 | +} | |
| 158 | +.wp-block-legacy-widget__edit-form .widget-inside.widget-inside .widget-conditional-inner { | |
| 159 | + /* | |
| 160 | + * fonts of labels are reset to 13px in gutenberg editor for legacy widgets | |
| 161 | + * ensure a consistent look on non-labels | |
| 162 | + */ | |
| 163 | + font-size: 13px; | |
| 164 | +} | |
| 165 | + | |
| 166 | +/* | |
| 167 | + * Rules for gutenberg advanced panel | |
| 168 | + */ | |
| 169 | +.widget-vis__wrapper .components-base-control, | |
| 170 | +.widget-vis__rule .components-base-control { | |
| 171 | + margin-bottom: 12px; | |
| 172 | +} | |
| 173 | + | |
| 174 | +.widget-vis__rule { | |
| 175 | + padding: 12px; | |
| 176 | + border: 1px solid #dcdcde; | |
| 177 | + display: flex; | |
| 178 | + flex-direction: column; | |
| 179 | + margin-bottom: 12px; | |
| 180 | +} | |
| 181 | + | |
| 182 | +.widget-vis__rule-major, | |
| 183 | +.widget-vis__rule-minor { | |
| 184 | + display: flex; | |
| 185 | + justify-content: stretch; | |
| 186 | + align-items: center; | |
| 187 | +} | |
| 188 | + | |
| 189 | +.widget-vis__rule-minor { | |
| 190 | + margin-top: 8px; | |
| 191 | +} | |
| 192 | + | |
| 193 | +.widget-vis__if, | |
| 194 | +.widget-vis__is { | |
| 195 | + margin-left: 8px; | |
| 196 | + width: 10px; | |
| 197 | +} | |
| 198 | + | |
| 199 | +.widget-vis__show-hide { | |
| 200 | + margin-bottom: 0; | |
| 201 | +} | |
| 202 | + | |
| 203 | +.components-button.widget-vis__add-new-rule { | |
| 204 | + display: block; | |
| 205 | +} | |
| 206 | + | |
| 207 | +.widget-vis__delete-rule { | |
| 208 | + margin-top: 6px; | |
| 209 | + text-align: left; | |
| 210 | +} | |
| 211 | + | |
| 212 | +.widget-vis__match-all { | |
| 213 | + margin-top: 12px; | |
| 214 | +} | |
| 215 | + | |
| 216 | +.widget-vis__select { | |
| 217 | + width: 100%; | |
| 218 | +} | |
| 219 | + | |
| 220 | +.widget-vis__select .components-input-control__container { | |
| 221 | + position: relative; | |
| 222 | + top: 4px; | |
| 223 | +} | |
| 224 | + | |
| 225 | +.widget-vis__select-multi-level select option:disabled { | |
| 226 | + font-size: 18px; | |
| 227 | + font-weight: 600; | |
| 228 | +} | |
| 229 | + | |
| 230 | +.widget-vis__delete-rule .components-button.is-secondary { | |
| 231 | + margin-top: 8px; | |
| 232 | +} | |