[wp-trac] [WordPress Trac] #60374: Twenty Sixteen: Navigation block inherits colors from button styles

WordPress Trac noreply at wordpress.org
Tue Jun 4 04:19:50 UTC 2024


#60374: Twenty Sixteen: Navigation block inherits colors from button styles
-------------------------------------+-----------------------
 Reporter:  poena                    |       Owner:  (none)
     Type:  defect (bug)             |      Status:  assigned
 Priority:  normal                   |   Milestone:  6.6
Component:  Bundled Theme            |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  css
-------------------------------------+-----------------------

Comment (by poena):

 I am not able to apply the patch, I copy pasted the CSS to the theme
 manually to test it.

 {{{
 grunt
 patch:https://core.trac.wordpress.org/attachment/ticket/60374/60374.diff
 package.json has not been modified.
 Running
 "patch:https://core.trac.wordpress.org/attachment/ticket/60374/60374.diff"
 (patch) task
 patching file src/wp-content/themes/twentysixteen/css/blocks.css
 Assertion failed: hunk, file ../patch-2.5.9-src/patch.c, line 354
 }}}



 The button element that is the parent menu item is not styled the same way
 as the link elements. There should be a bottom border that is hidden on
 hover and focus. The button is missing hover styles except for the mouse
 pointer. This border should only be added to this element, not other
 buttons.

 The style that sets the background color on buttons to transparent removes
 the background color on the submit button in the search block.
 Because the text color on the button element is white, the icon in the
 search block is not visible when the block is added to the navigation.

 (It does not affect the submit button in the login/out block)

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60374#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list