-
Notifications
You must be signed in to change notification settings - Fork 0
/
colorSelect.css
46 lines (36 loc) · 990 Bytes
/
colorSelect.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/* the outermost div */
.color-select-container{
}
/* the div containing an optgroup */
.color-select-container .color-select-optgroup{
display: block;
}
/* div representing an option. the background-color of this is set via javascript */
.color-select-container .color-select-option{
height: 20px;
width: 20px;
margin: 4px;
float: left;
border-radius: 3px;
}
.color-select-container .color-select-option:hover{
height: 24px;
width: 24px;
margin: 2px;
}
/* div representing currently selected options */
.color-select-container .color-select-option-selected, .color-select-container .color-select-option-selected:hover{
border: 1px solid black;
height: 24px;
width: 24px;
margin: 1px;
-webkit-box-shadow: inset 0px 0px 0px 1px rgba(255,255,255,1);
-moz-box-shadow: inset 0px 0px 0px 1px rgba(255,255,255,1);
box-shadow: inset 0px 0px 0px 1px rgba(255,255,255,1);
}
/* clearfix */
.color-select-option:first-child{
content: " ";
display: block;
clear: left;
}