forked from DavidDurman/FlexiColorPicker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
themes.css
131 lines (125 loc) · 2.56 KB
/
themes.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
/* Common stuff */
.picker-wrapper,
.slide-wrapper {
position: relative;
float: left;
}
.picker-indicator,
.slide-indicator {
position: absolute;
left: 0;
top: 0;
}
.picker,
.slide {
cursor: crosshair;
float: left;
}
/* Default skin */
.cp-default {
background-color: gray;
padding: 12px;
box-shadow: 0 0 40px #000;
border-radius: 15px;
float: left;
}
.cp-default .picker {
width: 200px;
height: 200px;
}
.cp-default .slide {
width: 30px;
height: 200px;
}
.cp-default .slide-wrapper {
margin-left: 10px;
}
.cp-default .picker-indicator {
width: 5px;
height: 5px;
border: 2px solid darkblue;
-moz-border-radius: 4px;
-o-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
opacity: .5;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=50);
filter: alpha(opacity=50);
background-color: white;
}
.cp-default .slide-indicator {
width: 100%;
height: 10px;
left: -4px;
opacity: .6;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=60);
filter: alpha(opacity=60);
border: 4px solid lightblue;
-moz-border-radius: 4px;
-o-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
background-color: white;
}
/* Small skin */
.cp-small {
padding: 5px;
background-color: white;
float: left;
border-radius: 5px;
}
.cp-small .picker {
width: 100px;
height: 100px;
}
.cp-small .slide {
width: 15px;
height: 100px;
}
.cp-small .slide-wrapper {
margin-left: 5px;
}
.cp-small .picker-indicator {
width: 1px;
height: 1px;
border: 1px solid black;
background-color: white;
}
.cp-small .slide-indicator {
width: 100%;
height: 2px;
left: 0px;
background-color: black;
}
/* Fancy skin */
.cp-fancy {
padding: 15px;
background-color: #C5F7EA;
float: left;
border-radius: 15px;
box-shadow: 0 0 40px black;
}
.cp-fancy .picker {
width: 200px;
height: 200px;
}
.cp-fancy .slide {
width: 30px;
height: 200px;
}
.cp-fancy .slide-wrapper {
margin-left: 10px;
}
.cp-fancy .picker-indicator {
width: 24px;
height: 24px;
background-image: url(http://cdn1.iconfinder.com/data/icons/fugue/bonus/icons-24/target.png);
}
.cp-fancy .slide-indicator {
width: 30px;
height: 31px;
left: 30px;
background-image: url(http://cdn1.iconfinder.com/data/icons/bluecoral/Left.png);
}