Changeset 55048 for trunk/src/wp-admin/css/colors/_admin.scss
- Timestamp:
- 01/11/2023 09:15:06 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/css/colors/_admin.scss
r55045 r55048 3 3 @import 'mixins'; 4 4 5 @function url-friendly-color( $color ) { 5 /** 6 * This function name uses British English to maintain backward compatibility, as developers 7 * may use the function in their own admin CSS files. See #56811. 8 */ 9 @function url-friendly-colour( $color ) { 6 10 @return '%23' + str-slice( '#{ $color }', 2, -1 ); 7 11 } … … 63 67 64 68 input[type=checkbox]:checked::before { 65 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#{url-friendly-colo r($form-checked)}%27%2F%3E%3C%2Fsvg%3E");69 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#{url-friendly-colour($form-checked)}%27%2F%3E%3C%2Fsvg%3E"); 66 70 } 67 71
Note: See TracChangeset
for help on using the changeset viewer.