| 1 |
/*---------------------------------------------------------------------------------------------- |
| 2 |
* |
| 3 |
* Global |
| 4 |
* |
| 5 |
*--------------------------------------------------------------------------------------------*/ |
| 6 |
.ayg-text-center { |
| 7 |
text-align: center; |
| 8 |
} |
| 9 |
|
| 10 |
.ayg-text-error { |
| 11 |
color: #EC4338; |
| 12 |
} |
| 13 |
|
| 14 |
.ayg-text-success { |
| 15 |
color: green; |
| 16 |
} |
| 17 |
|
| 18 |
.ayg-ajax-status .spinner { |
| 19 |
float: none; |
| 20 |
visibility: visible; |
| 21 |
} |
| 22 |
|
| 23 |
/*---------------------------------------------------------------------------------------------- |
| 24 |
* |
| 25 |
* Dashboard |
| 26 |
* |
| 27 |
*--------------------------------------------------------------------------------------------*/ |
| 28 |
#ayg-dashboard h1 { |
| 29 |
font-size: 2em; |
| 30 |
font-weight: 500; |
| 31 |
} |
| 32 |
|
| 33 |
#ayg-dashboard .wp-badge { |
| 34 |
margin-bottom: 0; |
| 35 |
background: #EC4338 url( '../images/logo.png' ) no-repeat top; |
| 36 |
} |
| 37 |
|
| 38 |
#ayg-table-api-key .ayg-ajax-status span { |
| 39 |
margin: 0 7px; |
| 40 |
} |
| 41 |
|
| 42 |
#ayg-shortcode-builder { |
| 43 |
display: -webkit-flex; /* Safari */ |
| 44 |
-webkit-flex-wrap: wrap; /* Safari 6.1+ */ |
| 45 |
display: flex; |
| 46 |
flex-wrap: wrap; |
| 47 |
margin: 0 -15px; |
| 48 |
} |
| 49 |
|
| 50 |
#ayg-shortcode-builder .ayg-left-col, |
| 51 |
#ayg-shortcode-builder .ayg-right-col { |
| 52 |
width: 100%; |
| 53 |
} |
| 54 |
|
| 55 |
#ayg-shortcode-builder .ayg-col-content { |
| 56 |
padding: 15px; |
| 57 |
} |
| 58 |
|
| 59 |
@media only screen and (min-width: 768px) { |
| 60 |
#ayg-shortcode-builder .ayg-left-col { |
| 61 |
width: 60%; |
| 62 |
} |
| 63 |
|
| 64 |
#ayg-shortcode-builder .ayg-right-col { |
| 65 |
width: 40%; |
| 66 |
} |
| 67 |
} |
| 68 |
|
| 69 |
/*---------------------------------------------------------------------------------------------- |
| 70 |
* |
| 71 |
* Settings |
| 72 |
* |
| 73 |
*--------------------------------------------------------------------------------------------*/ |
| 74 |
#ayg-table-delete-cache { |
| 75 |
margin-top: 0; |
| 76 |
} |
| 77 |
|
| 78 |
#ayg-table-delete-cache .ayg-text-success { |
| 79 |
line-height: 28px; |
| 80 |
margin: 0 7px; |
| 81 |
} |
| 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 |
|
| 92 |
/*---------------------------------------------------------------------------------------------- |
| 93 |
* |
| 94 |
* Modal |
| 95 |
* |
| 96 |
*--------------------------------------------------------------------------------------------*/ |
| 97 |
.ayg-modal { |
| 98 |
position: fixed; |
| 99 |
width: 100%; |
| 100 |
height: 100%; |
| 101 |
margin: 0; |
| 102 |
padding: 0; |
| 103 |
top: 0; |
| 104 |
left: 0; |
| 105 |
z-index: 9999; |
| 106 |
} |
| 107 |
|
| 108 |
.ayg-modal-bg { |
| 109 |
width: 100%; |
| 110 |
height: 100%; |
| 111 |
background-color: #000; |
| 112 |
opacity: 0.9; |
| 113 |
} |
| 114 |
|
| 115 |
.ayg-modal-content { |
| 116 |
position: absolute; |
| 117 |
width: 100%; |
| 118 |
height: 100%; |
| 119 |
margin: 0; |
| 120 |
padding: 0; |
| 121 |
top: 0; |
| 122 |
left: 0; |
| 123 |
overflow-y: auto; |
| 124 |
z-index: 1; |
| 125 |
} |
| 126 |
|
| 127 |
.ayg-modal-body { |
| 128 |
position: relative; |
| 129 |
width: 90%; |
| 130 |
max-width: 540px; |
| 131 |
margin: 50px auto; |
| 132 |
padding: 15px; |
| 133 |
background-color: #fff; |
| 134 |
} |
| 135 |
|
| 136 |
.ayg-modal-body .ayg-modal-close { |
| 137 |
position: absolute; |
| 138 |
width: 25px; |
| 139 |
height: 25px; |
| 140 |
top: 15px; |
| 141 |
right: 15px; |
| 142 |
color: #999; |
| 143 |
font-size: 25px; |
| 144 |
text-align: center; |
| 145 |
cursor: pointer; |
| 146 |
} |
| 147 |
|
| 148 |
.ayg-modal-body .ayg-modal-title { |
| 149 |
margin: 0 25px 15px 0; |
| 150 |
} |
| 151 |
|
| 152 |
/*---------------------------------------------------------------------------------------------- |
| 153 |
* |
| 154 |
* Editor |
| 155 |
* |
| 156 |
*--------------------------------------------------------------------------------------------*/ |
| 157 |
.ayg-editor-section-header { |
| 158 |
margin: 5px 0 0 0; |
| 159 |
padding: 10px; |
| 160 |
background: #e5e5e5; |
| 161 |
border: 1px solid #ccc; |
| 162 |
cursor: pointer; |
| 163 |
} |
| 164 |
|
| 165 |
.ayg-editor-section-header:hover { |
| 166 |
background: #f9f9f9; |
| 167 |
} |
| 168 |
|
| 169 |
.ayg-editor-section-header .dashicons-before { |
| 170 |
color: #006799; |
| 171 |
} |
| 172 |
|
| 173 |
.ayg-editor-section-header .dashicons-plus { |
| 174 |
display: inline-block; |
| 175 |
} |
| 176 |
|
| 177 |
.ayg-editor-section-header .dashicons-minus { |
| 178 |
display: none; |
| 179 |
} |
| 180 |
|
| 181 |
.ayg-active .ayg-editor-section-header .dashicons-plus { |
| 182 |
display: none; |
| 183 |
} |
| 184 |
|
| 185 |
.ayg-active .ayg-editor-section-header .dashicons-minus { |
| 186 |
display: inline-block; |
| 187 |
} |
| 188 |
|
| 189 |
.ayg-editor-controls { |
| 190 |
margin: -1px 0 0 0; |
| 191 |
padding: 12px 12px 0 12px; |
| 192 |
background: #fff; |
| 193 |
border: 1px solid #ccc; |
| 194 |
} |
| 195 |
|
| 196 |
.ayg-editor-control { |
| 197 |
margin-bottom: 15px; |
| 198 |
} |
| 199 |
|
| 200 |
.ayg-editor-control label { |
| 201 |
display: block; |
| 202 |
margin-bottom: 5px; |
| 203 |
font-weight: 600; |
| 204 |
} |
| 205 |
|
| 206 |
.ayg-editor-control .wp-picker-input-wrap label { |
| 207 |
display: inline-block; |
| 208 |
} |
| 209 |
|
| 210 |
.ayg-editor-control .description { |
| 211 |
font-size: 90%; |
| 212 |
} |
| 213 |
|
| 214 |
.ayg-editor-control-playlist, |
| 215 |
.ayg-editor-control-channel, |
| 216 |
.ayg-editor-control-username, |
| 217 |
.ayg-editor-control-search, |
| 218 |
.ayg-editor-control-video, |
| 219 |
.ayg-editor-control-videos, |
| 220 |
.ayg-editor-control-order, |
| 221 |
.ayg-editor-control-limit, |
| 222 |
.ayg-editor-control-privacy_enhanced_mode, |
| 223 |
.ayg-editor-control-origin { |
| 224 |
display: none; |
| 225 |
} |
| 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 |
|
| 236 |
.ayg-editor-field-type-playlist .ayg-editor-control-playlist { |
| 237 |
display: block; |
| 238 |
} |
| 239 |
|
| 240 |
.ayg-editor-field-type-channel .ayg-editor-control-channel, |
| 241 |
.ayg-editor-field-type-livestream .ayg-editor-control-channel { |
| 242 |
display: block; |
| 243 |
} |
| 244 |
|
| 245 |
.ayg-editor-field-type-username .ayg-editor-control-username { |
| 246 |
display: block; |
| 247 |
} |
| 248 |
|
| 249 |
.ayg-editor-field-type-search .ayg-editor-control-search, |
| 250 |
.ayg-editor-field-type-search .ayg-editor-control-order, |
| 251 |
.ayg-editor-field-type-search .ayg-editor-control-limit { |
| 252 |
display: block; |
| 253 |
} |
| 254 |
|
| 255 |
.ayg-editor-field-type-video .ayg-editor-control-video { |
| 256 |
display: block; |
| 257 |
} |
| 258 |
|
| 259 |
.ayg-editor-field-type-video .ayg-editor-control-autoadvance { |
| 260 |
display: none; |
| 261 |
} |
| 262 |
|
| 263 |
.ayg-editor-field-type-livestream .ayg-editor-control-cache, |
| 264 |
.ayg-editor-field-type-livestream .ayg-editor-control-player_title, |
| 265 |
.ayg-editor-field-type-livestream .ayg-editor-control-player_description, |
| 266 |
.ayg-editor-field-type-livestream .ayg-editor-control-autoadvance, |
| 267 |
.ayg-editor-field-type-livestream .ayg-editor-control-loop { |
| 268 |
display: none; |
| 269 |
} |
| 270 |
|
| 271 |
.ayg-editor-field-type-video .ayg-editor-section-gallery, |
| 272 |
.ayg-editor-field-type-livestream .ayg-editor-section-gallery { |
| 273 |
display: none; |
| 274 |
} |
| 275 |
|
| 276 |
.ayg-editor-field-type-videos .ayg-editor-control-videos { |
| 277 |
display: block; |
| 278 |
} |
| 279 |
|
| 280 |
/*---------------------------------------------------------------------------------------------- |
| 281 |
* |
| 282 |
* Block |
| 283 |
* |
| 284 |
*--------------------------------------------------------------------------------------------*/ |
| 285 |
.automatic-youtube-gallery-block-panel .components-panel__row .components-base-control { |
| 286 |
width: 100%; |
| 287 |
} |
| 288 |
|
| 289 |
.automatic-youtube-gallery-block-panel .components-panel__row .components-base-control label { |
| 290 |
text-transform: capitalize; |
| 291 |
font-size: 13px; |
| 292 |
font-weight: normal; |
| 293 |
} |
| 294 |
|
| 295 |
.automatic-youtube-gallery-block-panel .components-panel__row .components-range-control__wrapper { |
| 296 |
flex: 1 1 100%; |
| 297 |
} |
| 298 |
|
| 299 |
.automatic-youtube-gallery-block-panel .components-panel__row .block-editor-panel-color-gradient-settings { |
| 300 |
padding-left: 0; |
| 301 |
padding-right: 0; |
| 302 |
width: 100%; |
| 303 |
} |
| 304 |
|
| 305 |
.is-loading .wp-block-automatic-youtube-gallery-block { |
| 306 |
opacity: 0.5; |
| 307 |
} |
| 308 |
|
| 309 |
.is-loading .wp-block-automatic-youtube-gallery-block .ayg-error { |
| 310 |
visibility: hidden; |
| 311 |
} |
| 312 |
|
| 313 |
.is-loading .automatic-youtube-gallery-block-spinner { |
| 314 |
position: absolute; |
| 315 |
margin: 0; |
| 316 |
padding: 10px; |
| 317 |
top: 0; |
| 318 |
left: 0; |
| 319 |
background: #fff; |
| 320 |
} |
| 321 |
|
| 322 |
.is-loading .automatic-youtube-gallery-block-spinner svg { |
| 323 |
margin: 0 10px 0 0; |
| 324 |
} |
| 325 |
|
| 326 |
.is-loading .automatic-youtube-gallery-block-spinner span { |
| 327 |
line-height: 16px; |
| 328 |
vertical-align: top; |
| 329 |
} |
| 330 |
|
| 331 |
/*---------------------------------------------------------------------------------------------- |
| 332 |
* |
| 333 |
* Widget |
| 334 |
* |
| 335 |
*--------------------------------------------------------------------------------------------*/ |
| 336 |
.widget .ayg-editor { |
| 337 |
margin: 10px 0; |
| 338 |
} |
| 339 |
|
| 340 |
.widget .ayg-editor .ayg-editor-control { |
| 341 |
margin-bottom: 12px; |
| 342 |
} |
| 343 |
|
| 344 |
.widget .ayg-editor .ayg-editor-control label { |
| 345 |
display: block; |
| 346 |
margin-bottom: 0; |
| 347 |
font-weight: 600; |
| 348 |
} |
| 349 |
|
| 350 |
.widget .ayg-editor .ayg-editor-control .wp-picker-input-wrap label { |
| 351 |
display: inline-block; |
| 352 |
} |
| 353 |
|
| 354 |
.widget .ayg-editor .ayg-editor-control .description { |
| 355 |
margin: 0; |
| 356 |
word-break: break-word; |
| 357 |
} |