Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,363,857
Community Members
 
Community Events
168
Community Groups

Comment-Marking color

Hi,

I'm locking for the line in the css file to change the color of the marked line of code in crucible. The standard-color is not good to see on some beamers.

Kind Regards,

   Tim

1 answer

1 accepted

2 votes
Answer accepted
lpater Atlassian Team Oct 15, 2014

Hi Tim,

if you want to edit Crucible's CSS, changing this should do the trick

.inlineSource .lineHighlighted,
.inlineSource .lineHighlighted .diffLineNumbers,
.inlineSource .lineHighlighted .diffLineNumbersA,
.inlineSource .lineHighlighted .diffLineNumbersB,
.inlineSource .lineHighlighted .diffMarkerCol,
.inlineSource .lineHighlighted .diffContent,
.inlineSource .lineHighlighted .diffContentA,
.inlineSource .lineHighlighted .diffContentB,
.inlineSource .lineHighlighted .ediffContentA,
.inlineSource .lineHighlighted .ediffContentB/*,
.inlineSource .lineHighlighted .ediffChangedA,
.inlineSource .lineHighlighted .ediffChangedB*/ {
	background-color: #ebf2f9;
}

 

Alternatively consider using a browser extensions that allows you to inject your own CSS styles into pages (like Stylebot or Stylish for Chrome). That way you don't need to modify your Crucible installation, and you can change the styles without affecting other users.

Something like this worked for me in Stylebot:

.lineHighlighted td {
    background-color: #f2baf2;
}

Thanks, this helped me a lot.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events