|
62 | 62 | }
|
63 | 63 |
|
64 | 64 | .nav-container {
|
65 |
| - width: 294px; |
| 65 | + width: 314px; |
66 | 66 | box-shadow: 2px 0px 0px var(--nav-border-color);
|
67 | 67 | transition: 150ms ease-in-out
|
68 | 68 | }
|
69 | 69 |
|
70 | 70 | @media screen and (min-width:769px) {
|
71 | 71 | .nav-container {
|
72 |
| - width: 294px; |
| 72 | + width: 314px; |
73 | 73 | }
|
74 | 74 | }
|
75 | 75 |
|
@@ -115,20 +115,20 @@ li.nav-item.toggler.is-active:hover {
|
115 | 115 | color: black;
|
116 | 116 | }
|
117 | 117 |
|
118 |
| -.nav-item.is-current-page { |
119 |
| - background-color: #f6f8fa; |
120 |
| -} |
121 | 118 |
|
122 |
| -.nav-item.is-current-page::before { |
123 |
| - content: ''; |
124 |
| - border: 2px solid var(--blue); |
| 119 | +.nav-item.is-current-page>a:before{ |
| 120 | + content: ""; |
| 121 | + border: 2px solid #007bff; |
125 | 122 | top: 0;
|
126 |
| - background: var(--blue); |
| 123 | + background: #007bff; |
127 | 124 | left: 0;
|
128 | 125 | position: absolute;
|
129 | 126 | height: 100%;
|
130 | 127 | }
|
131 | 128 |
|
| 129 | +.nav-item.is-current-page>a{ |
| 130 | + background-color: #f6f8fa; |
| 131 | +} |
132 | 132 | .get-started {
|
133 | 133 | padding-right: 15px;
|
134 | 134 | }
|
@@ -664,13 +664,6 @@ a.ds_buttons_button:hover {
|
664 | 664 | margin: 8px 0;
|
665 | 665 | }
|
666 | 666 |
|
667 |
| -li.nav-item[data-depth='2'] { |
668 |
| - padding: 0 32px; |
669 |
| -} |
670 |
| - |
671 |
| -li.nav-item[data-depth='3'] { |
672 |
| - padding: 0 32px 0 48px; |
673 |
| -} |
674 | 667 |
|
675 | 668 | gcx-schema-sample-app-gallery {
|
676 | 669 | --gcx-sample-appgallery-h4-font-size: 14px;
|
@@ -838,6 +831,7 @@ a.nav-link {
|
838 | 831 | display: block;
|
839 | 832 | padding: 8px 32px;
|
840 | 833 | margin: 0;
|
| 834 | + position: relative; |
841 | 835 | }
|
842 | 836 |
|
843 | 837 | .nav-item .nav-text a {
|
@@ -1106,16 +1100,20 @@ label.switch_label:after {
|
1106 | 1100 | color: var(--white);
|
1107 | 1101 | }
|
1108 | 1102 |
|
1109 |
| -.dark-mode .nav-item.is-current-page::before { |
1110 |
| - background: var(--color-interface-night-300); |
| 1103 | + |
| 1104 | +.dark-mode .nav-item.is-current-page>a:before{ |
| 1105 | + content: ""; |
1111 | 1106 | border: 2px solid var(--color-interface-night-300);
|
| 1107 | + top: 0; |
| 1108 | + background: var(--color-interface-night-300); |
| 1109 | + left: 0; |
| 1110 | + position: absolute; |
| 1111 | + height: 100%; |
1112 | 1112 | }
|
1113 | 1113 |
|
1114 |
| -.dark-mode .nav-item.is-current-page { |
| 1114 | +.dark-mode .nav-item.is-current-page>a{ |
1115 | 1115 | background-color: var(--color-interface-night-800);
|
1116 | 1116 | }
|
1117 |
| - |
1118 |
| - |
1119 | 1117 | /* Dark mode: Toolbar*/
|
1120 | 1118 |
|
1121 | 1119 | .dark-mode .toolbar {
|
@@ -1415,18 +1413,6 @@ label.switch_label:after {
|
1415 | 1413 | color: #fff;
|
1416 | 1414 | }
|
1417 | 1415 |
|
1418 |
| -li.nav-item.toggler.is-active[data-depth="2"]:hover .nav-text { |
1419 |
| - color: #000; |
1420 |
| -} |
1421 |
| - |
1422 |
| -li.nav-item[data-depth="2"]:hover a { |
1423 |
| - color: #000; |
1424 |
| -} |
1425 |
| - |
1426 |
| -.nav-item[data-depth="1"].toggler:hover button { |
1427 |
| - color: #000; |
1428 |
| -} |
1429 |
| - |
1430 | 1416 | .dark-mode .nav-item[data-depth="1"].toggler:hover button {
|
1431 | 1417 | color: #fff;
|
1432 | 1418 | }
|
@@ -1456,10 +1442,6 @@ li.nav-item[data-depth="2"]:hover a {
|
1456 | 1442 | background-color: #f6f8fa;
|
1457 | 1443 | }
|
1458 | 1444 |
|
1459 |
| -.nav-item[data-depth="1"].toggler:hover span { |
1460 |
| - color: #000; |
1461 |
| -} |
1462 |
| - |
1463 | 1445 | .nav-item[data-depth="1"].toggler.is-active:hover span {
|
1464 | 1446 | color: #6a7086;
|
1465 | 1447 | }
|
@@ -1538,42 +1520,51 @@ code::before {
|
1538 | 1520 | background-size: 49%;
|
1539 | 1521 | }
|
1540 | 1522 |
|
1541 |
| - |
1542 |
| -li.nav-item.is-active li.nav-item[data-depth="2"]:has(li[data-depth="3"]) { |
1543 |
| - padding: 0; |
| 1523 | +/*New Nav Style - Firefox working*/ |
| 1524 | +.dark-mode .nav-item.toggler>a:hover, .dark-mode .nav-item a:hover{ |
| 1525 | + background: #2e394e; |
1544 | 1526 | }
|
1545 | 1527 |
|
1546 |
| -li.nav-item.is-active li.nav-item[data-depth="2"]:has(li[data-depth="3"]) a.nav-link { |
1547 |
| - padding: 8px 62px; |
| 1528 | +.nav-item.toggler>a:hover, .nav-item a:hover{ |
| 1529 | + background: #f6f8fa; |
1548 | 1530 | }
|
1549 | 1531 |
|
1550 |
| -li.nav-item.is-current-path.is-active li.nav-item[data-depth="2"]:has(li[data-depth="3"]) { |
1551 |
| - padding: 0; |
| 1532 | +.nav-item.is-current-page[data-depth="1"]:not(.toggler)>a::before, .nav-item.is-current-page[data-depth="2"]:not(.toggler)>a::before { |
| 1533 | + height: 100%; |
1552 | 1534 | }
|
1553 | 1535 |
|
1554 |
| -li.nav-item.is-current-path.is-active li.nav-item[data-depth="2"]:has(li[data-depth="3"]) a.nav-link { |
| 1536 | +.nav-item.is-active[data-depth="1"] li[data-depth="2"]>a.nav-link { |
1555 | 1537 | padding: 8px 62px;
|
1556 | 1538 | }
|
1557 | 1539 |
|
1558 |
| -li.nav-item[data-depth="3"] { |
1559 |
| - padding: 0; |
| 1540 | +.nav-item.is-active[data-depth="2"] li[data-depth="3"]>a.nav-link { |
| 1541 | + padding: 8px 0 8px 90px; |
1560 | 1542 | }
|
1561 | 1543 |
|
1562 |
| -li.nav-item[data-depth="3"] a.nav-link { |
1563 |
| - padding-right: 32px!important; |
1564 |
| - padding-left: 64px!important; |
1565 |
| - margin: 0 0 0 32px!important; |
| 1544 | +.nav-item.is-current-page[data-depth="2"]>a.nav-link { |
| 1545 | + padding: 8px 62px; |
1566 | 1546 | }
|
1567 |
| - |
1568 |
| -li.nav-item.is-current-page.is-active:has(li):has(li) { |
1569 |
| - background: transparent; |
| 1547 | +.nav-item.is-current-path[data-depth="2"]>a.nav-link { |
| 1548 | + padding: 8px 62px; |
1570 | 1549 | }
|
1571 | 1550 |
|
1572 |
| -li.nav-item.is-current-page.is-active:has(li):has(li):before { |
1573 |
| - background: transparent; |
1574 |
| - border: none; |
| 1551 | +.nav-item.is-current-page[data-depth="3"]>a.nav-link { |
| 1552 | + padding: 8px 85px; |
| 1553 | +} |
| 1554 | +.nav-item.is-current-path[data-depth="3"]>a.nav-link { |
| 1555 | + padding: 8px 85px; |
| 1556 | +} |
| 1557 | +.nav-item.is-current-page[data-depth="1"], .nav-item.is-current-page[data-depth="2"], .nav-item.is-current-page[data-depth="3"] { |
| 1558 | + padding: 0; |
1575 | 1559 | }
|
1576 | 1560 |
|
| 1561 | +.nav-item.is-current-path[data-depth="1"], .nav-item.is-current-path[data-depth="2"], .nav-item.is-current-path[data-depth="3"] { |
| 1562 | + padding: 0; |
| 1563 | +} |
| 1564 | +.nav-item.is-active[data-depth="3"] li[data-depth="4"]>a.nav-link { |
| 1565 | + padding: 8px 16px 8px 120px; |
| 1566 | +} |
| 1567 | +/*End new styles - firefox working*/ |
1577 | 1568 | .dark-mode .nav-item.is-current-page a {
|
1578 | 1569 | color: white;
|
1579 | 1570 | }
|
|
0 commit comments