|
6 | 6 | --announcement-height: 48px;
|
7 | 7 | }
|
8 | 8 |
|
| 9 | +.doc .source-toolbox .copy-button { |
| 10 | + flex-direction: row!important; |
| 11 | +} |
| 12 | + |
9 | 13 | @font-face {
|
10 | 14 | font-family: 'Material Icons';
|
11 | 15 | font-style: normal;
|
@@ -332,6 +336,7 @@ ul#ds_sites_list li a:active {
|
332 | 336 | .doc .exampleblock>.content {
|
333 | 337 | border-width: 1.5px;
|
334 | 338 | }
|
| 339 | + |
335 | 340 | .doc .admonitionblock .icon i::after {
|
336 | 341 | color: white;
|
337 | 342 | }
|
@@ -385,15 +390,14 @@ feedback-stars {
|
385 | 390 | font-size: 14px;
|
386 | 391 | }
|
387 | 392 |
|
388 |
| -.doc pre.highlight code{ |
| 393 | +.doc pre.highlight code { |
389 | 394 | display: block;
|
390 | 395 | font-size: 14px;
|
391 | 396 | padding: .75rem;
|
392 | 397 | box-shadow: none;
|
393 |
| - |
394 | 398 | }
|
395 | 399 |
|
396 |
| -.highlight-has-code{ |
| 400 | +.highlight-has-code { |
397 | 401 | overflow: hidden;
|
398 | 402 | padding: 1rem 0 0 0;
|
399 | 403 | }
|
@@ -453,6 +457,7 @@ gcx-full-code::-webkit-scrollbar {
|
453 | 457 | /* for Chrome, Safari, and Opera */
|
454 | 458 | }
|
455 | 459 |
|
| 460 | + |
456 | 461 | /*Scroll for Code block */
|
457 | 462 |
|
458 | 463 | .enlighter-default::-webkit-scrollbar {
|
@@ -1429,17 +1434,18 @@ li.nav-item[data-depth="2"]:hover a {
|
1429 | 1434 | color: #fff;
|
1430 | 1435 | }
|
1431 | 1436 |
|
1432 |
| -.has-code{ |
| 1437 | +.has-code { |
1433 | 1438 | overflow: hidden!important;
|
1434 | 1439 | padding: 1rem 0.1rem 0.1rem 0.1rem!important;
|
1435 | 1440 | }
|
1436 | 1441 |
|
1437 |
| -.dark-mode .doc pre.highlight, |
| 1442 | +.dark-mode .doc pre.highlight, |
1438 | 1443 | .dark-mode .doc pre:not(.highlight) {
|
1439 | 1444 | box-shadow: inset 0 0 1.75px #c9cef6;
|
1440 | 1445 | background: #2e394e;
|
1441 | 1446 | }
|
1442 | 1447 |
|
| 1448 | + |
1443 | 1449 | /* LIGHT MODE LISTS */
|
1444 | 1450 |
|
1445 | 1451 | .nav-item[data-depth="1"].toggler.is-active:hover button {
|
@@ -1476,60 +1482,58 @@ li.nav-item[data-depth="2"]:hover a {
|
1476 | 1482 | color: #6a7086;
|
1477 | 1483 | }
|
1478 | 1484 |
|
1479 |
| -.copy-icon{ |
| 1485 | +.copy-icon { |
1480 | 1486 | background-image: url(../img/octicons-16.svg#view-clippy);
|
1481 | 1487 | background-size: contain;
|
1482 | 1488 | width: 100%;
|
1483 | 1489 | height: 100%;
|
1484 | 1490 | background-repeat: no-repeat;
|
1485 | 1491 | }
|
1486 | 1492 |
|
1487 |
| -.dark-mode .copy-icon{ |
| 1493 | +.dark-mode .copy-icon { |
1488 | 1494 | background-image: url(../img/octicons-16-white.svg#view-clippy);
|
1489 | 1495 | }
|
1490 | 1496 |
|
1491 | 1497 | .dark-mode .doc .source-toolbox {
|
1492 | 1498 | color: white;
|
1493 | 1499 | }
|
1494 | 1500 |
|
1495 |
| -code::before{ |
1496 |
| - content:''!important; |
| 1501 | +code::before { |
| 1502 | + content: ''!important; |
1497 | 1503 | }
|
1498 | 1504 |
|
1499 | 1505 | @media only screen and (max-width: 600px) {
|
1500 | 1506 | .navbar-brand img {
|
1501 | 1507 | height: 30px;
|
1502 | 1508 | }
|
1503 |
| - |
1504 |
| - .nav-toggle.is-active{ |
| 1509 | + .nav-toggle.is-active { |
1505 | 1510 | position: absolute;
|
1506 | 1511 | z-index: 99999;
|
1507 | 1512 | top: 10px;
|
1508 | 1513 | left: 15px;
|
1509 | 1514 | }
|
1510 |
| - .nav-container.is-active{ |
| 1515 | + .nav-container.is-active { |
1511 | 1516 | width: 100%;
|
1512 | 1517 | height: 100%;
|
1513 | 1518 | }
|
1514 |
| - |
1515 |
| - .collapse[type=checkbox]+label{ |
| 1519 | + .collapse[type=checkbox]+label { |
1516 | 1520 | display: none;
|
1517 | 1521 | }
|
1518 |
| - |
1519 |
| - .nav, .nav-container{ |
| 1522 | + .nav, |
| 1523 | + .nav-container { |
1520 | 1524 | background: white;
|
1521 | 1525 | z-index: 9999;
|
1522 | 1526 | }
|
1523 |
| - |
1524 |
| - .dark-mode .nav, .dark-mode .nav-container { |
| 1527 | + .dark-mode .nav, |
| 1528 | + .dark-mode .nav-container { |
1525 | 1529 | background: #20293a;
|
1526 | 1530 | z-index: 9999;
|
1527 |
| - } |
| 1531 | + } |
1528 | 1532 | }
|
1529 | 1533 |
|
1530 | 1534 | .dark-mode .nav-toggle {
|
1531 | 1535 | background: url(../img/menu-white.svg) no-repeat 50% 47.5%;
|
1532 |
| - background-size: 49%; |
| 1536 | + background-size: 49%; |
1533 | 1537 | }
|
1534 | 1538 |
|
1535 | 1539 | .dark-mode .nav-toggle.is-active {
|
|
0 commit comments