fixed text shadow ew, categories highlight

This commit is contained in:
emilis 2026-01-16 17:17:42 +00:00
parent f3f4c43e81
commit 251d72e2a0
No known key found for this signature in database
3 changed files with 8 additions and 5 deletions

View File

@ -357,6 +357,7 @@ button {
flex-wrap: nowrap; flex-wrap: nowrap;
font-size: 1.5em; font-size: 1.5em;
overflow-y: hidden; overflow-y: hidden;
width: 100%;
} }
.settings { .settings {
@ -1643,7 +1644,7 @@ select {
} }
& .title { & .title {
text-shadow: black 3px 2px; text-shadow: black 1px 1px;
margin-bottom: 10px; margin-bottom: 10px;
} }
@ -1684,7 +1685,7 @@ select {
} }
.role { .role {
text-shadow: black 3px 2px; text-shadow: black 1px 1px;
width: 100%; width: 100%;
filter: saturate(40%); filter: saturate(40%);

View File

@ -117,9 +117,11 @@ pub fn DaytimePlayerList(
}) })
.collect::<Html>(); .collect::<Html>();
let button_text = if marked.is_empty() { let button_text = if marked.is_empty() {
"end day" "end day".to_string()
} else if marked.len() == 1 {
"execute 1 player".to_string()
} else { } else {
"execute" format!("execute {} players", marked.len())
}; };
let parity = { let parity = {
let wolves = characters let wolves = characters

View File

@ -64,7 +64,7 @@ pub fn AddRoleCategory(
html! { html! {
<div class="category add-list"> <div class="category add-list">
<div class={classes!("title", class)} onclick={on_toggle}> <div class={classes!("title", class, "hover")} onclick={on_toggle}>
{category.to_string().to_case(Case::Sentence)} {category.to_string().to_case(Case::Sentence)}
</div> </div>
<div class={classes!("category-list", hidden)}> <div class={classes!("category-list", hidden)}>