Blame view
static/plugins/webshim-gh-pages/js-webshim/dev/shims/jpicker/jpicker.css
6.89 KB
831eac332 add file |
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 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 |
.jPicker { box-sizing: content-box; } .jPicker label { display: inline; } .jPicker .Icon { display: inline-block; height: 24px; /* change this value if using a different sized color picker icon */ position: relative; /* make this element an absolute positioning container */ text-align: left; /* make the zero width children position to the left of container */ width: 25px; /* change this value if using a different sized color picker icon */ } .jPicker .Icon span.Color, .jPicker .Icon span.Alpha { background-position: 2px 2px; display: block; height: 100%; left: 0; position: absolute; top: 0; width: 100%; box-sizing: border-box; } .jPicker .Icon span.Image { background-repeat: no-repeat; cursor: pointer; display: block; height: 100%; left: 0; position: absolute; top: 0; width: 100%; } .jPicker.Container { color: #000; z-index: 10; } table.jPicker { font-family: Arial, Helvetica, Sans-Serif; font-size: 12px !important; margin: 0; padding: 0; width: 545px; z-index: 20; } .jPicker hr { margin: 7px 0; } .jPicker .Move { background-color: #dddddd; border-color: #fff #666 #666 #fff; border-style: solid; border-width: 1px; cursor: move; height: 12px; padding: 0; box-sizing: border-box; } .jPicker .Title { display: none; } .jPicker div.Map { border-bottom: 2px solid #fff; border-left: 2px solid #9a9a9a; border-right: 2px solid #fff; border-top: 2px solid #9a9a9a; cursor: crosshair; height: 260px; margin: 0 10px 10px 10px; overflow: hidden; /* hide the overdraw of the Color Map icon when at edge of viewing box */ padding: 0; position: relative; /* make this element an absolute positioning container */ width: 260px; box-sizing: border-box; } .jPicker div.Bar { box-sizing: border-box; border-bottom: 2px solid #fff; border-left: 2px solid #9a9a9a; border-right: 2px solid #fff; border-top: 2px solid #9a9a9a; cursor: n-resize; height: 260px; /* IE 6 incorrectly draws border inside the width and height instead of outside - We will fix this to 256px later */ margin: -11px 10px 0 5px; overflow: hidden; padding: 0; position: relative; width: 24px; /* IE 6 incorrectly draws border inside the width and height instead of outside - We will fix this to 20px later */ } .jPicker .Map .Map1, .jPicker .Map .Map2, .jPicker .Map .Map3, .jPicker .Bar .Map1, .jPicker .Bar .Map2, .jPicker .Bar .Map3, .jPicker .Bar .Map4, .jPicker .Bar .Map5, .jPicker .Bar .Map6 { background-color: transparent; background-image: none; display: block; left: 0; position: absolute; top: 0; } .jPicker .Map .Map1, .jPicker .Map .Map2, .jPicker .Map .Map3 { height: 2596px; width: 256px; /* must specify pixel width. IE7/8 Quirks mode ignores opacity for an absolutely positioned item in a relative container with "overflow: visible". The marker in the colorBar would not be drawn if its overflow is set to hidden. */ } .jPicker .Bar .Map1, .jPicker .Bar .Map2, .jPicker .Bar .Map3, .jPicker .Bar .Map4 { height: 3896px; width: 20px; /* must specify pixel width. IE7/8 Quirks mode ignores opacity for an absolutely positioned item in a relative container with "overflow: visible". The marker in the colorBar would not be drawn if its overflow is set to hidden. */ } .jPicker .Bar .Map5, .jPicker .Bar .Map6 { height: 256px; width: 20px; /* must specify pixel width. IE7/8 Quirks mode ignores opacity for an absolutely positioned item in a relative container with "overflow: visible". The marker in the colorBar would not be drawn if its overflow is set to hidden. */ } .jPicker .Map .Map1, .jPicker .Map .Map2, .jPicker .Bar .Map6 { background-repeat: no-repeat; } .jPicker .Map .Map3, .jPicker .Bar .Map5 { background-repeat: repeat; } .jPicker .Bar .Map1, .jPicker .Bar .Map2, .jPicker .Bar .Map3, .jPicker .Bar .Map4 { background-repeat: repeat-x; } .jPicker .Map .Arrow { display: block; position: absolute; } .jPicker .Bar .Arrow { display: block; left: 0; /* (arrow width / 2) - (element width / 2) - position arrows' center in elements' center */ position: absolute; } .jPicker .Preview { font-size: 9px; padding: 5px 0 0 0; text-align: center; } .jPicker .Preview > div { box-sizing: border-box; border: 2px inset #eee; height: 62px; margin: 0 auto; padding: 0; width: 62px; } .jPicker .Preview > div > span { box-sizing: border-box; border: 1px solid #000; display: block; height: 30px; margin: 0 auto; padding: 0; width: 60px; } .jPicker .Preview .Active { border-bottom-width: 0; } .jPicker .Preview .Current { border-top-width: 0; cursor: pointer; } .jPicker input { font-size: 13px; } .jPicker .Button { box-sizing: border-box; text-align: center; padding: 0 4px; width: 115px; } .jPicker .Button input { box-sizing: border-box; padding: 2px 0; width: 100px; } .jPicker .Button .Ok { margin: 12px 0 5px 0; } .jPicker td { margin: 0; padding: 0; } .jPicker td.Radio { margin: 0; padding: 0; width: 32px; } .jPicker td.Radio input { margin: 0 5px 0 0; padding: 0; display: inline-block; } .jPicker td.Text { font-size: 12px !important; height: 22px; margin: 0; padding: 0; text-align: left; width: 70px; } .jPicker tr.Hex td.Text { width: 100px; } .jPicker td.Text input { box-sizing: border-box; background-color: #fff; border: 1px inset #aaa; height: 19px; margin: 0 0 0 5px; text-align: left; width: 30px; } .jPicker tr.Hex td.Text input.Hex { width: 45px; display: inline-block; margin-left: 2px; text-align: center; } .jPicker.no-alpha-picker tr.Hex td.Text input.Hex { width: 50px; margin-left: 5px; } .jPicker tr.Hex td.Text input.AHex { width: 16px; text-align: center; } .jPicker.no-alpha-picker tr.Hex td.Text input.AHex { display: none; } .jPicker.no-alpha-picker tr.Alpha { visibility: hidden; } .jPicker .Grid { text-align: center; width: 102px; overflow: hidden; } .jPicker .Grid span.QuickColor { box-sizing: border-box; border: 1px inset #aaa; cursor: pointer; display: inline-block; height: 15px; margin: 0; padding: 0; width: 17px; float: left; } @media all { #jPicker { margin: 0 8px; text-align: left; } #jPicker ul { font-size: 15px; margin: 0 0 0 15px; padding: 0; } #jPicker ul li { list-style: disc; padding: 2px 0; } #jPicker ul li ul { margin-bottom: 10px; } #jPicker ul li ul li { list-style: circle; } #jPicker p { font-size: 13px; padding: 0 10px; } #jPicker hr { clear: both; } #jPicker h2.jPicker { font-size: 16px; padding: 20px 10px; } #jPicker code { color: #8bd; font-size: 14px; font-weight: bold; } #jPicker pre { background: #eee; border: 1px solid #000; color: #000; display: block; font-size: 11px; margin: 10px 5px; padding: 5px; } #jPicker span { font-size: 13px; text-align: center; } #jPicker a { color: #ff8050; } #jPicker input { font-size: 13px; padding: 2px 5px; } #jPicker h2 { font-size: 16px; margin: 10px 0; } } |