[wp-trac] [WordPress Trac] #25930: Twenty Fourteen: Search Bar Widget style is very dark

WordPress Trac noreply at wordpress.org
Wed Nov 13 00:14:00 UTC 2013


#25930: Twenty Fourteen: Search Bar Widget style is very dark
---------------------------+--------------------
 Reporter:  RDall          |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  3.8
Component:  Bundled Theme  |     Version:  trunk
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |
---------------------------+--------------------

Comment (by iamtakashi):

 Sorry if I wasn't clear but we should change all input and textarea in the
 sidebar if we change it.

 Anyway, after a bit of research, it turns out placeholder text gets lower
 opacity by default from Firefox 19 and that was why it appeared darker
 than how it should be. So the appropriate fix is explicitly setting
 `opacity: 1;` for `::-moz-placeholder` [http://css-tricks.com/snippets/css
 /style-placeholder-text/#comment-267934 Ref.]

 I lighten a bit of the placeholder text on top of that, but for the
 border, I don't want lighten it too much so I changed it to the same with
 the color of the border used in the sidebar: `rgba(255, 255, 255, 0.2)`
 and `rgba(255, 255, 255, 0.3)` for hover.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25930#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list