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
24810eaf
Commit
24810eaf
authored
Jun 19, 2026
by
Mahmoud Aglan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style: refine turn badge sizing and opacity
Co-Authored-By:
Claude Opus 4.6
<
noreply@anthropic.com
>
parent
1050fd15
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
game.js
public/js/modules/backgammon/scenes/game.js
+6
-5
No files found.
public/js/modules/backgammon/scenes/game.js
View file @
24810eaf
...
@@ -762,13 +762,13 @@ function getStyles() {
...
@@ -762,13 +762,13 @@ function getStyles() {
box-shadow:0 4px 24px rgba(0,0,0,0.5),0 0 0 1px rgba(255,255,255,0.04);
box-shadow:0 4px 24px rgba(0,0,0,0.5),0 0 0 1px rgba(255,255,255,0.04);
}
}
.bgg-turn-badge {
.bgg-turn-badge {
position:absolute;top:
8
px;left:50%;transform:translateX(-50%);
position:absolute;top:
6
px;left:50%;transform:translateX(-50%);
font-size:1
1px;font-weight:700;padding:4px 12
px;border-radius:20px;
font-size:1
0px;font-weight:700;padding:3px 10
px;border-radius:20px;
backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
pointer-events:none;transition:all 0.3s;
pointer-events:none;transition:all 0.3s;
opacity:0.9;
}
}
.bgg-turn-mine { background:rgba(16,185,129,0.2);color:#34D399;border:1px solid rgba(52,211,153,0.3); }
.bgg-turn-mine { background:rgba(16,185,129,0.2
5
);color:#34D399;border:1px solid rgba(52,211,153,0.3); }
.bgg-turn-opp { background:rgba(239,68,68,0.1
2
);color:#f87171;border:1px solid rgba(239,68,68,0.2); }
.bgg-turn-opp { background:rgba(239,68,68,0.1
5
);color:#f87171;border:1px solid rgba(239,68,68,0.2); }
/* ── Controls ── */
/* ── Controls ── */
.bgg-controls {
.bgg-controls {
...
@@ -776,6 +776,7 @@ function getStyles() {
...
@@ -776,6 +776,7 @@ function getStyles() {
padding:10px 14px;
padding:10px 14px;
background:linear-gradient(180deg,rgba(0,0,0,0.2),rgba(0,0,0,0.4));
background:linear-gradient(180deg,rgba(0,0,0,0.2),rgba(0,0,0,0.4));
min-height:56px;
min-height:56px;
transition:min-height 0.2s;
}
}
.bgg-roll-btn {
.bgg-roll-btn {
display:flex;align-items:center;gap:6px;
display:flex;align-items:center;gap:6px;
...
...
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