* { box-sizing: border-box; } html { margin: 0; padding: 0; height: 100% } body { background-color: #242424; color: white; font-family: sans-serif; margin: 0; padding: 0; height: 100%; background-position: center center; background-repeat: no-repeat; background-size: cover; } #settings-menu { position: fixed; height: 100%; width: 300px; background-color: black; padding: 10px; right: 0; display: flex; flex-direction: column; place-items: flex-start; z-index: 4; transform: translateX(100%); transition: all 0.2s ease-in-out; } #settings-menu.open { transform: translateX(0); } .radio-group { display: flex; flex-direction: column; } /* Folder */ .folderBody { width: 100%; display: flex; flex-direction: row; border-style: solid; border-width: 2px; border-radius: 5px; border-color: rgba(0, 0, 0, 0.5); margin: 5px; padding: 10px; flex-wrap: wrap; /*position: fixed;*/ /*bottom: 0;*/ animation: slideDown 0.2s ease; overflow: hidden; white-space: nowrap; } @keyframes slideDown { from { transform: translateY(-30%); opacity: 0 } } body > .folderBody { margin: 0; border-style: none; position: relative; animation: none; max-height: 100%; overflow: auto; } /* Bookmark */ .bookmark { padding: 10px; position: relative; } .bookmark > a { display: flex; flex-direction: column; width: 125px; padding: 10px; user-select: none; border-radius: 10px; } .icon-box { margin: 15px; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; } @property --icon-bg { syntax: ""; inherits: false; initial-value: #ffffff14; } .icon-box.small, .icon-box.letter { border-radius: 10px; background-color: var(--icon-bg); } .icon-box > span { font-size: xx-large; text-transform: capitalize; font-weight: bold; } .icon-box > img { width: 100%; border-radius: 10px; } .icon-box > svg { width: 100%; height: 100%; } .icon-box.small > img { width: 50%; border-radius: 5px; } .bookmark > a > span { text-wrap: nowrap; text-overflow: ellipsis; overflow: hidden; text-align: center; font-size: 12px; } .bookmark > a:hover { background-color: rgba(0, 0, 0, 0.3); } a { color: white; text-decoration: none; } #settings-close { border-style: none; background: none; color: white; padding: 5px; margin: 5px; position: absolute; top: 0; right: 0; z-index: 2; } #action-area { position: absolute; top: 0; right: 0; z-index: 2; gap: 5px; margin: 5px; display: flex; flex-direction: row; button { border-style: none; background: none; color: white; } > * { padding: 5px; display: flex; justify-content: center; align-items: center; } button:hover { background-color: rgba(0, 0, 0, 0.3); } } /* Drop targets */ .drop-targets { /*pointer-events: none;*/ position: absolute; top: 0; /* bottom: 0; */ left: 0; right: 0; height: 100%; width: 100%; } /*.drop-targets > *:hover {*/ /* background-color: red;*/ /*}*/ .drop-targets > .left { position: absolute; left: -2px; height: 100%; width: 30px; display: flex; justify-content: flex-start; align-items: center; > div { background-color: white; height: 50%; width: 4px; } } .drop-targets > .right { position: absolute; right: -2px; height: 100%; width: 30px; display: flex; justify-content: flex-end; align-items: center; > div { background-color: white; width: 4px; height: 50%; } } .drop-targets > .center { position: absolute; top: 0; bottom: 0; left: 30px; right: 30px; display: flex; justify-content: center; align-items: center; > span { /*color: aqua;*/ font-size: 100px; /* background-color: aqua; */ /* aspect-ratio: 1 / 1; */ /* height: 100px; */ font-family: monospace; } > svg { background-color: #000000ba; width: 65px; height: 65px; border-radius: 10px; padding: 10px; margin-bottom: 14px; } }