Hi
I wonder if anyone can point me in the right direction for this?
I’m using a segmented control, but I want it to fit the UI style of my app. I’ve used the following CSS to override the defaults:
[code].dhx_el_segmented {
background: #000;
margin: 0px;
padding-top: 2px;
padding-bottom: 2px;
-moz-box-shadow: none;
-webkit-box-shadow: none;
box-shadow: none;
outline: none;
border: 1px solid #222;
border: none;
outline: none;
}
.dhx_el_segmented .segment_0,.dhx_el_segmented .segment_N,.dhx_el_segmented .selected.segment_0,.dhx_el_segmented .selected.segment_N {
border: 1px solid #222;
margin: 0px;
padding: 0px;
width: 152px;
font-weight: normal;
}
.dhx_el_segmented .segment_0,.dhx_el_segmented .selected.segment_0 {
border-bottom-left-radius:10px;
border-top-left-radius:10px;
}
.dhx_el_segmented .segment_N,.dhx_el_segmented .selected.segment_N {
border-bottom-right-radius:10px;
border-left: 1px solid #333;
border-top-right-radius:10px;
}
.dhx_el_segmented .segment_0,.dhx_el_segmented .segment_N {
background: #3a3a3a; /* Old browsers /
background: -moz-linear-gradient(top, #3a3a3a 0%, #848484 6%, #2b2b2b 100%); / FF3.6+ /
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#3a3a3a), color-stop(6%,#848484), color-stop(100%,#2b2b2b)); / Chrome,Safari4+ /
background: -webkit-linear-gradient(top, #3a3a3a 0%,#848484 6%,#2b2b2b 100%); / Chrome10+,Safari5.1+ */
color: #000;
text-shadow: 0px 1px #666;
}
.dhx_el_segmented .selected.segment_0,.dhx_el_segmented .selected.segment_N {
background: #3f0000; /* Old browsers /
background: -moz-linear-gradient(top, #3f0000 0%, #aa0000 6%, #3f0000 100%); / FF3.6+ /
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#3f0000), color-stop(6%,#aa0000), color-stop(100%,#3f0000)); / Chrome,Safari4+ /
background: -webkit-linear-gradient(top, #3f0000 0%,#aa0000 6%,#3f0000 100%); / Chrome10+,Safari5.1+ */
text-shadow: 0px -1px #200;
}[/code]
However, there is an annoying cyan border still visible above and below the buttons, so i’m guessing there is another element doing that, but there doesn’t seem to be any other way to override… any help appreciated!