fixed text shadow ew, categories highlight
This commit is contained in:
parent
f3f4c43e81
commit
251d72e2a0
|
|
@ -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%);
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)}>
|
||||
|
|
|
|||
Loading…
Reference in New Issue