Import initial du site depuis le serveur
This commit is contained in:
+207
-207
@@ -1,208 +1,208 @@
|
||||
/* config.css - Version Poker PAF Harmonisée */
|
||||
:root {
|
||||
--table-green: radial-gradient(circle, #277d46 0%, #1a5e33 100%);
|
||||
--poker-border: #2c1b18;
|
||||
--gold: #d4af37;
|
||||
--gold-light: #f9e27d;
|
||||
--dark-bg: #0a0a0a;
|
||||
--white: #ffffff;
|
||||
--wood-dark: #1a0f0d;
|
||||
--danger: #b71c1c;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: var(--dark-bg);
|
||||
background-image: radial-gradient(circle at center, #1a1a1a 0%, #050505 100%);
|
||||
color: var(--white);
|
||||
font-family: 'Segoe UI', Roboto, sans-serif;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
min-height: 100vh;
|
||||
margin: 0;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
/* --- LE CONTENEUR (Exactement comme l'accueil) --- */
|
||||
.container {
|
||||
background: var(--table-green);
|
||||
padding: 40px 50px;
|
||||
border-radius: 40px; /* Carré arrondi comme l'accueil */
|
||||
border: 15px solid var(--poker-border);
|
||||
box-shadow: 0 25px 50px rgba(0,0,0,0.9), inset 0 0 40px rgba(0,0,0,0.6);
|
||||
width: 100%;
|
||||
max-width: 500px;
|
||||
position: relative;
|
||||
outline: 2px solid #3d2b27;
|
||||
}
|
||||
|
||||
/* --- LE LISERÉ BLANC --- */
|
||||
.container::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
left: 10px;
|
||||
right: 10px;
|
||||
bottom: 10px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.15);
|
||||
border-radius: 30px;
|
||||
pointer-events: none;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
h1 {
|
||||
color: var(--gold);
|
||||
text-transform: uppercase;
|
||||
font-size: 1.8rem;
|
||||
margin-bottom: 30px;
|
||||
text-align: center;
|
||||
letter-spacing: 1px;
|
||||
text-shadow: 2px 2px 0px rgba(0,0,0,0.8);
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
/* --- FORMULAIRE ET INPUTS --- */
|
||||
form {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
label {
|
||||
display: block;
|
||||
color: var(--gold);
|
||||
font-weight: bold;
|
||||
margin-bottom: 8px;
|
||||
text-transform: uppercase;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
label.info {
|
||||
text-transform: none;
|
||||
font-size: 0.8rem;
|
||||
color: rgba(255,255,255,0.5);
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
input[type="number"],
|
||||
input[type="text"] {
|
||||
width: 100%;
|
||||
padding: 12px;
|
||||
margin-bottom: 20px;
|
||||
border: 2px solid rgba(212, 175, 55, 0.5);
|
||||
border-radius: 10px;
|
||||
background: rgba(0, 0, 0, 0.3);
|
||||
color: white;
|
||||
font-size: 1rem;
|
||||
transition: border-color 0.3s;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
outline: none;
|
||||
border-color: var(--gold);
|
||||
background: rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
/* --- LIGNES JOUEURS --- */
|
||||
.player-row {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
margin-bottom: 10px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.player-row p {
|
||||
color: var(--gold);
|
||||
font-weight: bold;
|
||||
margin: 0;
|
||||
min-width: 20px;
|
||||
}
|
||||
|
||||
.player-row input {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/* --- BOUTONS --- */
|
||||
button, input[type="submit"] {
|
||||
cursor: pointer;
|
||||
font-weight: bold;
|
||||
transition: all 0.3s;
|
||||
border: none;
|
||||
}
|
||||
|
||||
/* Ajouter un joueur */
|
||||
button[type="button"] {
|
||||
background-color: rgba(0,0,0,0.4);
|
||||
color: var(--white);
|
||||
border: 1px solid rgba(255,255,255,0.2);
|
||||
padding: 10px 15px;
|
||||
border-radius: 8px;
|
||||
margin: 10px 0 20px 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
button[type="button"]:hover {
|
||||
background-color: rgba(255,255,255,0.1);
|
||||
border-color: var(--white);
|
||||
}
|
||||
|
||||
/* Poubelle */
|
||||
.player-row button {
|
||||
background-color: var(--danger);
|
||||
color: white;
|
||||
padding: 10px;
|
||||
border-radius: 8px;
|
||||
width: auto;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Bouton Démarrer (Gros bouton doré comme l'accueil) */
|
||||
input[type="submit"] {
|
||||
width: 100%;
|
||||
background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
|
||||
color: var(--wood-dark);
|
||||
padding: 18px;
|
||||
font-size: 1.2rem;
|
||||
border-radius: 50px;
|
||||
margin-top: 10px;
|
||||
box-shadow: 0 8px 0px #927521, 0 15px 20px rgba(0,0,0,0.4);
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
input[type="submit"]:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 10px 0px #927521, 0 20px 25px rgba(0,0,0,0.5);
|
||||
}
|
||||
|
||||
/* Bouton Retour */
|
||||
.btn-back {
|
||||
position: absolute;
|
||||
top: 25px;
|
||||
left: 30px;
|
||||
color: var(--gold);
|
||||
text-decoration: none;
|
||||
font-weight: bold;
|
||||
font-size: 0.8rem;
|
||||
background: none !important;
|
||||
border: none !important;
|
||||
padding: 0 !important;
|
||||
z-index: 10;
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
.btn-back:hover {
|
||||
opacity: 1;
|
||||
transform: translateX(-3px);
|
||||
}
|
||||
|
||||
/* --- ADAPTATION MOBILE --- */
|
||||
@media (max-width: 600px) {
|
||||
body { align-items: flex-start; }
|
||||
.container {
|
||||
padding: 30px 20px;
|
||||
border-width: 10px;
|
||||
border-radius: 30px;
|
||||
}
|
||||
.container::before { top: 7px; left: 7px; right: 7px; bottom: 7px; }
|
||||
.btn-back { position: relative; top: 0; left: 0; margin-bottom: 20px; }
|
||||
/* config.css - Version Poker PAF Harmonisée */
|
||||
:root {
|
||||
--table-green: radial-gradient(circle, #277d46 0%, #1a5e33 100%);
|
||||
--poker-border: #2c1b18;
|
||||
--gold: #d4af37;
|
||||
--gold-light: #f9e27d;
|
||||
--dark-bg: #0a0a0a;
|
||||
--white: #ffffff;
|
||||
--wood-dark: #1a0f0d;
|
||||
--danger: #b71c1c;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: var(--dark-bg);
|
||||
background-image: radial-gradient(circle at center, #1a1a1a 0%, #050505 100%);
|
||||
color: var(--white);
|
||||
font-family: 'Segoe UI', Roboto, sans-serif;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
min-height: 100vh;
|
||||
margin: 0;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
/* --- LE CONTENEUR (Exactement comme l'accueil) --- */
|
||||
.container {
|
||||
background: var(--table-green);
|
||||
padding: 40px 50px;
|
||||
border-radius: 40px; /* Carré arrondi comme l'accueil */
|
||||
border: 15px solid var(--poker-border);
|
||||
box-shadow: 0 25px 50px rgba(0,0,0,0.9), inset 0 0 40px rgba(0,0,0,0.6);
|
||||
width: 100%;
|
||||
max-width: 500px;
|
||||
position: relative;
|
||||
outline: 2px solid #3d2b27;
|
||||
}
|
||||
|
||||
/* --- LE LISERÉ BLANC --- */
|
||||
.container::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
left: 10px;
|
||||
right: 10px;
|
||||
bottom: 10px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.15);
|
||||
border-radius: 30px;
|
||||
pointer-events: none;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
h1 {
|
||||
color: var(--gold);
|
||||
text-transform: uppercase;
|
||||
font-size: 1.8rem;
|
||||
margin-bottom: 30px;
|
||||
text-align: center;
|
||||
letter-spacing: 1px;
|
||||
text-shadow: 2px 2px 0px rgba(0,0,0,0.8);
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
/* --- FORMULAIRE ET INPUTS --- */
|
||||
form {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
label {
|
||||
display: block;
|
||||
color: var(--gold);
|
||||
font-weight: bold;
|
||||
margin-bottom: 8px;
|
||||
text-transform: uppercase;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
label.info {
|
||||
text-transform: none;
|
||||
font-size: 0.8rem;
|
||||
color: rgba(255,255,255,0.5);
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
input[type="number"],
|
||||
input[type="text"] {
|
||||
width: 100%;
|
||||
padding: 12px;
|
||||
margin-bottom: 20px;
|
||||
border: 2px solid rgba(212, 175, 55, 0.5);
|
||||
border-radius: 10px;
|
||||
background: rgba(0, 0, 0, 0.3);
|
||||
color: white;
|
||||
font-size: 1rem;
|
||||
transition: border-color 0.3s;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
outline: none;
|
||||
border-color: var(--gold);
|
||||
background: rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
/* --- LIGNES JOUEURS --- */
|
||||
.player-row {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
margin-bottom: 10px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.player-row p {
|
||||
color: var(--gold);
|
||||
font-weight: bold;
|
||||
margin: 0;
|
||||
min-width: 20px;
|
||||
}
|
||||
|
||||
.player-row input {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/* --- BOUTONS --- */
|
||||
button, input[type="submit"] {
|
||||
cursor: pointer;
|
||||
font-weight: bold;
|
||||
transition: all 0.3s;
|
||||
border: none;
|
||||
}
|
||||
|
||||
/* Ajouter un joueur */
|
||||
button[type="button"] {
|
||||
background-color: rgba(0,0,0,0.4);
|
||||
color: var(--white);
|
||||
border: 1px solid rgba(255,255,255,0.2);
|
||||
padding: 10px 15px;
|
||||
border-radius: 8px;
|
||||
margin: 10px 0 20px 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
button[type="button"]:hover {
|
||||
background-color: rgba(255,255,255,0.1);
|
||||
border-color: var(--white);
|
||||
}
|
||||
|
||||
/* Poubelle */
|
||||
.player-row button {
|
||||
background-color: var(--danger);
|
||||
color: white;
|
||||
padding: 10px;
|
||||
border-radius: 8px;
|
||||
width: auto;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Bouton Démarrer (Gros bouton doré comme l'accueil) */
|
||||
input[type="submit"] {
|
||||
width: 100%;
|
||||
background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
|
||||
color: var(--wood-dark);
|
||||
padding: 18px;
|
||||
font-size: 1.2rem;
|
||||
border-radius: 50px;
|
||||
margin-top: 10px;
|
||||
box-shadow: 0 8px 0px #927521, 0 15px 20px rgba(0,0,0,0.4);
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
input[type="submit"]:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 10px 0px #927521, 0 20px 25px rgba(0,0,0,0.5);
|
||||
}
|
||||
|
||||
/* Bouton Retour */
|
||||
.btn-back {
|
||||
position: absolute;
|
||||
top: 25px;
|
||||
left: 30px;
|
||||
color: var(--gold);
|
||||
text-decoration: none;
|
||||
font-weight: bold;
|
||||
font-size: 0.8rem;
|
||||
background: none !important;
|
||||
border: none !important;
|
||||
padding: 0 !important;
|
||||
z-index: 10;
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
.btn-back:hover {
|
||||
opacity: 1;
|
||||
transform: translateX(-3px);
|
||||
}
|
||||
|
||||
/* --- ADAPTATION MOBILE --- */
|
||||
@media (max-width: 600px) {
|
||||
body { align-items: flex-start; }
|
||||
.container {
|
||||
padding: 30px 20px;
|
||||
border-width: 10px;
|
||||
border-radius: 30px;
|
||||
}
|
||||
.container::before { top: 7px; left: 7px; right: 7px; bottom: 7px; }
|
||||
.btn-back { position: relative; top: 0; left: 0; margin-bottom: 20px; }
|
||||
}
|
||||
+761
-761
File diff suppressed because it is too large
Load Diff
+230
-230
@@ -1,231 +1,231 @@
|
||||
/* --- VARIABLES GLOBALES --- */
|
||||
:root {
|
||||
--table-green: radial-gradient(circle, #277d46 0%, #1a5e33 100%);
|
||||
--table-dark: radial-gradient(circle, #1a1a1a 0%, #0a0a0a 100%); /* Couleur pour la table sombre */
|
||||
--poker-border: #2c1b18;
|
||||
--gold: #d4af37;
|
||||
--gold-light: #f9e27d;
|
||||
--dark-bg: #0a0a0a;
|
||||
--white: #ffffff;
|
||||
--wood-dark: #1a0f0d;
|
||||
}
|
||||
|
||||
/* --- STRUCTURE DE LA PAGE --- */
|
||||
body {
|
||||
background-color: var(--dark-bg);
|
||||
background-image: radial-gradient(circle at center, #1a1a1a 0%, #050505 100%);
|
||||
color: var(--white);
|
||||
font-family: 'Segoe UI', Roboto, sans-serif;
|
||||
margin: 0;
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.main-wrapper {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
padding: 40px 20px;
|
||||
width: 100%;
|
||||
max-width: 1000px; /* Réduit pour garder une forme de table sympa */
|
||||
}
|
||||
|
||||
/* --- STYLE COMMUN DES TABLES --- */
|
||||
.poker-table {
|
||||
position: relative;
|
||||
padding: 30px;
|
||||
border-radius: 80px;
|
||||
border: 15px solid var(--poker-border);
|
||||
box-shadow: 0 25px 50px rgba(0,0,0,0.9), inset 0 0 40px rgba(0,0,0,0.6);
|
||||
width: 100%;
|
||||
outline: 2px solid #3d2b27;
|
||||
margin-bottom: 40px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.poker-table::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 12px; left: 12px; right: 12px; bottom: 12px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||
border-radius: 65px;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.table-inner {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* --- SPECIFICITÉS TABLE HEADER (SOMBRE) --- */
|
||||
.table-header {
|
||||
background: var(--table-dark);
|
||||
max-width: 800px;
|
||||
border-color: #1a1a1a; /* Bordure plus noire pour le header */
|
||||
}
|
||||
|
||||
.table-header h1 {
|
||||
color: var(--gold);
|
||||
text-transform: uppercase;
|
||||
font-size: 1.2rem;
|
||||
margin: 0 0 10px 0;
|
||||
letter-spacing: 2px;
|
||||
}
|
||||
|
||||
/* --- SPECIFICITÉS TABLE MAIN (VERTE) --- */
|
||||
.table-main {
|
||||
background: var(--table-green);
|
||||
}
|
||||
|
||||
.tables-hall {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
/* --- CENTRAGE DU BOUTON --- */
|
||||
.button-center-wrapper {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
padding: 20px 0 40px 0; /* Espace le bouton du titre de la liste */
|
||||
}
|
||||
|
||||
/* --- LOGO --- */
|
||||
.logo-paf {
|
||||
width: 220px;
|
||||
height: auto;
|
||||
filter: drop-shadow(0 0 15px rgba(180, 50, 255, 0.6));
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
|
||||
.logo-paf:hover {
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
/* --- BOUTON CRÉER --- */
|
||||
.btn-main-create {
|
||||
background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
|
||||
color: var(--wood-dark);
|
||||
padding: 18px 45px;
|
||||
font-weight: 900;
|
||||
font-size: 1.2rem;
|
||||
border-radius: 50px;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
||||
box-shadow: 0 8px 0px #927521, 0 15px 20px rgba(0,0,0,0.4);
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.btn-main-create:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 10px 0px #927521, 0 20px 25px rgba(0,0,0,0.5);
|
||||
}
|
||||
|
||||
/* --- TITRES ET LISTES --- */
|
||||
.table-main h2 {
|
||||
font-size: 1.1rem;
|
||||
color: rgba(255,255,255,0.7);
|
||||
text-transform: uppercase;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
#games_list ul {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
max-width: 500px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.mon-accordeon {
|
||||
background-color: rgba(0,0,0,0.5);
|
||||
border-radius: 15px;
|
||||
border: 2px solid #333;
|
||||
margin-bottom: 12px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
summary {
|
||||
padding: 12px 20px;
|
||||
color: var(--gold);
|
||||
font-weight: bold;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.container-parent {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
background: rgba(0,0,0,0.2);
|
||||
max-height: 0;
|
||||
opacity: 0;
|
||||
overflow: hidden;
|
||||
transition: all 0.4s ease;
|
||||
}
|
||||
|
||||
details[open] .container-parent {
|
||||
max-height: 500px;
|
||||
opacity: 1;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
/* --- ZONES INTERNES ACCORDÉON --- */
|
||||
|
||||
.left { flex: 1.2; border-left: 2px solid rgba(212, 175, 55, 0.2); padding-left: 15px; }
|
||||
|
||||
.left p { margin: 3px 0; font-size: 0.9rem; color: #eee; }
|
||||
|
||||
|
||||
|
||||
.right { flex: 1; display: flex; flex-direction: column; }
|
||||
|
||||
.right p { font-size: 0.8rem; color: var(--gold); margin-bottom: 10px; }
|
||||
|
||||
|
||||
|
||||
.btn-join-list, .btn-admin-join-list {
|
||||
|
||||
width: 100%;
|
||||
|
||||
margin-bottom: 8px;
|
||||
|
||||
padding: 10px;
|
||||
|
||||
border-radius: 6px;
|
||||
|
||||
border: 1px solid var(--gold);
|
||||
|
||||
background: transparent;
|
||||
|
||||
color: var(--gold);
|
||||
|
||||
font-weight: bold;
|
||||
|
||||
cursor: pointer;
|
||||
|
||||
text-transform: uppercase;
|
||||
|
||||
font-size: 0.7rem;
|
||||
|
||||
transition: 0.2s;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
.btn-join-list:hover { background: var(--gold); color: black; }
|
||||
|
||||
.btn-admin-join-list { border-color: rgba(255,255,255,0.3); color: rgba(255,255,255,0.5); }
|
||||
|
||||
/* --- RESPONSIVE --- */
|
||||
@media (max-width: 600px) {
|
||||
.poker-table { border-radius: 40px; padding: 15px; border-width: 10px; }
|
||||
.logo-paf { width: 160px; }
|
||||
.btn-main-create { padding: 12px 25px; font-size: 1rem; }
|
||||
/* --- VARIABLES GLOBALES --- */
|
||||
:root {
|
||||
--table-green: radial-gradient(circle, #277d46 0%, #1a5e33 100%);
|
||||
--table-dark: radial-gradient(circle, #1a1a1a 0%, #0a0a0a 100%); /* Couleur pour la table sombre */
|
||||
--poker-border: #2c1b18;
|
||||
--gold: #d4af37;
|
||||
--gold-light: #f9e27d;
|
||||
--dark-bg: #0a0a0a;
|
||||
--white: #ffffff;
|
||||
--wood-dark: #1a0f0d;
|
||||
}
|
||||
|
||||
/* --- STRUCTURE DE LA PAGE --- */
|
||||
body {
|
||||
background-color: var(--dark-bg);
|
||||
background-image: radial-gradient(circle at center, #1a1a1a 0%, #050505 100%);
|
||||
color: var(--white);
|
||||
font-family: 'Segoe UI', Roboto, sans-serif;
|
||||
margin: 0;
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.main-wrapper {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
padding: 40px 20px;
|
||||
width: 100%;
|
||||
max-width: 1000px; /* Réduit pour garder une forme de table sympa */
|
||||
}
|
||||
|
||||
/* --- STYLE COMMUN DES TABLES --- */
|
||||
.poker-table {
|
||||
position: relative;
|
||||
padding: 30px;
|
||||
border-radius: 80px;
|
||||
border: 15px solid var(--poker-border);
|
||||
box-shadow: 0 25px 50px rgba(0,0,0,0.9), inset 0 0 40px rgba(0,0,0,0.6);
|
||||
width: 100%;
|
||||
outline: 2px solid #3d2b27;
|
||||
margin-bottom: 40px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.poker-table::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 12px; left: 12px; right: 12px; bottom: 12px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||
border-radius: 65px;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.table-inner {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* --- SPECIFICITÉS TABLE HEADER (SOMBRE) --- */
|
||||
.table-header {
|
||||
background: var(--table-dark);
|
||||
max-width: 800px;
|
||||
border-color: #1a1a1a; /* Bordure plus noire pour le header */
|
||||
}
|
||||
|
||||
.table-header h1 {
|
||||
color: var(--gold);
|
||||
text-transform: uppercase;
|
||||
font-size: 1.2rem;
|
||||
margin: 0 0 10px 0;
|
||||
letter-spacing: 2px;
|
||||
}
|
||||
|
||||
/* --- SPECIFICITÉS TABLE MAIN (VERTE) --- */
|
||||
.table-main {
|
||||
background: var(--table-green);
|
||||
}
|
||||
|
||||
.tables-hall {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
/* --- CENTRAGE DU BOUTON --- */
|
||||
.button-center-wrapper {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
padding: 20px 0 40px 0; /* Espace le bouton du titre de la liste */
|
||||
}
|
||||
|
||||
/* --- LOGO --- */
|
||||
.logo-paf {
|
||||
width: 220px;
|
||||
height: auto;
|
||||
filter: drop-shadow(0 0 15px rgba(180, 50, 255, 0.6));
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
|
||||
.logo-paf:hover {
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
/* --- BOUTON CRÉER --- */
|
||||
.btn-main-create {
|
||||
background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
|
||||
color: var(--wood-dark);
|
||||
padding: 18px 45px;
|
||||
font-weight: 900;
|
||||
font-size: 1.2rem;
|
||||
border-radius: 50px;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
||||
box-shadow: 0 8px 0px #927521, 0 15px 20px rgba(0,0,0,0.4);
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.btn-main-create:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 10px 0px #927521, 0 20px 25px rgba(0,0,0,0.5);
|
||||
}
|
||||
|
||||
/* --- TITRES ET LISTES --- */
|
||||
.table-main h2 {
|
||||
font-size: 1.1rem;
|
||||
color: rgba(255,255,255,0.7);
|
||||
text-transform: uppercase;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
#games_list ul {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
max-width: 500px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.mon-accordeon {
|
||||
background-color: rgba(0,0,0,0.5);
|
||||
border-radius: 15px;
|
||||
border: 2px solid #333;
|
||||
margin-bottom: 12px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
summary {
|
||||
padding: 12px 20px;
|
||||
color: var(--gold);
|
||||
font-weight: bold;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.container-parent {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
background: rgba(0,0,0,0.2);
|
||||
max-height: 0;
|
||||
opacity: 0;
|
||||
overflow: hidden;
|
||||
transition: all 0.4s ease;
|
||||
}
|
||||
|
||||
details[open] .container-parent {
|
||||
max-height: 500px;
|
||||
opacity: 1;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
/* --- ZONES INTERNES ACCORDÉON --- */
|
||||
|
||||
.left { flex: 1.2; border-left: 2px solid rgba(212, 175, 55, 0.2); padding-left: 15px; }
|
||||
|
||||
.left p { margin: 3px 0; font-size: 0.9rem; color: #eee; }
|
||||
|
||||
|
||||
|
||||
.right { flex: 1; display: flex; flex-direction: column; }
|
||||
|
||||
.right p { font-size: 0.8rem; color: var(--gold); margin-bottom: 10px; }
|
||||
|
||||
|
||||
|
||||
.btn-join-list, .btn-admin-join-list {
|
||||
|
||||
width: 100%;
|
||||
|
||||
margin-bottom: 8px;
|
||||
|
||||
padding: 10px;
|
||||
|
||||
border-radius: 6px;
|
||||
|
||||
border: 1px solid var(--gold);
|
||||
|
||||
background: transparent;
|
||||
|
||||
color: var(--gold);
|
||||
|
||||
font-weight: bold;
|
||||
|
||||
cursor: pointer;
|
||||
|
||||
text-transform: uppercase;
|
||||
|
||||
font-size: 0.7rem;
|
||||
|
||||
transition: 0.2s;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
.btn-join-list:hover { background: var(--gold); color: black; }
|
||||
|
||||
.btn-admin-join-list { border-color: rgba(255,255,255,0.3); color: rgba(255,255,255,0.5); }
|
||||
|
||||
/* --- RESPONSIVE --- */
|
||||
@media (max-width: 600px) {
|
||||
.poker-table { border-radius: 40px; padding: 15px; border-width: 10px; }
|
||||
.logo-paf { width: 160px; }
|
||||
.btn-main-create { padding: 12px 25px; font-size: 1rem; }
|
||||
}
|
||||
+135
-135
@@ -1,136 +1,136 @@
|
||||
/* Importation d'une police élégante */
|
||||
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Playfair+Display:wght@700&display=swap');
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
height: 100vh;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background: radial-gradient(circle at center, #1a2a23 0%, #0a0f0d 100%);
|
||||
font-family: 'Montserrat', sans-serif;
|
||||
color: #e0e0e0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* Background décoratif (Optionnel : petits motifs de cartes) */
|
||||
body::before {
|
||||
content: "♠ ♥ ♣ ♦";
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
font-size: 20rem;
|
||||
opacity: 0.03;
|
||||
z-index: 0;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
/* Conteneur principal */
|
||||
.login-container {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
background: rgba(255, 255, 255, 0.03);
|
||||
backdrop-filter: blur(15px);
|
||||
border: 1px solid rgba(255, 215, 0, 0.2);
|
||||
padding: 40px;
|
||||
border-radius: 20px;
|
||||
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
|
||||
width: 100%;
|
||||
max-width: 400px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-family: 'Playfair Display', serif;
|
||||
font-size: 2.5rem;
|
||||
color: #f1c40f; /* Or */
|
||||
margin-bottom: 30px;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 3px;
|
||||
text-shadow: 0 2px 4px rgba(0,0,0,0.5);
|
||||
}
|
||||
|
||||
/* Formulaire */
|
||||
#admin-login-form {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
label {
|
||||
font-size: 0.9rem;
|
||||
color: #bdc3c7;
|
||||
margin-bottom: -10px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* Input password style premium */
|
||||
input[type="password"] {
|
||||
background: rgba(0, 0, 0, 0.4);
|
||||
border: 2px solid #2c3e50;
|
||||
border-radius: 10px;
|
||||
padding: 15px;
|
||||
color: #fff;
|
||||
font-size: 1.1rem;
|
||||
text-align: center;
|
||||
transition: all 0.3s ease;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
input[type="password"]:focus {
|
||||
border-color: #f1c40f;
|
||||
box-shadow: 0 0 15px rgba(241, 196, 15, 0.2);
|
||||
background: rgba(0, 0, 0, 0.6);
|
||||
}
|
||||
|
||||
/* Bouton Login */
|
||||
button {
|
||||
background: linear-gradient(135deg, #f1c40f 0%, #d4ac0d 100%);
|
||||
color: #1a1a1a;
|
||||
border: none;
|
||||
padding: 15px;
|
||||
border-radius: 10px;
|
||||
font-weight: bold;
|
||||
font-size: 1.1rem;
|
||||
cursor: pointer;
|
||||
text-transform: uppercase;
|
||||
transition: all 0.3s ease;
|
||||
box-shadow: 0 4px 15px rgba(241, 196, 15, 0.3);
|
||||
}
|
||||
|
||||
button:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 6px 20px rgba(241, 196, 15, 0.4);
|
||||
filter: brightness(1.1);
|
||||
}
|
||||
|
||||
button:active {
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
/* Animation d'entrée */
|
||||
.login-container {
|
||||
animation: fadeInContainer 0.8s ease-out;
|
||||
}
|
||||
|
||||
@keyframes fadeInContainer {
|
||||
from { opacity: 0; transform: translateY(20px); }
|
||||
to { opacity: 1; transform: translateY(0); }
|
||||
}
|
||||
|
||||
.btn-back-home {
|
||||
display: inline-block;
|
||||
margin-top: 15px;
|
||||
color: #4da6ff;
|
||||
opacity: 0.6;
|
||||
text-decoration: none;
|
||||
font-size: 0.8rem;
|
||||
transition: opacity 0.2s;
|
||||
}
|
||||
|
||||
.btn-back-home:hover {
|
||||
opacity: 1;
|
||||
text-decoration: underline;
|
||||
/* Importation d'une police élégante */
|
||||
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Playfair+Display:wght@700&display=swap');
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
height: 100vh;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background: radial-gradient(circle at center, #1a2a23 0%, #0a0f0d 100%);
|
||||
font-family: 'Montserrat', sans-serif;
|
||||
color: #e0e0e0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* Background décoratif (Optionnel : petits motifs de cartes) */
|
||||
body::before {
|
||||
content: "♠ ♥ ♣ ♦";
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
font-size: 20rem;
|
||||
opacity: 0.03;
|
||||
z-index: 0;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
/* Conteneur principal */
|
||||
.login-container {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
background: rgba(255, 255, 255, 0.03);
|
||||
backdrop-filter: blur(15px);
|
||||
border: 1px solid rgba(255, 215, 0, 0.2);
|
||||
padding: 40px;
|
||||
border-radius: 20px;
|
||||
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
|
||||
width: 100%;
|
||||
max-width: 400px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-family: 'Playfair Display', serif;
|
||||
font-size: 2.5rem;
|
||||
color: #f1c40f; /* Or */
|
||||
margin-bottom: 30px;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 3px;
|
||||
text-shadow: 0 2px 4px rgba(0,0,0,0.5);
|
||||
}
|
||||
|
||||
/* Formulaire */
|
||||
#admin-login-form {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
label {
|
||||
font-size: 0.9rem;
|
||||
color: #bdc3c7;
|
||||
margin-bottom: -10px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* Input password style premium */
|
||||
input[type="password"] {
|
||||
background: rgba(0, 0, 0, 0.4);
|
||||
border: 2px solid #2c3e50;
|
||||
border-radius: 10px;
|
||||
padding: 15px;
|
||||
color: #fff;
|
||||
font-size: 1.1rem;
|
||||
text-align: center;
|
||||
transition: all 0.3s ease;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
input[type="password"]:focus {
|
||||
border-color: #f1c40f;
|
||||
box-shadow: 0 0 15px rgba(241, 196, 15, 0.2);
|
||||
background: rgba(0, 0, 0, 0.6);
|
||||
}
|
||||
|
||||
/* Bouton Login */
|
||||
button {
|
||||
background: linear-gradient(135deg, #f1c40f 0%, #d4ac0d 100%);
|
||||
color: #1a1a1a;
|
||||
border: none;
|
||||
padding: 15px;
|
||||
border-radius: 10px;
|
||||
font-weight: bold;
|
||||
font-size: 1.1rem;
|
||||
cursor: pointer;
|
||||
text-transform: uppercase;
|
||||
transition: all 0.3s ease;
|
||||
box-shadow: 0 4px 15px rgba(241, 196, 15, 0.3);
|
||||
}
|
||||
|
||||
button:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 6px 20px rgba(241, 196, 15, 0.4);
|
||||
filter: brightness(1.1);
|
||||
}
|
||||
|
||||
button:active {
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
/* Animation d'entrée */
|
||||
.login-container {
|
||||
animation: fadeInContainer 0.8s ease-out;
|
||||
}
|
||||
|
||||
@keyframes fadeInContainer {
|
||||
from { opacity: 0; transform: translateY(20px); }
|
||||
to { opacity: 1; transform: translateY(0); }
|
||||
}
|
||||
|
||||
.btn-back-home {
|
||||
display: inline-block;
|
||||
margin-top: 15px;
|
||||
color: #4da6ff;
|
||||
opacity: 0.6;
|
||||
text-decoration: none;
|
||||
font-size: 0.8rem;
|
||||
transition: opacity 0.2s;
|
||||
}
|
||||
|
||||
.btn-back-home:hover {
|
||||
opacity: 1;
|
||||
text-decoration: underline;
|
||||
}
|
||||
+621
-621
File diff suppressed because it is too large
Load Diff
+152
-152
@@ -1,152 +1,152 @@
|
||||
/* --- gameMobile.css Refondu --- */
|
||||
|
||||
@media screen and (max-width: 900px) {
|
||||
|
||||
/* 1. Structure Globale : On bloque le défilement et on utilise tout l'écran */
|
||||
body {
|
||||
height: 100dvh; /* Utilise la hauteur réelle dynamique sur mobile */
|
||||
overflow: hidden;
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.game-container {
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
/* 2. La Table : Plus ronde (Arène) */
|
||||
.table-container {
|
||||
flex: 1;
|
||||
padding: 40px 10px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.poker-table {
|
||||
width: 100%;
|
||||
max-width: 340px;
|
||||
height: 240px; /* Un peu plus haute pour l'aspect rond */
|
||||
border-width: 10px;
|
||||
border-radius: 140px; /* Plus grand rayon pour arrondir les coins */
|
||||
box-shadow: inset 0 0 30px rgba(0,0,0,0.8), 0 10px 20px rgba(0,0,0,0.5);
|
||||
}
|
||||
|
||||
/* 3. Le Pot : Ajustement taille */
|
||||
.total-pot {
|
||||
font-size: 1.8rem;
|
||||
}
|
||||
.total-pot::before { font-size: 0.7rem; }
|
||||
.current-bet-display { font-size: 0.8rem; }
|
||||
|
||||
/* 4. Les Joueurs : Positionnement Arène Symétrique */
|
||||
.player-slot {
|
||||
width: 78px;
|
||||
}
|
||||
|
||||
.player-info {
|
||||
padding: 4px;
|
||||
border-radius: 12px;
|
||||
border-width: 1px;
|
||||
}
|
||||
|
||||
.player-name { font-size: 0.65rem; margin-bottom: 2px; }
|
||||
.player-money { font-size: 0.8rem; }
|
||||
.player-bet { font-size: 0.6rem; padding: 1px 5px; }
|
||||
|
||||
.dealer-badge {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
font-size: 0.7rem;
|
||||
top: -8px;
|
||||
right: -8px;
|
||||
}
|
||||
|
||||
/* --- POSITIONNEMENT DES SLOTS --- */
|
||||
|
||||
/* Haut et Bas Milieu */
|
||||
.slot-0 { top: -50px; left: 50%; transform: translateX(-50%); }
|
||||
.slot-4 { bottom: -50px; left: 50%; transform: translateX(-50%); }
|
||||
|
||||
/* Les 4 coins (Diagonales à distance égale) */
|
||||
/* En haut à droite */
|
||||
.slot-1 { top: 5%; right: -15px; }
|
||||
/* En bas à droite */
|
||||
.slot-3 { bottom: 5%; right: -15px; }
|
||||
/* En bas à gauche */
|
||||
.slot-5 { bottom: 5%; left: -15px; }
|
||||
/* En haut à gauche */
|
||||
.slot-7 { top: 5%; left: -15px; }
|
||||
|
||||
/* Milieux latéraux */
|
||||
.slot-2 { top: 50%; right: -10px; transform: translateY(-50%); }
|
||||
.slot-6 { top: 50%; left: -10px; transform: translateY(-50%); }
|
||||
|
||||
/* 5. Panneau d'Action : Le "Deck" du bas */
|
||||
.action-panel {
|
||||
width: 100% !important;
|
||||
height: auto;
|
||||
padding: 15px 10px 25px 10px;
|
||||
border-left: none;
|
||||
border-top: 2px solid var(--gold);
|
||||
background: #151515;
|
||||
}
|
||||
|
||||
.turn-info {
|
||||
font-size: 0.9rem;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.action-buttons {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
grid-template-areas:
|
||||
"fold call"
|
||||
"raise raise"
|
||||
"allin allin"
|
||||
"quit quit";
|
||||
gap: 8px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.btn {
|
||||
width: 100%;
|
||||
padding: 12px 5px;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
.btn-fold { grid-area: fold; }
|
||||
.btn-call { grid-area: call; }
|
||||
.raise-group {
|
||||
grid-area: raise;
|
||||
display: flex;
|
||||
width: 100%;
|
||||
}
|
||||
.btn-allin { grid-area: allin; }
|
||||
.btn-back {
|
||||
grid-area: quit;
|
||||
margin: 0;
|
||||
background: rgba(255,0,0,0.1);
|
||||
color: #ff4d4d;
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
#raise-amount { flex: 1; height: 40px; }
|
||||
.btn-validate { width: 80px; }
|
||||
}
|
||||
|
||||
/* 6. Optimisation Paysage (Landscape) */
|
||||
@media screen and (max-height: 500px) and (orientation: landscape) {
|
||||
.poker-table { height: 160px; max-width: 480px; border-radius: 100px; }
|
||||
.player-slot { width: 70px; }
|
||||
|
||||
/* Ajustement slots en paysage pour ne pas sortir de l'écran */
|
||||
.slot-1, .slot-7 { top: -10%; }
|
||||
.slot-3, .slot-5 { bottom: -10%; }
|
||||
|
||||
.action-panel { padding: 5px; }
|
||||
.action-buttons { grid-template-columns: 1fr 1fr 1fr 1fr; grid-template-areas: none; }
|
||||
.btn-allin, .raise-group, .btn-back { grid-column: auto; }
|
||||
}
|
||||
/* --- gameMobile.css Refondu --- */
|
||||
|
||||
@media screen and (max-width: 900px) {
|
||||
|
||||
/* 1. Structure Globale : On bloque le défilement et on utilise tout l'écran */
|
||||
body {
|
||||
height: 100dvh; /* Utilise la hauteur réelle dynamique sur mobile */
|
||||
overflow: hidden;
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.game-container {
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
/* 2. La Table : Plus ronde (Arène) */
|
||||
.table-container {
|
||||
flex: 1;
|
||||
padding: 40px 10px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.poker-table {
|
||||
width: 100%;
|
||||
max-width: 340px;
|
||||
height: 240px; /* Un peu plus haute pour l'aspect rond */
|
||||
border-width: 10px;
|
||||
border-radius: 140px; /* Plus grand rayon pour arrondir les coins */
|
||||
box-shadow: inset 0 0 30px rgba(0,0,0,0.8), 0 10px 20px rgba(0,0,0,0.5);
|
||||
}
|
||||
|
||||
/* 3. Le Pot : Ajustement taille */
|
||||
.total-pot {
|
||||
font-size: 1.8rem;
|
||||
}
|
||||
.total-pot::before { font-size: 0.7rem; }
|
||||
.current-bet-display { font-size: 0.8rem; }
|
||||
|
||||
/* 4. Les Joueurs : Positionnement Arène Symétrique */
|
||||
.player-slot {
|
||||
width: 78px;
|
||||
}
|
||||
|
||||
.player-info {
|
||||
padding: 4px;
|
||||
border-radius: 12px;
|
||||
border-width: 1px;
|
||||
}
|
||||
|
||||
.player-name { font-size: 0.65rem; margin-bottom: 2px; }
|
||||
.player-money { font-size: 0.8rem; }
|
||||
.player-bet { font-size: 0.6rem; padding: 1px 5px; }
|
||||
|
||||
.dealer-badge {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
font-size: 0.7rem;
|
||||
top: -8px;
|
||||
right: -8px;
|
||||
}
|
||||
|
||||
/* --- POSITIONNEMENT DES SLOTS --- */
|
||||
|
||||
/* Haut et Bas Milieu */
|
||||
.slot-0 { top: -50px; left: 50%; transform: translateX(-50%); }
|
||||
.slot-4 { bottom: -50px; left: 50%; transform: translateX(-50%); }
|
||||
|
||||
/* Les 4 coins (Diagonales à distance égale) */
|
||||
/* En haut à droite */
|
||||
.slot-1 { top: 5%; right: -15px; }
|
||||
/* En bas à droite */
|
||||
.slot-3 { bottom: 5%; right: -15px; }
|
||||
/* En bas à gauche */
|
||||
.slot-5 { bottom: 5%; left: -15px; }
|
||||
/* En haut à gauche */
|
||||
.slot-7 { top: 5%; left: -15px; }
|
||||
|
||||
/* Milieux latéraux */
|
||||
.slot-2 { top: 50%; right: -10px; transform: translateY(-50%); }
|
||||
.slot-6 { top: 50%; left: -10px; transform: translateY(-50%); }
|
||||
|
||||
/* 5. Panneau d'Action : Le "Deck" du bas */
|
||||
.action-panel {
|
||||
width: 100% !important;
|
||||
height: auto;
|
||||
padding: 15px 10px 25px 10px;
|
||||
border-left: none;
|
||||
border-top: 2px solid var(--gold);
|
||||
background: #151515;
|
||||
}
|
||||
|
||||
.turn-info {
|
||||
font-size: 0.9rem;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.action-buttons {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
grid-template-areas:
|
||||
"fold call"
|
||||
"raise raise"
|
||||
"allin allin"
|
||||
"quit quit";
|
||||
gap: 8px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.btn {
|
||||
width: 100%;
|
||||
padding: 12px 5px;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
.btn-fold { grid-area: fold; }
|
||||
.btn-call { grid-area: call; }
|
||||
.raise-group {
|
||||
grid-area: raise;
|
||||
display: flex;
|
||||
width: 100%;
|
||||
}
|
||||
.btn-allin { grid-area: allin; }
|
||||
.btn-back {
|
||||
grid-area: quit;
|
||||
margin: 0;
|
||||
background: rgba(255,0,0,0.1);
|
||||
color: #ff4d4d;
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
#raise-amount { flex: 1; height: 40px; }
|
||||
.btn-validate { width: 80px; }
|
||||
}
|
||||
|
||||
/* 6. Optimisation Paysage (Landscape) */
|
||||
@media screen and (max-height: 500px) and (orientation: landscape) {
|
||||
.poker-table { height: 160px; max-width: 480px; border-radius: 100px; }
|
||||
.player-slot { width: 70px; }
|
||||
|
||||
/* Ajustement slots en paysage pour ne pas sortir de l'écran */
|
||||
.slot-1, .slot-7 { top: -10%; }
|
||||
.slot-3, .slot-5 { bottom: -10%; }
|
||||
|
||||
.action-panel { padding: 5px; }
|
||||
.action-buttons { grid-template-columns: 1fr 1fr 1fr 1fr; grid-template-areas: none; }
|
||||
.btn-allin, .raise-group, .btn-back { grid-column: auto; }
|
||||
}
|
||||
|
||||
+162
-162
@@ -1,163 +1,163 @@
|
||||
/* main.css - Sélection du Joueur Poker PAF */
|
||||
:root {
|
||||
--table-green: radial-gradient(circle, #277d46 0%, #1a5e33 100%);
|
||||
--poker-border: #2c1b18;
|
||||
--gold: #d4af37;
|
||||
--gold-light: #f9e27d;
|
||||
--dark-bg: #0a0a0a;
|
||||
--white: #ffffff;
|
||||
--wood-dark: #1a0f0d;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: var(--dark-bg);
|
||||
background-image: radial-gradient(circle at center, #1a1a1a 0%, #050505 100%);
|
||||
color: var(--white);
|
||||
font-family: 'Segoe UI', Roboto, sans-serif;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
min-height: 100vh;
|
||||
margin: 0;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
/* --- LE CONTENEUR TABLE --- */
|
||||
.container {
|
||||
background: var(--table-green);
|
||||
padding: 40px;
|
||||
border-radius: 40px;
|
||||
border: 15px solid var(--poker-border);
|
||||
box-shadow: 0 25px 50px rgba(0,0,0,0.9), inset 0 0 40px rgba(0,0,0,0.6);
|
||||
text-align: center;
|
||||
width: 95%;
|
||||
max-width: 700px;
|
||||
position: relative;
|
||||
outline: 2px solid #3d2b27;
|
||||
}
|
||||
|
||||
/* --- LE LISERÉ BLANC --- */
|
||||
.container::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
left: 10px;
|
||||
right: 10px;
|
||||
bottom: 10px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.15);
|
||||
border-radius: 30px;
|
||||
pointer-events: none;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
h1 {
|
||||
color: var(--gold);
|
||||
text-transform: uppercase;
|
||||
font-size: 1.6rem;
|
||||
margin-bottom: 10px;
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
text-shadow: 2px 2px 0px rgba(0,0,0,0.8);
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1.1rem;
|
||||
color: var(--white);
|
||||
margin-bottom: 5px;
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
p {
|
||||
color: rgba(255,255,255,0.7);
|
||||
font-size: 0.9rem;
|
||||
margin-bottom: 30px;
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
/* --- GRILLE DE SÉLECTION DES JOUEURS --- */
|
||||
.player-selection {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
|
||||
gap: 15px;
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.join-player-btn {
|
||||
background: rgba(0, 0, 0, 0.4);
|
||||
color: var(--gold);
|
||||
border: 2px solid rgba(212, 175, 55, 0.3);
|
||||
padding: 20px 10px;
|
||||
border-radius: 12px;
|
||||
cursor: pointer;
|
||||
font-weight: bold;
|
||||
font-size: 1rem;
|
||||
transition: all 0.2s ease;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
min-height: 80px;
|
||||
box-shadow: 0 4px 10px rgba(0,0,0,0.3);
|
||||
}
|
||||
|
||||
.join-player-btn:hover {
|
||||
background: var(--gold);
|
||||
color: var(--wood-dark);
|
||||
transform: translateY(-3px);
|
||||
border-color: var(--gold-light);
|
||||
box-shadow: 0 8px 15px rgba(0,0,0,0.5);
|
||||
}
|
||||
|
||||
/* Effet au clic */
|
||||
.join-player-btn:active {
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
.back-btn {
|
||||
position: absolute;
|
||||
top: 25px;
|
||||
left: 30px;
|
||||
color: var(--gold);
|
||||
background: none !important;
|
||||
border: none !important;
|
||||
font-weight: bold;
|
||||
font-size: 0.8rem;
|
||||
cursor: pointer;
|
||||
z-index: 10;
|
||||
opacity: 0.8;
|
||||
transition: opacity 0.3s, transform 0.2s;
|
||||
text-transform: uppercase;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
}
|
||||
|
||||
.back-btn:hover {
|
||||
opacity: 1;
|
||||
transform: translateX(-3px);
|
||||
}
|
||||
|
||||
/* --- MOBILE --- */
|
||||
@media (max-width: 600px) {
|
||||
.container {
|
||||
padding: 25px 15px;
|
||||
border-width: 10px;
|
||||
}
|
||||
.player-selection {
|
||||
grid-template-columns: repeat(2, 1fr); /* 2 colonnes sur mobile */
|
||||
gap: 10px;
|
||||
}
|
||||
.back-btn {
|
||||
position: relative;
|
||||
top: 0;
|
||||
left: 0;
|
||||
margin-bottom: 20px;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
.join-player-btn {
|
||||
padding: 15px 5px;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
/* main.css - Sélection du Joueur Poker PAF */
|
||||
:root {
|
||||
--table-green: radial-gradient(circle, #277d46 0%, #1a5e33 100%);
|
||||
--poker-border: #2c1b18;
|
||||
--gold: #d4af37;
|
||||
--gold-light: #f9e27d;
|
||||
--dark-bg: #0a0a0a;
|
||||
--white: #ffffff;
|
||||
--wood-dark: #1a0f0d;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: var(--dark-bg);
|
||||
background-image: radial-gradient(circle at center, #1a1a1a 0%, #050505 100%);
|
||||
color: var(--white);
|
||||
font-family: 'Segoe UI', Roboto, sans-serif;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
min-height: 100vh;
|
||||
margin: 0;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
/* --- LE CONTENEUR TABLE --- */
|
||||
.container {
|
||||
background: var(--table-green);
|
||||
padding: 40px;
|
||||
border-radius: 40px;
|
||||
border: 15px solid var(--poker-border);
|
||||
box-shadow: 0 25px 50px rgba(0,0,0,0.9), inset 0 0 40px rgba(0,0,0,0.6);
|
||||
text-align: center;
|
||||
width: 95%;
|
||||
max-width: 700px;
|
||||
position: relative;
|
||||
outline: 2px solid #3d2b27;
|
||||
}
|
||||
|
||||
/* --- LE LISERÉ BLANC --- */
|
||||
.container::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
left: 10px;
|
||||
right: 10px;
|
||||
bottom: 10px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.15);
|
||||
border-radius: 30px;
|
||||
pointer-events: none;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
h1 {
|
||||
color: var(--gold);
|
||||
text-transform: uppercase;
|
||||
font-size: 1.6rem;
|
||||
margin-bottom: 10px;
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
text-shadow: 2px 2px 0px rgba(0,0,0,0.8);
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1.1rem;
|
||||
color: var(--white);
|
||||
margin-bottom: 5px;
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
p {
|
||||
color: rgba(255,255,255,0.7);
|
||||
font-size: 0.9rem;
|
||||
margin-bottom: 30px;
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
/* --- GRILLE DE SÉLECTION DES JOUEURS --- */
|
||||
.player-selection {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
|
||||
gap: 15px;
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.join-player-btn {
|
||||
background: rgba(0, 0, 0, 0.4);
|
||||
color: var(--gold);
|
||||
border: 2px solid rgba(212, 175, 55, 0.3);
|
||||
padding: 20px 10px;
|
||||
border-radius: 12px;
|
||||
cursor: pointer;
|
||||
font-weight: bold;
|
||||
font-size: 1rem;
|
||||
transition: all 0.2s ease;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
min-height: 80px;
|
||||
box-shadow: 0 4px 10px rgba(0,0,0,0.3);
|
||||
}
|
||||
|
||||
.join-player-btn:hover {
|
||||
background: var(--gold);
|
||||
color: var(--wood-dark);
|
||||
transform: translateY(-3px);
|
||||
border-color: var(--gold-light);
|
||||
box-shadow: 0 8px 15px rgba(0,0,0,0.5);
|
||||
}
|
||||
|
||||
/* Effet au clic */
|
||||
.join-player-btn:active {
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
.back-btn {
|
||||
position: absolute;
|
||||
top: 25px;
|
||||
left: 30px;
|
||||
color: var(--gold);
|
||||
background: none !important;
|
||||
border: none !important;
|
||||
font-weight: bold;
|
||||
font-size: 0.8rem;
|
||||
cursor: pointer;
|
||||
z-index: 10;
|
||||
opacity: 0.8;
|
||||
transition: opacity 0.3s, transform 0.2s;
|
||||
text-transform: uppercase;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
}
|
||||
|
||||
.back-btn:hover {
|
||||
opacity: 1;
|
||||
transform: translateX(-3px);
|
||||
}
|
||||
|
||||
/* --- MOBILE --- */
|
||||
@media (max-width: 600px) {
|
||||
.container {
|
||||
padding: 25px 15px;
|
||||
border-width: 10px;
|
||||
}
|
||||
.player-selection {
|
||||
grid-template-columns: repeat(2, 1fr); /* 2 colonnes sur mobile */
|
||||
gap: 10px;
|
||||
}
|
||||
.back-btn {
|
||||
position: relative;
|
||||
top: 0;
|
||||
left: 0;
|
||||
margin-bottom: 20px;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
.join-player-btn {
|
||||
padding: 15px 5px;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user