Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Comment-Marking color

Tim S_ October 15, 2014

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
Atlassian Team members are employees working across the company in a wide variety of roles.
October 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;
}
Tim S_ October 16, 2014

Thanks, this helped me a lot.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events