c8ddea7b6e248ee6affc616fb82b21617715d3aa
[autoinstalls/wordpress.git] / wp-admin / css / color-picker.css
1 .wp-color-picker {
2         width: 80px;
3 }
4
5 .wp-picker-container .hidden {
6         display: none;
7 }
8
9 .wp-color-result {
10         background-color: #f7f7f7;
11         border: 1px solid #ccc;
12         -webkit-border-radius: 3px;
13         border-radius: 3px;
14         cursor: pointer;
15         display: inline-block;
16         height: 22px;
17         margin: 0 6px 6px 0px;
18         position: relative;
19         top: 1px;
20         -webkit-user-select: none;
21         -moz-user-select: none;
22         -ms-user-select: none;
23         user-select: none;
24         vertical-align: bottom;
25         display: inline-block;
26         padding-left: 30px;
27         -webkit-box-shadow: 0 1px 0 #ccc;
28         box-shadow: 0 1px 0 #ccc;
29 }
30
31 .wp-color-result:after {
32         background: #f7f7f7;
33         -webkit-border-radius: 0 2px 2px 0;
34         border-radius: 0 2px 2px 0;
35         border-left: 1px solid #ccc;
36         color: #555;
37         content: attr( title );
38         display: block;
39         font-size: 11px;
40         line-height: 22px;
41         padding: 0 6px;
42         position: relative;
43         right: 0;
44         text-align: center;
45         top: 0;
46 }
47
48 .wp-color-result:hover,
49 .wp-color-result:focus {
50         background: #fafafa;
51         border-color: #999;
52         color: #23282d;
53 }
54
55 .wp-color-result:hover:after,
56 .wp-color-result:focus:after {
57         color: #23282d;
58         border-color: #a0a5aa;
59         border-left: 1px solid #999;
60 }
61
62 .wp-color-result {
63         top: 0;
64 }
65
66 .wp-color-result.wp-picker-open:after {
67         content: attr( data-current );
68 }
69
70 .wp-picker-container, .wp-picker-container:active {
71         display: inline-block;
72         outline: 0;
73 }
74
75 .wp-color-result:focus {
76         border-color: #5b9dd9;
77         -webkit-box-shadow: 0 0 3px rgba( 0, 115, 170, .8 );
78         box-shadow: 0 0 3px rgba( 0, 115, 170, .8 );
79 }
80
81 .wp-picker-open + .wp-picker-input-wrap {
82         display: inline-block;
83         vertical-align: top;
84 }
85
86 .wp-picker-container .button {
87         margin-left: 6px;
88 }
89
90 .wp-picker-container .iris-square-slider .ui-slider-handle:focus {
91         background-color: #555
92 }
93
94 .wp-picker-container .iris-picker {
95         -webkit-border-radius: 0;
96         border-radius: 0;
97         border-color: #dfdfdf;
98         margin-top: 6px;
99 }
100
101 .wp-picker-container input[type="text"].wp-color-picker {
102         width: 65px;
103         font-size: 12px;
104         font-family: monospace;
105         text-align: center;
106         line-height: 16px;
107         margin: 0;
108 }
109
110 .wp-picker-container input[type="text"].wp-color-picker:focus::-webkit-input-placeholder {
111         color: transparent;
112 }
113
114 .wp-picker-container input[type="text"].wp-color-picker:-moz-placeholder {
115         color: #999;
116 }
117
118 .wp-picker-container input[type="text"].iris-error {
119         background-color: #ffebe8;
120         border-color: #c00;
121         color: #000;
122 }