aboutsummaryrefslogtreecommitdiffstats
path: root/res/css
diff options
context:
space:
mode:
authorRblSb <msrblsb@gmail.com>2025-01-26 23:22:33 +0300
committerRblSb <msrblsb@gmail.com>2025-01-28 15:46:30 +0300
commit0592564264fff57ccfd9677957196951f9f1c6cf (patch)
treec360c2e5d45d9ac8706f836b0466b88221e1f10d /res/css
parentc7518e58788c17ad2ca8340ab5c7633489aa9518 (diff)
Video upload feature
And you can play video as soon as upload starts! This is pretty useful for thicc ones. Video will be keeped in cache and will comply cache size limit. I'm also implemented system storage check to change cache limit if it's lower than config value, so upload will be blocked if there is lower than 10MiB available on disk.
Diffstat (limited to 'res/css')
-rw-r--r--res/css/des.css24
1 files changed, 22 insertions, 2 deletions
diff --git a/res/css/des.css b/res/css/des.css
index 8c7f0cc..d6cd5ed 100644
--- a/res/css/des.css
+++ b/res/css/des.css
@@ -423,7 +423,7 @@ header h4 {
background: var(--background-video);
}
- .info {
+ .video-info {
order: 2;
}
@@ -480,6 +480,8 @@ iframe#videoplayer {
/* Playlist */
#playlist {
+ display: flex;
+ flex-direction: column;
border-top: .063rem solid;
border-color: var(--border);
}
@@ -527,8 +529,25 @@ iframe#videoplayer {
flex-grow: 1;
}
-#mediaurl {
+.mediaurl-wrap {
+ display: flex;
flex-grow: 2;
+ position: relative;
+}
+
+#mediaurl {
+ display: flex;
+ flex: 1;
+ padding-right: 2rem;
+}
+
+#mediaurl-upload {
+ display: flex;
+ position: absolute;
+ right: 0.1rem;
+ top: 50%;
+ transform: translateY(-50%);
+ background: transparent;
}
#customembed>*>input,
@@ -682,6 +701,7 @@ footer#footer {
}
#userlisttoggle {
+ padding: 0;
overflow: hidden;
white-space: nowrap;
text-align: left;
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage