Commit | Line | Data |
---|---|---|
ee013cde AE |
1 | #colorPickerGradient { |
2 | background-color: #f00; | |
8eacc867 | 3 | background-image: url('../images/colorPickerGradient.png'); |
ee013cde AE |
4 | background-repeat: no-repeat; |
5 | border: 1px solid rgba(0, 0, 0, 1); | |
6 | cursor: default; | |
7 | display: inline-block; | |
8 | height: 256px; | |
9 | overflow: hidden; | |
10 | position: relative; | |
11 | width: 256px; | |
12 | ||
13 | > span { | |
14 | border: 1px solid rgba(0, 0, 0, 1); | |
15 | border-radius: 10px; | |
16 | display: block; | |
17 | height: 10px; | |
18 | left: -4px; | |
19 | position: absolute; | |
20 | top: -4px; | |
21 | width: 10px; | |
22 | ||
23 | > span { | |
24 | border: 1px solid rgba(255, 255, 255, 1); | |
25 | border-radius: 10px; | |
26 | display: block; | |
27 | height: 8px; | |
28 | width: 8px; | |
29 | } | |
30 | } | |
0f0590c2 | 31 | } |
ee013cde AE |
32 | |
33 | #colorPickerBar { | |
8eacc867 | 34 | background-image: url('../images/colorPickerBar.png'); |
ee013cde AE |
35 | background-repeat: repeat-x; |
36 | border: 1px solid rgba(0, 0, 0, 1); | |
37 | cursor: default; | |
38 | display: inline-block; | |
39 | height: 256px; | |
40 | margin-left: 10px; | |
41 | position: relative; | |
42 | width: 16px; | |
43 | ||
44 | > span { | |
45 | display: inline-block; | |
46 | height: 1px; | |
47 | left: 0; | |
48 | position: absolute; | |
49 | top: 27px; | |
50 | width: 16px; | |
2d63c13c | 51 | |
19e5d9ff MW |
52 | &::after, |
53 | &::before { | |
ee013cde AE |
54 | content: ""; |
55 | display: block; | |
56 | height: 0; | |
57 | position: absolute; | |
58 | top: 0; | |
59 | width: 0; | |
60 | } | |
61 | ||
19e5d9ff | 62 | &::after { |
ee013cde AE |
63 | border-bottom: 5px solid transparent; |
64 | border-right: 5px solid rgba(0, 0, 0, 1); | |
65 | border-top: 5px solid transparent; | |
66 | right: -7px; | |
67 | top: -5px; | |
68 | } | |
69 | ||
19e5d9ff | 70 | &::before { |
ee013cde AE |
71 | border-bottom: 5px solid transparent; |
72 | border-left: 5px solid rgba(0, 0, 0, 1); | |
73 | border-top: 5px solid transparent; | |
74 | left: -7px; | |
75 | top: -5px; | |
76 | } | |
77 | } | |
78 | } | |
79 | ||
80 | #colorPickerForm { | |
81 | display: inline-block; | |
82 | margin-left: 20px; | |
83 | position: relative; | |
d75df1b7 | 84 | text-align: center; |
ee013cde | 85 | width: 100px; |
d7f7f6eb | 86 | |
ee013cde | 87 | > .colors { |
431fed3f MW |
88 | margin-left: 2px; |
89 | ||
ee013cde AE |
90 | > .new, |
91 | > .old { | |
431fed3f | 92 | background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAABlBMVEX////MzMw46qqDAAAAD0lEQVQI12P4z4Ad4ZAAAH6/D/Hgw85/AAAAAElFTkSuQmCC); |
ee013cde AE |
93 | border: 1px solid rgba(0, 0, 0, 1); |
94 | display: block; | |
95 | height: 24px; | |
431fed3f MW |
96 | |
97 | > span { | |
98 | display: block; | |
99 | height: 24px; | |
100 | } | |
ee013cde AE |
101 | } |
102 | ||
103 | > .old { | |
431fed3f | 104 | background-position: 8px 0; |
ee013cde AE |
105 | border-top-width: 0; |
106 | } | |
107 | } | |
108 | ||
109 | > .hex { | |
f2b50825 | 110 | margin-top: $wcfGapLarge; |
ee013cde AE |
111 | } |
112 | ||
113 | > .rgba { | |
f2b50825 | 114 | margin-top: $wcfGapLarge; |
ee013cde AE |
115 | |
116 | > li.a { | |
f2b50825 | 117 | margin-top: $wcfGapSmall; |
ee013cde | 118 | } |
907766b0 MW |
119 | |
120 | > li.g, | |
121 | > li.b { | |
122 | margin-top: 2px; | |
123 | } | |
ee013cde AE |
124 | } |
125 | ||
126 | > .rgba > li, | |
127 | > .hex > li { | |
128 | text-align: right; | |
129 | ||
130 | input { | |
f2b50825 | 131 | margin-left: $wcfGapSmall; |
ee013cde AE |
132 | width: 80px; |
133 | } | |
134 | } | |
135 | } | |
f64b7433 MW |
136 | |
137 | .colorPreview { | |
138 | background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAABlBMVEX////MzMw46qqDAAAAD0lEQVQI12P4z4Ad4ZAAAH6/D/Hgw85/AAAAAElFTkSuQmCC); | |
139 | border: 1px solid $wcfContentBorderInner; | |
140 | display: inline-block; | |
141 | ||
142 | > div { | |
143 | border: 2px solid $wcfContentBackground; | |
144 | cursor: pointer; | |
145 | display: block; | |
146 | height: 60px; | |
147 | width: 180px; | |
148 | } | |
149 | } |