121 .screen-reader-text, |
121 .screen-reader-text, |
122 .screen-reader-text span, |
122 .screen-reader-text span, |
123 .ui-helper-hidden-accessible { |
123 .ui-helper-hidden-accessible { |
124 border: 0; |
124 border: 0; |
125 clip: rect(1px, 1px, 1px, 1px); |
125 clip: rect(1px, 1px, 1px, 1px); |
126 -webkit-clip-path: inset(50%); |
|
127 clip-path: inset(50%); |
126 clip-path: inset(50%); |
128 height: 1px; |
127 height: 1px; |
129 margin: -1px; |
128 margin: -1px; |
130 overflow: hidden; |
129 overflow: hidden; |
131 padding: 0; |
130 padding: 0; |
136 |
135 |
137 .button .screen-reader-text { |
136 .button .screen-reader-text { |
138 height: auto; /* Fixes a Safari+VoiceOver bug, see ticket #42006 */ |
137 height: auto; /* Fixes a Safari+VoiceOver bug, see ticket #42006 */ |
139 } |
138 } |
140 |
139 |
|
140 .screen-reader-text + .dashicons-external { |
|
141 margin-top: -1px; |
|
142 margin-left: 2px; |
|
143 } |
|
144 |
141 .screen-reader-shortcut { |
145 .screen-reader-shortcut { |
142 position: absolute; |
146 position: absolute; |
143 top: -1000em; |
147 top: -1000em; |
144 } |
|
145 |
|
146 .screen-reader-shortcut:focus { |
|
147 left: 6px; |
148 left: 6px; |
148 top: -25px; |
|
149 height: auto; |
149 height: auto; |
150 width: auto; |
150 width: auto; |
151 display: block; |
151 display: block; |
152 font-size: 14px; |
152 font-size: 14px; |
153 font-weight: 600; |
153 font-weight: 600; |
154 padding: 15px 23px 14px; |
154 padding: 15px 23px 14px; |
|
155 /* Background and color set to prevent false positives in automated accessibility tests. */ |
155 background: #f0f0f1; |
156 background: #f0f0f1; |
156 color: #2271b1; |
157 color: #2271b1; |
157 z-index: 100000; |
158 z-index: 100000; |
158 line-height: normal; |
159 line-height: normal; |
|
160 } |
|
161 |
|
162 .screen-reader-shortcut:focus { |
|
163 top: -25px; |
|
164 /* Overrides a:focus in the admin. See ticket #56789. */ |
|
165 color: #2271b1; |
159 box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); |
166 box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); |
160 text-decoration: none; |
167 text-decoration: none; |
161 /* Only visible in Windows High Contrast mode */ |
168 /* Only visible in Windows High Contrast mode */ |
162 outline: 2px solid transparent; |
169 outline: 2px solid transparent; |
163 outline-offset: -2px; |
170 outline-offset: -2px; |
186 p.popular-tags, |
193 p.popular-tags, |
187 .widgets-holder-wrap, |
194 .widgets-holder-wrap, |
188 .wp-editor-container, |
195 .wp-editor-container, |
189 .popular-tags, |
196 .popular-tags, |
190 .feature-filter, |
197 .feature-filter, |
191 .imgedit-group, |
|
192 .comment-ays { |
198 .comment-ays { |
193 border: 1px solid #c3c4c7; |
199 border: 1px solid #c3c4c7; |
194 box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); |
200 box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); |
195 } |
201 } |
196 |
202 |
271 a:focus, |
276 a:focus, |
272 a:focus .media-icon img, |
277 a:focus .media-icon img, |
273 a:focus .plugin-icon, |
278 a:focus .plugin-icon, |
274 .wp-person a:focus .gravatar { |
279 .wp-person a:focus .gravatar { |
275 color: #043959; |
280 color: #043959; |
276 box-shadow: |
281 box-shadow: 0 0 0 2px #2271b1; |
277 0 0 0 1px #4f94d4, |
282 /* Only visible in Windows High Contrast mode */ |
278 0 0 2px 1px rgba(79, 148, 212, 0.8); |
283 outline: 2px solid transparent; |
279 /* Only visible in Windows High Contrast mode */ |
|
280 outline: 1px solid transparent; |
|
281 } |
284 } |
282 |
285 |
283 #adminmenu a:focus { |
286 #adminmenu a:focus { |
284 box-shadow: none; |
287 box-shadow: none; |
285 /* Only visible in Windows High Contrast mode */ |
288 /* Only visible in Windows High Contrast mode */ |
550 .update-php div.updated, |
553 .update-php div.updated, |
551 .update-php div.error { |
554 .update-php div.error { |
552 margin-left: 0; |
555 margin-left: 0; |
553 } |
556 } |
554 |
557 |
|
558 .js-update-details-toggle .dashicons { |
|
559 text-decoration: none; |
|
560 } |
|
561 |
|
562 .js-update-details-toggle[aria-expanded="true"] .dashicons::before { |
|
563 content: "\f142"; |
|
564 } |
|
565 |
555 .no-js .widefat thead .check-column input, |
566 .no-js .widefat thead .check-column input, |
556 .no-js .widefat tfoot .check-column input { |
567 .no-js .widefat tfoot .check-column input { |
557 display: none; |
568 display: none; |
558 } |
569 } |
559 |
570 |
568 vertical-align: middle; |
579 vertical-align: middle; |
569 } |
580 } |
570 |
581 |
571 .wrap { |
582 .wrap { |
572 margin: 10px 20px 0 2px; |
583 margin: 10px 20px 0 2px; |
573 } |
|
574 |
|
575 .wrap.block-editor-no-js { |
|
576 padding-left: 20px; |
|
577 } |
584 } |
578 |
585 |
579 .wrap > h2:first-child, /* Back-compat for pre-4.4 */ |
586 .wrap > h2:first-child, /* Back-compat for pre-4.4 */ |
580 .wrap [class$="icon32"] + h2, /* Back-compat for pre-4.4 */ |
587 .wrap [class$="icon32"] + h2, /* Back-compat for pre-4.4 */ |
581 .postbox .inside h2, /* Back-compat for pre-4.4 */ |
588 .postbox .inside h2, /* Back-compat for pre-4.4 */ |
612 |
619 |
613 .wrap .add-new-h2, /* deprecated */ |
620 .wrap .add-new-h2, /* deprecated */ |
614 .wrap .add-new-h2:active, /* deprecated */ |
621 .wrap .add-new-h2:active, /* deprecated */ |
615 .wrap .page-title-action, |
622 .wrap .page-title-action, |
616 .wrap .page-title-action:active { |
623 .wrap .page-title-action:active { |
|
624 display: inline-block; |
|
625 position: relative; |
|
626 box-sizing: border-box; |
|
627 cursor: pointer; |
|
628 white-space: nowrap; |
|
629 text-decoration: none; |
|
630 text-shadow: none; |
|
631 top: -3px; |
617 margin-left: 4px; |
632 margin-left: 4px; |
618 padding: 4px 8px; |
|
619 position: relative; |
|
620 top: -3px; |
|
621 text-decoration: none; |
|
622 border: 1px solid #2271b1; |
633 border: 1px solid #2271b1; |
623 border-radius: 2px; |
634 border-radius: 3px; |
624 text-shadow: none; |
635 background: #f6f7f7; |
625 font-weight: 600; |
|
626 font-size: 13px; |
636 font-size: 13px; |
627 line-height: normal; /* IE8-IE11 need this for buttons */ |
637 font-weight: 400; |
|
638 line-height: 2.15384615; |
628 color: #2271b1; /* use the standard color used for buttons */ |
639 color: #2271b1; /* use the standard color used for buttons */ |
629 background: #f6f7f7; |
640 padding: 0 10px; |
630 cursor: pointer; |
641 min-height: 30px; |
|
642 -webkit-appearance: none; |
|
643 |
631 } |
644 } |
632 |
645 |
633 .wrap .wp-heading-inline + .page-title-action { |
646 .wrap .wp-heading-inline + .page-title-action { |
634 margin-left: 0; |
647 margin-left: 0; |
635 } |
648 } |
1100 /* This element is a flex item: the inherited float won't have any effect. */ |
1115 /* This element is a flex item: the inherited float won't have any effect. */ |
1101 margin-top: 0; |
1116 margin-top: 0; |
1102 } |
1117 } |
1103 |
1118 |
1104 .wp-filter .search-form.search-plugins select, |
1119 .wp-filter .search-form.search-plugins select, |
1105 .wp-filter .search-form.search-plugins .wp-filter-search { |
1120 .wp-filter .search-form.search-plugins .wp-filter-search, |
|
1121 .no-js .wp-filter .search-form.search-plugins .button { |
1106 display: inline-block; |
1122 display: inline-block; |
1107 margin-top: 10px; |
|
1108 vertical-align: top; |
1123 vertical-align: top; |
1109 } |
1124 } |
1110 |
1125 |
1111 .wp-filter .button.drawer-toggle { |
1126 .wp-filter .button.drawer-toggle { |
1112 margin: 10px 9px 0; |
1127 margin: 10px 9px 0; |
1479 border-left-color: #72aee6; |
1498 border-left-color: #72aee6; |
1480 } |
1499 } |
1481 |
1500 |
1482 .notice-info.notice-alt { |
1501 .notice-info.notice-alt { |
1483 background-color: #f0f6fc; |
1502 background-color: #f0f6fc; |
|
1503 } |
|
1504 |
|
1505 #plugin-information-footer .update-now:not(.button-disabled):before { |
|
1506 color: #d63638; |
|
1507 content: "\f463"; |
|
1508 display: inline-block; |
|
1509 font: normal 20px/1 dashicons; |
|
1510 margin: -3px 5px 0 -2px; |
|
1511 speak: never; |
|
1512 -webkit-font-smoothing: antialiased; |
|
1513 -moz-osx-font-smoothing: grayscale; |
|
1514 vertical-align: middle; |
|
1515 } |
|
1516 |
|
1517 #plugin-information-footer .notice { |
|
1518 margin-top: -5px; |
1484 } |
1519 } |
1485 |
1520 |
1486 .update-message p:before, |
1521 .update-message p:before, |
1487 .updating-message p:before, |
1522 .updating-message p:before, |
1488 .updated-message p:before, |
1523 .updated-message p:before, |
1489 .import-php .updating-message:before, |
1524 .import-php .updating-message:before, |
1490 .button.updating-message:before, |
1525 .button.updating-message:before, |
1491 .button.updated-message:before, |
1526 .button.updated-message:before, |
1492 .button.installed:before, |
1527 .button.installed:before, |
1493 .button.installing:before { |
1528 .button.installing:before, |
|
1529 .button.activating-message:before, |
|
1530 .button.activated-message:before { |
1494 display: inline-block; |
1531 display: inline-block; |
1495 font: normal 20px/1 'dashicons'; |
1532 font: normal 20px/1 'dashicons'; |
1496 -webkit-font-smoothing: antialiased; |
1533 -webkit-font-smoothing: antialiased; |
1497 -moz-osx-font-smoothing: grayscale; |
1534 -moz-osx-font-smoothing: grayscale; |
1498 vertical-align: top; |
1535 vertical-align: top; |
1525 /* Update icon. */ |
1562 /* Update icon. */ |
1526 .update-message p:before, |
1563 .update-message p:before, |
1527 .updating-message p:before, |
1564 .updating-message p:before, |
1528 .import-php .updating-message:before, |
1565 .import-php .updating-message:before, |
1529 .button.updating-message:before, |
1566 .button.updating-message:before, |
1530 .button.installing:before { |
1567 .button.installing:before, |
|
1568 .button.activating-message:before { |
1531 color: #d63638; |
1569 color: #d63638; |
1532 content: "\f463"; |
1570 content: "\f463"; |
1533 } |
1571 } |
1534 |
1572 |
1535 /* Spins the update icon. */ |
1573 /* Spins the update icon. */ |
1536 .updating-message p:before, |
1574 .updating-message p:before, |
1537 .import-php .updating-message:before, |
1575 .import-php .updating-message:before, |
1538 .button.updating-message:before, |
1576 .button.updating-message:before, |
1539 .button.installing:before, |
1577 .button.installing:before, |
|
1578 .button.activating-message:before, |
1540 .plugins .column-auto-updates .dashicons-update.spin, |
1579 .plugins .column-auto-updates .dashicons-update.spin, |
1541 .theme-overlay .theme-autoupdate .dashicons-update.spin { |
1580 .theme-overlay .theme-autoupdate .dashicons-update.spin { |
1542 animation: rotation 2s infinite linear; |
1581 animation: rotation 2s infinite linear; |
1543 } |
1582 } |
1544 |
1583 |
1545 @media (prefers-reduced-motion: reduce) { |
1584 @media (prefers-reduced-motion: reduce) { |
1546 .updating-message p:before, |
1585 .updating-message p:before, |
1547 .import-php .updating-message:before, |
1586 .import-php .updating-message:before, |
1548 .button.updating-message:before, |
1587 .button.updating-message:before, |
1549 .button.installing:before, |
1588 .button.installing:before, |
|
1589 .button.activating-message:before, |
1550 .plugins .column-auto-updates .dashicons-update.spin, |
1590 .plugins .column-auto-updates .dashicons-update.spin, |
1551 .theme-overlay .theme-autoupdate .dashicons-update.spin { |
1591 .theme-overlay .theme-autoupdate .dashicons-update.spin { |
1552 animation: none; |
1592 animation: none; |
1553 } |
1593 } |
1554 } |
1594 } |
1640 } |
1684 } |
1641 |
1685 |
1642 .button.updating-message:before, |
1686 .button.updating-message:before, |
1643 .button.updated-message:before, |
1687 .button.updated-message:before, |
1644 .button.installed:before, |
1688 .button.installed:before, |
1645 .button.installing:before { |
1689 .button.installing:before, |
|
1690 .button.activated-message:before, |
|
1691 .button.activating-message:before { |
1646 margin: 3px 5px 0 -2px; |
1692 margin: 3px 5px 0 -2px; |
1647 } |
1693 } |
1648 |
1694 |
1649 .button-primary.updating-message:before { |
1695 #plugin-information-footer .button { |
|
1696 padding: 0 14px; |
|
1697 line-height: 2.71428571; /* 38px */ |
|
1698 font-size: 14px; |
|
1699 vertical-align: middle; |
|
1700 min-height: 40px; |
|
1701 margin-bottom: 4px; |
|
1702 } |
|
1703 |
|
1704 #plugin-information-footer .button.installed:before, |
|
1705 #plugin-information-footer .button.installing:before, |
|
1706 #plugin-information-footer .button.updating-message:before, |
|
1707 #plugin-information-footer .button.updated-message:before, |
|
1708 #plugin-information-footer .button.activated-message:before, |
|
1709 #plugin-information-footer .button.activating-message:before { |
|
1710 margin: 9px 5px 0 -2px; |
|
1711 } |
|
1712 |
|
1713 #plugin-information-footer .button.update-now.updating-message:before { |
|
1714 margin: -3px 5px 0 -2px; |
|
1715 } |
|
1716 |
|
1717 .button-primary.updating-message:before, |
|
1718 .button-primary.activating-message:before { |
1650 color: #fff; |
1719 color: #fff; |
1651 } |
1720 } |
1652 |
1721 |
1653 .button-primary.updated-message:before { |
1722 .button-primary.updated-message:before, |
|
1723 .button-primary.activated-message:before { |
1654 color: #9ec2e6; |
1724 color: #9ec2e6; |
1655 } |
1725 } |
1656 |
1726 |
1657 .button.updated-message { |
1727 .button.updated-message, |
|
1728 .button.activated-message { |
1658 transition-property: border, background, color; |
1729 transition-property: border, background, color; |
1659 transition-duration: .05s; |
1730 transition-duration: .05s; |
1660 transition-timing-function: ease-in-out; |
1731 transition-timing-function: ease-in-out; |
1661 } |
1732 } |
1662 |
1733 |
1742 #screen-meta-links .show-settings:focus { |
1813 #screen-meta-links .show-settings:focus { |
1743 color: #2c3338; |
1814 color: #2c3338; |
1744 } |
1815 } |
1745 |
1816 |
1746 #screen-meta-links .show-settings:focus { |
1817 #screen-meta-links .show-settings:focus { |
1747 border-color: #4f94d4; |
1818 border-color: #2271b1; |
1748 box-shadow: 0 0 3px rgba(34, 113, 177, 0.8); |
1819 box-shadow: 0 0 0 1px #2271b1; |
|
1820 /* Only visible in Windows High Contrast mode */ |
|
1821 outline: 2px solid transparent; |
1749 } |
1822 } |
1750 |
1823 |
1751 #screen-meta-links .show-settings:active { |
1824 #screen-meta-links .show-settings:active { |
1752 transform: none; |
1825 transform: none; |
1753 } |
1826 } |
3119 } |
3197 } |
3120 |
3198 |
3121 .postbox .handle-order-higher:focus, |
3199 .postbox .handle-order-higher:focus, |
3122 .postbox .handle-order-lower:focus, |
3200 .postbox .handle-order-lower:focus, |
3123 .postbox .handlediv:focus { |
3201 .postbox .handlediv:focus { |
3124 box-shadow: |
3202 box-shadow: inset 0 0 0 2px #2271b1; |
3125 0 0 0 1px #4f94d4, |
3203 border-radius: 50%; |
3126 0 0 2px 1px rgba(79, 148, 212, 0.8); |
|
3127 /* Only visible in Windows High Contrast mode */ |
3204 /* Only visible in Windows High Contrast mode */ |
3128 outline: 1px solid transparent; |
3205 outline: 2px solid transparent; |
3129 } |
3206 } |
3130 |
3207 |
3131 .postbox .handle-order-higher:focus .order-higher-indicator::before, |
3208 .postbox .handle-order-higher:focus .order-higher-indicator::before, |
3132 .postbox .handle-order-lower:focus .order-lower-indicator::before, |
3209 .postbox .handle-order-lower:focus .order-lower-indicator::before, |
3133 .postbox .handlediv:focus .toggle-indicator::before { |
3210 .postbox .handlediv:focus .toggle-indicator::before { |
3223 |
3299 |
3224 /* Remove outline, and create our own focus and hover styles */ |
3300 /* Remove outline, and create our own focus and hover styles */ |
3225 [role="treeitem"] { |
3301 [role="treeitem"] { |
3226 outline: 0; |
3302 outline: 0; |
3227 } |
3303 } |
|
3304 |
|
3305 [role="treeitem"] a:focus, |
3228 [role="treeitem"] .folder-label.focus { |
3306 [role="treeitem"] .folder-label.focus { |
3229 color: #043959; |
3307 color: #043959; |
3230 box-shadow: |
3308 /* Reset default focus style. */ |
3231 0 0 0 1px #4f94d4, |
3309 box-shadow: none; |
3232 0 0 2px 1px rgba(79, 148, 212, 0.8); |
3310 /* Use an inset outline instead, so it's visible also over the current file item. */ |
3233 } |
3311 outline: 2px solid #2271b1; |
|
3312 outline-offset: -2px; |
|
3313 } |
|
3314 |
3234 [role="treeitem"].hover, |
3315 [role="treeitem"].hover, |
3235 [role="treeitem"] .folder-label.hover { |
3316 [role="treeitem"] .folder-label.hover { |
3236 background-color: #f0f0f1; |
3317 background-color: #f0f0f1; |
3237 } |
3318 } |
3238 |
3319 |
3455 .item-edit:focus, |
3540 .item-edit:focus, |
3456 .sidebar-name:hover .toggle-indicator, |
3541 .sidebar-name:hover .toggle-indicator, |
3457 .accordion-section-title:hover:after { |
3542 .accordion-section-title:hover:after { |
3458 color: #1d2327; |
3543 color: #1d2327; |
3459 /* Only visible in Windows High Contrast mode */ |
3544 /* Only visible in Windows High Contrast mode */ |
3460 outline: 1px solid transparent; |
3545 outline: 2px solid transparent; |
3461 } |
3546 } |
3462 |
3547 |
3463 .widget-top .widget-action:focus .toggle-indicator:before { |
3548 .widget-top .widget-action:focus .toggle-indicator:before { |
3464 box-shadow: |
3549 box-shadow: 0 0 0 2px #2271b1; |
3465 0 0 0 1px #4f94d4, |
3550 /* Only visible in Windows High Contrast mode */ |
3466 0 0 2px 1px rgba(79, 148, 212, 0.8); |
3551 outline: 2px solid transparent; |
3467 } |
3552 } |
3468 |
3553 |
3469 .control-section .accordion-section-title:after, |
3554 .control-section .accordion-section-title:after, |
3470 .accordion-section-title:after { |
3555 .accordion-section-title:after { |
3471 float: right; |
3556 float: right; |
4105 .nav-tab-active:focus, |
4189 .nav-tab-active:focus, |
4106 .nav-tab-active:focus:active { |
4190 .nav-tab-active:focus:active { |
4107 border-bottom: 1px solid #c3c4c7; |
4191 border-bottom: 1px solid #c3c4c7; |
4108 } |
4192 } |
4109 |
4193 |
4110 .wp-filter .search-form input[type="search"] { |
4194 .wp-filter .search-form.search-plugins label { |
4111 width: 100%; |
4195 width: 100%; |
|
4196 } |
|
4197 } |
|
4198 |
|
4199 @media screen and (max-width: 480px) { |
|
4200 .metabox-prefs-container { |
|
4201 display: grid; |
|
4202 } |
|
4203 |
|
4204 .metabox-prefs-container > * { |
|
4205 display: inline-block; |
|
4206 padding: 2px; |
4112 } |
4207 } |
4113 } |
4208 } |
4114 |
4209 |
4115 @media screen and (max-width: 320px) { |
4210 @media screen and (max-width: 320px) { |
4116 /* Prevent default center alignment and larger font for the Right Now widget when |
4211 /* Prevent default center alignment and larger font for the Right Now widget when |