-
Suggestion
-
Resolution: Unresolved
-
None
-
None
-
3
-
8
-
NOTE: This suggestion is for JIRA Server. Using JIRA Cloud? See the corresponding suggestion.
When choosing dark colours for the 'Header Background Colour', the search bar is difficult to locate. This behaviour was not present in the earlier releases when the search bar always had white background. Hence this is a regression bug.
There is no way to customise the colours on the instance to make the search field more visible. It always takes the header colour as its colour.
Possible Solution
- making the search bar background color customizable would solve this
- alternatively, we could de-link the search bar colour with the top bar colour
Workaround:
Apply following CSS in the announcement banner:
Please test this script to see if it breaks any JIRA UI or functionality.
Thanks to Jordan Hauser for providing updating the following workaround for recent Jira versions
For testing purposes, I recommend wrapping this is an if statement applying it only to a certain user so that you don't accidentally lock yourself out by breaking the ui, do it like so:
<script> let user = AJS.Meta.get("remote-user"); if(user == 'someUserNameThatsNotYourAdmin') { document.getElementById("quickSearchInput").style = "background-color: white;"; } </script>
Then just log in with the test user/user scriptrunner to swap user context to the affected user.
Once tested you can remove the first two lines as follows:
<script> { document.getElementById("quickSearchInput").style = "background-color: white;"; } </script>
- relates to
-
JRACLOUD-38890 customizable background color for the search bar
- Closed
[JRASERVER-38890] customizable background color for the search bar
Description |
Original:
{panel:bgColor=#e7f4fa}
*NOTE:* This suggestion is for {*}JIRA Server{*}. Using {*}JIRA Cloud{*}? [See the corresponding suggestion|http://jira.atlassian.com/browse/JRACLOUD-38890]. {panel} When choosing dark colours for the 'Header Background Colour', the search bar is difficult to locate. This behaviour was not present in the earlier releases when the search bar always had white background. Hence this is a regression bug. !dark_search_bar2.png! There is no way to customise the colours on the instance to make the search field more visible. It always takes the header colour as its colour. *Possible Solution* * making the search bar background color customizable would solve this * alternatively, we could de-link the search bar colour with the top bar colour h4. Workaround: Apply following CSS in the announcement banner: (!) Please test this script to see if it breaks any JIRA UI or functionality. (i) Thanks to [Jordan Hauser|https://jira.atlassian.com/browse/JRASERVER-38890?focusedId=3409441&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-3409441] for providing updating the following workaround for recent Jira versions {code:java} {code} |
New:
{panel:bgColor=#e7f4fa}
*NOTE:* This suggestion is for {*}JIRA Server{*}. Using {*}JIRA Cloud{*}? [See the corresponding suggestion|http://jira.atlassian.com/browse/JRACLOUD-38890]. {panel} When choosing dark colours for the 'Header Background Colour', the search bar is difficult to locate. This behaviour was not present in the earlier releases when the search bar always had white background. Hence this is a regression bug. !dark_search_bar2.png! There is no way to customise the colours on the instance to make the search field more visible. It always takes the header colour as its colour. *Possible Solution* * making the search bar background color customizable would solve this * alternatively, we could de-link the search bar colour with the top bar colour h4. Workaround: Apply following CSS in the announcement banner: (!) Please test this script to see if it breaks any JIRA UI or functionality. (i) Thanks to [Jordan Hauser|https://jira.atlassian.com/browse/JRASERVER-38890?focusedId=3409441&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-3409441] for providing updating the following workaround for recent Jira versions For testing purposes, I recommend wrapping this is an if statement applying it only to a certain user so that you don't accidentally lock yourself out by breaking the ui, do it like so: {code} <script> let user = AJS.Meta.get("remote-user"); if(user == 'someUserNameThatsNotYourAdmin') { document.getElementById("quickSearchInput").style = "background-color: white;"; } </script> {code} Then just log in with the test user/user scriptrunner to swap user context to the affected user. Once tested you can remove the first two lines as follows: {code:java} <script> { document.getElementById("quickSearchInput").style = "background-color: white;"; } </script> {code} |
Description |
Original:
{panel:bgColor=#e7f4fa}
*NOTE:* This suggestion is for {*}JIRA Server{*}. Using {*}JIRA Cloud{*}? [See the corresponding suggestion|http://jira.atlassian.com/browse/JRACLOUD-38890]. {panel} When choosing dark colours for the 'Header Background Colour', the search bar is difficult to locate. This behaviour was not present in the earlier releases when the search bar always had white background. Hence this is a regression bug. !dark_search_bar2.png! There is no way to customise the colours on the instance to make the search field more visible. It always takes the header colour as its colour. *Possible Solution* * making the search bar background color customizable would solve this * alternatively, we could de-link the search bar colour with the top bar colour h4. Workaround: Apply following CSS in the announcement banner: (!) Please test this script to see if it breaks any JIRA UI or functionality. (i) Thanks to [Jordan Hauser {code:java} {code} |
New:
{panel:bgColor=#e7f4fa}
*NOTE:* This suggestion is for {*}JIRA Server{*}. Using {*}JIRA Cloud{*}? [See the corresponding suggestion|http://jira.atlassian.com/browse/JRACLOUD-38890]. {panel} When choosing dark colours for the 'Header Background Colour', the search bar is difficult to locate. This behaviour was not present in the earlier releases when the search bar always had white background. Hence this is a regression bug. !dark_search_bar2.png! There is no way to customise the colours on the instance to make the search field more visible. It always takes the header colour as its colour. *Possible Solution* * making the search bar background color customizable would solve this * alternatively, we could de-link the search bar colour with the top bar colour h4. Workaround: Apply following CSS in the announcement banner: (!) Please test this script to see if it breaks any JIRA UI or functionality. (i) Thanks to [Jordan Hauser|https://jira.atlassian.com/browse/JRASERVER-38890?focusedId=3409441&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-3409441] for providing updating the following workaround for recent Jira versions {code:java} {code} |
Description |
Original:
{panel:bgColor=#e7f4fa}
*NOTE:* This suggestion is for {*}JIRA Server{*}. Using {*}JIRA Cloud{*}? [See the corresponding suggestion|http://jira.atlassian.com/browse/JRACLOUD-38890]. {panel} When choosing dark colours for the 'Header Background Colour', the search bar is difficult to locate. This behaviour was not present in the earlier releases when the search bar always had white background. Hence this is a regression bug. !dark_search_bar2.png! There is no way to customise the colours on the instance to make the search field more visible. It always takes the header colour as its colour. *Possible Solution* * making the search bar background color customizable would solve this * alternatively, we could de-link the search bar colour with the top bar colour h4. Workaround: Apply following CSS in the announcement banner: (!) Please test this script to see if it breaks any JIRA UI or functionality. (i) {code:java} {code} |
New:
{panel:bgColor=#e7f4fa}
*NOTE:* This suggestion is for {*}JIRA Server{*}. Using {*}JIRA Cloud{*}? [See the corresponding suggestion|http://jira.atlassian.com/browse/JRACLOUD-38890]. {panel} When choosing dark colours for the 'Header Background Colour', the search bar is difficult to locate. This behaviour was not present in the earlier releases when the search bar always had white background. Hence this is a regression bug. !dark_search_bar2.png! There is no way to customise the colours on the instance to make the search field more visible. It always takes the header colour as its colour. *Possible Solution* * making the search bar background color customizable would solve this * alternatively, we could de-link the search bar colour with the top bar colour h4. Workaround: Apply following CSS in the announcement banner: (!) Please test this script to see if it breaks any JIRA UI or functionality. (i) Thanks to [Jordan Hauser {code:java} {code} |
Description |
Original:
{panel:bgColor=#e7f4fa} *NOTE:* This suggestion is for *JIRA Server*. Using *JIRA Cloud*? [See the corresponding suggestion|http://jira.atlassian.com/browse/JRACLOUD-38890]. {panel} When choosing dark colours for the 'Header Background Colour', the search bar is difficult to locate. This behaviour was not present in the earlier releases when the search bar always had white background. Hence this is a regression bug. !dark_search_bar2.png! There is no way to customise the colours on the instance to make the search field more visible. It always takes the header colour as its colour. *Possible Solution* * making the search bar background color customizable would solve this * alternatively, we could de-link the search bar colour with the top bar colour h4. Workaround: Apply following CSS in the announcement banner: (!) Please test this script to see if it breaks any JIRA UI or functionality. {code} <style> #quickSearchInput { border-radius: 5em; background: rgba(255,255,255,1); color: rgba(0, 0, 0, 0.7); } #quickSearchInput::-webkit-input-placeholder { color: rgba(0, 0, 0, 0.7); } #quickSearchInput:-moz-placeholder { /#quickSearchInput FF 4-18 #quickSearchInput/ color: rgba(0, 0, 0, 0.7); } #quickSearchInput::-moz-placeholder { /#quickSearchInput FF 19+ #quickSearchInput/ color: rgba(0, 0, 0, 0.7); } #quickSearchInput:-ms-input-placeholder { /#quickSearchInput IE 10+ #quickSearchInput/ color: rgba(0, 0, 0, 0.7); } .aui-header .aui-quicksearch::after{ color: rgba(0, 0, 0, 0.7); } </style> {code} |
New:
{panel:bgColor=#e7f4fa}
*NOTE:* This suggestion is for {*}JIRA Server{*}. Using {*}JIRA Cloud{*}? [See the corresponding suggestion|http://jira.atlassian.com/browse/JRACLOUD-38890]. {panel} When choosing dark colours for the 'Header Background Colour', the search bar is difficult to locate. This behaviour was not present in the earlier releases when the search bar always had white background. Hence this is a regression bug. !dark_search_bar2.png! There is no way to customise the colours on the instance to make the search field more visible. It always takes the header colour as its colour. *Possible Solution* * making the search bar background color customizable would solve this * alternatively, we could de-link the search bar colour with the top bar colour h4. Workaround: Apply following CSS in the announcement banner: (!) Please test this script to see if it breaks any JIRA UI or functionality. (i) {code:java} {code} |
UIS | Original: 7 | New: 3 |
UIS | Original: 4 | New: 7 |
UIS | Original: 3 | New: 4 |
UIS | Original: 4 | New: 3 |
UIS | Original: 3 | New: 4 |
UIS | Original: 4 | New: 3 |