Challenge-Logik überarbeitet und fertig gestellt
This commit is contained in:
1 parent
909eb97bbb
commit
5199b32471
10 files changed
+556
-38
No files matched your search
@@ -109,6 +109,13 @@ p {
|
||||
.btn:hover {
|
||||
background-color: #2b4a7c;
|
||||
}
|
||||
.btn:disabled,
|
||||
.btn.disabled {
|
||||
background-color: #adb5bd;
|
||||
color: #495057;
|
||||
cursor: not-allowed;
|
||||
opacity: 1;
|
||||
}
|
||||
.btn-danger {
|
||||
background-color: #a84848;
|
||||
color: #fff;
|
||||
@@ -370,6 +377,51 @@ p {
|
||||
background: #fff4f4;
|
||||
}
|
||||
|
||||
.challenge-message-group {
|
||||
border-left-color: #6f7fb7;
|
||||
}
|
||||
|
||||
.challenge-thread {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
margin-top: 12px;
|
||||
border-top: 1px solid #e5e7eb;
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
.challenge-thread.d-none {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.challenge-thread-toggle {
|
||||
border: none;
|
||||
background: transparent;
|
||||
color: #4a6fa5;
|
||||
display: inline-flex;
|
||||
font-size: 0.9rem;
|
||||
font-weight: 600;
|
||||
margin-top: 10px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.challenge-thread-toggle:hover {
|
||||
color: #2b4a7c;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.challenge-thread-item {
|
||||
border-radius: 6px;
|
||||
background: #f8fafc;
|
||||
padding: 8px 10px;
|
||||
}
|
||||
|
||||
.challenge-thread-item span {
|
||||
display: block;
|
||||
color: #64748b;
|
||||
font-size: 0.82rem;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.message-meta {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
@@ -389,6 +441,12 @@ p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.challenge-status-button:disabled {
|
||||
background-color: #e5e7eb;
|
||||
border: 1px solid #cbd5e1;
|
||||
color: #64748b;
|
||||
}
|
||||
|
||||
.challenge-result-graphic,
|
||||
.play-challenge-result {
|
||||
margin-top: 12px;
|
||||
@@ -405,6 +463,38 @@ p {
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.challenge-outcome {
|
||||
align-items: center;
|
||||
background: #f8fafc;
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
padding: 14px;
|
||||
}
|
||||
|
||||
.challenge-outcome img {
|
||||
border-radius: 8px;
|
||||
height: 72px;
|
||||
object-fit: cover;
|
||||
width: 72px;
|
||||
}
|
||||
|
||||
.challenge-outcome strong {
|
||||
color: #1b1b2f;
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
.challenge-outcome-win {
|
||||
background: #e8f7ee;
|
||||
}
|
||||
|
||||
.challenge-outcome-loss {
|
||||
background: #fdecec;
|
||||
}
|
||||
|
||||
.challenge-outcome-draw {
|
||||
background: #eef3fb;
|
||||
}
|
||||
|
||||
.challenge-result-win,
|
||||
.play-challenge-result-winner .play-challenge-result-title {
|
||||
background: #198754;
|
||||
|
||||
Reference in new issue
Block a user