commit a5087743cdcc4c0bbe63b00949ec334ed591814b
parent d064afd4f21a8cf4e20b835b2fcc38acace82e91
Author: n0tr1v <n0tr1v@protonmail.com>
Date: Tue, 19 Dec 2023 22:44:23 -0500
ui
Diffstat:
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/pkg/web/handlers/poker.go b/pkg/web/handlers/poker.go
@@ -400,7 +400,7 @@ func PokerLogsHandler(c echo.Context) error {
defer usersStreamsManager.Inst.Remove(authUser.ID, roomLogsTopic)
send(hutils.HtmlCssReset)
- send(`<style>body { background-color: #ccc; }</style><div style="display:flex;flex-direction:column-reverse;">`)
+ send(`<style>body { background-color: #444; color: #ddd; padding: 3px; }</style><div style="display:flex;flex-direction:column-reverse;">`)
for _, evt := range g.GetLogs() {
send(fmt.Sprintf(`<div>%s</div>`, evt.Message))
}
diff --git a/pkg/web/handlers/poker/poker.go b/pkg/web/handlers/poker/poker.go
@@ -2190,9 +2190,9 @@ body {
border-radius: 3px;
}
#chat-div { position: absolute; bottom: 0px; right: 243px; width: 557px; height: 250px; }
-#chat-top-bar { height: 57px; width: 100%; }
+#chat-top-bar { height: 57px; width: 100%; background-color: #222; }
#chat-content { height: 193px; width: 100%; background-color: #222; }
-#eventLogs { position: absolute; bottom: 0px; right: 0px; width: 243px; height: 193px; background-color: #ccc; }
+#eventLogs { position: absolute; bottom: 0px; right: 0px; width: 243px; height: 250px; background-color: #444; }
#dealerToken { top: 125px; left: 714px; width: 20px; height: 20px; background-color: #ccc; border: 1px solid #333; border-radius: 11px; position: absolute; }
#dealerToken .inner { padding: 2px 4px; }
#dealerToken .inner:before { content: "D"; }