mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-16 05:31:07 +01:00
enhance chat messages styles
This commit is contained in:
parent
30229407cd
commit
e139cd4dae
6 changed files with 244 additions and 65 deletions
|
|
@ -1,34 +1,71 @@
|
|||
@import '../../utils/colors.less';
|
||||
|
||||
#interface.theme-light {
|
||||
.daggerheart.chat.damage-summary .token-target-container {
|
||||
&:hover {
|
||||
background: @dark-blue-10;
|
||||
}
|
||||
|
||||
header {
|
||||
.actor-name {
|
||||
color: @dark;
|
||||
}
|
||||
|
||||
&::after {
|
||||
background: @dark-blue;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.daggerheart.chat.damage-summary {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 4px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 5px;
|
||||
padding: 0;
|
||||
|
||||
.token-target-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2px;
|
||||
border: 1px solid light-dark(@dark-blue, @golden);
|
||||
border-radius: 6px;
|
||||
cursor: pointer;
|
||||
transition: all 0.3s ease;
|
||||
border-radius: 6px;
|
||||
|
||||
&:hover {
|
||||
background: @golden-10;
|
||||
}
|
||||
|
||||
header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 2px;
|
||||
border-bottom: 1px solid light-dark(@dark-blue, @golden);
|
||||
gap: 5px;
|
||||
pointer-events: none;
|
||||
position: relative;
|
||||
margin-bottom: 10px;
|
||||
|
||||
img {
|
||||
flex: 0;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
padding: 0 0 0 2px;
|
||||
padding: 0;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
label {
|
||||
flex: 1;
|
||||
text-align: center;
|
||||
padding: 0 2px 0 0;
|
||||
.actor-name {
|
||||
margin: 0;
|
||||
color: @beige;
|
||||
font-size: var(--font-size-20);
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
&::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
bottom: -10px;
|
||||
background: @golden;
|
||||
mask-image: linear-gradient(270deg, transparent 0%, black 50%, transparent 100%);
|
||||
height: 2px;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -36,18 +73,14 @@
|
|||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
gap: 2px;
|
||||
gap: 5px;
|
||||
pointer-events: none;
|
||||
margin-top: 5px;
|
||||
list-style: disc;
|
||||
|
||||
.damage-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 0 2px;
|
||||
gap: 4px;
|
||||
|
||||
label {
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue