How to override the menucascade-separator?

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
DrStrangelove
Posts: 18
Joined: Thu Jan 25, 2018 11:21 pm

How to override the menucascade-separator?

Post by DrStrangelove » Wed Feb 07, 2018 11:43 pm

The default menucascade-separator looks like an angle bracket with a dotted line underneath. I'd like to change it to just the angle bracket, and to specify that in the css file.

I tried the following, and it did add an angle bracket, but it also retained the default separators, so there were two separators between each uicontrol.

span.menucascade > span.uicontrol:before {
content: " > ";
}
span.menucascade > span.uicontrol:first-child:before {
content: "";
}

How can I replace the default separator?

bogdan_cercelaru
Posts: 213
Joined: Tue Jul 01, 2014 11:48 am

Re: How to override the menucascade-separator?

Post by bogdan_cercelaru » Fri Feb 09, 2018 4:00 pm

Hello,

To remove the dotted line you should use the following CSS code:

Code: Select all

abbr, abbr[title] {
text-decoration: none;
border-bottom: none;
}
Regards,
Bogdan
Bogdan Cercelaru
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

DrStrangelove
Posts: 18
Joined: Thu Jan 25, 2018 11:21 pm

Re: How to override the menucascade-separator?

Post by DrStrangelove » Fri Feb 09, 2018 6:44 pm

Thank you!

Post Reply