Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
69 changes: 68 additions & 1 deletion src/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -244,17 +244,45 @@
inset 0 1px rgba(255, 242, 181, 0.12);
}

.mail-dialog-report {
height: min(680px, calc(100vh - 4rem));
}

.mail-dialog-header {
@apply flex items-center gap-3 border-b border-[#777354] bg-[#3a4e4c] px-4 py-3;
box-shadow: inset 0 1px rgba(222, 240, 238, 0.12);
}

.mail-dialog-body {
display: flex;
min-height: 0;
flex: 1 1 auto;
flex-direction: column;
overflow: hidden;
background: #172326;
}

.mail-round-log {
display: flex;
min-height: 0;
flex: 1 1 auto;
flex-direction: column;
overflow: hidden;
}

.mail-round-log-list {
min-height: 0;
}

.mail-round-log-list-expanded {
flex: 1 1 auto;
overflow-y: auto;
scrollbar-color: #5e7378 #1c292c;
scrollbar-width: thin;
background: #172326;
}

.mail-round-log-toggle {
@apply w-full shrink-0 border-t border-white/[0.07] bg-white/[0.025] px-3 py-2 text-[9px] font-semibold text-[#b8c3bc] transition-colors hover:bg-white/[0.06] hover:text-white;
}

.mail-dialog-footer {
Expand Down Expand Up @@ -523,6 +551,41 @@
box-shadow: inset 0 0 0 1px rgba(191, 219, 254, 0.08);
}

.battle-casualty-composition {
@apply flex flex-wrap gap-1.5;
}

.battle-casualty-chip {
@apply flex min-w-[6.25rem] items-center gap-1.5 border border-red-200/15 bg-black/[0.14] p-1 pr-1.5 text-red-100/90;
}

.battle-casualty-chip .unit-token,
.battle-casualty-kind-token {
@apply flex h-7 w-7 shrink-0 items-center justify-center text-red-100/80;
border: 1px solid rgba(254, 202, 202, 0.16);
background: rgba(72, 32, 32, 0.22);
box-shadow: inset 0 1px rgba(254, 226, 226, 0.06);
}

.battle-casualty-chip .unit-token > svg,
.battle-casualty-kind-token > svg {
@apply h-5 w-5;
}

.battle-casualty-chip .unit-tier {
@apply min-w-3 text-[6px] leading-[10px];
background: #281b1c;
border-color: rgba(254, 202, 202, 0.18);
}

.battle-casualty-chip strong {
@apply block text-[10px] tabular-nums leading-none text-red-100;
}

.battle-casualty-chip > span:last-child > span {
@apply mt-0.5 block truncate text-[7px] leading-none text-[#9b8d8b];
}

.structure-token {
@apply relative flex h-11 w-11 shrink-0 items-center justify-center text-[#d8e5e2];
border: 1px solid #62767b;
Expand Down Expand Up @@ -608,6 +671,10 @@
max-height: calc(100vh - 1rem);
}

.mail-dialog-report {
height: calc(100vh - 1rem);
}

.mail-dialog-footer {
@apply block;
}
Expand Down
Loading
Loading