Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
el3ab-Player
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
el3ab-Player
Commits
db2e704d
Commit
db2e704d
authored
Jun 19, 2026
by
Mahmoud Aglan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: unify domino result screen background with game flow
Co-Authored-By:
Claude Opus 4.6
<
noreply@anthropic.com
>
parent
31a8e2dc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
result.js
public/js/modules/domino/scenes/result.js
+1
-1
No files found.
public/js/modules/domino/scenes/result.js
View file @
db2e704d
...
@@ -17,7 +17,7 @@ export function mountResult(el, params) {
...
@@ -17,7 +17,7 @@ export function mountResult(el, params) {
const
titleColor
=
isWin
?
'#4ade80'
:
isDraw
?
'#fbbf24'
:
'#fca5a5'
;
const
titleColor
=
isWin
?
'#4ade80'
:
isDraw
?
'#fbbf24'
:
'#fca5a5'
;
el
.
innerHTML
=
`
el
.
innerHTML
=
`
<div id="result-wrap" style="display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;gap:16px;padding:24px;background:linear-gradient(180deg,#0
81a0c 0%,#0a2a0e
100%);">
<div id="result-wrap" style="display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;gap:16px;padding:24px;background:linear-gradient(180deg,#0
70d14 0%,#0a1420 40%,#0d1a2a
100%);">
<div id="result-icon" style="font-size:56px;animation:bounceIn 0.5s cubic-bezier(0.34,1.56,0.64,1);">
${
icon
}
</div>
<div id="result-icon" style="font-size:56px;animation:bounceIn 0.5s cubic-bezier(0.34,1.56,0.64,1);">
${
icon
}
</div>
<div style="font-size:28px;font-weight:800;color:
${
titleColor
}
;animation:fadeSlideUp 0.4s ease 0.2s both;">
${
title
}
</div>
<div style="font-size:28px;font-weight:800;color:
${
titleColor
}
;animation:fadeSlideUp 0.4s ease 0.2s both;">
${
title
}
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment