[313] | 1 | @wizard-step-border:#CED1D6; |
---|
| 2 | @wizard-step-color:#546474; |
---|
| 3 | @wizard-step-active-border:#5293C4; |
---|
| 4 | @wizard-step-complete-color:#87BA21; |
---|
| 5 | @wizard-step-title-color:#949EA7; |
---|
| 6 | @wizard-step-active-title-color:#2B3D53; |
---|
| 7 | |
---|
| 8 | |
---|
| 9 | /* spinner */ |
---|
| 10 | .ace-spinner { |
---|
| 11 | display:inline-block; |
---|
| 12 | |
---|
| 13 | .spinner-buttons { |
---|
| 14 | min-width:18px; |
---|
| 15 | |
---|
| 16 | > .btn { |
---|
| 17 | .border-radius(0) !important; |
---|
| 18 | font-size:10px; |
---|
| 19 | padding:0; |
---|
| 20 | width:18px; |
---|
| 21 | height:14px; |
---|
| 22 | line-height:10px; |
---|
| 23 | |
---|
| 24 | &:first-child { |
---|
| 25 | margin-top:0; |
---|
| 26 | } |
---|
| 27 | |
---|
| 28 | > [class*="icon-"] { |
---|
| 29 | //font-size:10px; |
---|
| 30 | margin:0; padding:0; |
---|
| 31 | } |
---|
| 32 | } |
---|
| 33 | > button.btn { |
---|
| 34 | &:active { left:auto; top:auto; } |
---|
| 35 | } |
---|
| 36 | } |
---|
| 37 | |
---|
| 38 | .spinner-input { |
---|
| 39 | text-align:center; |
---|
| 40 | height:29px; |
---|
| 41 | line-height:28px; |
---|
| 42 | color:#777; |
---|
| 43 | } |
---|
| 44 | |
---|
| 45 | input[type=text].spinner-input.form-control { |
---|
| 46 | //ie8-9 |
---|
| 47 | width: ~"auto\0/" !important; |
---|
| 48 | line-height: ~"1\0/" !important; |
---|
| 49 | padding-bottom: ~"4px\0/" !important; |
---|
| 50 | } |
---|
| 51 | } |
---|
| 52 | |
---|
| 53 | |
---|
| 54 | /* touch spinner buttons */ |
---|
| 55 | .ace-spinner.touch-spinner .spinner-buttons { |
---|
| 56 | margin:0; |
---|
| 57 | font-size:0; |
---|
| 58 | } |
---|
| 59 | .ace-spinner.touch-spinner .spinner-buttons > .btn { |
---|
| 60 | height:29px; line-height:20px; width:24px; |
---|
| 61 | font-size:18px; |
---|
| 62 | display:inline-block; |
---|
| 63 | vertical-align:sub; |
---|
| 64 | margin:0 1px; |
---|
| 65 | } |
---|
| 66 | .ace-spinner.touch-spinner .spinner-buttons > .btn > [class*="icon-"]{ |
---|
| 67 | vertical-align:middle; |
---|
| 68 | display:inline-block; |
---|
| 69 | } |
---|
| 70 | |
---|
| 71 | |
---|
| 72 | |
---|
| 73 | |
---|
| 74 | |
---|
| 75 | |
---|
| 76 | |
---|
| 77 | |
---|
| 78 | /* wizard */ |
---|
| 79 | .wizard-steps { |
---|
| 80 | list-style:none; |
---|
| 81 | display:table; |
---|
| 82 | width:100%; |
---|
| 83 | padding:0; |
---|
| 84 | margin:0; |
---|
| 85 | position:relative; |
---|
| 86 | |
---|
| 87 | li { |
---|
| 88 | display:table-cell; |
---|
| 89 | text-align:center; |
---|
| 90 | width:1%; |
---|
| 91 | |
---|
| 92 | .step { |
---|
| 93 | border:5px solid @wizard-step-border; |
---|
| 94 | color:@wizard-step-color; |
---|
| 95 | font-size:15px; |
---|
| 96 | border-radius:100%; |
---|
| 97 | background-color:#FFF; |
---|
| 98 | |
---|
| 99 | position:relative; |
---|
| 100 | z-index:2; |
---|
| 101 | display:inline-block; |
---|
| 102 | |
---|
| 103 | width:40px; height:40px; |
---|
| 104 | line-height:30px; |
---|
| 105 | text-align:center; |
---|
| 106 | } |
---|
| 107 | |
---|
| 108 | |
---|
| 109 | &:before {/* the line running through each step*/ |
---|
| 110 | display:block; |
---|
| 111 | content:""; |
---|
| 112 | |
---|
| 113 | width:100%; |
---|
| 114 | height:1px; font-size:0; overflow:hidden; |
---|
| 115 | |
---|
| 116 | border-top:4px solid #CED1D6; |
---|
| 117 | |
---|
| 118 | position:relative; top:21px; |
---|
| 119 | z-index:1; |
---|
| 120 | } |
---|
| 121 | |
---|
| 122 | &:last-child:before { |
---|
| 123 | max-width:50%; |
---|
| 124 | width:50%; |
---|
| 125 | } |
---|
| 126 | &:first-child:before { |
---|
| 127 | max-width:51%; |
---|
| 128 | left:50%; |
---|
| 129 | } |
---|
| 130 | |
---|
| 131 | |
---|
| 132 | &.active, &.complete { |
---|
| 133 | &:before, .step { |
---|
| 134 | border-color:@wizard-step-active-border; |
---|
| 135 | } |
---|
| 136 | } |
---|
| 137 | |
---|
| 138 | &.complete { |
---|
| 139 | .step { |
---|
| 140 | cursor:default; |
---|
| 141 | color:#FFF; |
---|
| 142 | |
---|
| 143 | &:before { |
---|
| 144 | display:block; |
---|
| 145 | position:absolute; |
---|
| 146 | top:0; left:0; bottom:0; right:0; |
---|
| 147 | line-height:30px; text-align:center; |
---|
| 148 | border-radius:100%; |
---|
| 149 | |
---|
| 150 | content:"\f00c"; |
---|
| 151 | |
---|
| 152 | background-color:#FFF; |
---|
| 153 | z-index:3; |
---|
| 154 | |
---|
| 155 | font-family:FontAwesome; |
---|
| 156 | font-size:17px; |
---|
| 157 | color:@wizard-step-complete-color; |
---|
| 158 | } |
---|
| 159 | |
---|
| 160 | .transition(~"transform ease 0.1s"); |
---|
| 161 | } |
---|
| 162 | &:hover { |
---|
| 163 | .step { |
---|
| 164 | .transform(~"scale(1.1)"); |
---|
| 165 | border-color:lighten(@wizard-step-active-border , 12%); |
---|
| 166 | } |
---|
| 167 | &:before { |
---|
| 168 | border-color:lighten(@wizard-step-active-border , 12%); |
---|
| 169 | } |
---|
| 170 | } |
---|
| 171 | } |
---|
| 172 | |
---|
| 173 | |
---|
| 174 | .title{ |
---|
| 175 | display:block; |
---|
| 176 | margin-top:4px; |
---|
| 177 | max-width:100%; |
---|
| 178 | |
---|
| 179 | color:@wizard-step-title-color; |
---|
| 180 | font-size:14px; |
---|
| 181 | |
---|
| 182 | z-index:104; |
---|
| 183 | |
---|
| 184 | text-align:center; |
---|
| 185 | table-layout:fixed; |
---|
| 186 | |
---|
| 187 | word-wrap:break-word; |
---|
| 188 | } |
---|
| 189 | &.complete .title , &.active .title{ |
---|
| 190 | color:@wizard-step-active-title-color; |
---|
| 191 | } |
---|
| 192 | |
---|
| 193 | |
---|
| 194 | |
---|
| 195 | } |
---|
| 196 | |
---|
| 197 | } |
---|
| 198 | |
---|
| 199 | .step-content .step-pane { |
---|
| 200 | display: none; |
---|
| 201 | min-height:200px; |
---|
| 202 | padding:4px 8px 12px; |
---|
| 203 | } |
---|
| 204 | |
---|
| 205 | .step-content .active { |
---|
| 206 | display: block; |
---|
| 207 | } |
---|
| 208 | |
---|
| 209 | .wizard-actions { |
---|
| 210 | text-align:right; |
---|
| 211 | } |
---|
| 212 | |
---|
| 213 | @media only screen and (max-width: @screen-xs-max) { |
---|
| 214 | .wizard-steps li .step { |
---|
| 215 | width:30px; height:30px; line-height:24px; |
---|
| 216 | border-width:3px; |
---|
| 217 | } |
---|
| 218 | .wizard-steps li:before , .wizard-steps li:after { |
---|
| 219 | border-width:3px; |
---|
| 220 | } |
---|
| 221 | .wizard-steps li.complete .step:before{ |
---|
| 222 | line-height:24px; |
---|
| 223 | font-size:13px; |
---|
| 224 | } |
---|
| 225 | .wizard-steps li:before { |
---|
| 226 | top:16px; |
---|
| 227 | } |
---|
| 228 | |
---|
| 229 | .step-content .step-pane { |
---|
| 230 | padding:4px 4px 6px; |
---|
| 231 | } |
---|
| 232 | } |
---|
| 233 | |
---|
| 234 | |
---|
| 235 | |
---|
| 236 | |
---|
| 237 | |
---|
| 238 | |
---|
| 239 | |
---|
| 240 | |
---|
| 241 | |
---|
| 242 | |
---|
| 243 | /* tree control */ |
---|
| 244 | @tree-border-color:#67B2DD; |
---|
| 245 | .tree { |
---|
| 246 | padding-left:9px; |
---|
| 247 | overflow-x: hidden; overflow-y: auto; |
---|
| 248 | position: relative; |
---|
| 249 | &:before { |
---|
| 250 | display:inline-block; content:""; |
---|
| 251 | position:absolute; top:-20px; bottom:16px; left:0; |
---|
| 252 | border:1px dotted @tree-border-color; |
---|
| 253 | border-width: 0 0 0 1px; |
---|
| 254 | |
---|
| 255 | z-index:1; |
---|
| 256 | } |
---|
| 257 | |
---|
| 258 | |
---|
| 259 | .tree-folder { |
---|
| 260 | width: auto; |
---|
| 261 | min-height: 20px; |
---|
| 262 | cursor: pointer; |
---|
| 263 | |
---|
| 264 | .tree-folder-header { |
---|
| 265 | position: relative; |
---|
| 266 | height: 20px; |
---|
| 267 | line-height:20px; |
---|
| 268 | &:hover { |
---|
| 269 | background-color: #F0F7FC; |
---|
| 270 | } |
---|
| 271 | } |
---|
| 272 | } |
---|
| 273 | |
---|
| 274 | .tree-folder .tree-folder-header .tree-folder-name , .tree-item .tree-item-name { |
---|
| 275 | display:inline; |
---|
| 276 | z-index:2; |
---|
| 277 | } |
---|
| 278 | .tree-folder .tree-folder-header > [class*="icon-"]:first-child , |
---|
| 279 | .tree-item > [class*="icon-"]:first-child { |
---|
| 280 | display:inline-block; |
---|
| 281 | position:relative; |
---|
| 282 | z-index:2; |
---|
| 283 | top:-1px; |
---|
| 284 | } |
---|
| 285 | .tree-folder { |
---|
| 286 | .tree-folder-header { |
---|
| 287 | .tree-folder-name { |
---|
| 288 | margin-left:2px; |
---|
| 289 | } |
---|
| 290 | > [class*="icon-"]:first-child { |
---|
| 291 | margin:-2px 0 0 -2px; |
---|
| 292 | } |
---|
| 293 | } |
---|
| 294 | &:last-child:after { |
---|
| 295 | display:inline-block; content:""; |
---|
| 296 | position:absolute; z-index:1; |
---|
| 297 | top:15px; bottom:0; left:-15px; |
---|
| 298 | border-left:1px solid #FFF; |
---|
| 299 | } |
---|
| 300 | .tree-folder-content { |
---|
| 301 | margin-left: 23px; |
---|
| 302 | position:relative; |
---|
| 303 | &:before { |
---|
| 304 | display:inline-block; content:""; |
---|
| 305 | position:absolute; z-index:1; |
---|
| 306 | top:-14px; bottom:16px; left:-14px; |
---|
| 307 | border:1px dotted @tree-border-color; |
---|
| 308 | border-width:0 0 0 1px; |
---|
| 309 | } |
---|
| 310 | } |
---|
| 311 | } |
---|
| 312 | |
---|
| 313 | |
---|
| 314 | |
---|
| 315 | .tree-item { |
---|
| 316 | position: relative; |
---|
| 317 | height: 20px; |
---|
| 318 | line-height:20px; |
---|
| 319 | cursor: pointer; |
---|
| 320 | &:hover { |
---|
| 321 | background-color: #F0F7FC; |
---|
| 322 | } |
---|
| 323 | |
---|
| 324 | .tree-item-name { |
---|
| 325 | margin-left:3px; |
---|
| 326 | > [class*="icon-"]:first-child { |
---|
| 327 | margin-right:3px; |
---|
| 328 | } |
---|
| 329 | } |
---|
| 330 | > [class*="icon-"]:first-child { |
---|
| 331 | margin-top:-1px; |
---|
| 332 | } |
---|
| 333 | } |
---|
| 334 | |
---|
| 335 | .tree-folder , .tree-item { |
---|
| 336 | position:relative; |
---|
| 337 | &:before { |
---|
| 338 | display:inline-block; content:""; |
---|
| 339 | position:absolute; |
---|
| 340 | top:14px; left:-13px; width:18px; |
---|
| 341 | height:0; |
---|
| 342 | border-top:1px dotted @tree-border-color; |
---|
| 343 | |
---|
| 344 | z-index:1; |
---|
| 345 | } |
---|
| 346 | } |
---|
| 347 | |
---|
| 348 | |
---|
| 349 | .tree-selected { |
---|
| 350 | background-color: rgba(98, 168, 209 , 0.1); |
---|
| 351 | color:#6398B0; |
---|
| 352 | &:hover { |
---|
| 353 | background-color: rgba(98, 168, 209 , 0.1); |
---|
| 354 | } |
---|
| 355 | } |
---|
| 356 | |
---|
| 357 | .tree-item , .tree-folder { |
---|
| 358 | border:1px solid #FFF; |
---|
| 359 | } |
---|
| 360 | |
---|
| 361 | .tree-folder .tree-folder-header { |
---|
| 362 | border-radius:0; |
---|
| 363 | } |
---|
| 364 | .tree-item , .tree-folder .tree-folder-header { |
---|
| 365 | margin:0; |
---|
| 366 | padding:5px; |
---|
| 367 | color:#4D6878; |
---|
| 368 | |
---|
| 369 | .box-sizing(content-box); |
---|
| 370 | } |
---|
| 371 | |
---|
| 372 | |
---|
| 373 | .tree-item > [class*="icon-"]:first-child { |
---|
| 374 | color:#F9E8CE; |
---|
| 375 | border:1px solid #CCC; |
---|
| 376 | width:13px; height:13px; line-height:13px; |
---|
| 377 | font-size:11px; |
---|
| 378 | text-align:center; |
---|
| 379 | border-radius:3px; |
---|
| 380 | |
---|
| 381 | .box-sizing(content-box); |
---|
| 382 | |
---|
| 383 | background-color: #FAFAFA; |
---|
| 384 | border: 1px solid #CCC; |
---|
| 385 | box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); |
---|
| 386 | } |
---|
| 387 | |
---|
| 388 | .tree-selected > [class*="icon-"]:first-child { |
---|
| 389 | background-color: #F9A021; |
---|
| 390 | border-color: #F9A021; |
---|
| 391 | color: #FFF; |
---|
| 392 | } |
---|
| 393 | |
---|
| 394 | |
---|
| 395 | .icon-plus[class*="icon-"]:first-child , .icon-minus[class*="icon-"]:first-child { |
---|
| 396 | border:1px solid #DDD; |
---|
| 397 | vertical-align:middle; |
---|
| 398 | height:11px; width:11px; |
---|
| 399 | .box-sizing(content-box); |
---|
| 400 | |
---|
| 401 | text-align:center; |
---|
| 402 | |
---|
| 403 | border:1px solid #8BAEBF; |
---|
| 404 | line-height:10px; |
---|
| 405 | background-color:#FFF; |
---|
| 406 | |
---|
| 407 | position:relative; |
---|
| 408 | z-index:1; |
---|
| 409 | } |
---|
| 410 | .icon-plus[class*="icon-"]:first-child:before { |
---|
| 411 | display:block; |
---|
| 412 | content:"+"; |
---|
| 413 | font-family:"Open Sans"; |
---|
| 414 | font-size:16px; |
---|
| 415 | position:relative; z-index:1; |
---|
| 416 | } |
---|
| 417 | .icon-minus[class*="icon-"]:first-child:before { |
---|
| 418 | content: ""; |
---|
| 419 | display:block; |
---|
| 420 | width:7px; height:0; |
---|
| 421 | border-top:1px solid #4D6878; |
---|
| 422 | |
---|
| 423 | position:absolute; |
---|
| 424 | top:5px; |
---|
| 425 | left:2px; |
---|
| 426 | } |
---|
| 427 | |
---|
| 428 | .tree-unselectable .tree-item > [class*="icon-"]:first-child { |
---|
| 429 | color:#5084A0; |
---|
| 430 | border:none; |
---|
| 431 | width:13px; height:13px; line-height:13px; |
---|
| 432 | font-size:10px; |
---|
| 433 | text-align:center; |
---|
| 434 | border-radius:0; |
---|
| 435 | |
---|
| 436 | background-color: transparent; |
---|
| 437 | border: none; |
---|
| 438 | box-shadow:none; |
---|
| 439 | } |
---|
| 440 | |
---|
| 441 | |
---|
| 442 | [class*="icon-"][class*="-down"] { |
---|
| 443 | transform:rotate(-45deg); |
---|
| 444 | } |
---|
| 445 | .icon-spin { |
---|
| 446 | height:auto; |
---|
| 447 | } |
---|
| 448 | .tree-loading { |
---|
| 449 | margin-left:36px; |
---|
| 450 | } |
---|
| 451 | |
---|
| 452 | img { |
---|
| 453 | display:inline; |
---|
| 454 | veritcal-align:middle; |
---|
| 455 | } |
---|
| 456 | } |
---|
| 457 | |
---|
| 458 | |
---|
| 459 | |
---|
| 460 | |
---|
| 461 | |
---|