diff --git a/public/css/animations.css b/public/css/animations.css index be851765a..a0cac20e1 100644 --- a/public/css/animations.css +++ b/public/css/animations.css @@ -55,6 +55,7 @@ /* Flashing for highlighting animation */ @keyframes flash { + 0%, 50%, 100% { @@ -122,3 +123,12 @@ border-top-color: var(--progFlashColor); } } + +/* Scroll delay animations */ +@keyframes hide-scroll { + + from, + to { + overflow-y: hidden; + } +} diff --git a/public/css/character-group-overlay.css b/public/css/character-group-overlay.css index 8f4a30580..9f1fb153e 100644 --- a/public/css/character-group-overlay.css +++ b/public/css/character-group-overlay.css @@ -1,5 +1,5 @@ #rm_print_characters_block.group_overlay_mode_select .character_select { - transition: background-color 0.4s ease; + transition: background-color var(--animation-duration-3x) ease; background-color: rgba(170, 170, 170, 0.15); } diff --git a/public/css/loader.css b/public/css/loader.css index acf82613d..3bb3006a1 100644 --- a/public/css/loader.css +++ b/public/css/loader.css @@ -18,7 +18,7 @@ #load-spinner { --spinner-size: 2em; - transition: all 300ms ease-out; + transition: all var(--animation-duration-2x) ease-out; opacity: 1; top: calc(50% - var(--spinner-size) / 2); left: calc(50% - var(--spinner-size) / 2); diff --git a/public/css/login.css b/public/css/login.css index 689988682..7c23c59b5 100644 --- a/public/css/login.css +++ b/public/css/login.css @@ -23,7 +23,7 @@ body.login .userSelect { width: 30%; cursor: pointer; margin: 5px 0; - transition: background-color 0.15s ease-in-out; + transition: background-color var(--animation-duration) ease-in-out; display: flex; align-items: center; justify-content: center; diff --git a/public/css/logprobs.css b/public/css/logprobs.css index 76c3fdd3c..0f7283c82 100644 --- a/public/css/logprobs.css +++ b/public/css/logprobs.css @@ -43,7 +43,7 @@ height: 25px; margin-left: 5px; opacity: 0.5; - transition: all 250ms; + transition: all var(--animation-duration-2x); position: unset !important; } diff --git a/public/css/mobile-styles.css b/public/css/mobile-styles.css index 782dea1e8..13939dd8c 100644 --- a/public/css/mobile-styles.css +++ b/public/css/mobile-styles.css @@ -237,6 +237,15 @@ top: var(--topBarBlockSize) !important; left: 0 !important; backdrop-filter: blur(calc(var(--SmartThemeBlurStrength) * 2)); + + @starting-style { + height: 0; + } + } + + #left-nav-panel:not(.openDrawer), + #right-nav-panel:not(.openDrawer) { + height: 0; } /* diff --git a/public/css/promptmanager.css b/public/css/promptmanager.css index 3c7f94b35..501094d0a 100644 --- a/public/css/promptmanager.css +++ b/public/css/promptmanager.css @@ -79,7 +79,7 @@ justify-content: center; margin-left: 0.25em; cursor: pointer; - transition: 0.3s ease-in-out; + transition: var(--animation-duration-2x) ease-in-out; height: 20px; width: 20px; filter: drop-shadow(0px 0px 2px black); @@ -239,7 +239,7 @@ flex-direction: column; justify-content: center; margin-left: 0.25em; - transition: 0.3s ease-in-out; + transition: var(--animation-duration-2x) ease-in-out; filter: drop-shadow(0px 0px 2px black); } diff --git a/public/css/rm-groups.css b/public/css/rm-groups.css index 6e12164b2..d05d13637 100644 --- a/public/css/rm-groups.css +++ b/public/css/rm-groups.css @@ -172,7 +172,7 @@ #rm_group_members .group_member:not(.disabled) .right_menu_button[data-action="disable"] { opacity: 0.4; filter: brightness(0.5); - transition: all 0.2s ease-in-out; + transition: all var(--animation-duration-2x) ease-in-out; } /* #rm_group_members .right_menu_button[data-action="speak"]:hover, */ diff --git a/public/css/select2-overrides.css b/public/css/select2-overrides.css index c0e84c8a2..96a24bb34 100644 --- a/public/css/select2-overrides.css +++ b/public/css/select2-overrides.css @@ -125,7 +125,7 @@ background-color: unset; color: var(--SmartThemeBodyColor); opacity: 0.5; - transition: opacity 200ms ease-in-out; + transition: opacity var(--animation-duration-2x) ease-in-out; position: relative; } @@ -203,7 +203,7 @@ /* Styling for choice remove icon */ span.select2.select2-container .select2-selection__choice__remove { cursor: pointer; - transition: background-color 0.3s; + transition: background-color var(--animation-duration-2x); color: var(--SmartThemeBodyColor); background-color: var(--black50a); } @@ -220,7 +220,7 @@ span.select2.select2-container .select2-selection__choice__remove:hover { .select2_choice_clickable_buttonstyle+span.select2-container .select2-selection__choice__display { cursor: pointer; - transition: background-color 0.3s; + transition: background-color var(--animation-duration-2x); color: var(--SmartThemeBodyColor); background-color: var(--black50a); white-space: break-spaces; diff --git a/public/css/st-tailwind.css b/public/css/st-tailwind.css index 243981332..c83433dfe 100644 --- a/public/css/st-tailwind.css +++ b/public/css/st-tailwind.css @@ -332,6 +332,10 @@ overflow: hidden; } +.overflowYScroll { + overflow-y: scroll; +} + .padding0 { padding: 0; } @@ -480,7 +484,7 @@ } .hoverglow { - transition: opacity 200ms; + transition: opacity var(--animation-duration-2x); } .hoverglow:hover { diff --git a/public/css/tags.css b/public/css/tags.css index 06766affc..e5eaf0b42 100644 --- a/public/css/tags.css +++ b/public/css/tags.css @@ -167,7 +167,7 @@ } .rm_tag_filter .tag.actionable { - transition: opacity 200ms; + transition: opacity var(--animation-duration-2x); } .rm_tag_filter .tag:hover { diff --git a/public/css/toggle-dependent.css b/public/css/toggle-dependent.css index ed3fd299a..0c6b07ecd 100644 --- a/public/css/toggle-dependent.css +++ b/public/css/toggle-dependent.css @@ -19,6 +19,7 @@ body:not(.tts) #ttsExtensionNarrateAll { } body.no-hotswap .hotswap, +body.no-hotswap .hotswap~hr, body.no-timer .mes_timer, body.no-timestamps .timestamp, body.no-tokenCount .tokenCounterDisplay, @@ -28,6 +29,12 @@ body.hideChatAvatars .mesAvatarWrapper .avatar { display: none !important; } +body.no-hotswap #CharListButtonAndHotSwaps .flex-container { + flex-wrap: nowrap; + align-items: flex-end; + flex-flow: row; +} + body.hideChatAvatars .last_mes:not(.smallSysMes) { padding-bottom: 20px !important; } diff --git a/public/css/world-info.css b/public/css/world-info.css index f8130d51f..447399121 100644 --- a/public/css/world-info.css +++ b/public/css/world-info.css @@ -198,7 +198,11 @@ } .world_entry { - transition: opacity 500ms; + transition: opacity var(--animation-duration-3x); +} + +.world_entry_edit { + display: contents; } .disabledWIEntry { @@ -267,7 +271,7 @@ select.keyselect+span.select2-container .select2-selection--multiple { opacity: 0.5; color: var(--SmartThemeBodyColor); - transition: opacity 0.3s; + transition: opacity var(--animation-duration-2x); } .switch_input_type_icon:hover { diff --git a/public/index.html b/public/index.html index 54374ae2a..2b202a87f 100644 --- a/public/index.html +++ b/public/index.html @@ -140,7 +140,7 @@ -