From 2496440301afcdd7d612bda7ec7db13c737dd141 Mon Sep 17 00:00:00 2001 From: WBHarry Date: Tue, 27 Jan 2026 19:35:18 +0100 Subject: [PATCH] Fixed chat --- styles/less/ui/chat/chat.less | 4 +- styles/less/ui/chat/sheet.less | 92 +++++++++++++++++----------------- 2 files changed, 48 insertions(+), 48 deletions(-) diff --git a/styles/less/ui/chat/chat.less b/styles/less/ui/chat/chat.less index 1b1e3c1c..494af5f1 100644 --- a/styles/less/ui/chat/chat.less +++ b/styles/less/ui/chat/chat.less @@ -82,7 +82,7 @@ } } - &:not(.duality .fate) { + &:not(.duality):not(.fate) { .font-20 { color: @dark; } @@ -176,7 +176,6 @@ } &.fate { - &.hope { --text-color: @golden; --bg-color: @golden-40; @@ -194,7 +193,6 @@ background-color: @chat-blue-bg; } } - } &.duality { diff --git a/styles/less/ui/chat/sheet.less b/styles/less/ui/chat/sheet.less index b632db35..66b539b4 100644 --- a/styles/less/ui/chat/sheet.less +++ b/styles/less/ui/chat/sheet.less @@ -3,68 +3,70 @@ .daggerheart.chat-sidebar.theme-light, #interface.theme-light { - .chat-message:not(.duality) .message-content { - color: @dark; + .chat-message:not(.duality):not(.fate) { + .message-content { + color: @dark; - blockquote { - border-left: 5px solid @dark-blue-40; - } + blockquote { + border-left: 5px solid @dark-blue-40; + } - a[href] { - color: @dark-blue; - } - - a[href]:hover, - a[href].active { - font-weight: bold; - text-shadow: 0 0 8px @dark-blue; - } - - button { - background: transparent; - border: 1px solid @dark-blue; - color: @dark-blue; - - &:hover { - background: @light-black; + a[href] { color: @dark-blue; } - &:disabled { + a[href]:hover, + a[href].active { + font-weight: bold; + text-shadow: 0 0 8px @dark-blue; + } + + button { background: transparent; + border: 1px solid @dark-blue; color: @dark-blue; &:hover { + background: @light-black; + color: @dark-blue; + } + + &:disabled { background: transparent; color: @dark-blue; + + &:hover { + background: transparent; + color: @dark-blue; + } + } + + &.reverted { + background: @dark-blue-10; + color: @dark-blue; + border: 1px solid @dark; + &:hover { + background: transparent; + color: @dark-blue; + } + img { + border-radius: 3px; + } } } - &.reverted { - background: @dark-blue-10; + .roll-buttons button { + height: 40px; + font-family: @font-body; + font-weight: bold; + } + + .dice-roll .dice-formula, + .dice-roll .dice-total { + background: @dark-blue-40; color: @dark-blue; - border: 1px solid @dark; - &:hover { - background: transparent; - color: @dark-blue; - } - img { - border-radius: 3px; - } } } - - .roll-buttons button { - height: 40px; - font-family: @font-body; - font-weight: bold; - } - - .dice-roll .dice-formula, - .dice-roll .dice-total { - background: @dark-blue-40; - color: @dark-blue; - } } }