Ticket #52029: 52029.patch
File 52029.patch, 5.6 KB (added by , 4 years ago) |
---|
-
wp-content/themes/twentytwentyone/assets/css/ie.css
1298 1298 background-color: #d1e4dd; 1299 1299 } 1300 1300 1301 button {1302 cursor: pointer;1303 }1304 1305 1301 .clear:before, 1306 1302 .clear:after, 1307 1303 .entry-content:before, … … 2257 2253 padding: 15px 30px; 2258 2254 } 2259 2255 2256 button { 2257 line-height: 1.5; 2258 color: #d1e4dd; 2259 cursor: pointer; 2260 font-weight: 500; 2261 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; 2262 font-size: 1.25rem; 2263 background-color: #39414d; 2264 border-radius: 0; 2265 border: 3px solid #39414d; 2266 text-decoration: none; 2267 padding: 15px 30px; 2268 } 2269 2260 2270 input[type=submit] { 2261 2271 line-height: 1.5; 2262 2272 color: #d1e4dd; … … 2314 2324 } 2315 2325 2316 2326 .site .button:focus, 2327 button:focus, 2317 2328 input[type=submit]:focus, 2318 2329 input[type=reset]:focus, 2319 2330 .wp-block-search__button:focus, … … 2327 2338 color: #39414d; 2328 2339 } 2329 2340 2341 .is-dark-theme button:focus { 2342 color: #39414d; 2343 } 2344 2330 2345 .is-dark-theme input[type=submit]:focus { 2331 2346 color: #39414d; 2332 2347 } … … 2347 2362 color: #39414d; 2348 2363 } 2349 2364 2365 button:focus:not(.has-background) { 2366 color: #39414d; 2367 } 2368 2350 2369 input[type=submit]:focus:not(.has-background) { 2351 2370 color: #39414d; 2352 2371 } … … 2369 2388 color: #39414d; 2370 2389 } 2371 2390 2391 button:disabled { 2392 background-color: rgba(255, 255, 255, 0.5); 2393 border-color: rgba(255, 255, 255, 0.5); 2394 color: #39414d; 2395 } 2396 2372 2397 input[type=submit]:disabled { 2373 2398 background-color: rgba(255, 255, 255, 0.5); 2374 2399 border-color: rgba(255, 255, 255, 0.5); … … 2398 2423 background-color: #d1e4dd; 2399 2424 } 2400 2425 2426 button:active { 2427 color: #39414d; 2428 background-color: #d1e4dd; 2429 } 2430 2401 2431 input[type=submit]:active { 2402 2432 color: #39414d; 2403 2433 background-color: #d1e4dd; … … 2423 2453 background: transparent; 2424 2454 } 2425 2455 2456 button:hover { 2457 color: #39414d; 2458 background: transparent; 2459 } 2460 2426 2461 input[type=submit]:hover { 2427 2462 color: #39414d; 2428 2463 background: transparent; -
wp-content/themes/twentytwentyone/assets/sass/05-blocks/button/_style.scss
2 2 * Button 3 3 */ 4 4 .site .button, 5 button, 5 6 input[type="submit"], 6 7 input[type="reset"], 7 8 .wp-block-search__button, … … 11 12 } 12 13 13 14 .site .button, 15 button, 14 16 input[type="submit"], 15 17 input[type="reset"], 16 18 .wp-block-search .wp-block-search__button, -
wp-content/themes/twentytwentyone/style-rtl.css
1705 1705 * Button 1706 1706 */ 1707 1707 .site .button, 1708 button, 1708 1709 input[type=submit], 1709 1710 input[type=reset], 1710 1711 .wp-block-search__button, … … 1723 1724 } 1724 1725 1725 1726 .site .button:focus, 1727 button:focus, 1726 1728 input[type=submit]:focus, 1727 1729 input[type=reset]:focus, 1728 1730 .wp-block-search__button:focus, … … 1733 1735 } 1734 1736 1735 1737 .is-dark-theme .site .button:focus, 1738 .is-dark-theme button:focus, 1736 1739 .is-dark-theme input[type=submit]:focus, 1737 1740 .is-dark-theme input[type=reset]:focus, 1738 1741 .is-dark-theme .wp-block-search__button:focus, … … 1741 1744 } 1742 1745 1743 1746 .site .button:focus:not(.has-background), 1747 button:focus:not(.has-background), 1744 1748 input[type=submit]:focus:not(.has-background), 1745 1749 input[type=reset]:focus:not(.has-background), 1746 1750 .wp-block-search__button:focus:not(.has-background), … … 1749 1753 } 1750 1754 1751 1755 .site .button:disabled, 1756 button:disabled, 1752 1757 input[type=submit]:disabled, 1753 1758 input[type=reset]:disabled, 1754 1759 .wp-block-search__button:disabled, … … 1759 1764 } 1760 1765 1761 1766 .site .button:active, 1767 button:active, 1762 1768 input[type=submit]:active, 1763 1769 input[type=reset]:active, 1764 1770 .wp-block-search .wp-block-search__button:active, … … 1768 1774 } 1769 1775 1770 1776 .site .button:hover, 1777 button:hover, 1771 1778 input[type=submit]:hover, 1772 1779 input[type=reset]:hover, 1773 1780 .wp-block-search .wp-block-search__button:hover, -
wp-content/themes/twentytwentyone/style.css
1715 1715 * Button 1716 1716 */ 1717 1717 .site .button, 1718 button, 1718 1719 input[type=submit], 1719 1720 input[type=reset], 1720 1721 .wp-block-search__button, … … 1733 1734 } 1734 1735 1735 1736 .site .button:focus, 1737 button:focus, 1736 1738 input[type=submit]:focus, 1737 1739 input[type=reset]:focus, 1738 1740 .wp-block-search__button:focus, … … 1743 1745 } 1744 1746 1745 1747 .is-dark-theme .site .button:focus, 1748 .is-dark-theme button:focus, 1746 1749 .is-dark-theme input[type=submit]:focus, 1747 1750 .is-dark-theme input[type=reset]:focus, 1748 1751 .is-dark-theme .wp-block-search__button:focus, … … 1751 1754 } 1752 1755 1753 1756 .site .button:focus:not(.has-background), 1757 button:focus:not(.has-background), 1754 1758 input[type=submit]:focus:not(.has-background), 1755 1759 input[type=reset]:focus:not(.has-background), 1756 1760 .wp-block-search__button:focus:not(.has-background), … … 1759 1763 } 1760 1764 1761 1765 .site .button:disabled, 1766 button:disabled, 1762 1767 input[type=submit]:disabled, 1763 1768 input[type=reset]:disabled, 1764 1769 .wp-block-search__button:disabled, … … 1769 1774 } 1770 1775 1771 1776 .site .button:active, 1777 button:active, 1772 1778 input[type=submit]:active, 1773 1779 input[type=reset]:active, 1774 1780 .wp-block-search .wp-block-search__button:active, … … 1778 1784 } 1779 1785 1780 1786 .site .button:hover, 1787 button:hover, 1781 1788 input[type=submit]:hover, 1782 1789 input[type=reset]:hover, 1783 1790 .wp-block-search .wp-block-search__button:hover,