I'm trying to change the color of some jQuery UI sortable using CSS: Check this fiddle:
http://jsfiddle.net/fwcLd8mg/2/
When I set the .default background all the boxes turn to that color. But when I specify background in each list, the background of the list changes, not the boxes.
How do i specify colors for the boxes?
CSS:
#sortable-5 {
background: #ff0000;
}
#sortable-6 {
background: #00b8ff;
}
#sortable-7{
background: #000000;
}
#sortable-5, #sortable-6,#sortable-7 {
list-style-type: none; margin: 0; padding: 0;
width: 20%;float:left
}
#sortable-5 li, #sortable-6 li,#sortable-7 li {
margin: 0 3px 3px 3px; padding: 0.4em;
padding-left: 1.5em; font-size: 17px; height: 50px;
}
.default {
background: #b2f5fb;
border: 1px solid #DDDDDD;
color: #333333;
}