dkforest

A forum and chat platform (onion)
git clone https://git.dasho.dev/n0tr1v/dkforest.git
Log | Files | Refs | LICENSE

commit 580801cd56c9a5e516d5946cb16fe6fb2dde09c2
parent 7593cf68940542fb560ca3285b6a01327659d923
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Sun, 24 Dec 2023 14:37:25 -0500

UI

Diffstat:
Mpkg/web/handlers/poker/poker.go | 12++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/pkg/web/handlers/poker/poker.go b/pkg/web/handlers/poker/poker.go @@ -1721,7 +1721,7 @@ func BuildPayloadHtml(g *PokerGame, authUser *database.User, payload any) (html func buildGameDiv(g *PokerGame, authUser *database.User) (html string) { roomID := g.roomID html += `<div id="game">` - html += `<div id="table"><div class="inner"></div></div>` + html += `<div id="table"><div class="inner"></div><div class="cards-outline"></div></div>` html += buildSeatsHtml(g, authUser) html += buildCardsHtml() html += buildActionsDiv(roomID) @@ -2394,7 +2394,6 @@ body { box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px; border: 5px solid #2c692c; } - #table .inner { background-image: url(/public/img/trees.gif); width: 100%; @@ -2407,6 +2406,15 @@ body { background-position: center; margin-top: 45px; } +#table .cards-outline { + position: absolute; + width: 280px; + height: 80px; + border: 3px solid rgba(128, 217, 133, 0.7); + border-radius: 8px; + left: 180px; + top: 100px; +} .timer { background: -webkit-linear-gradient(left, black 50%, #eee 50%);