[29741] | 1 |
|
---|
| 2 | /* Styles for the demo page only. See spectrum.css for the actual colorpicker styles */
|
---|
| 3 | html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
|
---|
| 4 | body { margin: 0; font-size: 14px; line-height: 1.5; background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAG0lEQVQIW2OMqXogyYADMIIkl7QpPMcmP+gkAYLGGdeobP2EAAAAAElFTkSuQmCC); }
|
---|
| 5 | body, button, input, select, textarea { font-family: Droid Sans, Tahoma, sans-serif; color: #222; }
|
---|
| 6 | body p { font-family: Verdana; font-size: 12px; color: #333; line-height: 1.8; }
|
---|
| 7 | h1 { font-family: Lucida Sans, Droid Sans, Verdana; font-size: 30px; line-height: inherit; margin: 0; padding:0; font-weight: lighter; position:fixed; top: 3px; left: 10px; }
|
---|
| 8 | h1 a { text-decoration: none; color: #334 !important; }
|
---|
| 9 | h1 a:hover { text-decoration: underline; color: #336 !important; }
|
---|
| 10 | #header { background: #eee; background: #eee; height: 60px; line-height: 60px; padding: 3px 10px;}
|
---|
| 11 |
|
---|
| 12 | #goals { margin:0 auto; padding:0; width: 98%; }
|
---|
| 13 | .goal { float: left; width: 29%; margin:1%; padding:1%; color: #335; min-height: 300px; background: #eee; border-radius: 10px; font-family: Verdana; }
|
---|
| 14 | #docs .goal h4 { text-align: center; margin: .5em 0; font-weight: lighter; text-decoration: underline; font-family: Verdana; }
|
---|
| 15 | a { color: #00e; }
|
---|
| 16 | a:visited { color: #009; }
|
---|
| 17 | a:hover { color: #06e; }
|
---|
| 18 | a:focus { outline: thin dotted; }
|
---|
| 19 | #header h2 { float:left; margin:0; padding:0; margin-left: 180px; font-size: 14px; line-height: inherit; font-weight: normal; font-family: Georgia;}
|
---|
| 20 | #header h2 em {background: #444; color: #fff; font-style: normal; padding: 5px; border-radius: 5px; border: solid 1px #999; box-shadow: 0 0 4px #333;}
|
---|
| 21 | #links { float:right; text-align: right; }
|
---|
| 22 | #pick2-details { font: monospace; }
|
---|
| 23 | #switch-current { float: left; position:relative; display:none;}
|
---|
| 24 | /*#switch-current .spectrum-container { position: fixed; top:60px; left: 10px; }*/
|
---|
| 25 | #docs-content { margin-left: 190px; padding: 10px 30px; border:solid 10px #ecc; border-right:none;border-bottom:none; padding-bottom: 20px; background: #fff; background: rgba(255, 255, 255, .6); }
|
---|
| 26 | .footer { padding-top: 50px; }
|
---|
| 27 | .switch-current-output { display:none; margin:3px auto; width: 200px; text-align: center; }
|
---|
| 28 | .type { padding-left: 4px; font-size: .8em; font-weight: bold;}
|
---|
| 29 | .description, .example {
|
---|
| 30 | padding: 10px;
|
---|
| 31 | border: 1px solid #888;
|
---|
| 32 | background: white;
|
---|
| 33 | position:relative;
|
---|
| 34 | padding-top: 15px;
|
---|
| 35 | }
|
---|
| 36 | #docs { }
|
---|
| 37 | #docs ul { margin-left: 25px; padding-left:10px; }
|
---|
| 38 | #docs li { list-style: square; margin-left: 6px; }
|
---|
| 39 | #docs p { margin: 0; padding:0; padding-top:4px; }
|
---|
| 40 | #docs pre { position:relative; }
|
---|
| 41 | #docs h2 { margin: 30px -25px; border-bottom: solid 1px; }
|
---|
| 42 | #docs h3 { padding: 10px 15px; margin: 10px auto; margin-top: 40px; border: solid 3px #aaa;
|
---|
| 43 | box-shadow: 0 3px 5px #333; }
|
---|
| 44 | #docs h3.point { box-shadow: none; margin-left: -30px; margin-right: -30px; border: solid 1px #999; border-left: none; border-right:none;}
|
---|
| 45 | #code-heading { font-size: 24px; text-align: center; margin: 6px 0; }
|
---|
| 46 | #docs-content { color: #222; }
|
---|
| 47 | #docs-content.dark { color: #ddd; }
|
---|
| 48 | code { font-weight: bold; color: #933; }
|
---|
| 49 | .note { float:right; background: #eee; padding: 4px; font-size: 11px; border: solid 1px #bbb; border-radius: 4px;}
|
---|
| 50 | .option-content .note { float:none; position:absolute; right: 0; top: -40px;}
|
---|
| 51 | .option-content { position:relative; background: #ededed;
|
---|
| 52 | border: solid 2px #aaa; border-top: none;
|
---|
| 53 | padding: 12px; width: 95%; margin: 0 auto;
|
---|
| 54 | margin-top: -10px; padding-top: 20px;
|
---|
| 55 | box-shadow: 0 0 10px #ccc; border-radius: 0 0 5px 5px;
|
---|
| 56 | }
|
---|
| 57 | .em-label { padding:4px; margin-left: 10px; display:inline-block; vertical-align: top; margin-top: 3px; }
|
---|
| 58 | .hide { display:none; }
|
---|
| 59 | .clearfix:before, .clearfix:after { content: ""; display: table; }
|
---|
| 60 | .clearfix:after { clear: both; }
|
---|
| 61 | .clearfix { *zoom: 1; }
|
---|
| 62 |
|
---|
| 63 | input[type="text"] { height: auto; }
|
---|
| 64 | .label {
|
---|
| 65 | padding: 1px 4px 2px;
|
---|
| 66 | font-size: 10.998px;
|
---|
| 67 | font-weight: bold;
|
---|
| 68 | line-height: 13px;
|
---|
| 69 | color: #ffffff;
|
---|
| 70 | vertical-align: middle;
|
---|
| 71 | white-space: nowrap;
|
---|
| 72 | text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
---|
| 73 | background-color: #999999;
|
---|
| 74 | -webkit-border-radius: 3px;
|
---|
| 75 | -moz-border-radius: 3px;
|
---|
| 76 | border-radius: 3px;
|
---|
| 77 | }
|
---|
| 78 | .label:hover {
|
---|
| 79 | color: #ffffff;
|
---|
| 80 | text-decoration: none;
|
---|
| 81 | }
|
---|
| 82 | .label-important {
|
---|
| 83 | background-color: #b94a48;
|
---|
| 84 | }
|
---|
| 85 | .label-important:hover {
|
---|
| 86 | background-color: #953b39;
|
---|
| 87 | }
|
---|
| 88 | .label-result {
|
---|
| 89 | background-color: #3a87ad;
|
---|
| 90 | margin-right: 5px;
|
---|
| 91 | }
|
---|
| 92 | .example .label-result {
|
---|
| 93 | position:absolute;
|
---|
| 94 | top: -10px;
|
---|
| 95 | left: 5px;
|
---|
| 96 | }
|
---|
| 97 | .label-warning {
|
---|
| 98 | background-color: #f89406;
|
---|
| 99 | }
|
---|
| 100 | .label-warning:hover {
|
---|
| 101 | background-color: #c67605;
|
---|
| 102 | }
|
---|
| 103 | .label-success {
|
---|
| 104 | background-color: #468847;
|
---|
| 105 | }
|
---|
| 106 | .label-success:hover {
|
---|
| 107 | background-color: #356635;
|
---|
| 108 | }
|
---|
| 109 | .label-info {
|
---|
| 110 | background-color: #3a87ad;
|
---|
| 111 | }
|
---|
| 112 | .label-info:hover {
|
---|
| 113 | background-color: #2d6987;
|
---|
| 114 | }
|
---|
| 115 | .label-inverse {
|
---|
| 116 | background-color: #333333;
|
---|
| 117 | }
|
---|
| 118 | .label-inverse:hover {
|
---|
| 119 | background-color: #1a1a1a;
|
---|
| 120 | }
|
---|
| 121 | .alert {
|
---|
| 122 | padding: 8px 35px 8px 14px;
|
---|
| 123 | margin: 10px 0;
|
---|
| 124 | text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
|
---|
| 125 | background-color: #fcf8e3;
|
---|
| 126 | border: 1px solid #fbeed5;
|
---|
| 127 | -webkit-border-radius: 4px;
|
---|
| 128 | -moz-border-radius: 4px;
|
---|
| 129 | border-radius: 4px;
|
---|
| 130 | color: #c09853;
|
---|
| 131 | }
|
---|
| 132 | .alert-heading {
|
---|
| 133 | color: inherit;
|
---|
| 134 | }
|
---|
| 135 | .alert .close {
|
---|
| 136 | position: relative;
|
---|
| 137 | top: -2px;
|
---|
| 138 | right: -21px;
|
---|
| 139 | line-height: 18px;
|
---|
| 140 | }
|
---|
| 141 | .alert-success {
|
---|
| 142 | background-color: #dff0d8;
|
---|
| 143 | border-color: #d6e9c6;
|
---|
| 144 | color: #468847;
|
---|
| 145 | }
|
---|
| 146 | .alert-danger,
|
---|
| 147 | .alert-error {
|
---|
| 148 | background-color: #f2dede;
|
---|
| 149 | border-color: #eed3d7;
|
---|
| 150 | color: #b94a48;
|
---|
| 151 | }
|
---|
| 152 | .alert-info {
|
---|
| 153 | background-color: #d9edf7;
|
---|
| 154 | border-color: #bce8f1;
|
---|
| 155 | color: #3a87ad;
|
---|
| 156 | }
|
---|
| 157 | .alert-block {
|
---|
| 158 | padding-top: 14px;
|
---|
| 159 | padding-bottom: 14px;
|
---|
| 160 | }
|
---|
| 161 | .alert-block > p,
|
---|
| 162 | .alert-block > ul {
|
---|
| 163 | margin-bottom: 0;
|
---|
| 164 | }
|
---|
| 165 | .alert-block p + p {
|
---|
| 166 | margin-top: 5px;
|
---|
| 167 | }
|
---|
| 168 | .btn-primary:visited {
|
---|
| 169 | color: #ffffff;
|
---|
| 170 | }
|
---|
| 171 |
|
---|
| 172 | /* prettify */
|
---|
| 173 | .pln{color:#000}@media screen{.str{color:#080}.kwd{color:#008}.com{color:#800}.typ{color:#606}.lit{color:#066}.pun,.opn,.clo{color:#660}.tag{color:#008}.atn{color:#606}.atv{color:#080}.dec,.var{color:#606}.fun{color:red}}@media print,projection{.str{color:#060}.kwd{color:#006;font-weight:bold}.com{color:#600;font-style:italic}.typ{color:#404;font-weight:bold}.lit{color:#044}.pun,.opn,.clo{color:#440}.tag{color:#006;font-weight:bold}.atn{color:#404}.atv{color:#060}}pre.prettyprint{padding:2px;border:1px solid #888; background: white;}ol.linenums{margin-top:0;margin-bottom:0}li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8{list-style-type:none}li.L1,li.L3,li.L5,li.L7,li.L9{background:#eee}
|
---|
| 174 |
|
---|
| 175 | /* desert scheme ported from vim to google prettify */
|
---|
| 176 | .dark pre { display: block; background-color: #333; border:1px solid #888; padding:2px; }
|
---|
| 177 | .dark pre .nocode { background-color: none; color: #000 }
|
---|
| 178 | .dark pre .str { color: #ffa0a0 } /* string - pink */
|
---|
| 179 | .dark pre .kwd { color: #f0e68c; font-weight: bold }
|
---|
| 180 | .dark pre .com { color: #87ceeb } /* comment - skyblue */
|
---|
| 181 | .dark pre .typ { color: #98fb98 } /* type - lightgreen */
|
---|
| 182 | .dark pre .lit { color: #cd5c5c } /* literal - darkred */
|
---|
| 183 | .dark pre .pun { color: #fff } /* punctuation */
|
---|
| 184 | .dark pre .pln { color: #fff } /* plaintext */
|
---|
| 185 | .dark pre .tag { color: #f0e68c; font-weight: bold } /* html/xml tag - lightyellow */
|
---|
| 186 | .dark pre .atn { color: #bdb76b; font-weight: bold } /* attribute name - khaki */
|
---|
| 187 | .dark pre .atv { color: #ffa0a0 } /* attribute value - pink */
|
---|
| 188 | .dark pre .dec { color: #98fb98 } /* decimal - lightgreen */
|
---|
| 189 |
|
---|
| 190 | @media print {
|
---|
| 191 | .dark pre { background-color: none }
|
---|
| 192 | .dark pre .str, .dark code .str { color: #060 }
|
---|
| 193 | .dark pre .kwd, .dark code .kwd { color: #006; font-weight: bold }
|
---|
| 194 | .dark pre .com, .dark code .com { color: #600; font-style: italic }
|
---|
| 195 | .dark pre .typ, .dark code .typ { color: #404; font-weight: bold }
|
---|
| 196 | .dark pre .lit, .dark code .lit { color: #044 }
|
---|
| 197 | .dark pre .pun, .dark code .pun { color: #440 }
|
---|
| 198 | .dark pre .pln, .dark code .pln { color: #000 }
|
---|
| 199 | .dark pre .tag, .dark code .tag { color: #006; font-weight: bold }
|
---|
| 200 | .dark pre .atn, .dark code .atn { color: #404 }
|
---|
| 201 | .dark pre .atv, .dark code .atv { color: #060 }
|
---|
| 202 | }
|
---|
| 203 |
|
---|
| 204 | /* http://projects.jga.me/toc/ */
|
---|
| 205 | #toc {
|
---|
| 206 | top: 76px;
|
---|
| 207 | bottom: 0;
|
---|
| 208 | left: 0px;
|
---|
| 209 | position: fixed;
|
---|
| 210 | font-size: 11px;
|
---|
| 211 | width: 180px;
|
---|
| 212 | color: #222;
|
---|
| 213 | overflow-y: auto;
|
---|
| 214 | font-family: Georgia;
|
---|
| 215 | }
|
---|
| 216 | #toc-slider {
|
---|
| 217 | position:fixed;
|
---|
| 218 | top:0;
|
---|
| 219 | bottom:0;
|
---|
| 220 | left: 0;
|
---|
| 221 | width: 170px;
|
---|
| 222 | background: #eee;
|
---|
| 223 | line-height: 60px;
|
---|
| 224 | padding-top: 3px;
|
---|
| 225 | padding-left: 10px;
|
---|
| 226 | border-right: solid 10px #cce;
|
---|
| 227 | z-index: -1;
|
---|
| 228 | }
|
---|
| 229 |
|
---|
| 230 | @media (max-device-width: 480px) {
|
---|
| 231 |
|
---|
| 232 | #toc, #toc-slider, h1 {
|
---|
| 233 | position:absolute;
|
---|
| 234 | }
|
---|
| 235 | }
|
---|
| 236 | #toc ul {
|
---|
| 237 | margin: 0;
|
---|
| 238 | padding: 0;
|
---|
| 239 | list-style: none;
|
---|
| 240 | }
|
---|
| 241 |
|
---|
| 242 | #toc li {
|
---|
| 243 | padding: 5px 10px;
|
---|
| 244 | }
|
---|
| 245 |
|
---|
| 246 | #toc a {
|
---|
| 247 | color: #225;
|
---|
| 248 | text-decoration: none;
|
---|
| 249 | display: block;
|
---|
| 250 | }
|
---|
| 251 |
|
---|
| 252 | #toc .toc-h2 {
|
---|
| 253 | padding-left: 10px;
|
---|
| 254 | }
|
---|
| 255 |
|
---|
| 256 | #toc .toc-h3 {
|
---|
| 257 | padding-left: 25px;
|
---|
| 258 | }
|
---|
| 259 |
|
---|
| 260 | #toc .toc-active {
|
---|
| 261 | background: #CCE;
|
---|
| 262 | }
|
---|
| 263 |
|
---|
| 264 |
|
---|
| 265 |
|
---|
| 266 |
|
---|
| 267 | .full-spectrum {
|
---|
| 268 | margin: 0 auto;
|
---|
| 269 | }
|
---|
| 270 | .full-spectrum .sp-palette {
|
---|
| 271 |
|
---|
| 272 | max-width: 200px;
|
---|
| 273 | } |
---|