Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
Bartik theme
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
6 Jun 2014 at 16:48 UTC
Updated:
18 Oct 2014 at 15:54 UTC
Jump to comment: Most recent, Most recent file


Comments
Comment #1
a_thakur commentedComment #2
mukeysh commentedPlease find the patch which fixes the issue.
Comment #3
dervishmoose commentedAdding form text and form search to this class produces a more useable search box, but causes issues. Suggest a simple .region-header .form-search {
color: #000000;
}
Comment #4
dervishmoose commentedAdded
.region-header .form-search {
color: #000000;
}
Comment #5
dervishmoose commentedFixed patch
Comment #6
mukeysh commentedThe color should be #3b3b3b as in the other forms. Please find the patch which fixes this issue.
Comment #7
rick hood commentedConfirming I get #3b3b3b; for text in search.

Comment #8
rick hood commentedComment #9
alexpottThis also occurs if you put the search block in the footer region. And this would also occur with any other forms... eg if you move the login form into the header - well that actually uses the
.region-header .form-text. Anyhow I think this issue indicates we have a bigger problem with places forms in the header and footer regions of bartik.EDIT: fix code block
Comment #10
nathanlawsn commentedComment #11
nathanlawsn commentedSubmitting patch which fixes the issue.
Comment #12
criscomGoing to test the patch.
Comment #13
olav commentedThe patch applied cleanly for me.

It even does the right thing -
Comment #14
rade commentedI also tested this and the latest patch works fine. Agreeing with the RTBC.
Comment #15
rade commentedComment #16
yanniboi commentedThe patch in number 11 addresses @alexpott's concern about region specific text. The color of the text in the form element does not have a sensible default which is why the color of a region impacts it (eg. white in header). The new patch sets a default color on form elements. Since the default for form element backgrounds is white everywhere on the site, grey is a good default for the color and will not have any negative side effects elsewhere.
The color #3b3b3b that was chosen to be the default was chosen because that is the color of the text in other regions (eg. first sidebar or content).
Comment #17
emma.mariaBefore the search element was moved to the header it was using #3b3b3b as the text color.
Therefore it should keep this colour in the header and the most recent patch contains this.
110% agree with RTBC, great work @nathanlawson91!
Comment #18
alexpottCommitted 67af636 and pushed to 8.0.x. Thanks!
Thanks for addressing my concerns.