You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

447 rivejä
10 KiB

  1. @charset "UTF-8";
  2. @import "../components/mixins";
  3. @import "../components/icons";
  4. .page-header nav {
  5. display: flex;
  6. flex-direction: column;
  7. .primary {
  8. position: relative;
  9. flex-grow: 1;
  10. img {
  11. max-height: 44px;
  12. margin-top: -3px;
  13. margin-bottom: -3px;
  14. }
  15. ul {
  16. position: absolute;
  17. top: 0;
  18. left: 0;
  19. width: 100%;
  20. height: 100%;
  21. padding: 0;
  22. margin: 0;
  23. list-style: none;
  24. text-align: left;
  25. overflow-y: hidden;
  26. overflow-x: hidden;
  27. background-color: white;
  28. z-index: 0;
  29. transition: transform 0.3s $easeOutCubic, z-index 0s linear 0.3s;
  30. box-shadow: 0 50vh 0 0 white;
  31. pointer-events: none;
  32. &:before {
  33. content: "";
  34. @include fullsize;
  35. background-color: $color-white;
  36. background-color: var(--theme-color-background, $color-white);
  37. z-index: 2;
  38. @include hide;
  39. background-image: url("../../../img/loader.gif");
  40. background-size: 100px;
  41. background-position: center 50px;
  42. background-repeat: no-repeat;
  43. }
  44. &:after {
  45. content: "";
  46. @include fullsize;
  47. background-color: $color-primary;
  48. background-color: var(--theme-color-primary, $color-primary);
  49. opacity: 0.1;
  50. transition: 0.3s $easeInOutSine;
  51. }
  52. &.loading:before {
  53. @include show;
  54. }
  55. &.current {
  56. transform: translate3d(0, 0, 0);
  57. transition: transform 0.3s $easeOutCubic, z-index 0s linear 0s;
  58. overflow-y: auto;
  59. pointer-events: all;
  60. &:after {
  61. opacity: 0;
  62. pointer-events: none;
  63. }
  64. ul {
  65. transform: translate3d(100%, 0, 0);
  66. &:after {
  67. opacity: 0;
  68. }
  69. }
  70. }
  71. }
  72. li {
  73. &.open > ul {
  74. transform: translate3d(0, 0, 0);
  75. z-index: 1;
  76. }
  77. &.back {
  78. position: sticky;
  79. text-align: left;
  80. top: 0;
  81. left: 0;
  82. width: 100%;
  83. z-index: 1;
  84. a {
  85. background-color: $color-primary-light-04;
  86. background-color: var(--theme-color-primary-dimmed-04, $color-primary-light-04);
  87. padding-left: 60px;
  88. padding-right: 20px;
  89. overflow: hidden;
  90. text-overflow: ellipsis;
  91. //white-space: nowrap;
  92. justify-content: flex-start;
  93. @include focusvisible(true);
  94. &:before {
  95. left: 18px;
  96. transform: rotate(180deg);
  97. }
  98. @media(max-width: 359px) {
  99. padding-left: 50px;
  100. &:before {
  101. left: 12px;
  102. }
  103. }
  104. }
  105. }
  106. &.magazine-nav {
  107. position: relative;
  108. &:before {
  109. content: "";
  110. @include fullsize;
  111. background: linear-gradient(90deg, $color-gradient-01 20%, $color-gradient-02 70%, $color-gradient-03 100%);
  112. background: linear-gradient(90deg, var(--theme-color-gradient-01, $color-gradient-01) 20%, var(--theme-color-gradient-02, $color-gradient-02) 70%, var(--theme-color-gradient-03, $color-gradient-03) 100%);
  113. transition: 0.3s ease;
  114. width: 100%;
  115. }
  116. &:hover {
  117. &:before {
  118. width: 120%;
  119. }
  120. a {
  121. background-color: transparent;
  122. }
  123. }
  124. a {
  125. color: white;
  126. background-color: transparent !important;
  127. &:before {
  128. @include icon-magazine;
  129. }
  130. }
  131. }
  132. &.link, &.overview, &.miscellaneous {
  133. a {
  134. color: $color-secondary-dark;
  135. color: var(--theme-color-secondary-intensed, $color-secondary-dark);
  136. }
  137. }
  138. &.link a:before, &.miscellaneous a:before {
  139. @include icon-content;
  140. margin-top: -14px;
  141. }
  142. &.overview a:before {
  143. @include icon-liste;
  144. margin-top: -14px;
  145. }
  146. &.back:hover {
  147. text-decoration: none;
  148. }
  149. &.link.extranet a:before, &.miscellaneous.extranet a:before {
  150. @include icon-content-stern;
  151. }
  152. &.link.intranet a:before, &.miscellaneous.intranet a:before {
  153. @include icon-content-schloss;
  154. }
  155. &.link.download a:before, &.miscellaneous.download a:before {
  156. @include icon-download;
  157. }
  158. &.overview.extranet a:before {
  159. @include icon-liste-stern;
  160. margin-top: -14px;
  161. }
  162. &.overview.intranet a:before {
  163. @include icon-liste-schloss;
  164. margin-top: -14px;
  165. }
  166. &.deep.extranet a:before {
  167. @include icon-pfeil-rechts-stern;
  168. }
  169. &.deep.intranet a:before {
  170. @include icon-pfeil-rechts-schloss;
  171. }
  172. &.miscellaneous.external a:before {
  173. @include icon-link-external;
  174. }
  175. }
  176. a {
  177. position: relative;
  178. display: flex;
  179. justify-content: flex-start;
  180. align-items: center;
  181. font-family: "Korb";
  182. font-size: 22px;
  183. line-height: 26px;
  184. padding: 12px 60px 12px 20px;
  185. min-height: 61px;
  186. text-decoration: none;
  187. transition: 0.3s $easeOutSine;
  188. border-bottom: 1px solid rgba($color-primary, 0.1);
  189. border-bottom: 1px solid rgba(var(--theme-color-primary-rgb, $color-primary-rgb), 0.1);
  190. @include focusvisible(true);
  191. &.active {
  192. background-color: $color-grey-light;
  193. background-color: var(--theme-grey-light, $color-grey-light);
  194. padding-left: 12px;
  195. border-left: 8px solid $color-secondary-dark;
  196. border-left: 8px solid var(--theme-color-secondary-intensed, $color-secondary-dark);
  197. }
  198. &:before {
  199. @include icon-pfeil-rechts;
  200. position: absolute;
  201. width: 30px;
  202. height: 30px;
  203. font-family: "Icons";
  204. font-size: 30px;
  205. line-height: 1;
  206. right: 18px;
  207. top: 50%;
  208. margin-top: -15px;
  209. text-align: center;
  210. }
  211. @media(max-width: 359px), (max-width: 767px) and (orientation: landscape) {
  212. font-size: 18px;
  213. line-height: 22px;
  214. min-height: 43px;
  215. padding: 10px 50px 10px 20px;
  216. &:before {
  217. font-size: 24px;
  218. line-height: 30px;
  219. right: 12px;
  220. }
  221. }
  222. &:hover {
  223. text-decoration: none;
  224. }
  225. }
  226. }
  227. }
  228. .page-header {
  229. .secondary {
  230. position: relative;
  231. z-index: 1;
  232. background-color: $color-primary-light-04;
  233. background-color: var(--theme-color-primary-dimmed-04, $color-primary-light-04);
  234. text-align: left;
  235. ul {
  236. padding: 15px 14px;
  237. list-style: none;
  238. margin: 0;
  239. font-size: 18px;
  240. line-height: 20px;
  241. @media(max-width: 359px) {
  242. font-size: 16px;
  243. line-height: 20px;
  244. padding: 10px;
  245. }
  246. }
  247. li {
  248. display: inline-block;
  249. }
  250. @media (max-width: 767px) and (orientation: landscape) {
  251. position: absolute;
  252. right: 100%;
  253. top: 0;
  254. width: calc(100vw - 420px);
  255. min-width: 35vw;
  256. li {
  257. display: block;
  258. }
  259. }
  260. a {
  261. position: relative;
  262. display: block;
  263. padding: 5px 6px;
  264. transition: 0.3s $easeOutQuad;
  265. text-decoration: underline;
  266. text-decoration-color: transparent;
  267. text-decoration-thickness: 2px;
  268. text-underline-offset: 2px;
  269. transition: 0.3s ease;
  270. @include focusvisible;
  271. @media(max-width: 359px) {
  272. padding: 5px;
  273. }
  274. }
  275. }
  276. .meta {
  277. position: relative;
  278. z-index: 1;
  279. padding: 0 12px;
  280. > ul {
  281. display: flex;
  282. justify-content: flex-start;
  283. list-style: none;
  284. padding: 0;
  285. margin: 0;
  286. }
  287. ul {
  288. display: flex;
  289. list-style: none;
  290. padding: 0;
  291. margin: 0;
  292. li {
  293. padding: 0;
  294. }
  295. }
  296. .icons {
  297. margin-left: auto;
  298. .login {
  299. a{
  300. @extend .icon-login-flyout;
  301. &:before {
  302. font-family: "Icons";
  303. font-size: 24px;
  304. line-height: 30px;
  305. float: right;
  306. margin-left: 5px;
  307. }
  308. &:hover {
  309. text-decoration-color: transparent;
  310. }
  311. }
  312. }
  313. li:not(.login) a {
  314. font-size: 0;
  315. line-height: 0;
  316. text-decoration: none;
  317. &:before {
  318. font-family: "Icons";
  319. font-size: 24px;
  320. line-height: 30px;
  321. }
  322. &:hover {
  323. text-decoration-color: transparent;
  324. }
  325. }
  326. .sign-language a {
  327. @extend .icon-gebaerdensprache;
  328. }
  329. .simple-language a {
  330. @extend .icon-leichte-sprache;
  331. }
  332. }
  333. a {
  334. display: block;
  335. font-size: 18px;
  336. line-height: 30px;
  337. margin: 10px 0;
  338. padding: 5px 8px;
  339. text-decoration: none;
  340. text-decoration: underline;
  341. text-decoration-color: transparent;
  342. text-decoration-thickness: 2px;
  343. text-underline-offset: 2px;
  344. transition: 0.3s ease;
  345. text-align: center;
  346. border: 0;
  347. background-color: transparent;
  348. cursor: pointer;
  349. @include focusvisible;
  350. @media(max-width: 359px) {
  351. font-size: 16px;
  352. padding: 5px;
  353. }
  354. &:hover {
  355. text-decoration-color: $color-primary;
  356. text-decoration-color: var(--theme-color-primary, $color-primary);
  357. }
  358. }
  359. }
  360. }
  361. .desktop .page-header {
  362. nav {
  363. .primary li.back a:hover {
  364. background-color: $color-primary-light-03;
  365. background-color: var(--theme-color-primary-dimmed-03, $color-primary-light-03);
  366. }
  367. .primary a:hover {
  368. background-color: $color-grey-light;
  369. background-color: var(--theme-grey-light, $color-grey-light);
  370. &:not(.focus-visible) {
  371. box-shadow: 0 -1px 0 0 rgba($color-primary, 0.06);
  372. box-shadow: 0 -1px 0 0 rgba(var(--theme-color-primary-rgb, $color-primary-rgb), 0.06);
  373. }
  374. }
  375. }
  376. .secondary a:hover, .meta ul:not(.icons) a:hover {
  377. text-decoration-color: transparent;
  378. }
  379. }
  380. [data-browser="ie"] .page-header nav .primary a {
  381. display: -ms-flexbox;
  382. &:after {
  383. content: "";
  384. position: relative;
  385. display: block;
  386. width: 0;
  387. height: 36px;
  388. }
  389. }