diff --git src/wp-admin/css/widgets.css src/wp-admin/css/widgets.css
index 2f34ae6882..267df0e7d5 100644
|
|
|
|
| 110 | 110 | background-color: #fbfbfc; |
| 111 | 111 | border-style: solid; |
| 112 | 112 | border-color: #5b9dd9; |
| 113 | | box-shadow: 0 0 3px rgba( 0, 115, 170, .8 ); |
| | 113 | box-shadow: 0 0 3px rgba(0, 115, 170, 0.8); |
| 114 | 114 | /* Only visible in Windows High Contrast mode */ |
| 115 | 115 | outline: 2px solid transparent; |
| 116 | 116 | outline-offset: -2px; |
| … |
… |
|
| 133 | 133 | .media-widget-control .media-widget-preview img { |
| 134 | 134 | max-width: 100%; |
| 135 | 135 | vertical-align: middle; |
| | 136 | background-image: linear-gradient( |
| | 137 | 45deg, |
| | 138 | #c4c4c4 25%, |
| | 139 | transparent 25%, |
| | 140 | transparent 75%, |
| | 141 | #c4c4c4 75%, |
| | 142 | #c4c4c4 |
| | 143 | ), |
| | 144 | linear-gradient( |
| | 145 | 45deg, |
| | 146 | #c4c4c4 25%, |
| | 147 | transparent 25%, |
| | 148 | transparent 75%, |
| | 149 | #c4c4c4 75%, |
| | 150 | #c4c4c4 |
| | 151 | ); |
| | 152 | background-position: 0 0, 10px 10px; |
| | 153 | background-size: 20px 20px; |
| | 154 | width: 100%; |
| 136 | 155 | } |
| 137 | 156 | .media-widget-control .media-widget-preview .wp-video-shortcode { |
| 138 | 157 | background: #000; |
| … |
… |
|
| 163 | 182 | } |
| 164 | 183 | |
| 165 | 184 | .media-widget-video-link .dashicons { |
| 166 | | font: normal 60px/1 'dashicons'; |
| | 185 | font: normal 60px/1 "dashicons"; |
| 167 | 186 | position: relative; |
| 168 | 187 | width: 100%; |
| 169 | 188 | top: -90px; |
| … |
… |
|
| 217 | 236 | * See: https://alistapart.com/article/quantity-queries-for-css |
| 218 | 237 | */ |
| 219 | 238 | .media-widget-gallery-preview .gallery-item:nth-last-child(3):first-child, |
| 220 | | .media-widget-gallery-preview .gallery-item:nth-last-child(3):first-child ~ .gallery-item, |
| 221 | | .media-widget-gallery-preview .gallery-item:nth-last-child(n+5), |
| 222 | | .media-widget-gallery-preview .gallery-item:nth-last-child(n+5) ~ .gallery-item, |
| 223 | | .media-widget-gallery-preview .gallery-item:nth-last-child(n+6), |
| 224 | | .media-widget-gallery-preview .gallery-item:nth-last-child(n+6) ~ .gallery-item { |
| | 239 | .media-widget-gallery-preview |
| | 240 | .gallery-item:nth-last-child(3):first-child |
| | 241 | ~ .gallery-item, |
| | 242 | .media-widget-gallery-preview .gallery-item:nth-last-child(n + 5), |
| | 243 | .media-widget-gallery-preview |
| | 244 | .gallery-item:nth-last-child(n + 5) |
| | 245 | ~ .gallery-item, |
| | 246 | .media-widget-gallery-preview .gallery-item:nth-last-child(n + 6), |
| | 247 | .media-widget-gallery-preview |
| | 248 | .gallery-item:nth-last-child(n + 6) |
| | 249 | ~ .gallery-item { |
| 225 | 250 | max-width: 33.33%; |
| 226 | 251 | } |
| 227 | 252 | |
| … |
… |
|
| 252 | 277 | color: white; |
| 253 | 278 | } |
| 254 | 279 | |
| 255 | | |
| 256 | 280 | /* Widget Dragging Helpers */ |
| 257 | 281 | .widget.ui-draggable-dragging { |
| 258 | 282 | min-width: 100%; |
| … |
… |
|
| 327 | 351 | } |
| 328 | 352 | |
| 329 | 353 | .sidebar-name .handlediv:focus .toggle-indicator:before { |
| 330 | | box-shadow: |
| 331 | | 0 0 0 1px #5b9dd9, |
| 332 | | 0 0 2px 1px rgba(30, 140, 190, 0.8); |
| | 354 | box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); |
| 333 | 355 | } |
| 334 | 356 | |
| 335 | 357 | .sidebar-name h2, |
| … |
… |
div#widgets-right .closed .widgets-sortables {
|
| 539 | 561 | .widget-control-edit { |
| 540 | 562 | display: block; |
| 541 | 563 | color: #666; |
| 542 | | background: #EEE; |
| | 564 | background: #eee; |
| 543 | 565 | padding: 0 15px; |
| 544 | | line-height: 3.30769230; |
| 545 | | border-left: 1px solid #DDD; |
| | 566 | line-height: 3.3076923; |
| | 567 | border-left: 1px solid #ddd; |
| 546 | 568 | } |
| 547 | 569 | |
| 548 | 570 | #widgets-left .widget-control-edit:hover, |
| … |
… |
div#widgets-right .closed .widgets-sortables {
|
| 634 | 656 | cursor: default; |
| 635 | 657 | } |
| 636 | 658 | |
| 637 | | |
| 638 | 659 | /* Widgets Area Chooser */ |
| 639 | 660 | .widget-liquid-left #widgets-left.chooser #available-widgets .widget, |
| 640 | 661 | .widget-liquid-left #widgets-left.chooser .inactive-sidebar { |
| … |
… |
div#widgets-right .closed .widgets-sortables {
|
| 648 | 669 | pointer-events: none; |
| 649 | 670 | } |
| 650 | 671 | |
| 651 | | .widget-liquid-left #widgets-left.chooser #available-widgets .widget-in-question { |
| | 672 | .widget-liquid-left |
| | 673 | #widgets-left.chooser |
| | 674 | #available-widgets |
| | 675 | .widget-in-question { |
| 652 | 676 | /* -webkit-filter: none; */ |
| 653 | 677 | opacity: 1; |
| 654 | 678 | pointer-events: auto; |
| … |
… |
div#widgets-right .widget-top:hover,
|
| 769 | 793 | ul.CodeMirror-hints { |
| 770 | 794 | z-index: 101; /* Due to z-index 100 set on .widget.open */ |
| 771 | 795 | } |
| 772 | | .widget-control-actions .custom-html-widget-save-button.button.validation-blocked { |
| | 796 | .widget-control-actions |
| | 797 | .custom-html-widget-save-button.button.validation-blocked { |
| 773 | 798 | cursor: not-allowed; |
| 774 | 799 | } |
| 775 | 800 | |