.top-bar { position: fixed; top: 0; left: 121px; height: 100px; width: calc(100% - 121px); z-index: 1; } .bottom-bar { position: fixed; bottom: 0; left: 121px; height: 100px; width: calc(100% - 121px); z-index: 1; } section { position: fixed; top: 100px; left: 120px; height: calc(100% - 100px); width: calc(100% - 120px); } section.has-footer { height: calc(100% - 200px); } .menu { position: fixed; top: 0; left: 0; height: 100%; width: 120px; border-right: 1px solid #4687E6; background-color: white; z-index: 1; } .menu .logo { position: absolute; top: 5%; left: 50%; transform: translate(-50%, -50%); } .menu line { stroke: var(--portal-main-color); } .menu a.previous { position: absolute; top: 25%; left: 50%; transform: translate(-50%, -50%); color: var(--portal-main-color); } .menu a.next { position: absolute; top: 75%; left: 50%; transform: translate(-50%, -50%); color: var(--portal-main-color); } .menu a.previous:hover, .menu a.next:hover { background-color: var(--portal-main-color); color: white; border-radius: 50%; display: flex; padding: 5px; } .menu nav { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); } .menu nav > ul { list-style: none; padding: 0; margin: 0; } .menu nav > ul > li { border-radius: 100%; padding: 8px; border: 1px solid white; margin-bottom: 15px; } .menu nav > ul > li > a { display: table-cell; border-radius: 100%; width: 15px; height: 15px; opacity: 0.4; background-color: var(--portal-dark-color); } .menu nav > ul > li.uk-active { border: 1px solid var(--portal-main-color); transition: border-top-color 0.25s linear, border-right-color 0.25s linear 0.10s, border-bottom-color 0.25s linear 0.30s, border-left-color 0.25s linear 0.40s; -webkit-animation : border-top-color 0.25s linear, border-right-color 0.25s linear 0.10s, border-bottom-color 0.25s linear 0.30s, border-left-color 0.25s linear 0.40s; -moz-animation : border-top-color 0.25s linear, border-right-color 0.25s linear 0.10s, border-bottom-color 0.25s linear 0.30s, border-left-color 0.25s linear 0.40s; -o-animation : border-top-color 0.25s linear, border-right-color 0.25s linear 0.10s, border-bottom-color 0.25s linear 0.30s, border-left-color 0.25s linear 0.40s; } .menu nav > ul > li.uk-active > a, .menu nav > ul > li > a:hover { background-color: var(--portal-main-color); opacity: 1; }