@techie_doubts/tui.color-picker.2026 2.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +34 -0
- package/README.md +250 -0
- package/dist/tui-color-picker.css +154 -0
- package/dist/tui-color-picker.js +5029 -0
- package/package.json +59 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
The MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2019 - present NHN Cloud Corp.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
Base16 colorset for palette default option
|
|
27
|
+
|
|
28
|
+
Copyright (C) 2012 Chris Kempson
|
|
29
|
+
|
|
30
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
31
|
+
|
|
32
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
33
|
+
|
|
34
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
# TOAST UI Component : Color Picker
|
|
2
|
+
> Component that selects a specific color and gets a color code.
|
|
3
|
+
|
|
4
|
+
[](https://github.com/nhn/tui.color-picker/releases/latest)
|
|
5
|
+
[](https://www.npmjs.com/package/@techie_doubts/tui.color-picker.2026)
|
|
6
|
+
[](https://github.com/nhn/tui.project-name/labels/help%20wanted)
|
|
7
|
+
[](https://github.com/nhn)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
<p><a href="https://nhn.github.io/tui.color-picker/latest/"><img src="https://user-images.githubusercontent.com/8615506/64393371-08042900-d08c-11e9-9a4e-f183b7dd50db.gif" /></a></p>
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
## 🚩 Table of Contents
|
|
14
|
+
|
|
15
|
+
- [Collect statistics on the use of open source](#collect-statistics-on-the-use-of-open-source)
|
|
16
|
+
- [📙 Documents](#-documents)
|
|
17
|
+
- [🎨 Features](#-features)
|
|
18
|
+
- [🐾 Examples](#-examples)
|
|
19
|
+
- [💾 Install](#-install)
|
|
20
|
+
- [Via Package Manager](#via-package-manager)
|
|
21
|
+
- [npm](#npm)
|
|
22
|
+
- [bower](#bower)
|
|
23
|
+
- [Via Contents Delivery Network (CDN)](#via-contents-delivery-network-cdn)
|
|
24
|
+
- [Download Source Files](#download-source-files)
|
|
25
|
+
- [🔨 Usage](#-usage)
|
|
26
|
+
- [HTML](#html)
|
|
27
|
+
- [JavaScript](#javascript)
|
|
28
|
+
- [Using namespace in browser environment](#using-namespace-in-browser-environment)
|
|
29
|
+
- [Using module format in node environment](#using-module-format-in-node-environment)
|
|
30
|
+
- [🔧 Pull Request Steps](#-pull-request-steps)
|
|
31
|
+
- [Setup](#setup)
|
|
32
|
+
- [Develop](#develop)
|
|
33
|
+
- [Running dev server](#running-dev-server)
|
|
34
|
+
- [Running test](#running-test)
|
|
35
|
+
- [🌏 Browser Support](#-browser-support)
|
|
36
|
+
- [🔧 Pull Request Steps](#-pull-request-steps-1)
|
|
37
|
+
- [💬 Contributing](#-contributing)
|
|
38
|
+
- [🍞 TOAST UI Family](#-toast-ui-family)
|
|
39
|
+
- [📜 License](#-license)
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
## Collect statistics on the use of open source
|
|
43
|
+
|
|
44
|
+
TOAST UI ColorPicker applies Google Analytics (GA) to collect statistics on the use of open source, in order to identify how widely TOAST UI ColorPicker is used throughout the world. It also serves as important index to determine the future course of projects. location.hostname (e.g. > “ui.toast.com") is to be collected and the sole purpose is nothing but to measure statistics on the usage. To disable GA, use the following `usageStatistics` options when creating the instance.
|
|
45
|
+
|
|
46
|
+
```js
|
|
47
|
+
const options = {
|
|
48
|
+
...
|
|
49
|
+
usageStatistics: false
|
|
50
|
+
}
|
|
51
|
+
const instance = tui.colorPicker.create(options);
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
Or, include `tui-code-snippet.js` (**v2.2.0** or **later**) and then immediately write the options as follows:
|
|
55
|
+
|
|
56
|
+
```js
|
|
57
|
+
tui.usageStatistics = false;
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
## 📙 Documents
|
|
62
|
+
* [Getting Started](https://github.com/nhn/tui.color-picker/blob/production/docs/getting-started.md)
|
|
63
|
+
* [Tutorials](https://github.com/nhn/tui.color-picker/tree/production/docs)
|
|
64
|
+
* [APIs](https://nhn.github.io/tui.color-picker/latest)
|
|
65
|
+
|
|
66
|
+
You can also see the older versions of API page on the [releases page](https://github.com/nhn/tui.color-picker/releases).
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
## 🎨 Features
|
|
70
|
+
* Supports color palette.
|
|
71
|
+
* Supports 16 basic color set.
|
|
72
|
+
* Supports custom events.
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
## 🐾 Examples
|
|
76
|
+
* [Basic](https://nhn.github.io/tui.color-picker/latest/tutorial-example01-basic) : Example using default options.
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
## 💾 Install
|
|
80
|
+
|
|
81
|
+
TOAST UI products can be used by using the package manager or downloading the source directly.
|
|
82
|
+
However, we highly recommend using the package manager.
|
|
83
|
+
|
|
84
|
+
### Via Package Manager
|
|
85
|
+
|
|
86
|
+
TOAST UI products are registered in two package managers, [npm](https://www.npmjs.com/) and [bower](https://bower.io/).
|
|
87
|
+
You can conveniently install it using the commands provided by each package manager.
|
|
88
|
+
When using npm, be sure to use it in the environment [Node.js](https://nodejs.org/ko/) is installed.
|
|
89
|
+
|
|
90
|
+
#### npm
|
|
91
|
+
|
|
92
|
+
``` sh
|
|
93
|
+
$ npm install --save @techie_doubts/tui.color-picker.2026 # Latest version
|
|
94
|
+
$ npm install --save @techie_doubts/tui.color-picker.2026@<version> # Specific version
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
#### bower
|
|
98
|
+
|
|
99
|
+
``` sh
|
|
100
|
+
$ bower install @techie_doubts/tui.color-picker.2026 # Latest version
|
|
101
|
+
$ bower install @techie_doubts/tui.color-picker.2026#<tag> # Specific version
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
### Via Contents Delivery Network (CDN)
|
|
105
|
+
TOAST UI products are available over the CDN powered by [TOAST Cloud](https://www.toast.com).
|
|
106
|
+
|
|
107
|
+
You can use the CDN as below.
|
|
108
|
+
|
|
109
|
+
```html
|
|
110
|
+
<script src="https://uicdn.toast.com/tui-color-picker/latest/tui-color-picker.js"></script>
|
|
111
|
+
<link rel="stylesheet" type="text/css" href="https://uicdn.toast.com/tui-color-picker/latest/tui-color-picker.css">
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
If you want to use a specific version, use the tag name instead of `latest` in the url's path.
|
|
115
|
+
|
|
116
|
+
The CDN directory has the following structure.
|
|
117
|
+
|
|
118
|
+
```
|
|
119
|
+
tui-color-picker/
|
|
120
|
+
├─ latest/
|
|
121
|
+
│ ├─ tui-color-picker.css
|
|
122
|
+
│ ├─ tui-color-picker.js
|
|
123
|
+
│ ├─ tui-color-picker.min.css
|
|
124
|
+
│ └─ tui-color-picker.min.js
|
|
125
|
+
├─ v2.1.0/
|
|
126
|
+
│ ├─ ...
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
### Download Source Files
|
|
130
|
+
* [Download bundle files](https://github.com/nhn/tui.color-picker/tree/production/dist)
|
|
131
|
+
* [Download all sources for each version](https://github.com/nhn/tui.color-picker/releases)
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
## 🔨 Usage
|
|
135
|
+
|
|
136
|
+
### HTML
|
|
137
|
+
|
|
138
|
+
Add the container element to create the component as an option.
|
|
139
|
+
|
|
140
|
+
``` html
|
|
141
|
+
<div id="tui-color-picker-conatiner"></div>
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
### JavaScript
|
|
145
|
+
|
|
146
|
+
This component does not use the instance created through the constructor function.
|
|
147
|
+
First, you should import the module using one of the following ways depending on your environment.
|
|
148
|
+
|
|
149
|
+
#### Using namespace in browser environment
|
|
150
|
+
``` javascript
|
|
151
|
+
const colorPicker = tui.colorPicker;
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
#### Using module format in node environment
|
|
155
|
+
``` javascript
|
|
156
|
+
const colorPicker = require('@techie_doubts/tui.color-picker.2026'); /* CommonJS */
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
``` javascript
|
|
160
|
+
import colorPicker from '@techie_doubts/tui.color-picker.2026'; /* ES6 */
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
Then you should call the `create` method with [options](https://nhn.github.io/tui.color-picker/latest/ColorPicker) to get instance.
|
|
165
|
+
After creating an instance, you can call various APIs.
|
|
166
|
+
|
|
167
|
+
``` javascript
|
|
168
|
+
const container = document.getElementById('tui-color-picker-conatiner');
|
|
169
|
+
const instance = colorPicker.create({
|
|
170
|
+
container: container,
|
|
171
|
+
...
|
|
172
|
+
});
|
|
173
|
+
|
|
174
|
+
instance.getColor();
|
|
175
|
+
```
|
|
176
|
+
|
|
177
|
+
For more information about the API, please see [here](https://nhn.github.io/tui.color-picker/latest/ColorPicker).
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
## 🔧 Pull Request Steps
|
|
181
|
+
|
|
182
|
+
TOAST UI products are open source, so you can create a pull request(PR) after you fix issues.
|
|
183
|
+
Run npm scripts and develop yourself with the following process.
|
|
184
|
+
|
|
185
|
+
### Setup
|
|
186
|
+
|
|
187
|
+
Fork `develop` branch into your personal repository.
|
|
188
|
+
Clone it to local computer. Install node modules.
|
|
189
|
+
Before starting development, you should check if there are any errors.
|
|
190
|
+
|
|
191
|
+
``` sh
|
|
192
|
+
$ git clone https://github.com/{your-personal-repo}/tui.color-picker.git
|
|
193
|
+
$ cd tui.color-picker
|
|
194
|
+
$ npm install
|
|
195
|
+
$ npm run test
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
### Develop
|
|
199
|
+
|
|
200
|
+
Let's start development!
|
|
201
|
+
You can see your code reflected as soon as you save the code by running a server.
|
|
202
|
+
Don't miss adding test cases and then make green rights.
|
|
203
|
+
|
|
204
|
+
#### Running dev server
|
|
205
|
+
|
|
206
|
+
``` sh
|
|
207
|
+
$ npm run serve
|
|
208
|
+
$ npm run serve:ie8 # Run on Internet Explorer 8
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
#### Running test
|
|
212
|
+
|
|
213
|
+
``` sh
|
|
214
|
+
$ npm run test
|
|
215
|
+
```
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
## 🌏 Browser Support
|
|
219
|
+
| <img src="https://user-images.githubusercontent.com/1215767/34348387-a2e64588-ea4d-11e7-8267-a43365103afe.png" alt="Chrome" width="16px" height="16px" /> Chrome | <img src="https://user-images.githubusercontent.com/1215767/34348590-250b3ca2-ea4f-11e7-9efb-da953359321f.png" alt="IE" width="16px" height="16px" /> Internet Explorer | <img src="https://user-images.githubusercontent.com/1215767/34348380-93e77ae8-ea4d-11e7-8696-9a989ddbbbf5.png" alt="Edge" width="16px" height="16px" /> Edge | <img src="https://user-images.githubusercontent.com/1215767/34348394-a981f892-ea4d-11e7-9156-d128d58386b9.png" alt="Safari" width="16px" height="16px" /> Safari | <img src="https://user-images.githubusercontent.com/1215767/34348383-9e7ed492-ea4d-11e7-910c-03b39d52f496.png" alt="Firefox" width="16px" height="16px" /> Firefox |
|
|
220
|
+
| :---------: | :---------: | :---------: | :---------: | :---------: |
|
|
221
|
+
| Yes | 8+ | Yes | Yes | Yes |
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
## 🔧 Pull Request Steps
|
|
225
|
+
|
|
226
|
+
Before uploading your PR, run test one last time to check if there are any errors.
|
|
227
|
+
If it has no errors, commit and then push it!
|
|
228
|
+
|
|
229
|
+
For more information on PR's steps, please see links in the Contributing section.
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
## 💬 Contributing
|
|
233
|
+
* [Contributing guideline](https://github.com/nhn/tui.color-picker/blob/production/CONTRIBUTING.md)
|
|
234
|
+
* [Issue guideline](https://github.com/nhn/tui.color-picker/blob/production/docs/ISSUE_TEMPLATE.md)
|
|
235
|
+
* [Commit convention](https://github.com/nhn/tui.color-picker/blob/production/docs/COMMIT_MESSAGE_CONVENTION.md)
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
## 🍞 TOAST UI Family
|
|
239
|
+
|
|
240
|
+
* [TOAST UI Editor](https://github.com/nhn/tui.editor)
|
|
241
|
+
* [TOAST UI Calendar](https://github.com/nhn/tui.calendar)
|
|
242
|
+
* [TOAST UI Chart](https://github.com/nhn/tui.chart)
|
|
243
|
+
* [TOAST UI Image-Editor](https://github.com/nhn/tui.image-editor)
|
|
244
|
+
* [TOAST UI Grid](https://github.com/nhn/tui.grid)
|
|
245
|
+
* [TOAST UI Components](https://github.com/nhn)
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
## 📜 License
|
|
249
|
+
|
|
250
|
+
This software is licensed under the [MIT](https://github.com/nhn/tui.color-picker/blob/production/LICENSE) © [NHN Cloud](https://github.com/nhn).
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* TOAST UI Color Picker
|
|
3
|
+
* @version 2.2.8
|
|
4
|
+
* @author NHN Cloud FE Development Team <dl_javascript@nhn.com>
|
|
5
|
+
* @license MIT
|
|
6
|
+
*/
|
|
7
|
+
.tui-colorpicker-clearfix {
|
|
8
|
+
zoom: 1;
|
|
9
|
+
}
|
|
10
|
+
.tui-colorpicker-clearfix:after {
|
|
11
|
+
content: '';
|
|
12
|
+
display: block;
|
|
13
|
+
clear: both;
|
|
14
|
+
}
|
|
15
|
+
.tui-colorpicker-vml {
|
|
16
|
+
behavior: url("#default#VML");
|
|
17
|
+
display: block;
|
|
18
|
+
}
|
|
19
|
+
.tui-colorpicker-container {
|
|
20
|
+
width: 152px;
|
|
21
|
+
}
|
|
22
|
+
.tui-colorpicker-palette-container {
|
|
23
|
+
width: 152px;
|
|
24
|
+
}
|
|
25
|
+
.tui-colorpicker-palette-container ul {
|
|
26
|
+
width: 152px;
|
|
27
|
+
margin: 0px;
|
|
28
|
+
padding: 0px;
|
|
29
|
+
}
|
|
30
|
+
.tui-colorpicker-palette-container li {
|
|
31
|
+
float: left;
|
|
32
|
+
margin: 0;
|
|
33
|
+
padding: 0 3px 3px 0;
|
|
34
|
+
list-style: none;
|
|
35
|
+
}
|
|
36
|
+
.tui-colorpicker-palette-button {
|
|
37
|
+
display: block;
|
|
38
|
+
border: none;
|
|
39
|
+
overflow: hidden;
|
|
40
|
+
outline: none;
|
|
41
|
+
margin: 0px;
|
|
42
|
+
padding: 0px;
|
|
43
|
+
width: 16px;
|
|
44
|
+
height: 16px;
|
|
45
|
+
border: 1px solid #ccc;
|
|
46
|
+
cursor: pointer;
|
|
47
|
+
}
|
|
48
|
+
.tui-colorpicker-palette-button.tui-colorpicker-selected {
|
|
49
|
+
border: 2px solid #000;
|
|
50
|
+
}
|
|
51
|
+
.tui-colorpicker-palette-button.tui-colorpicker-color-transparent {
|
|
52
|
+
barckground-repeat: repeat;
|
|
53
|
+
background-repeat: no-repeat;
|
|
54
|
+
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAAOCAYAAAD0f5bSAAABfGlDQ1BJQ0MgUHJvZmlsZQAAKJFjYGAqSSwoyGFhYGDIzSspCnJ3UoiIjFJgv8PAzcDDIMRgxSCemFxc4BgQ4MOAE3y7xsAIoi/rgsxK8/x506a1fP4WNq+ZclYlOrj1gQF3SmpxMgMDIweQnZxSnJwLZOcA2TrJBUUlQPYMIFu3vKQAxD4BZIsUAR0IZN8BsdMh7A8gdhKYzcQCVhMS5AxkSwDZAkkQtgaInQ5hW4DYyRmJKUC2B8guiBvAgNPDRcHcwFLXkYC7SQa5OaUwO0ChxZOaFxoMcgcQyzB4MLgwKDCYMxgwWDLoMjiWpFaUgBQ65xdUFmWmZ5QoOAJDNlXBOT+3oLQktUhHwTMvWU9HwcjA0ACkDhRnEKM/B4FNZxQ7jxDLX8jAYKnMwMDcgxBLmsbAsH0PA4PEKYSYyjwGBn5rBoZt5woSixLhDmf8xkKIX5xmbARh8zgxMLDe+///sxoDA/skBoa/E////73o//+/i4H2A+PsQA4AJHdp4IxrEg8AAAGbaVRYdFhNTDpjb20uYWRvYmUueG1wAAAAAAA8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJYTVAgQ29yZSA1LjQuMCI+CiAgIDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+CiAgICAgIDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiCiAgICAgICAgICAgIHhtbG5zOmV4aWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20vZXhpZi8xLjAvIj4KICAgICAgICAgPGV4aWY6UGl4ZWxYRGltZW5zaW9uPjEzPC9leGlmOlBpeGVsWERpbWVuc2lvbj4KICAgICAgICAgPGV4aWY6UGl4ZWxZRGltZW5zaW9uPjE0PC9leGlmOlBpeGVsWURpbWVuc2lvbj4KICAgICAgPC9yZGY6RGVzY3JpcHRpb24+CiAgIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+CghrN1AAAABzSURBVCgVldKxEYAgDAXQD5VOpLuwgi4jlrTMqF00oOd5Aia/CcV/F4oYOgNlrLjvVyCEVJchBjEC25538PeaWTzRMBLxvIL7UZwFwL06qoA6aoAy+gFfJABvJAQPUoCMlICRRd8BzgHzJL4ok9aJ67l4AK9AxVKhHryUAAAAAElFTkSuQmCC");
|
|
55
|
+
}
|
|
56
|
+
.tui-colorpicker-palette-hex {
|
|
57
|
+
font-family: monospace;
|
|
58
|
+
display: inline-block;
|
|
59
|
+
*display: inline;
|
|
60
|
+
zoom: 1;
|
|
61
|
+
width: 60px;
|
|
62
|
+
vertical-align: middle;
|
|
63
|
+
}
|
|
64
|
+
.tui-colorpicker-palette-preview {
|
|
65
|
+
display: inline-block;
|
|
66
|
+
*display: inline;
|
|
67
|
+
zoom: 1;
|
|
68
|
+
width: 12px;
|
|
69
|
+
height: 12px;
|
|
70
|
+
border: 1px solid #ccc;
|
|
71
|
+
border: 1px solid #ccc;
|
|
72
|
+
vertical-align: middle;
|
|
73
|
+
overflow: hidden;
|
|
74
|
+
}
|
|
75
|
+
.tui-colorpicker-palette-toggle-slider {
|
|
76
|
+
display: inline-block;
|
|
77
|
+
*display: inline;
|
|
78
|
+
zoom: 1;
|
|
79
|
+
vertical-align: middle;
|
|
80
|
+
float: right;
|
|
81
|
+
}
|
|
82
|
+
.tui-colorpicker-slider-container {
|
|
83
|
+
margin: 5px 0 0 0;
|
|
84
|
+
height: 122px;
|
|
85
|
+
zoom: 1;
|
|
86
|
+
}
|
|
87
|
+
.tui-colorpicker-slider-container:after {
|
|
88
|
+
content: '';
|
|
89
|
+
display: block;
|
|
90
|
+
clear: both;
|
|
91
|
+
}
|
|
92
|
+
.tui-colorpicker-slider-left {
|
|
93
|
+
float: left;
|
|
94
|
+
width: 120px;
|
|
95
|
+
height: 120px;
|
|
96
|
+
}
|
|
97
|
+
.tui-colorpicker-slider-right {
|
|
98
|
+
float: right;
|
|
99
|
+
width: 32px;
|
|
100
|
+
height: 120px;
|
|
101
|
+
}
|
|
102
|
+
.tui-colorpicker-svg {
|
|
103
|
+
display: block;
|
|
104
|
+
}
|
|
105
|
+
.tui-colorpicker-slider-handle {
|
|
106
|
+
position: absolute;
|
|
107
|
+
overflow: visible;
|
|
108
|
+
top: 0;
|
|
109
|
+
left: 0;
|
|
110
|
+
width: 1px;
|
|
111
|
+
height: 1px;
|
|
112
|
+
z-index: 2;
|
|
113
|
+
opacity: 0.9;
|
|
114
|
+
}
|
|
115
|
+
.tui-colorpicker-svg-slider {
|
|
116
|
+
width: 120px;
|
|
117
|
+
height: 120px;
|
|
118
|
+
border: 1px solid #ccc;
|
|
119
|
+
overflow: hidden;
|
|
120
|
+
}
|
|
121
|
+
.tui-colorpicker-vml-slider {
|
|
122
|
+
position: relative;
|
|
123
|
+
width: 120px;
|
|
124
|
+
height: 120px;
|
|
125
|
+
border: 1px solid #ccc;
|
|
126
|
+
overflow: hidden;
|
|
127
|
+
}
|
|
128
|
+
.tui-colorpicker-vml-slider-bg {
|
|
129
|
+
position: absolute;
|
|
130
|
+
margin: -1px 0 0 -1px;
|
|
131
|
+
top: 0;
|
|
132
|
+
left: 0;
|
|
133
|
+
width: 122px;
|
|
134
|
+
height: 122px;
|
|
135
|
+
}
|
|
136
|
+
.tui-colorpicker-svg-huebar {
|
|
137
|
+
float: right;
|
|
138
|
+
width: 18px;
|
|
139
|
+
height: 120px;
|
|
140
|
+
border: 1px solid #ccc;
|
|
141
|
+
overflow: visible;
|
|
142
|
+
}
|
|
143
|
+
.tui-colorpicker-vml-huebar {
|
|
144
|
+
width: 32px;
|
|
145
|
+
position: relative;
|
|
146
|
+
}
|
|
147
|
+
.tui-colorpicker-vml-huebar-bg {
|
|
148
|
+
position: absolute;
|
|
149
|
+
top: 0;
|
|
150
|
+
right: 0;
|
|
151
|
+
width: 18px;
|
|
152
|
+
height: 121px;
|
|
153
|
+
}
|
|
154
|
+
|