diff options
| author | Bobby <[email protected]> | 2024-12-24 06:50:59 -0500 |
|---|---|---|
| committer | Bobby <[email protected]> | 2024-12-24 06:50:59 -0500 |
| commit | 6df9f0dc40501e8f55bcc883dfe5be65e60d3c3d (patch) | |
| tree | 273148d564c11ae46e9f96c0231ce57427f5591f /static/css | |
| parent | 4feba2452a151ed999d52d4a0d53b0b0584bf70e (diff) | |
| download | thatcomputerscientist-6df9f0dc40501e8f55bcc883dfe5be65e60d3c3d.tar.xz thatcomputerscientist-6df9f0dc40501e8f55bcc883dfe5be65e60d3c3d.zip | |
bucket load of things
Diffstat (limited to 'static/css')
| -rw-r--r-- | static/css/anime/video_player.css | 32 | ||||
| -rw-r--r-- | static/css/shared/directory.css | 197 |
2 files changed, 229 insertions, 0 deletions
diff --git a/static/css/anime/video_player.css b/static/css/anime/video_player.css index 39abb527..e4b2f0b7 100644 --- a/static/css/anime/video_player.css +++ b/static/css/anime/video_player.css @@ -39,6 +39,17 @@ box-shadow: none; } +.win98-player:fullscreen .retro-buffer { + top: 50%; + left: 50%; + transform: translate(-50%, -50%); +} + +.win98-player:fullscreen .retro-buffer img { + height: 64px; + width: 64px; +} + .win98-player:fullscreen .win98-title-bar, .win98-player:fullscreen .episode-title { display: none; @@ -287,6 +298,8 @@ input[type="range"].volume-slider { min-width: 100px; margin-bottom: 4px; z-index: 10; + max-height: 180px; + overflow: scroll; } .quality-menu.show, @@ -412,4 +425,23 @@ video::-webkit-media-text-track-container { video::-webkit-media-text-track { display: none !important; +} + +/* Retro Buffer Styles */ +.retro-buffer { + position: absolute; + top: 246px; + left: 50%; + transform: translateX(-50%); + z-index: 5; + display: none; +} + +.retro-buffer img { + height: 32px; + width: 32px; +} + +.video-loading .retro-buffer { + display: block; }
\ No newline at end of file diff --git a/static/css/shared/directory.css b/static/css/shared/directory.css new file mode 100644 index 00000000..94941560 --- /dev/null +++ b/static/css/shared/directory.css @@ -0,0 +1,197 @@ +.directory-viewer { + position: relative; + user-select: none; + padding: 4px; + height: 100%; +} + +.directory-content { + display: grid; + grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); + gap: 8px; + padding: 4px; +} + +.folder-item { + display: flex; + flex-direction: column; + align-items: center; + padding: 4px; + cursor: default; + position: relative; +} + +.folder-icon { + width: 32px; + height: 32px; + position: relative; +} + +.folder-icon img { + width: 100%; + height: 100%; + display: block; +} + +.selection-overlay { + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + background: transparent; + mix-blend-mode: multiply; + pointer-events: none; +} + +.folder-item.selected .selection-overlay { + background: rgba(0, 0, 255, 0.5); +} + +.folder-name { + margin-top: 4px; + font-size: 11px; + text-align: center; + max-width: 76px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} + +.folder-item.selected .folder-name { + color: #fff; + background: #000080; +} + +/* Selection rectangle */ +.selection-rectangle { + position: absolute; + border: 1px dotted #000; + background: rgba(0, 0, 255, 0.1); + pointer-events: none; +} + +/* Context Menu */ +.context-menu { + display: none; + position: absolute; + background: #C0C0C0; + border: 2px solid; + border-color: #FFFFFF #808080 #808080 #FFFFFF; + padding: 2px; + font-size: 11px; + box-shadow: 1px 1px 0 0 #000; + min-width: 160px; + z-index: 1000; + color: #000; +} + +.context-menu.show { + display: block; +} + +.menu-item { + padding: 3px 20px; + cursor: default; +} + +.menu-item:hover { + background: #000080; + color: #FFF; +} + +.menu-separator { + height: 1px; + background: #808080; + margin: 3px 2px; + border-bottom: 1px solid #FFFFFF; +} + +.windows98-modal { + position: fixed; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + background-color: #c0c0c0; + border: 2px solid; + border-color: #ffffff #808080 #808080 #ffffff; + box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3); + z-index: 1000; + min-width: 300px; +} + +.windows98-modal .modal-titlebar { + background-color: navy; + color: white; + padding: 2px 4px; + display: flex; + justify-content: space-between; + align-items: center; +} + +.windows98-modal .modal-title { + font-weight: bold; +} + +.windows98-modal .modal-close { + background: none; + border: none; + color: white; + font-weight: bold; + cursor: pointer; +} + +.windows98-modal .modal-content { + padding: 20px; + background-color: #c0c0c0; +} + +.windows98-modal .modal-buttons { + background-color: #c0c0c0; + padding: 10px; + display: flex; + justify-content: flex-end; + gap: 10px; + border-top: 1px solid #808080; +} + +.windows98-modal button { + min-width: 75px; + padding: 4px 8px; + background-color: #c0c0c0; + border: 2px solid; + border-color: #ffffff #808080 #808080 #ffffff; + cursor: pointer; +} + +.windows98-modal button:active { + border-color: #808080 #ffffff #ffffff #808080; +} + +.windows98-modal .file-upload-form, +.windows98-modal .folder-creation-form { + display: flex; + flex-direction: column; + gap: 10px; +} + +.windows98-modal .upload-progress { + background-color: white; + border: 1px solid #808080; + height: 20px; + margin-top: 10px; +} + +.windows98-modal .progress-bar { + background-color: navy; + height: 100%; + width: 0; + transition: width 0.3s ease; +} + +.windows98-modal .progress-text { + position: absolute; + left: 50%; + transform: translateX(-50%); + color: navy; +}
\ No newline at end of file |
