$n-primary: #11151d; $n-secondary: #2b2f35; $n-tertiary: #86888b; $n-quaternary: #e1e1e0; // WHY IS IT 0? OCD #triggered $h-yellow: #f8f770; $h-green: #59eb5c; $h-red: #ff7676; $h-purple: #ba64f2; $h-blue: #61d1fa; $h-orange: #e69e50; $bg-stacker: #000000a3; body { margin: 0; background-color: #11151d; height: 100vh; display: flex; color: $n-quaternary; font-family: Verdana, Geneva, Tahoma, sans-serif; } .rounded-corners { border-radius: 10px; } .page { width: 1200px; margin: 0 auto; display: flex; flex-direction: column; .import-notice { margin: auto; width: 600px; min-height: 100px; background-color: #2b2f35; padding: 5px; box-sizing: border-box; display: flex; flex-direction: column; h1 { color: $n-quaternary; font-weight: bold; font-size: 22px; text-align: center; } input { margin: auto; color: #cecece; text-align: center; padding: 5px; box-sizing: border-box; background-color: #00000050; margin-bottom: 15px; } sub { text-align: center; color: $n-quaternary; a { color: #ff6600; } } } .file-list { display: flex; flex-direction: column; .storage-overview { background-color: $n-secondary; width: 100%; margin-top: 20px; padding: 10px; box-sizing: border-box; display: flex; flex-direction: column; .title { font-size: 24px; font-weight: bold; margin-bottom: 10px; display: flex; flex-direction: row; .measurement { margin-left: auto; font-size: 22px; .storage-quota { font-size: 16px; color: $n-tertiary; } } } .storage-bar { height: 30px; width: 100%; background-color: $bg-stacker; padding: 5px; box-sizing: border-box; border: 0; } .storage-bar::-moz-progress-bar, .storage-bar::-webkit-progress-bar { background-color: rgb(0, 162, 255); border-radius: 5px; } } .filters { width: 100%; height: 30px; margin-top: 20px; display: flex; flex-direction: row; select { background-color: $n-secondary; border: 0; padding: 0 10px; width: 200px; height: 100%; color: white; margin-right: 5px; } label { margin: auto 0; } .search { width: 50%; height: 100%; background-color: $n-secondary; margin-left: auto; input { background-color: $bg-stacker; border: 0; padding: 0; outline: 0; color: white; height: 100%; width: 100%; text-indent: 10px; } input::placeholder { font-style: italic; } } } .item-list { display: flex; flex-flow: row wrap; place-content: space-around; width: 100%; height: fit-content; margin-top: 20px; .entry { width: 200px; // height: 200px; background-color: $n-secondary; padding: 5px; margin-bottom: 20px; .thumbnail { width: 200px; height: 200px; margin: 0 auto 5px auto; display: flex; img { max-height: 100%; max-width: 100%; margin: auto; } } .info { .title { margin-bottom: 10px; color: $h-blue; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .info-blob { color: gray; display: flex; flex-direction: row; margin-bottom: 5px; .value { color: white; margin-left: auto; } } } } } } } dialog { background-color: $n-secondary; border: 0; outline: 0; .content { display: flex; flex-direction: column; width: fit-content; .info { display: flex; flex-direction: row; width: 700px; .left { margin-right: 10px; .thumbnail { width: 200px; height: 200px; img { max-width: 100%; max-height: 100%; } } } .right { flex-grow: 1; .entry { display: flex; flex-direction: row; color: white; width: 100%; background-color: #1d2024; padding: 5px; box-sizing: border-box; .title { color: #bbb; } .value { margin-left: auto; padding-left: 20px; } } .entry:nth-child(even) { background-color: #191c20; } } } .controls { display: flex; margin-top: 15px; button { margin: auto; padding: 5px; box-sizing: border-box; flex-grow: 1; cursor: pointer; background-color: $h-red; border: 0; font-weight: bold; } } } } dialog::backdrop { background-color: $bg-stacker; } .hidden { display: none !important; } @media screen and (max-width: 1200px) { .page { width: 95%; } } @media screen and (max-width: 800px) { dialog { .content { .info { flex-direction: column; width: 100%; .left { .thumbnail { margin: auto; width: 100%; margin-bottom: 10px; } } } } } }