diff --git a/wp-content/themes/twentytwenty/style-rtl.css b/wp-content/themes/twentytwenty/style-rtl.css index 38ae399dd6..45d34daa33 100644 --- a/wp-content/themes/twentytwenty/style-rtl.css +++ b/wp-content/themes/twentytwenty/style-rtl.css @@ -693,6 +693,35 @@ input[type="checkbox"] + label { margin-right: 0.5rem; } +input[type="checkbox"] { + -webkit-appearance: none; + -moz-appearance: none; + position: relative; + top: 2px; + display: inline-block; + margin: 0; + width: 1.5rem; + min-width: 1.5rem; + height: 1.5rem; + background: #fff; + border-radius: 0; + border-style: solid; + border-width: 0.1rem; + border-color: #dcd7ca; + box-shadow: none; + cursor: pointer; +} + +input[type="checkbox"]:checked::before { + /* Use the "Yes" SVG Dashicon */ + content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%23000000%27%2F%3E%3C%2Fsvg%3E"); + position: absolute; + display: inline-block; + margin: -0.1875rem -0.25rem 0 0; + height: 1.75rem; + width: 1.75rem; +} + input, textarea, button, diff --git a/wp-content/themes/twentytwenty/style.css b/wp-content/themes/twentytwenty/style.css index 9f1d40d253..e1e1be4555 100644 --- a/wp-content/themes/twentytwenty/style.css +++ b/wp-content/themes/twentytwenty/style.css @@ -697,6 +697,35 @@ input[type="checkbox"] + label { margin-left: 0.5rem; } +input[type="checkbox"] { + -webkit-appearance: none; + -moz-appearance: none; + position: relative; + top: 2px; + display: inline-block; + margin: 0; + width: 1.5rem; + min-width: 1.5rem; + height: 1.5rem; + background: #fff; + border-radius: 0; + border-style: solid; + border-width: 0.1rem; + border-color: #dcd7ca; + box-shadow: none; + cursor: pointer; +} + +input[type="checkbox"]:checked::before { + /* Use the "Yes" SVG Dashicon */ + content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%23000000%27%2F%3E%3C%2Fsvg%3E"); + position: absolute; + display: inline-block; + margin: -0.1875rem 0 0 -0.25rem; + height: 1.75rem; + width: 1.75rem; +} + input, textarea, button, diff --git a/wp-includes/version.php b/wp-includes/version.php index d8e1269413..be1e010bbc 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.3.1-alpha-46846'; +$wp_version = '5.3.1-alpha-46847'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.