* { box-sizing: border-box; } html { min-height: 100%; } body { position: absolute; width: 100%; top: 0; bottom: 0; padding: 0; margin: 0; background-color: black; color: white; font-family: sans-serif; } input, select { border: 2px solid white; background-color: transparent; color: white; padding: 5px; border-radius: 10px; font-size: 16px; outline: none; } input[type=range] { cursor: pointer; } input[type=number] { max-width: 100px; } button { background-color: #164cff; border: none; border-radius: 10px; padding: 0 20px; color: white; font-weight: bold; font-size: 16px; cursor: pointer; height: 32px; } button:disabled { filter: grayscale(); } .suffix-ms::after { content: "ms"; } .icon-button { background-color: transparent; height: 32px; background-position: center center; background-repeat: no-repeat; background-size: auto 32px; border-radius: 0; } .icon-button:hover { background-color: transparent; } .icon-button-play { background-image: url("graphics/icon-play.svg"); } .icon-button-stop { background-image: url("graphics/icon-stop.svg"); } .icon-button-delete { background-image: url("graphics/icon-delete.svg"); } .icon-button-timer { background-image: url("graphics/icon-timer.svg"); } button:hover { background-color: #3765ff; } #cube-window { display: flex; justify-content: center; align-items: center; background-color: black; position: absolute; left: 0; right: 0; top: 0; bottom: 0; } #animation-window { position: fixed; left: 0; right: 0; bottom: 50px; display: flex; justify-content: center; align-items: center; } #frame-menu, #header-menu { border: 2px solid white; border-radius: 20px; padding: 20px; display: flex; align-items: center; z-index: 1; } #frame-menu { position: relative; background-color: black; } #header-menu { border: none; position: fixed; top: 10px; left: 10px; } #frame-menu > * { margin: 0 10px; } #frame-display { text-align: center; } #frame-slider { width: 250px; } #cube { display: block; padding-bottom: 200px; } .selector { position: relative; } .selector-title { margin-bottom: 10px; font-weight: bold; } .selector-title::after { content: ":"; } .selector-display, .selector-items { border: 2px solid white; border-radius: 10px; padding: 8px; padding-bottom:12px; cursor: pointer; } .selector-display { padding-right: 40px; background-color: black; background-image: url("graphics/icon-dropdown.svg"); background-repeat: no-repeat; background-size: auto 8px; background-position: right 10px top 15px; } .selector-items { border-radius: 0 0 10px 10px; position: absolute; background-color: black; top: 68px; padding: 0; width: 100%; } .selector-item { padding: 4px 8px; } .selector-item:hover { background-color: white; color: black; } .layer { position: relative; transform: scale(1.0, 0.4) rotate(-45deg); margin-bottom: -40%; border: 2px solid transparent; border-radius: 20px; background-color: black; } .layer:hover { border: 2px solid white; border-radius: 20px; } .layer-submenu { position: absolute; left: 67%; bottom: -74px; display: flex; align-items: center; transform: rotate(45deg) scale(1.0, 3); visibility: hidden; padding-left: 58px; } .submenu-line { border: 0.25px solid white; width: 80px; } .layer:hover .layer-submenu { visibility: visible; } .layer-buttons { display: flex; border: solid 0.5px white; padding: 5px 10px; border-radius: 10px; } .layer-button { border-radius: 50%; border: 2px solid white; width: 32px; height: 32px; margin: 5px; cursor: pointer; } .layer-button-on, .layer-button-on:hover { background-color: white; } .layer-button-off, .layer-button-off:hover { background-color: black; } .led { background-color: white; box-shadow: 0 0 10px white; border-radius: 50%; width: 32px; height: 48px; margin: 8px 16px; transform: rotate(45deg); cursor: pointer; } .led-off { opacity: 0.25; box-shadow: none; } .led-previous { opacity: 0.5; } .led-red { background-color: red; box-shadow: 0 0 10px red; } .led-blue { background-color: #3333ff; box-shadow: 0 0 10px #3333ff; } .led-green { background-color: #00ff00; box-shadow: 0 0 10px #00ff00; } .row { display: flex; } .menu-fullscreen { background-color: rgba(0, 0, 0, 0.7); position: fixed; top: 0; left: 0; right: 0; bottom: 0; display: none; justify-content: center; align-items: center; } .submenu-popup { display: none; background-color: #091c59; padding: 20px; border: 2px solid white; border-radius: 20px; position: absolute; right: -143px; bottom: 57px; box-shadow: 0 0 10px black;} .submenu-popup::before { position: absolute; content: ''; width: 0; height: 0; bottom: -20px; right: 50%; border-width: 10px; border-style: solid; border-color: #091c59 #091c59 transparent transparent; filter: drop-shadow(0 2px 0 white); } .submenu-popup::after { position: absolute; content: ''; width: 0; height: 0; bottom: -20px; left: 50%; border-width: 10px; border-style: solid; border-color: #091c59 transparent transparent #091c59; filter: drop-shadow(0 2px 0 white); } .value-slider { display: flex; justify-content: center; align-items: center; padding: 10px; } .container-slider-value { display: inline-block; width: 55px; } .slider-value { margin-left: 10px; } .menu-fullscreen-button-line { display: flex; justify-content: space-between; } #duration-scale { position: relative; }