| 1 |
.hf-tab { |
| 2 |
display: none; |
| 3 |
background: inherit; |
| 4 |
border: none; |
| 5 |
font-weight: initial; |
| 6 |
} |
| 7 |
|
| 8 |
.hf-tab.hf-tab-active { |
| 9 |
display: block; |
| 10 |
} |
| 11 |
|
| 12 |
.hf-tab h2 { |
| 13 |
margin-top: 20px; |
| 14 |
} |
| 15 |
|
| 16 |
.hf-accordion { |
| 17 |
border: 1px solid #e5e5e5; |
| 18 |
margin-bottom: 6px; |
| 19 |
} |
| 20 |
|
| 21 |
.hf-accordion-heading { |
| 22 |
color: #555555; |
| 23 |
background-color: #fff; |
| 24 |
border-bottom: 1px solid #eeeeee; |
| 25 |
padding: 10px 10px 11px 14px; |
| 26 |
line-height: 21px; |
| 27 |
cursor: pointer; |
| 28 |
position: relative; |
| 29 |
margin: 0; |
| 30 |
font-size: 14px; |
| 31 |
} |
| 32 |
|
| 33 |
.hf-accordion-heading:hover { |
| 34 |
color: #23282d; |
| 35 |
background: #f5f5f5; |
| 36 |
} |
| 37 |
|
| 38 |
.hf-accordion-heading:after { |
| 39 |
content: '\f140'; |
| 40 |
font: normal 20px/1 'dashicons'; |
| 41 |
float: right; |
| 42 |
right: 20px; |
| 43 |
} |
| 44 |
|
| 45 |
.hf-accordion.expanded .hf-accordion-heading:after { |
| 46 |
content: "\f142"; |
| 47 |
} |
| 48 |
|
| 49 |
.hf-accordion-content { |
| 50 |
padding: 20px; |
| 51 |
background: #fff; |
| 52 |
} |
| 53 |
|
| 54 |
.hf-action-summary { |
| 55 |
display: none; |
| 56 |
} |
| 57 |
|
| 58 |
.hf-field-builder { |
| 59 |
border: 1px solid #ccc; |
| 60 |
padding: 20px; |
| 61 |
background: #fff; |
| 62 |
} |
| 63 |
|
| 64 |
.hf-field-builder h4:first-of-type { |
| 65 |
margin-top: 0; |
| 66 |
} |
| 67 |
|
| 68 |
.hf-field-builder label { |
| 69 |
display: block; |
| 70 |
font-weight: bold; |
| 71 |
} |
| 72 |
|
| 73 |
.hf-field-builder label.inline, |
| 74 |
.hf-field-builder label span { |
| 75 |
font-weight: normal; |
| 76 |
} |
| 77 |
|
| 78 |
.hf-field-builder input + .help { |
| 79 |
margin-top: 0; |
| 80 |
} |
| 81 |
|
| 82 |
.hf-field-builder input[type="text"] { |
| 83 |
width: 100%; |
| 84 |
} |
| 85 |
|
| 86 |
.hf-field-builder .available-fields button { |
| 87 |
margin-bottom: 4px; |
| 88 |
margin-right: 4px; |
| 89 |
} |
| 90 |
|
| 91 |
.hf-field-builder .field-config *:last-child { |
| 92 |
margin-bottom: 0; |
| 93 |
} |
| 94 |
|
| 95 |
.hf-column:hover .hf-column-menu { |
| 96 |
display: block; |
| 97 |
} |
| 98 |
|
| 99 |
.hf-column-menu { |
| 100 |
display: none; |
| 101 |
float: right; |
| 102 |
position: relative; |
| 103 |
} |
| 104 |
|
| 105 |
.hf-column-menu .submenu-toggle:after { |
| 106 |
content: "\f333"; |
| 107 |
font: normal 20px/1 'dashicons'; |
| 108 |
float: right; |
| 109 |
right: 20px; |
| 110 |
} |
| 111 |
|
| 112 |
.hf-column-menu .submenu { |
| 113 |
border: 1px solid #e1e1e1; |
| 114 |
display: none; |
| 115 |
position: absolute; |
| 116 |
top: 20px; |
| 117 |
right: 0; |
| 118 |
min-width: 140px; |
| 119 |
background: white; |
| 120 |
} |
| 121 |
|
| 122 |
.hf-column-menu .submenu a { |
| 123 |
font-size: 12px; |
| 124 |
padding: 2px 4px; |
| 125 |
text-align: right; |
| 126 |
display: block; |
| 127 |
border-bottom: 1px dotted #e1e1e1; |
| 128 |
} |
| 129 |
|
| 130 |
.hf-column-menu:hover .submenu { |
| 131 |
display: block; |
| 132 |
} |
| 133 |
|
| 134 |
#hf-form-preview { |
| 135 |
border: 1px solid #ddd; |
| 136 |
height: 520px; |
| 137 |
/* codemirror + padding */ |
| 138 |
width: 100%; |
| 139 |
border-left-width: 0; |
| 140 |
} |
| 141 |
|
| 142 |
@media (max-width: 1217px) { |
| 143 |
#hf-form-preview { |
| 144 |
border-left-width: 1px; |
| 145 |
} |
| 146 |
} |
| 147 |
|
| 148 |
.hf-tiny-margin { |
| 149 |
margin-top: 10px; |
| 150 |
margin-bottom: 10px; |
| 151 |
} |
| 152 |
|
| 153 |
.hf-small-margin { |
| 154 |
margin-top: 20px; |
| 155 |
margin-bottom: 20px; |
| 156 |
} |
| 157 |
|
| 158 |
.hf-medium-margin { |
| 159 |
margin-top: 40px; |
| 160 |
margin-bottom: 40px; |
| 161 |
} |
| 162 |
|
| 163 |
.hf-well { |
| 164 |
background: white; |
| 165 |
padding: 20px; |
| 166 |
border: 1px solid #ddd; |
| 167 |
} |
| 168 |
|
| 169 |
.hf-danger, |
| 170 |
.danger { |
| 171 |
color: #a00; |
| 172 |
} |
| 173 |
|
| 174 |
.hf-clear, |
| 175 |
.clear { |
| 176 |
clear: both; |
| 177 |
} |
| 178 |
|
| 179 |
.hf-italic { |
| 180 |
font-style: italic; |
| 181 |
} |
| 182 |
|
| 183 |
.hf-small { |
| 184 |
font-size: 90%; |
| 185 |
} |
| 186 |
|
| 187 |
.pull-right, |
| 188 |
.hf-pull-right { |
| 189 |
float: right; |
| 190 |
} |
| 191 |
|
| 192 |
.hf-required { |
| 193 |
color: indianred; |
| 194 |
font-size: 110%; |
| 195 |
} |
| 196 |
|
| 197 |
.hf-muted { |
| 198 |
font-weight: normal; |
| 199 |
font-size: 90%; |
| 200 |
color: #999; |
| 201 |
} |
| 202 |
|
| 203 |
.hf-row { |
| 204 |
display: flex; |
| 205 |
flex-wrap: wrap; |
| 206 |
} |
| 207 |
|
| 208 |
.hf-col { |
| 209 |
flex-basis: 0; |
| 210 |
flex-grow: 1; |
| 211 |
} |
| 212 |
|
| 213 |
.hf-col-1 { |
| 214 |
max-width: 16.66667%; |
| 215 |
} |
| 216 |
|
| 217 |
.hf-col-2 { |
| 218 |
max-width: 33.33333%; |
| 219 |
} |
| 220 |
|
| 221 |
.hf-col-3 { |
| 222 |
max-width: 50%; |
| 223 |
} |
| 224 |
|
| 225 |
.hf-col-4 { |
| 226 |
max-width: 66.66667%; |
| 227 |
} |
| 228 |
|
| 229 |
.hf-sidebar { |
| 230 |
border-left: 1px dashed #ddd; |
| 231 |
margin-left: 24px; |
| 232 |
padding-left: 24px; |
| 233 |
} |
| 234 |
|
| 235 |
@media (max-width: 640px) { |
| 236 |
.hf-row { |
| 237 |
display: block; |
| 238 |
} |
| 239 |
|
| 240 |
.hf-col { |
| 241 |
max-width: 100%; |
| 242 |
} |
| 243 |
|
| 244 |
.hf-sidebar { |
| 245 |
border: 0; |
| 246 |
margin-top: 24px; |
| 247 |
margin-left: 0; |
| 248 |
padding-left: 0; |
| 249 |
} |
| 250 |
} |
| 251 |
|
| 252 |
/* BASICS */ |
| 253 |
/* Codemirror */ |
| 254 |
.CodeMirror { |
| 255 |
font-family: monospace; |
| 256 |
color: black; |
| 257 |
border: 1px solid #ddd; |
| 258 |
padding: 10px; |
| 259 |
min-height: 500px; |
| 260 |
font-weight: normal; |
| 261 |
height: 500px; |
| 262 |
} |
| 263 |
|
| 264 |
.CodeMirror-empty { |
| 265 |
color: #999; |
| 266 |
} |
| 267 |
|
| 268 |
/* PADDING */ |
| 269 |
.CodeMirror-lines { |
| 270 |
padding: 4px 0; |
| 271 |
/* Vertical padding around content */ |
| 272 |
} |
| 273 |
|
| 274 |
.CodeMirror pre { |
| 275 |
padding: 0 4px; |
| 276 |
/* Horizontal padding of content */ |
| 277 |
} |
| 278 |
|
| 279 |
.CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler { |
| 280 |
background-color: white; |
| 281 |
/* The little square between H and V scrollbars */ |
| 282 |
} |
| 283 |
|
| 284 |
/* GUTTER */ |
| 285 |
.CodeMirror-gutters { |
| 286 |
border-right: 1px solid #ddd; |
| 287 |
background-color: #f7f7f7; |
| 288 |
white-space: nowrap; |
| 289 |
} |
| 290 |
|
| 291 |
.CodeMirror-linenumber { |
| 292 |
padding: 0 3px 0 5px; |
| 293 |
min-width: 20px; |
| 294 |
text-align: right; |
| 295 |
color: #999; |
| 296 |
white-space: nowrap; |
| 297 |
} |
| 298 |
|
| 299 |
.CodeMirror-guttermarker { |
| 300 |
color: black; |
| 301 |
} |
| 302 |
|
| 303 |
.CodeMirror-guttermarker-subtle { |
| 304 |
color: #999; |
| 305 |
} |
| 306 |
|
| 307 |
/* CURSOR */ |
| 308 |
.CodeMirror-cursor { |
| 309 |
border-left: 1px solid black; |
| 310 |
border-right: none; |
| 311 |
width: 0; |
| 312 |
} |
| 313 |
|
| 314 |
/* Shown when moving in bi-directional text */ |
| 315 |
.CodeMirror div.CodeMirror-secondarycursor { |
| 316 |
border-left: 1px solid silver; |
| 317 |
} |
| 318 |
|
| 319 |
.cm-fat-cursor .CodeMirror-cursor { |
| 320 |
width: auto; |
| 321 |
border: 0; |
| 322 |
background: #7e7; |
| 323 |
} |
| 324 |
|
| 325 |
.cm-fat-cursor div.CodeMirror-cursors { |
| 326 |
z-index: 1; |
| 327 |
} |
| 328 |
|
| 329 |
.cm-animate-fat-cursor { |
| 330 |
width: auto; |
| 331 |
border: 0; |
| 332 |
-webkit-animation: blink 1.06s steps(1) infinite; |
| 333 |
-moz-animation: blink 1.06s steps(1) infinite; |
| 334 |
animation: blink 1.06s steps(1) infinite; |
| 335 |
background-color: #7e7; |
| 336 |
} |
| 337 |
|
| 338 |
@-moz-keyframes blink { |
| 339 |
0% { |
| 340 |
} |
| 341 |
50% { |
| 342 |
background-color: transparent; |
| 343 |
} |
| 344 |
100% { |
| 345 |
} |
| 346 |
} |
| 347 |
|
| 348 |
@-webkit-keyframes blink { |
| 349 |
0% { |
| 350 |
} |
| 351 |
50% { |
| 352 |
background-color: transparent; |
| 353 |
} |
| 354 |
100% { |
| 355 |
} |
| 356 |
} |
| 357 |
|
| 358 |
@keyframes blink { |
| 359 |
0% { |
| 360 |
} |
| 361 |
50% { |
| 362 |
background-color: transparent; |
| 363 |
} |
| 364 |
100% { |
| 365 |
} |
| 366 |
} |
| 367 |
|
| 368 |
/* Can style cursor different in overwrite (non-insert) mode */ |
| 369 |
.cm-tab { |
| 370 |
display: inline-block; |
| 371 |
text-decoration: inherit; |
| 372 |
} |
| 373 |
|
| 374 |
.CodeMirror-ruler { |
| 375 |
border-left: 1px solid #ccc; |
| 376 |
position: absolute; |
| 377 |
} |
| 378 |
|
| 379 |
/* DEFAULT THEME */ |
| 380 |
.cm-s-default .cm-header { |
| 381 |
color: blue; |
| 382 |
} |
| 383 |
|
| 384 |
.cm-s-default .cm-quote { |
| 385 |
color: #090; |
| 386 |
} |
| 387 |
|
| 388 |
.cm-negative { |
| 389 |
color: #d44; |
| 390 |
} |
| 391 |
|
| 392 |
.cm-positive { |
| 393 |
color: #292; |
| 394 |
} |
| 395 |
|
| 396 |
.cm-header, .cm-strong { |
| 397 |
font-weight: bold; |
| 398 |
} |
| 399 |
|
| 400 |
.cm-em { |
| 401 |
font-style: italic; |
| 402 |
} |
| 403 |
|
| 404 |
.cm-link { |
| 405 |
text-decoration: underline; |
| 406 |
} |
| 407 |
|
| 408 |
.cm-strikethrough { |
| 409 |
text-decoration: line-through; |
| 410 |
} |
| 411 |
|
| 412 |
.cm-s-default .cm-keyword { |
| 413 |
color: #708; |
| 414 |
} |
| 415 |
|
| 416 |
.cm-s-default .cm-atom { |
| 417 |
color: #219; |
| 418 |
} |
| 419 |
|
| 420 |
.cm-s-default .cm-number { |
| 421 |
color: #164; |
| 422 |
} |
| 423 |
|
| 424 |
.cm-s-default .cm-def { |
| 425 |
color: #00f; |
| 426 |
} |
| 427 |
|
| 428 |
.cm-s-default .cm-variable-2 { |
| 429 |
color: #05a; |
| 430 |
} |
| 431 |
|
| 432 |
.cm-s-default .cm-variable-3 { |
| 433 |
color: #085; |
| 434 |
} |
| 435 |
|
| 436 |
.cm-s-default .cm-comment { |
| 437 |
color: #a50; |
| 438 |
} |
| 439 |
|
| 440 |
.cm-s-default .cm-string { |
| 441 |
color: #a11; |
| 442 |
} |
| 443 |
|
| 444 |
.cm-s-default .cm-string-2 { |
| 445 |
color: #f50; |
| 446 |
} |
| 447 |
|
| 448 |
.cm-s-default .cm-meta { |
| 449 |
color: #555; |
| 450 |
} |
| 451 |
|
| 452 |
.cm-s-default .cm-qualifier { |
| 453 |
color: #555; |
| 454 |
} |
| 455 |
|
| 456 |
.cm-s-default .cm-builtin { |
| 457 |
color: #30a; |
| 458 |
} |
| 459 |
|
| 460 |
.cm-s-default .cm-bracket { |
| 461 |
color: #997; |
| 462 |
} |
| 463 |
|
| 464 |
.cm-s-default .cm-tag { |
| 465 |
color: #170; |
| 466 |
} |
| 467 |
|
| 468 |
.cm-s-default .cm-attribute { |
| 469 |
color: #00c; |
| 470 |
} |
| 471 |
|
| 472 |
.cm-s-default .cm-hr { |
| 473 |
color: #999; |
| 474 |
} |
| 475 |
|
| 476 |
.cm-s-default .cm-link { |
| 477 |
color: #00c; |
| 478 |
} |
| 479 |
|
| 480 |
.cm-s-default .cm-error { |
| 481 |
color: #f00; |
| 482 |
} |
| 483 |
|
| 484 |
.cm-invalidchar { |
| 485 |
color: #f00; |
| 486 |
} |
| 487 |
|
| 488 |
.CodeMirror-composing { |
| 489 |
border-bottom: 2px solid; |
| 490 |
} |
| 491 |
|
| 492 |
/* Default styles for common addons */ |
| 493 |
div.CodeMirror span.CodeMirror-matchingbracket { |
| 494 |
color: #0f0; |
| 495 |
} |
| 496 |
|
| 497 |
div.CodeMirror span.CodeMirror-nonmatchingbracket { |
| 498 |
color: #f22; |
| 499 |
} |
| 500 |
|
| 501 |
.CodeMirror-matchingtag { |
| 502 |
background: rgba(255, 150, 0, 0.3); |
| 503 |
} |
| 504 |
|
| 505 |
.CodeMirror-activeline-background { |
| 506 |
background: #e8f2ff; |
| 507 |
} |
| 508 |
|
| 509 |
/* STOP */ |
| 510 |
/* The rest of this file contains styles related to the mechanics of |
| 511 |
the editor. You probably shouldn't touch them. */ |
| 512 |
.CodeMirror { |
| 513 |
position: relative; |
| 514 |
overflow: hidden; |
| 515 |
background: white; |
| 516 |
} |
| 517 |
|
| 518 |
.CodeMirror-scroll { |
| 519 |
overflow: scroll !important; |
| 520 |
/* Things will break if this is overridden */ |
| 521 |
/* 30px is the magic margin used to hide the element's real scrollbars */ |
| 522 |
/* See overflow: hidden in .CodeMirror */ |
| 523 |
margin-bottom: -30px; |
| 524 |
margin-right: -30px; |
| 525 |
padding-bottom: 30px; |
| 526 |
height: 100%; |
| 527 |
outline: none; |
| 528 |
/* Prevent dragging from highlighting the element */ |
| 529 |
position: relative; |
| 530 |
} |
| 531 |
|
| 532 |
.CodeMirror-sizer { |
| 533 |
position: relative; |
| 534 |
border-right: 30px solid transparent; |
| 535 |
} |
| 536 |
|
| 537 |
/* The fake, visible scrollbars. Used to force redraw during scrolling |
| 538 |
before actual scrolling happens, thus preventing shaking and |
| 539 |
flickering artifacts. */ |
| 540 |
.CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler { |
| 541 |
position: absolute; |
| 542 |
z-index: 6; |
| 543 |
display: none; |
| 544 |
} |
| 545 |
|
| 546 |
.CodeMirror-vscrollbar { |
| 547 |
right: 0; |
| 548 |
top: 0; |
| 549 |
overflow-x: hidden; |
| 550 |
overflow-y: scroll; |
| 551 |
} |
| 552 |
|
| 553 |
.CodeMirror-hscrollbar { |
| 554 |
bottom: 0; |
| 555 |
left: 0; |
| 556 |
overflow-y: hidden; |
| 557 |
overflow-x: scroll; |
| 558 |
} |
| 559 |
|
| 560 |
.CodeMirror-scrollbar-filler { |
| 561 |
right: 0; |
| 562 |
bottom: 0; |
| 563 |
} |
| 564 |
|
| 565 |
.CodeMirror-gutter-filler { |
| 566 |
left: 0; |
| 567 |
bottom: 0; |
| 568 |
} |
| 569 |
|
| 570 |
.CodeMirror-gutters { |
| 571 |
position: absolute; |
| 572 |
left: 0; |
| 573 |
top: 0; |
| 574 |
z-index: 3; |
| 575 |
} |
| 576 |
|
| 577 |
.CodeMirror-gutter { |
| 578 |
white-space: normal; |
| 579 |
height: 100%; |
| 580 |
display: inline-block; |
| 581 |
vertical-align: top; |
| 582 |
margin-bottom: -30px; |
| 583 |
/* Hack to make IE7 behave */ |
| 584 |
*zoom: 1; |
| 585 |
*display: inline; |
| 586 |
} |
| 587 |
|
| 588 |
.CodeMirror-gutter-wrapper { |
| 589 |
position: absolute; |
| 590 |
z-index: 4; |
| 591 |
background: none !important; |
| 592 |
border: none !important; |
| 593 |
} |
| 594 |
|
| 595 |
.CodeMirror-gutter-background { |
| 596 |
position: absolute; |
| 597 |
top: 0; |
| 598 |
bottom: 0; |
| 599 |
z-index: 4; |
| 600 |
} |
| 601 |
|
| 602 |
.CodeMirror-gutter-elt { |
| 603 |
position: absolute; |
| 604 |
cursor: default; |
| 605 |
z-index: 4; |
| 606 |
} |
| 607 |
|
| 608 |
.CodeMirror-gutter-wrapper { |
| 609 |
-webkit-user-select: none; |
| 610 |
-moz-user-select: none; |
| 611 |
user-select: none; |
| 612 |
} |
| 613 |
|
| 614 |
.CodeMirror-lines { |
| 615 |
cursor: text; |
| 616 |
min-height: 1px; |
| 617 |
/* prevents collapsing before first draw */ |
| 618 |
} |
| 619 |
|
| 620 |
.CodeMirror pre { |
| 621 |
/* Reset some styles that the rest of the page might have set */ |
| 622 |
-moz-border-radius: 0; |
| 623 |
-webkit-border-radius: 0; |
| 624 |
border-radius: 0; |
| 625 |
border-width: 0; |
| 626 |
background: transparent; |
| 627 |
font-family: inherit; |
| 628 |
font-size: inherit; |
| 629 |
margin: 0; |
| 630 |
white-space: pre; |
| 631 |
word-wrap: normal; |
| 632 |
line-height: inherit; |
| 633 |
color: inherit; |
| 634 |
z-index: 2; |
| 635 |
position: relative; |
| 636 |
overflow: visible; |
| 637 |
-webkit-tap-highlight-color: transparent; |
| 638 |
} |
| 639 |
|
| 640 |
.CodeMirror-wrap pre { |
| 641 |
word-wrap: break-word; |
| 642 |
white-space: pre-wrap; |
| 643 |
word-break: normal; |
| 644 |
} |
| 645 |
|
| 646 |
.CodeMirror-linebackground { |
| 647 |
position: absolute; |
| 648 |
left: 0; |
| 649 |
right: 0; |
| 650 |
top: 0; |
| 651 |
bottom: 0; |
| 652 |
z-index: 0; |
| 653 |
} |
| 654 |
|
| 655 |
.CodeMirror-linewidget { |
| 656 |
position: relative; |
| 657 |
z-index: 2; |
| 658 |
overflow: auto; |
| 659 |
} |
| 660 |
|
| 661 |
.CodeMirror-code { |
| 662 |
outline: none; |
| 663 |
} |
| 664 |
|
| 665 |
/* Force content-box sizing for the elements where we expect it */ |
| 666 |
.CodeMirror-scroll, |
| 667 |
.CodeMirror-sizer, |
| 668 |
.CodeMirror-gutter, |
| 669 |
.CodeMirror-gutters, |
| 670 |
.CodeMirror-linenumber { |
| 671 |
-moz-box-sizing: content-box; |
| 672 |
box-sizing: content-box; |
| 673 |
} |
| 674 |
|
| 675 |
.CodeMirror-measure { |
| 676 |
position: absolute; |
| 677 |
width: 100%; |
| 678 |
height: 0; |
| 679 |
overflow: hidden; |
| 680 |
visibility: hidden; |
| 681 |
} |
| 682 |
|
| 683 |
.CodeMirror-cursor { |
| 684 |
position: absolute; |
| 685 |
} |
| 686 |
|
| 687 |
.CodeMirror-measure pre { |
| 688 |
position: static; |
| 689 |
} |
| 690 |
|
| 691 |
div.CodeMirror-cursors { |
| 692 |
visibility: hidden; |
| 693 |
position: relative; |
| 694 |
z-index: 3; |
| 695 |
} |
| 696 |
|
| 697 |
div.CodeMirror-dragcursors { |
| 698 |
visibility: visible; |
| 699 |
} |
| 700 |
|
| 701 |
.CodeMirror-focused div.CodeMirror-cursors { |
| 702 |
visibility: visible; |
| 703 |
} |
| 704 |
|
| 705 |
.CodeMirror-selected { |
| 706 |
background: #d9d9d9; |
| 707 |
} |
| 708 |
|
| 709 |
.CodeMirror-focused .CodeMirror-selected { |
| 710 |
background: #d7d4f0; |
| 711 |
} |
| 712 |
|
| 713 |
.CodeMirror-crosshair { |
| 714 |
cursor: crosshair; |
| 715 |
} |
| 716 |
|
| 717 |
.CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection { |
| 718 |
background: #d7d4f0; |
| 719 |
} |
| 720 |
|
| 721 |
.CodeMirror-line::-moz-selection, .CodeMirror-line > span::-moz-selection, .CodeMirror-line > span > span::-moz-selection { |
| 722 |
background: #d7d4f0; |
| 723 |
} |
| 724 |
|
| 725 |
.cm-searching { |
| 726 |
background: #ffa; |
| 727 |
background: rgba(255, 255, 0, 0.4); |
| 728 |
} |
| 729 |
|
| 730 |
/* IE7 hack to prevent it from returning funny offsetTops on the spans */ |
| 731 |
.CodeMirror span { |
| 732 |
*vertical-align: text-bottom; |
| 733 |
} |
| 734 |
|
| 735 |
/* Used to force a border model for a node */ |
| 736 |
.cm-force-border { |
| 737 |
padding-right: .1px; |
| 738 |
} |
| 739 |
|
| 740 |
@media print { |
| 741 |
/* Hide the cursor when printing */ |
| 742 |
.CodeMirror div.CodeMirror-cursors { |
| 743 |
visibility: hidden; |
| 744 |
} |
| 745 |
} |
| 746 |
|
| 747 |
/* See issue #2901 */ |
| 748 |
.cm-tab-wrap-hack:after { |
| 749 |
content: ''; |
| 750 |
} |
| 751 |
|
| 752 |
/* Help users use markselection to safely style text background */ |
| 753 |
span.CodeMirror-selectedtext { |
| 754 |
background: none; |
| 755 |
} |
| 756 |
|
| 757 |
.tlite { |
| 758 |
background: #111; |
| 759 |
color: white; |
| 760 |
font-family: sans-serif; |
| 761 |
font-size: 0.8rem; |
| 762 |
font-weight: normal; |
| 763 |
text-decoration: none; |
| 764 |
text-align: left; |
| 765 |
padding: 0.6em 0.75rem; |
| 766 |
border-radius: 4px; |
| 767 |
position: absolute; |
| 768 |
opacity: 0; |
| 769 |
visibility: hidden; |
| 770 |
transition: opacity 0.4s; |
| 771 |
white-space: nowrap; |
| 772 |
box-shadow: 0 0.5rem 1rem -0.5rem black; |
| 773 |
z-index: 1000; |
| 774 |
-webkit-backface-visibility: hidden; |
| 775 |
} |
| 776 |
|
| 777 |
.tlite-table td, |
| 778 |
.tlite-table th { |
| 779 |
position: relative; |
| 780 |
} |
| 781 |
|
| 782 |
.tlite-visible { |
| 783 |
visibility: visible; |
| 784 |
opacity: 0.9; |
| 785 |
} |
| 786 |
|
| 787 |
.tlite::before { |
| 788 |
content: ' '; |
| 789 |
display: block; |
| 790 |
background: inherit; |
| 791 |
width: 10px; |
| 792 |
height: 10px; |
| 793 |
position: absolute; |
| 794 |
transform: rotate(45deg); |
| 795 |
} |
| 796 |
|
| 797 |
.tlite-n::before { |
| 798 |
top: -3px; |
| 799 |
left: 50%; |
| 800 |
margin-left: -5px; |
| 801 |
} |
| 802 |
|
| 803 |
.tlite-nw::before { |
| 804 |
top: -3px; |
| 805 |
left: 10px; |
| 806 |
} |
| 807 |
|
| 808 |
.tlite-ne::before { |
| 809 |
top: -3px; |
| 810 |
right: 10px; |
| 811 |
} |
| 812 |
|
| 813 |
.tlite-s::before { |
| 814 |
bottom: -3px; |
| 815 |
left: 50%; |
| 816 |
margin-left: -5px; |
| 817 |
} |
| 818 |
|
| 819 |
.tlite-se::before { |
| 820 |
bottom: -3px; |
| 821 |
right: 10px; |
| 822 |
} |
| 823 |
|
| 824 |
.tlite-sw::before { |
| 825 |
bottom: -3px; |
| 826 |
left: 10px; |
| 827 |
} |
| 828 |
|
| 829 |
.tlite-w::before { |
| 830 |
left: -3px; |
| 831 |
top: 50%; |
| 832 |
margin-top: -5px; |
| 833 |
} |
| 834 |
|
| 835 |
.tlite-e::before { |
| 836 |
right: -3px; |
| 837 |
top: 50%; |
| 838 |
margin-top: -5px; |
| 839 |
} |
| 840 |
|