merge main into impressum, manual conflict resolve in custom.css
This commit is contained in:
commit
447b12bed1
23 files changed
+3268
-399
No files matched your search
+291
-2
@@ -35,6 +35,33 @@ body {
|
||||
padding: 5px 10px;
|
||||
}
|
||||
|
||||
.navbar .nav-link.has-unread-messages {
|
||||
background-color: #dc3545;
|
||||
color: #ffffff;
|
||||
font-weight: bold;
|
||||
border: 2px solid #ffd166;
|
||||
border-radius: 6px;
|
||||
padding: 5px 10px;
|
||||
}
|
||||
|
||||
.navbar .nav-link.has-unread-messages {
|
||||
background-color: #dc3545;
|
||||
color: #ffffff;
|
||||
font-weight: bold;
|
||||
border-radius: 6px;
|
||||
padding: 5px 10px;
|
||||
}
|
||||
|
||||
.navbar .nav-link.has-unread-messages::after {
|
||||
content: "";
|
||||
display: inline-block;
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
margin-left: 8px;
|
||||
border-radius: 50%;
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
/* Main content styles */
|
||||
.container-dashboard {
|
||||
flex-wrap: wrap;
|
||||
@@ -48,9 +75,7 @@ body {
|
||||
border-radius: 12px;
|
||||
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
|
||||
padding: 25px;
|
||||
font-size: 30px;
|
||||
flex: 1 1 100%;
|
||||
text-align: center;
|
||||
transition: transform 0.3s, box-shadow 0.3s;
|
||||
}
|
||||
.container > div:not(.modal):hover {
|
||||
@@ -96,6 +121,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;
|
||||
@@ -227,6 +259,7 @@ p {
|
||||
background: #ffffff;
|
||||
border-radius: 10px;
|
||||
overflow: hidden;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.leaderboard-table th,
|
||||
@@ -234,6 +267,7 @@ p {
|
||||
padding: 8px;
|
||||
text-align: left;
|
||||
border-bottom: 1px solid #ddd;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.leaderboard-table thead th {
|
||||
@@ -284,3 +318,258 @@ p {
|
||||
.leaderboard-table tbody tr:last-child td {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
|
||||
/* Messages */
|
||||
.container > .messages-card:not(.modal),
|
||||
.messages-card {
|
||||
text-align: left;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.container > .messages-card:not(.modal):hover,
|
||||
.messages-card:hover {
|
||||
transform: none;
|
||||
}
|
||||
|
||||
.messages-header,
|
||||
.messages-inbox-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.messages-panel {
|
||||
background: #f8f9fa;
|
||||
border: 1px solid #dbe3ef;
|
||||
border-radius: 8px;
|
||||
padding: 18px;
|
||||
}
|
||||
|
||||
.messages-panel h3 {
|
||||
font-size: 1.1rem;
|
||||
margin: 0 0 14px;
|
||||
}
|
||||
|
||||
.messages-user-list {
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.messages-user-button {
|
||||
width: 100%;
|
||||
border: 1px solid #c9d6e8;
|
||||
border-radius: 6px;
|
||||
background: #ffffff;
|
||||
color: #1b1b2f;
|
||||
padding: 10px 12px;
|
||||
text-align: left;
|
||||
transition: background-color 0.2s, border-color 0.2s;
|
||||
}
|
||||
|
||||
.messages-user-button:hover {
|
||||
background: #e8f0fb;
|
||||
border-color: #4a6fa5;
|
||||
}
|
||||
|
||||
.message-form textarea {
|
||||
resize: vertical;
|
||||
}
|
||||
|
||||
.message-list {
|
||||
display: grid;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.message-item {
|
||||
border-left: 4px solid #4a6fa5;
|
||||
border-radius: 8px;
|
||||
background: #ffffff;
|
||||
padding: 12px 14px;
|
||||
}
|
||||
|
||||
.message-item-unread {
|
||||
border-left-color: #dc3545;
|
||||
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;
|
||||
gap: 1rem;
|
||||
color: #1b1b2f;
|
||||
font-size: 0.9rem;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.message-meta span,
|
||||
.messages-empty {
|
||||
color: #667085;
|
||||
}
|
||||
|
||||
.message-item p,
|
||||
.messages-empty {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.challenge-status-button:disabled {
|
||||
background-color: #e5e7eb;
|
||||
border: 1px solid #cbd5e1;
|
||||
color: #64748b;
|
||||
}
|
||||
|
||||
.challenge-result-graphic,
|
||||
.play-challenge-result {
|
||||
margin-top: 12px;
|
||||
border-radius: 8px;
|
||||
border: 1px solid #dbe3ef;
|
||||
background: #ffffff;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.challenge-result-headline,
|
||||
.play-challenge-result-title {
|
||||
padding: 10px 14px;
|
||||
font-weight: 700;
|
||||
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;
|
||||
}
|
||||
|
||||
.challenge-result-draw,
|
||||
.play-challenge-result-draw .play-challenge-result-title {
|
||||
background: #4a6fa5;
|
||||
}
|
||||
|
||||
.play-challenge-result-loser .play-challenge-result-title {
|
||||
background: #a84848;
|
||||
}
|
||||
|
||||
.challenge-result-scores,
|
||||
.play-challenge-result-scores {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 1px;
|
||||
background: #dbe3ef;
|
||||
}
|
||||
|
||||
.challenge-result-score,
|
||||
.play-challenge-result-score {
|
||||
display: grid;
|
||||
gap: 4px;
|
||||
background: #ffffff;
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
.challenge-result-score span,
|
||||
.play-challenge-result-score span {
|
||||
color: #4a6fa5;
|
||||
font-size: 1.25rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.challenge-hint {
|
||||
display: inline-block;
|
||||
margin-top: 8px;
|
||||
border-radius: 6px;
|
||||
background: #fff4cc;
|
||||
color: #1b1b2f;
|
||||
padding: 6px 10px;
|
||||
font-size: 0.95rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.messages-header,
|
||||
.messages-inbox-title,
|
||||
.message-meta {
|
||||
align-items: flex-start;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.challenge-result-scores,
|
||||
.play-challenge-result-scores {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user