Constrain toast colors to container
| @@ -167,7 +167,8 @@ body { | |||
| 167 | } | 167 | } |
| 168 | 168 | ||
| 169 | ::-webkit-scrollbar-track:hover { | 169 | ::-webkit-scrollbar-track:hover { |
| 170 | background-color: rgba(126, 126, 126, 0.2); /* Adaptive, but won't contrast with neutral-gray. */ | 170 | /* Adaptive, but won't contrast with neutral-gray. */ |
| 171 | background-color: rgba(126, 126, 126, 0.2); | ||
| 171 | } | 172 | } |
| 172 | 173 | ||
| 173 | ::-webkit-scrollbar-thumb { | 174 | ::-webkit-scrollbar-thumb { |
| @@ -247,6 +248,7 @@ table.responsiveTable { | |||
| 247 | .has_hover_label .label_icon { | 248 | .has_hover_label .label_icon { |
| 248 | transition: opacity var(--animation-duration) ease, max-width var(--animation-duration) ease; | 249 | transition: opacity var(--animation-duration) ease, max-width var(--animation-duration) ease; |
| 249 | } | 250 | } |
| 251 | |||
| 250 | .has_hover_label .label { | 252 | .has_hover_label .label { |
| 251 | transition: opacity var(--animation-duration-slow) ease, max-width var(--animation-duration-slow) ease; | 253 | transition: opacity var(--animation-duration-slow) ease, max-width var(--animation-duration-slow) ease; |
| 252 | /* Prevent double gap on hidden icon */ | 254 | /* Prevent double gap on hidden icon */ |
| @@ -257,6 +259,7 @@ table.responsiveTable { | |||
| 257 | .has_hover_label .label { | 259 | .has_hover_label .label { |
| 258 | transition-delay: var(--animation-duration-slow); | 260 | transition-delay: var(--animation-duration-slow); |
| 259 | } | 261 | } |
| 262 | |||
| 260 | .has_hover_label.fast .label_icon, | 263 | .has_hover_label.fast .label_icon, |
| 261 | .has_hover_label.fast .label { | 264 | .has_hover_label.fast .label { |
| 262 | transition-delay: var(--animation-duration); | 265 | transition-delay: var(--animation-duration); |
| @@ -503,6 +506,7 @@ input[type='checkbox']:focus-visible { | |||
| 503 | .mes_text em { | 506 | .mes_text em { |
| 504 | color: var(--SmartThemeEmColor); | 507 | color: var(--SmartThemeEmColor); |
| 505 | } | 508 | } |
| 509 | |||
| 506 | .mes_reasoning i, | 510 | .mes_reasoning i, |
| 507 | .mes_reasoning em { | 511 | .mes_reasoning em { |
| 508 | color: hsl(from var(--reasoning-em-color) h calc(s * var(--reasoning-saturation)) l); | 512 | color: hsl(from var(--reasoning-em-color) h calc(s * var(--reasoning-saturation)) l); |
| @@ -512,6 +516,7 @@ input[type='checkbox']:focus-visible { | |||
| 512 | .mes_text q em { | 516 | .mes_text q em { |
| 513 | color: inherit; | 517 | color: inherit; |
| 514 | } | 518 | } |
| 519 | |||
| 515 | .mes_reasoning q i, | 520 | .mes_reasoning q i, |
| 516 | .mes_reasoning q em { | 521 | .mes_reasoning q em { |
| 517 | color: hsl(from var(--SmartThemeQuoteColor) h calc(s * var(--reasoning-saturation)) l); | 522 | color: hsl(from var(--SmartThemeQuoteColor) h calc(s * var(--reasoning-saturation)) l); |
| @@ -520,6 +525,7 @@ input[type='checkbox']:focus-visible { | |||
| 520 | .mes_text u { | 525 | .mes_text u { |
| 521 | color: var(--SmartThemeUnderlineColor); | 526 | color: var(--SmartThemeUnderlineColor); |
| 522 | } | 527 | } |
| 528 | |||
| 523 | .mes_reasoning u { | 529 | .mes_reasoning u { |
| 524 | color: hsl(from var(--SmartThemeUnderlineColor) h calc(s * var(--reasoning-saturation)) l); | 530 | color: hsl(from var(--SmartThemeUnderlineColor) h calc(s * var(--reasoning-saturation)) l); |
| 525 | } | 531 | } |
| @@ -527,6 +533,7 @@ input[type='checkbox']:focus-visible { | |||
| 527 | .mes_text q { | 533 | .mes_text q { |
| 528 | color: var(--SmartThemeQuoteColor); | 534 | color: var(--SmartThemeQuoteColor); |
| 529 | } | 535 | } |
| 536 | |||
| 530 | .mes_reasoning q { | 537 | .mes_reasoning q { |
| 531 | color: hsl(from var(--SmartThemeQuoteColor) h calc(s * var(--reasoning-saturation)) l); | 538 | color: hsl(from var(--SmartThemeQuoteColor) h calc(s * var(--reasoning-saturation)) l); |
| 532 | } | 539 | } |
| @@ -3945,19 +3952,19 @@ body #toast-container>div { | |||
| 3945 | width: 300px; | 3952 | width: 300px; |
| 3946 | } | 3953 | } |
| 3947 | 3954 | ||
| 3948 | .toast-success { | 3955 | body #toast-container .toast-success { |
| 3949 | background-color: #5d9e5d; | 3956 | background-color: #5d9e5d; |
| 3950 | } | 3957 | } |
| 3951 | 3958 | ||
| 3952 | .toast-error { | 3959 | body #toast-container .toast-error { |
| 3953 | background-color: #a83c36; | 3960 | background-color: #a83c36; |
| 3954 | } | 3961 | } |
| 3955 | 3962 | ||
| 3956 | .toast-info { | 3963 | body #toast-container .toast-info { |
| 3957 | background-color: #4092aa; | 3964 | background-color: #4092aa; |
| 3958 | } | 3965 | } |
| 3959 | 3966 | ||
| 3960 | .toast-warning { | 3967 | body #toast-container .toast-warning { |
| 3961 | background-color: #e29325; | 3968 | background-color: #e29325; |
| 3962 | } | 3969 | } |
| 3963 | 3970 | ||
| @@ -4052,6 +4059,7 @@ input[type='checkbox'].del_checkbox { | |||
| 4052 | .avatar-container:not(.locked_to_chat) .locked_to_chat_label { | 4059 | .avatar-container:not(.locked_to_chat) .locked_to_chat_label { |
| 4053 | display: none; | 4060 | display: none; |
| 4054 | } | 4061 | } |
| 4062 | |||
| 4055 | .avatar-container:not(.locked_to_character) .locked_to_character_label { | 4063 | .avatar-container:not(.locked_to_character) .locked_to_character_label { |
| 4056 | display: none; | 4064 | display: none; |
| 4057 | } | 4065 | } |
| @@ -4071,7 +4079,7 @@ input[type='checkbox'].del_checkbox { | |||
| 4071 | } | 4079 | } |
| 4072 | 4080 | ||
| 4073 | #lock_user_name.locked { | 4081 | #lock_user_name.locked { |
| 4074 | border-color: color-mix(in srgb, var(--SmartThemeQuoteColor) 50%, var(--SmartThemeBorderColor));; | 4082 | border-color: color-mix(in srgb, var(--SmartThemeQuoteColor) 50%, var(--SmartThemeBorderColor)); |
| 4075 | } | 4083 | } |
| 4076 | 4084 | ||
| 4077 | #lock_persona_to_char.locked { | 4085 | #lock_persona_to_char.locked { |