Commit 0fb8e6a1b3ff4fa0543049bfe9812c057662312e

Authored by Carlos Coêlho
2 parents c8e26bfb 0b4f7f93

Merge branch 'fix_hover_button_whitening' into 'master'

Fix hover button whitening

In 'https://softwarepublico.gov.br/gitlab/softwarepublico/softwarepublico/blob/master/src/colab-spb-theme-plugin/colab_spb_theme/static/css/search.css', the rule '.btn:hover' is too generic, it's affecting Gitlab's 'HTTP' button (or 'SSH' when HTTP is active) when hovering the button.

That button (it's more of a link) is disappearing because its background is white as well, please check it here: https://softwarepublico.gov.br/gitlab/softwarepublico/softwarepublico

It might affect other 'btn', since this is a bootstrap thing.

See merge request !125
src/colab-spb-theme-plugin/colab_spb_theme/static/css/search.css
@@ -58,7 +58,7 @@ @@ -58,7 +58,7 @@
58 text-decoration: none; 58 text-decoration: none;
59 } 59 }
60 60
61 -.btn:hover { 61 +colab-search-form .btn:hover {
62 color: white; 62 color: white;
63 } 63 }
64 64