Skip to content

Commit

Permalink
bitbucket-header-color: exclude Bitbucket Blog
Browse files Browse the repository at this point in the history
Use a more specific selector for HTML tag <header> to exclude the HTML
layout of https://bitbucket.org/blog/, while preserving the styling for
HTML layout of repositories in Bitbucket Cloud.

Reported-by: Dmitry Trubin <[email protected]>
Closes #17
  • Loading branch information
rybak committed Aug 11, 2024
1 parent 39447da commit a2ba0c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bitbucket-header-color.user.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
@description Allows changing the header color of Bitbucket to any color!
@author Andrei Rybak
@homepageURL https://github.com/rybak/atlassian-tweaks
@version 4
@version 5
@license MIT
@namespace https://github.com/rybak/atlassian-tweaks
@preprocessor uso
Expand Down Expand Up @@ -39,7 +39,7 @@

/* CSS classes ".look-and-feel-custom-theme .aui-header" are needed for older versions of Bitbucket, e.g. v7.21.* */
.look-and-feel-custom-theme .aui-header,
header[role="banner"] {
header[role="banner"][style] {
background-color: /*[[myColor]]*/ !important;
}
}

0 comments on commit a2ba0c0

Please sign in to comment.