html,body{ margin: 0; height: 100%; } body{ background-color: #141414; } .root{ gap: 10px; padding: 10px; height: 100%; display: flex; flex-wrap: nowrap; flex-direction: row; box-sizing: border-box; } .dialoque{ flex: 1; display: flex; flex-wrap: nowrap; flex-direction: row; position: relative; } .videolist{ flex: 0 0 200px; display: flex; flex-wrap: nowrap; flex-direction: column; gap: 10px; overflow: auto; padding-right: 10px; cursor: pointer; } .dialoque #primaryVideo{ width: 100%; height: 100%; box-sizing: border-box; object-fit: contain; background-color: transparent/*#282828*/; border-radius: 10px; z-index: 2; } .dialoque #primaryVideoShadow{ width: 100%; height: 100%; object-fit: cover; border-radius: 10px; position: absolute; z-index: 1; left: 0; top: 0; } .dialoque #secondaryVideo{ width: 300px; height: 200px; min-width: 300px; max-width: 30%; min-height: 200px; max-height: 35%; position: absolute; right: 10px; bottom: 10px; background-color: #383838; border-radius: 10px; z-index: 3; outline-offset: 0px; outline-style: solid; outline-width: 5px; outline-color: rgba(0,0,0,.5); } .videolist .frame{ max-width: 200px; object-fit: cover; border-radius: 10px; border: solid 3px transparent; } .videolist .frame.active{ border: solid 3px green; box-shadow: 0px 0px 20px -10px green; } video{ image-rendering: pixelated; } ::-webkit-scrollbar { width: 6px; } ::-webkit-scrollbar-thumb { background: white; border-radius: 10px; } ::-webkit-scrollbar-track { background-color: #ffffff1f; }