Other fixes for damage buttons from chat
This commit is contained in:
+92
-21
@@ -2161,34 +2161,66 @@ i.lethalfantasy {
|
||||
color: #d4af37;
|
||||
}
|
||||
.lethalfantasy .attack-result .attack-result-damage {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 6px;
|
||||
justify-content: center;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 8px;
|
||||
}
|
||||
.lethalfantasy .attack-result .attack-result-damage.single-btn {
|
||||
grid-template-columns: 1fr;
|
||||
max-width: 280px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.lethalfantasy .attack-result .attack-result-damage.spell-damage {
|
||||
grid-template-columns: 1fr;
|
||||
width: 100%;
|
||||
}
|
||||
.lethalfantasy .attack-result .attack-result-damage .roll-damage-btn {
|
||||
padding: 8px 10px;
|
||||
padding: 10px 14px;
|
||||
background: linear-gradient(to bottom, #8b0000 0%, #660000 100%);
|
||||
border: 1px solid #ff0000;
|
||||
border: 1px solid #4b0000;
|
||||
border-radius: 6px;
|
||||
color: #f0e6d2;
|
||||
font-weight: 600;
|
||||
font-size: calc(var(--font-size-standard) * 0.9);
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s ease;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
|
||||
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 6px;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
.lethalfantasy .attack-result .attack-result-damage .roll-damage-btn::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: -100%;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
|
||||
transition: left 0.5s;
|
||||
}
|
||||
.lethalfantasy .attack-result .attack-result-damage .roll-damage-btn:hover::before {
|
||||
left: 100%;
|
||||
}
|
||||
.lethalfantasy .attack-result .attack-result-damage .roll-damage-btn i {
|
||||
font-size: calc(var(--font-size-standard) * 1.1);
|
||||
filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.lethalfantasy .attack-result .attack-result-damage .roll-damage-btn:hover {
|
||||
background: linear-gradient(to bottom, #a00000 0%, #7b0000 100%);
|
||||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
|
||||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
|
||||
transform: translateY(-2px);
|
||||
border-color: #5b0000;
|
||||
}
|
||||
.lethalfantasy .attack-result .attack-result-damage .roll-damage-btn:active {
|
||||
transform: translateY(0);
|
||||
}
|
||||
.lethalfantasy .attack-result .attack-result-damage .roll-damage-btn i {
|
||||
margin-right: 6px;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4), inset 0 1px 3px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
.lethalfantasy .equipment-content {
|
||||
font-family: var(--font-primary);
|
||||
@@ -3963,35 +3995,74 @@ i.lethalfantasy {
|
||||
}
|
||||
.message .attack-result .attack-result-damage,
|
||||
.attack-result .attack-result-damage {
|
||||
display: flex;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 8px;
|
||||
justify-content: center;
|
||||
}
|
||||
.message .attack-result .attack-result-damage.single-btn,
|
||||
.attack-result .attack-result-damage.single-btn {
|
||||
grid-template-columns: 1fr;
|
||||
max-width: 280px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.message .attack-result .attack-result-damage.spell-damage,
|
||||
.attack-result .attack-result-damage.spell-damage {
|
||||
grid-template-columns: 1fr;
|
||||
width: 100%;
|
||||
}
|
||||
.message .attack-result .attack-result-damage .roll-damage-btn,
|
||||
.attack-result .attack-result-damage .roll-damage-btn {
|
||||
padding: 10px 16px;
|
||||
padding: 10px 14px;
|
||||
background: linear-gradient(to bottom, #8b0000 0%, #660000 100%);
|
||||
border: 1px solid #ff0000;
|
||||
border: 1px solid #4b0000;
|
||||
border-radius: 6px;
|
||||
color: #f0e6d2;
|
||||
font-weight: 600;
|
||||
font-size: calc(var(--font-size-standard) * 0.9);
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s ease;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
|
||||
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 6px;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
.message .attack-result .attack-result-damage .roll-damage-btn::before,
|
||||
.attack-result .attack-result-damage .roll-damage-btn::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: -100%;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
|
||||
transition: left 0.5s;
|
||||
}
|
||||
.message .attack-result .attack-result-damage .roll-damage-btn:hover::before,
|
||||
.attack-result .attack-result-damage .roll-damage-btn:hover::before {
|
||||
left: 100%;
|
||||
}
|
||||
.message .attack-result .attack-result-damage .roll-damage-btn i,
|
||||
.attack-result .attack-result-damage .roll-damage-btn i {
|
||||
font-size: calc(var(--font-size-standard) * 1.1);
|
||||
filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.message .attack-result .attack-result-damage .roll-damage-btn:hover,
|
||||
.attack-result .attack-result-damage .roll-damage-btn:hover {
|
||||
background: linear-gradient(to bottom, #a00000 0%, #7b0000 100%);
|
||||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
|
||||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
|
||||
transform: translateY(-2px);
|
||||
border-color: #5b0000;
|
||||
}
|
||||
.message .attack-result .attack-result-damage .roll-damage-btn:active,
|
||||
.attack-result .attack-result-damage .roll-damage-btn:active {
|
||||
transform: translateY(0);
|
||||
}
|
||||
.message .attack-result .attack-result-damage .roll-damage-btn i,
|
||||
.attack-result .attack-result-damage .roll-damage-btn i {
|
||||
margin-right: 6px;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4), inset 0 1px 3px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
#token-hud .hp-loss-wrap {
|
||||
position: absolute;
|
||||
|
||||
Reference in New Issue
Block a user