$bg-color: #353535; $nav-color: #9c9c9c; $nav-hint-color: #A9A9A9; $nav-hint-hover-color: #b4c552; $nav-dot-even: #afafaf; $nav-dot-odd: #afafaf; $nav-button-hr: #6f6f6f; $nav-active-page: #b4c552; $nav-active-chapter-beginning: #879438; $nav-active-chapter: #6D772E; $progressbar-mobile-width: 14px; @import "./progress_navigation_bar/cross_dependant_styles"; @import "./progress_navigation_bar/mixins"; @import "./progress_navigation_bar/animations"; @import "./progress_navigation_bar/animations2"; @import "./progress_navigation_bar/horizontal"; @import "./progress_navigation_bar/vertical"; .progress_navigation_bar { @include unselectable; color: $nav-color; width: 30px; .hint { position: absolute; top: -1000em; left: -1000em; line-height: 0; height: 0; font-size: 0; color: transparent; border: 0 none; } .navi_hint { text-align: center; color: $nav-hint-color; top: 50%; position: absolute; width: 86%; margin-top: 16px; padding: 0 7%; } @include pageflow-progress-mobile-variant { opacity: 0; pointer-events: none; width: $progressbar-mobile-width; @include transition(opacity 0.4s ease 0.5s); @include transform(translateZ(0)); -webkit-backface-visibility: hidden; } &.show_on_mobile { opacity: 1; @include transition(opacity 0.4s ease); } position: absolute; right: 0; top: 0; z-index: 3; &:before { content: ""; display: block; width: 28px; height: 28px; background-image: image-url('pageflow/progress_navigation_bar/indicator.png'); position: absolute; right: 60px; @include transition(opacity 0.3s linear); opacity: 1; top: 35px; background-position: left top; @include pageflow-progress-mobile-variant { display: none; } .bigScreen &, .hideText & { display: none; } } .header_button { display: none; } .navigation_button_area { width: 0; right: 30px; border-right: 1px solid transparent; position: absolute; height: 100%; @include transition(0.3s ease, overflow 0s); overflow: hidden; &:hover { overflow: visible; } .navigation_bar_buttons { @include transition(opacity 0.15s ease, right 0.3s ease); left: 0; opacity: 0; width: 87px; position: absolute; @include pageflow-progress-navigation-bar-transparent-background; li { height: 11.11%; border-bottom: 1px solid $nav-button-hr; &:last-child { border-bottom: 0 solid $nav-button-hr; } position: relative; @include box-sizing(border-box); &.mute { height: 22.22%; } > a { height: 100%; width: 100%; span.button { display: block; margin: -25px auto 0 23px; top: 50%; position: absolute; @include pageflow-progress-navigation-bar-small-height { margin: -20px auto 0 23px; } } } } } } &.with_home_button .navigation_button_area .navigation_bar_buttons { li { height: 10%; &.mute { height: 20%; } } } &.focus .navigation_button_area { overflow: visible; } &.hover, &:hover, &:focus, &.focus { overflow: visible; .navigation_button_area { width: 87px; @include pageflow-progress-mobile-variant { display: none; } .navigation_bar_buttons { overflow: visible; left: 0; opacity: 1; @include transition(opacity 0.2s ease 0.1s); main & { @include transition(opacity 0.2s ease 0.5s); } } } &:before { opacity: 0; main & { @include transition(opacity 0.7s linear); } } } img { border: none; } a.navigation_main, a.navigation_top, a.navigation_index { display: none; } .navigation_bar_bottom { display: none; } ul { margin: 0; padding: 0; } .scroller:after { content: " "; display: block; height: 150px; @include background-image(linear-gradient(rgba(53, 53, 53, 1) 0, transparent 100%)); } li { list-style-type: none; &[tabindex] { outline: -webkit-focus-ring-color none 0; } } a { display: block; span { display: block; &.hidden { display: inline; } } &:active { outline: none; } } a { @include hover { + div { visibility: visible; } } } a:focus + div, .navigation_menu.focused div { visibility: visible; } .navigation_dots a { position: relative; outline: none; &:focus:after { content: " "; position: absolute; top: 0; right: 0; bottom: 0; left: 0; border: solid 3px #eee; } } .navigation_site_detail { color: white; @include pageflow-progress-navigation-bar-box(-40px, 30px); } .navigation_bar_buttons, .navigation_bar_bottom { opacity: 0.9; li:last-child a .button { border-bottom: none; } } .navigation_menu { a { -webkit-mask-position-y: -4px !important; } } .navigation_menu_box { @include pageflow-progress-navigation-bar-box(0, 87px); a { @include hover { -webkit-mask-image: none; } } p { margin: 0 0 0.5em; } } .navigation_share_box { $size: 28px; width: 210px; a { @include float-start; text-decoration: none; padding: 0 15px 0 15px; width: 39px; p { color: $nav-color; margin-bottom: 0; text-align: center; } .button { width: $size; height: $size; margin: auto; } } } .navigation_credits_box { min-width: 230px; min-height: 4px; a { color: $nav-hint-hover-color; } a.legal, a.copy { @include float-start; } } .navigation_menu { @include hover { .navigation_menu_box { visibility: visible; } } &:focus, &.open { .navigation_menu_box { visibility: visible; } } } &.js { position: absolute; bottom: 0; & > .navigation_site_detail { margin-top: 0; width: auto; } a.scroll_indicator { height: 30px; width: 35px; right: 25px; background-repeat: no-repeat; background-image: image-url('pageflow/scroll_indicator_sprite.png'); background-color: transparent; -webkit-mask-image: none; $normal-offset: -14px; $hover-offset: -115px; $pressed-offset: -64px; &.top { top: 145px; $top-offset: -13px; background-position: $top-offset $normal-offset; @include hover { background-position: $top-offset $hover-offset; } @include pressed { background-position: $top-offset $pressed-offset; } } &.bottom { z-index: 1; bottom: 234px; $bottom-offset: -161px; background-position: $bottom-offset $normal-offset; @include hover { background-position: $bottom-offset $hover-offset; } @include pressed { background-position: $bottom-offset $pressed-offset; } } } .navigation_bar_buttons { top: 0; height: 100%; a.navigation_main, a.navigation_top, a.navigation_index { display: block; } } .navigation_top.deactivated { pointer-events: none; } .scroller { top: 0; bottom: 0; right: 0; max-height: 100%; overflow: hidden; position: absolute; @include pageflow-progress-navigation-bar-transparent-background; ul { position: absolute; li { position: relative; @include box-sizing(border-box); &:last-child { margin-bottom: 0; } &.filtered { display: none; } } a { position: absolute; top: 0; left: 0; height: 100%; width: 100%; background-color: $nav-dot-even; border-bottom: 1px solid $bg-color; @include box-sizing(border-box); &.in_active_chapter { background-color: $nav-active-chapter; } &.active { cursor: default; background-color: $nav-active-page; img { border-left: 5px solid #A6D513; } } } li.chapter_beginning a { background-color: $nav-color; &.in_active_chapter { background-color: $nav-active-chapter-beginning; } } img { display: block; } } } .no_chapters li.chapter_beginning a, .no_chapters li a.in_active_chapter, .scroller ul.no_chapters li.chapter_beginning a.in_active_chapter { background-color: $nav-dot-even; &.active { background-color: $nav-active-page; } } .navigation_menu_box { &:before { top: auto; bottom: -2px; } } .visible { visibility: visible; } .hidden { visibility: hidden; } .navigation_volume_box { height: 100%; .volume-control { height: 100%; .volume-level:before { background-image: image-url('pageflow/progress_navigation_bar/volume_control_sprite.png'); position: absolute; width: 28px; height: 19px; content: " "; background-repeat: no-repeat; top: 8px; } } } .volume-control { position: relative; margin: 0 20px; .volume-slider { width: 5px; height: 60%; background-color: gray; top: 20%; position: absolute; left: 20px; @include pageflow-progress-navigation-bar-small-height { top: 10%; height: 80%; } } .volume-level { height: 100%; background-color: $nav-hint-hover-color; bottom: 0; position: absolute; } } } } .progress_navigation_bar.header_active { &:before { background-position: right top; } } .navigation_site_detail.progress_navigation h2 { > span { display: block; } }