diff --git a/public/index.css b/public/index.css index f8556f5..d5adbf1 100644 --- a/public/index.css +++ b/public/index.css @@ -7,73 +7,33 @@ body{ } .root{ gap: 10px; - padding: 10px; + padding: 0px; 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; - filter: brightness(0.5); - 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); + display: grid; + grid-template-columns: repeat(auto-fit, minmax(500px, 1fr)); + grid-template-rows: repeat(auto-fit, minmax(23vh, 1fr)); + gap: 5px; + justify-content: center; + align-items: center; } .videolist .frame{ - max-width: 200px; - object-fit: cover; - border-radius: 10px; border: solid 3px transparent; + aspect-ratio: 16 / 9; + width: 100%; + object-fit: contain; + max-width: 100%; + max-height: 100%; + align-items: center; } .videolist .frame.active{ border: solid 3px green; @@ -92,16 +52,5 @@ video{ ::-webkit-scrollbar-track { background-color: #ffffff1f; } -#stats{ - position: absolute; - z-index: 3; - font-size: 14px; - line-height: 1.5em; - color: white; - font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; - padding: 10px; - text-shadow: 0 0 5px black; - background-color: rgba(0,0,0,.4); - overflow: auto; - max-height: 80vh; -} \ No newline at end of file + + diff --git a/public/index.html b/public/index.html index 5e59258..0a0ce96 100644 --- a/public/index.html +++ b/public/index.html @@ -10,16 +10,10 @@