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
Lukasz Pater 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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published 7 hours ago in Hipchat

Moving from Hipchat to Stride? Here’s what you’ll love

Heya, Hipchat friends! We’re so happy you’re checking out   Stride. Whether you know it or not, you have been instrumental in making Stride come to life. Every feature, design, and functionality...

30 views 0 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you