| @@ -79,8 +79,17 @@ | ||
| 79 | 79 | line-height: 28px; |
| 80 | 80 | margin: 0 7px; |
| 81 | 81 | } |
| 82 | 82 | |
| 83 | +.ayg-settings-pagination_type-more tr.previous_button_label, | |
| 84 | +.ayg-settings-pagination_type-more tr.next_button_label { | |
| 85 | + display: none; | |
| 86 | +} | |
| 87 | + | |
| 88 | +.ayg-settings-pagination_type-pager tr.more_button_label { | |
| 89 | + display: none; | |
| 90 | +} | |
| 91 | + | |
| 83 | 92 | /*---------------------------------------------------------------------------------------------- |
| 84 | 93 | * |
| 85 | 94 | * Modal |
| 86 | 95 | * |
| @@ -149,11 +158,8 @@ | ||
| 149 | 158 | margin: 5px 0 0 0; |
| 150 | 159 | padding: 10px; |
| 151 | 160 | background: #e5e5e5; |
| 152 | 161 | border: 1px solid #ccc; |
| 153 | - font-size: 1.1em; | |
| 154 | - font-weight: normal; | |
| 155 | - line-height: normal; | |
| 156 | 162 | cursor: pointer; |
| 157 | 163 | } |
| 158 | 164 | |
| 159 | 165 | .ayg-editor-section-header:hover { |
| @@ -161,9 +167,8 @@ | ||
| 161 | 167 | } |
| 162 | 168 | |
| 163 | 169 | .ayg-editor-section-header .dashicons-before { |
| 164 | 170 | color: #006799; |
| 165 | - line-height: 1.1em; | |
| 166 | 171 | } |
| 167 | 172 | |
| 168 | 173 | .ayg-editor-section-header .dashicons-plus { |
| 169 | 174 | display: inline-block; |
| @@ -182,9 +187,9 @@ | ||
| 182 | 187 | } |
| 183 | 188 | |
| 184 | 189 | .ayg-editor-controls { |
| 185 | 190 | margin: -1px 0 0 0; |
| 186 | - padding: 10px; | |
| 191 | + padding: 12px 12px 0 12px; | |
| 187 | 192 | background: #fff; |
| 188 | 193 | border: 1px solid #ccc; |
| 189 | 194 | } |
| 190 | 195 | |
| @@ -194,8 +199,9 @@ | ||
| 194 | 199 | |
| 195 | 200 | .ayg-editor-control label { |
| 196 | 201 | display: block; |
| 197 | 202 | margin-bottom: 5px; |
| 203 | + font-weight: 600; | |
| 198 | 204 | } |
| 199 | 205 | |
| 200 | 206 | .ayg-editor-control .wp-picker-input-wrap label { |
| 201 | 207 | display: inline-block; |
| @@ -200,8 +206,12 @@ | ||
| 200 | 206 | .ayg-editor-control .wp-picker-input-wrap label { |
| 201 | 207 | display: inline-block; |
| 202 | 208 | } |
| 203 | 209 | |
| 210 | +.ayg-editor-control .description { | |
| 211 | + font-size: 90%; | |
| 212 | +} | |
| 213 | + | |
| 204 | 214 | .ayg-editor-control-playlist, |
| 205 | 215 | .ayg-editor-control-channel, |
| 206 | 216 | .ayg-editor-control-username, |
| 207 | 217 | .ayg-editor-control-search, |
| @@ -207,12 +217,23 @@ | ||
| 207 | 217 | .ayg-editor-control-search, |
| 208 | 218 | .ayg-editor-control-video, |
| 209 | 219 | .ayg-editor-control-videos, |
| 210 | 220 | .ayg-editor-control-order, |
| 211 | -.ayg-editor-control-limit { | |
| 221 | +.ayg-editor-control-limit, | |
| 222 | +.ayg-editor-control-privacy_enhanced_mode, | |
| 223 | +.ayg-editor-control-origin { | |
| 212 | 224 | display: none; |
| 213 | 225 | } |
| 214 | 226 | |
| 227 | +.ayg-editor-field-pagination_type-more .ayg-editor-control-previous_button_label, | |
| 228 | +.ayg-editor-field-pagination_type-more .ayg-editor-control-next_button_label { | |
| 229 | + display: none; | |
| 230 | +} | |
| 231 | + | |
| 232 | +.ayg-editor-field-pagination_type-pager .ayg-editor-control-more_button_label { | |
| 233 | + display: none; | |
| 234 | +} | |
| 235 | + | |
| 215 | 236 | .ayg-editor-field-type-playlist .ayg-editor-control-playlist { |
| 216 | 237 | display: block; |
| 217 | 238 | } |
| 218 | 239 | |
| @@ -260,16 +281,51 @@ | ||
| 260 | 281 | * |
| 261 | 282 | * Block |
| 262 | 283 | * |
| 263 | 284 | *--------------------------------------------------------------------------------------------*/ |
| 264 | -.ayg-block-panel label { | |
| 265 | - font-weight: 500; | |
| 285 | +.automatic-youtube-gallery-block-panel .components-panel__row .components-base-control { | |
| 286 | + width: 100%; | |
| 266 | 287 | } |
| 267 | 288 | |
| 268 | -.ayg-block-panel .components-select-control__input { | |
| 269 | - line-height: normal !important; | |
| 289 | +.automatic-youtube-gallery-block-panel .components-panel__row .components-base-control label { | |
| 290 | + font-size: 13px; | |
| 291 | + font-weight: normal; | |
| 292 | + text-transform: capitalize; | |
| 270 | 293 | } |
| 271 | 294 | |
| 295 | +.automatic-youtube-gallery-block-panel .components-panel__row .block-editor-panel-color-gradient-settings { | |
| 296 | + width: 100%; | |
| 297 | + padding-left: 0; | |
| 298 | + padding-right: 0; | |
| 299 | +} | |
| 300 | + | |
| 301 | +.is-loading .wp-block-automatic-youtube-gallery-block { | |
| 302 | + opacity: 0.5; | |
| 303 | +} | |
| 304 | + | |
| 305 | +.is-loading .wp-block-automatic-youtube-gallery-block .ayg-error, | |
| 306 | +.is-loading .wp-block-automatic-youtube-gallery-block .ayg-fallback-message { | |
| 307 | + visibility: hidden; | |
| 308 | +} | |
| 309 | + | |
| 310 | +.is-loading .automatic-youtube-gallery-block-spinner { | |
| 311 | + position: absolute; | |
| 312 | + margin: 0; | |
| 313 | + padding: 10px; | |
| 314 | + top: 0; | |
| 315 | + left: 0; | |
| 316 | + background: #fff; | |
| 317 | +} | |
| 318 | + | |
| 319 | +.is-loading .automatic-youtube-gallery-block-spinner svg { | |
| 320 | + margin: 0 10px 0 0; | |
| 321 | +} | |
| 322 | + | |
| 323 | +.is-loading .automatic-youtube-gallery-block-spinner span { | |
| 324 | + line-height: 16px; | |
| 325 | + vertical-align: top; | |
| 326 | +} | |
| 327 | + | |
| 272 | 328 | /*---------------------------------------------------------------------------------------------- |
| 273 | 329 | * |
| 274 | 330 | * Widget |
| 275 | 331 | * |
| @@ -274,37 +330,25 @@ | ||
| 274 | 330 | * Widget |
| 275 | 331 | * |
| 276 | 332 | *--------------------------------------------------------------------------------------------*/ |
| 277 | 333 | .widget .ayg-editor { |
| 278 | - margin-bottom: 15px; | |
| 334 | + margin: 10px 0; | |
| 279 | 335 | } |
| 280 | 336 | |
| 281 | -.widget .ayg-editor .description { | |
| 282 | - padding: 5px 0 !important; | |
| 283 | - word-break: break-word; | |
| 337 | +.widget .ayg-editor .ayg-editor-control { | |
| 338 | + margin-bottom: 12px; | |
| 284 | 339 | } |
| 285 | 340 | |
| 286 | -.branch-5-8 .widget .ayg-editor strong, | |
| 287 | -.branch-5-9 .widget .ayg-editor strong, | |
| 288 | -.branch-6 .widget .ayg-editor strong { | |
| 341 | +.widget .ayg-editor .ayg-editor-control label { | |
| 342 | + display: block; | |
| 343 | + margin-bottom: 0; | |
| 289 | 344 | font-weight: 600; |
| 290 | 345 | } |
| 291 | 346 | |
| 292 | -.branch-5-8 .widget .ayg-editor .ayg-editor-section-header, | |
| 293 | -.branch-5-9 .widget .ayg-editor .ayg-editor-section-header, | |
| 294 | -.branch-6 .widget .ayg-editor .ayg-editor-section-header { | |
| 295 | - margin: 10px 0 0 0; | |
| 296 | - font-size: 14px; | |
| 297 | - font-weight: normal; | |
| 347 | +.widget .ayg-editor .ayg-editor-control .wp-picker-input-wrap label { | |
| 348 | + display: inline-block; | |
| 298 | 349 | } |
| 299 | 350 | |
| 300 | -.branch-5-8 .widget .ayg-editor .ayg-editor-control, | |
| 301 | -.branch-5-9 .widget .ayg-editor .ayg-editor-control, | |
| 302 | -.branch-6 .widget .ayg-editor .ayg-editor-control { | |
| 303 | - margin-bottom: 7px; | |
| 304 | -} | |
| 305 | - | |
| 306 | -.branch-5-8 .widget .ayg-editor .description, | |
| 307 | -.branch-5-9 .widget .ayg-editor .description, | |
| 308 | -.branch-6 .widget .ayg-editor .description { | |
| 351 | +.widget .ayg-editor .ayg-editor-control .description { | |
| 309 | 352 | margin: 0; |
| 353 | + word-break: break-word; | |
| 310 | 354 | } |