| 1 |
.p-navigation { |
| 2 |
border-bottom: 1px solid var(--color-sidebar-background-border); |
| 3 |
} |
| 4 |
|
| 5 |
.p-navigation__nav { |
| 6 |
background: #333333; |
| 7 |
display: flex; |
| 8 |
} |
| 9 |
|
| 10 |
.p-logo { |
| 11 |
display: flex !important; |
| 12 |
padding-top: 0 !important; |
| 13 |
text-decoration: none; |
| 14 |
} |
| 15 |
|
| 16 |
.p-logo-image { |
| 17 |
height: 44px; |
| 18 |
padding-right: 10px; |
| 19 |
} |
| 20 |
|
| 21 |
.p-logo-text { |
| 22 |
margin-top: 18px; |
| 23 |
color: white; |
| 24 |
text-decoration: none; |
| 25 |
} |
| 26 |
|
| 27 |
ul.p-navigation__links { |
| 28 |
display: flex; |
| 29 |
list-style: none; |
| 30 |
margin-left: 0; |
| 31 |
margin-top: auto; |
| 32 |
margin-bottom: auto; |
| 33 |
max-width: 800px; |
| 34 |
width: 100%; |
| 35 |
} |
| 36 |
|
| 37 |
ul.p-navigation__links li { |
| 38 |
margin: 0 auto; |
| 39 |
text-align: center; |
| 40 |
width: 100%; |
| 41 |
} |
| 42 |
|
| 43 |
ul.p-navigation__links li a { |
| 44 |
background-color: rgba(0, 0, 0, 0); |
| 45 |
border: none; |
| 46 |
border-radius: 0; |
| 47 |
color: var(--color-sidebar-link-text); |
| 48 |
display: block; |
| 49 |
font-weight: 400; |
| 50 |
line-height: 1.5rem; |
| 51 |
margin: 0; |
| 52 |
overflow: hidden; |
| 53 |
padding: 1rem 0; |
| 54 |
position: relative; |
| 55 |
text-align: left; |
| 56 |
text-overflow: ellipsis; |
| 57 |
transition-duration: .1s; |
| 58 |
transition-property: background-color, color, opacity; |
| 59 |
transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); |
| 60 |
white-space: nowrap; |
| 61 |
width: 100%; |
| 62 |
} |
| 63 |
|
| 64 |
ul.p-navigation__links .p-navigation__link { |
| 65 |
color: #ffffff; |
| 66 |
font-weight: 300; |
| 67 |
text-align: center; |
| 68 |
text-decoration: none; |
| 69 |
} |
| 70 |
|
| 71 |
ul.p-navigation__links .p-navigation__link:hover { |
| 72 |
background-color: #2b2b2b; |
| 73 |
} |
| 74 |
|
| 75 |
ul.p-navigation__links .p-dropdown__link:hover { |
| 76 |
background-color: var(--color-sidebar-item-background--hover); |
| 77 |
} |
| 78 |
|
| 79 |
ul.p-navigation__links .p-navigation__sub-link { |
| 80 |
background: var(--color-background-primary); |
| 81 |
padding: .5rem 0 .5rem .5rem; |
| 82 |
font-weight: 300; |
| 83 |
} |
| 84 |
|
| 85 |
ul.p-navigation__links .more-links-dropdown li a { |
| 86 |
border-left: 1px solid var(--color-sidebar-background-border); |
| 87 |
border-right: 1px solid var(--color-sidebar-background-border); |
| 88 |
} |
| 89 |
|
| 90 |
ul.p-navigation__links .more-links-dropdown li:first-child a { |
| 91 |
border-top: 1px solid var(--color-sidebar-background-border); |
| 92 |
} |
| 93 |
|
| 94 |
ul.p-navigation__links .more-links-dropdown li:last-child a { |
| 95 |
border-bottom: 1px solid var(--color-sidebar-background-border); |
| 96 |
} |
| 97 |
|
| 98 |
ul.p-navigation__links .p-navigation__logo { |
| 99 |
padding: 0.5rem; |
| 100 |
} |
| 101 |
|
| 102 |
ul.p-navigation__links .p-navigation__logo img { |
| 103 |
width: 40px; |
| 104 |
} |
| 105 |
|
| 106 |
ul.more-links-dropdown { |
| 107 |
display: none; |
| 108 |
overflow-x: visible; |
| 109 |
height: 0; |
| 110 |
z-index: 55; |
| 111 |
padding: 0; |
| 112 |
position: relative; |
| 113 |
list-style: none; |
| 114 |
margin-bottom: 0; |
| 115 |
margin-top: 0; |
| 116 |
} |
| 117 |
|
| 118 |
.nav-more-links::after { |
| 119 |
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath fill='%23111' d='M8.187 11.748l6.187-6.187-1.06-1.061-5.127 5.127L3.061 4.5 2 5.561z'/%3E%3C/svg%3E"); |
| 120 |
background-position: center; |
| 121 |
background-repeat: no-repeat; |
| 122 |
background-size: contain; |
| 123 |
content: ""; |
| 124 |
display: block; |
| 125 |
filter: invert(100%); |
| 126 |
height: 1rem; |
| 127 |
pointer-events: none; |
| 128 |
position: absolute; |
| 129 |
right: 1rem; |
| 130 |
text-indent: calc(100% + 10rem); |
| 131 |
top: calc(1rem + 0.25rem); |
| 132 |
width: 1rem; |
| 133 |
} |
| 134 |
|
| 135 |
.nav-ubuntu-com { |
| 136 |
display: none; |
| 137 |
} |
| 138 |
|
| 139 |
@media only screen and (min-width: 480px) { |
| 140 |
ul.p-navigation__links li { |
| 141 |
width: 100%; |
| 142 |
} |
| 143 |
|
| 144 |
.nav-ubuntu-com { |
| 145 |
display: inherit; |
| 146 |
} |
| 147 |
} |
| 148 |
|
| 149 |
@media only screen and (max-width: 800px) { |
| 150 |
.nav-more-links { |
| 151 |
margin-left: auto !important; |
| 152 |
padding-right: 2rem !important; |
| 153 |
width: 8rem !important; |
| 154 |
} |
| 155 |
} |
| 156 |
|
| 157 |
@media only screen and (min-width: 800px) { |
| 158 |
ul.p-navigation__links li { |
| 159 |
width: 100% !important; |
| 160 |
} |
| 161 |
} |
| 162 |
|
| 163 |
@media only screen and (min-width: 1310px) { |
| 164 |
ul.p-navigation__links { |
| 165 |
margin-left: calc(50% - 41em); |
| 166 |
} |
| 167 |
} |