forked from vanderlee/colorpicker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjquery.colorpicker.css
More file actions
129 lines (109 loc) · 2.93 KB
/
jquery.colorpicker.css
File metadata and controls
129 lines (109 loc) · 2.93 KB
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
.ui-colorpicker {
display: inline-block;
width: auto;
}
.ui-colorpicker-inline {
position: static;
}
.ui-colorpicker .ui-colorpicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; }
.ui-colorpicker .ui-colorpicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; }
.ui-colorpicker .ui-colorpicker-buttonpane button.ui-colorpicker-current { float:left; }
.ui-colorpicker table {
font-size: 100%; /* Reset browser table font-size */
margin: 0;
}
.ui-colorpicker table td {
vertical-align: top;
}
.ui-colorpicker-padding-left {
padding-left: 10px;
}
.ui-colorpicker-padding-top {
padding-top: 10px;
}
.ui-colorpicker-border {
border: 1px inset;
display: inline-block;
}
/* Bar & map */
#ui-colorpicker-map > *,
#ui-colorpicker-bar > * {
position: absolute;
cursor: crosshair;
}
#ui-colorpicker-map-pointer,
#ui-colorpicker-bar-pointer {
position: absolute;
}
/* Map */
#ui-colorpicker-map,
#ui-colorpicker-map > * {
display: block;
width: 256px;
height: 256px;
overflow: hidden;
}
#ui-colorpicker-map-layer-1,
#ui-colorpicker-map-layer-2 { background: url(images/map.png) no-repeat; }
#ui-colorpicker-map-layer-alpha { background: url(images/map-opacity.png); }
#ui-colorpicker-map-pointer { display: inline-block; width: 15px; height: 15px; background: url(images/map-pointer.png) no-repeat; }
/* Bar */
#ui-colorpicker-bar,
#ui-colorpicker-bar > * {
display: block;
width: 20px;
height: 256px;
overflow: hidden;
background-repeat: repeat-x;
}
#ui-colorpicker-bar-layer-1,
#ui-colorpicker-bar-layer-2,
#ui-colorpicker-bar-layer-3,
#ui-colorpicker-bar-layer-4 { background: url(images/bar.png) repeat-x; }
#ui-colorpicker-bar-layer-alpha { background: url(images/bar-opacity.png); }
#ui-colorpicker-bar-layer-alphabar { background: url(images/bar-alpha.png); }
#ui-colorpicker-bar-pointer { display: inline-block; width: 20px; height: 7px; background: url(images/bar-pointer.png) no-repeat; }
/* Preview */
#ui-colorpicker-preview {
text-align: center;
}
#ui-colorpicker-preview-initial {
cursor: pointer;
}
#ui-colorpicker-preview-initial,
#ui-colorpicker-preview-current {
width: 50px;
height: 20px;
display: inline-block;
}
#ui-colorpicker-preview-initial-alpha,
#ui-colorpicker-preview-current-alpha {
width: 50px;
height: 20px;
display: inline-block;
background: url(images/preview-opacity.png) repeat;
}
/* Inputs */
#ui-colorpicker-inputs label {
width: 1.5em;
display: inline-block;
}
/* Hex */
#ui-colorpicker-hex {
text-align: center;
}
/* Swatches */
#ui-colorpicker-swatches {
width: 84px;
height: 256px;
overflow: auto;
background-color: #f8f8f8;
}
.ui-colorpicker-swatch {
cursor: pointer;
float: left;
width: 11px;
height: 11px;
border-right: 1px solid black;
border-bottom: 1px solid black;
}