Customise drop down menus
I am trying to customise the HTML viewer to have a more reddish color scheme.
Currently I am having problems changing the drop down menu for layer themes in the layer list.
WHen you hover over the items in the drop down list, the background is blue. What do you need to adjust to make the background red?
/customer/servlet/servlet.FileDownload?file=00P6000000elzFFEAY
0
-
+1
0 -
I found what I was looking for in the viewer common.css style file, where I was able to change the background color behind the layer theme switcher to draw attention to it.
This was the section I edited:
.layer-theme-switcher {
width: 99.8%;
height: 3.2em;
position: absolute;
top: 0px;
z-index: 200;
padding: 0.5em;
background: #FFFF00;
border-bottom: 1px solid #D9D9D9;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
I think the section you are looking for might be just below it. I think you could add a background with a custom color to this entry? Also, I wanted to change it on all my sites, so I actually edited the common.css file in the Resources\Styles location , but I'm thinking that might not be best practice..layer-theme-switcher select {
width: 100%;
height: 2.2em;
padding: 0.2em;
}0
Please sign in to leave a comment.
Comments
2 comments