Add generic class for scroll delay

b0d6bba5a7ebf40634288917fcf2663871485b69

Cohee <18619528+Cohee1207@users.noreply.github.com>

4 files changed, +14 -6Ignore whitespace
public/css/animations.css+10 -0
@@ -55,6 +55,7 @@
5555
5656/* Flashing for highlighting animation */
5757@keyframes flash {
58+
5859 0%,
5960 50%,
6061 100% {
@@ -122,3 +123,12 @@
122123 border-top-color: var(--progFlashColor);
123124 }
124125}
126+
127+/* Scroll delay animations */
128+@keyframes hide-scroll {
129+
130+ from,
131+ to {
132+ overflow-y: hidden;
133+ }
134+}
public/css/st-tailwind.css+1 -1
@@ -618,4 +618,4 @@ ul.li-padding-bot10 li {
618618
619619.wordBreakAll {
620620 word-break: break-all;
621-}
621 \ No newline at end of file
621+}
public/css/toggle-dependent.css+1 -1
@@ -528,4 +528,4 @@ label[for="trim_spaces"]:not(:has(input:checked)) small {
528528
529529label[for="bind_preset_to_connection"]:has(input:checked) {
530530 color: var(--active);
531-}
531 \ No newline at end of file
531+}
public/style.css+2 -4
@@ -5393,10 +5393,6 @@ body:has(#character_popup.open) #top-settings-holder:has(.drawer-content.openDra
53935393 }
53945394}
53955395
5396-@keyframes hide-scroll {
5397- from, to { overflow-y: hidden; }
5398-}
5399-
54005396body.movingUI .inline-drawer-maximize {
54015397 display: none;
54025398}
@@ -5484,11 +5480,13 @@ body:not(.movingUI) .drawer-content.maximized {
54845480 }
54855481}
54865482
5483+.drawer-content .scrollDelay,
54875484.fillRight #rm_characters_block,
54885485.fillRight #rm_print_characters_block {
54895486 overflow-y: hidden;
54905487}
54915488
5489+.drawer-content.openDrawer .scrollDelay,
54925490.fillRight.openDrawer #rm_characters_block,
54935491.fillRight.openDrawer #rm_print_characters_block {
54945492 overflow-y: auto;