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;
font-size: 1.5em;
overflow-y: hidden;
width: 100%;
}
.settings {
@ -1643,7 +1644,7 @@ select {
}
& .title {
text-shadow: black 3px 2px;
text-shadow: black 1px 1px;
margin-bottom: 10px;
}
@ -1684,7 +1685,7 @@ select {
}
.role {
text-shadow: black 3px 2px;
text-shadow: black 1px 1px;
width: 100%;
filter: saturate(40%);

View File

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

View File

@ -64,7 +64,7 @@ pub fn AddRoleCategory(
html! {
<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)}
</div>
<div class={classes!("category-list", hidden)}>