added files in git
This commit is contained in:
346
src/styles/chat.css
Normal file
346
src/styles/chat.css
Normal file
@@ -0,0 +1,346 @@
|
||||
/* ── Chat Page ── */
|
||||
.chat-page {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex: 1;
|
||||
height: 100vh;
|
||||
background: linear-gradient(135deg, #1a2340 0%, #0d1018 100%);
|
||||
}
|
||||
|
||||
/* Header */
|
||||
.chat-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 14px;
|
||||
padding: 14px 18px;
|
||||
border-bottom: 1px solid var(--border);
|
||||
background: rgba(13, 16, 24, .7);
|
||||
backdrop-filter: blur(12px);
|
||||
}
|
||||
.chat-back-btn {
|
||||
background: none;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 10px;
|
||||
color: var(--muted);
|
||||
font-size: 1.2rem;
|
||||
cursor: pointer;
|
||||
padding: 6px 12px;
|
||||
transition: background .15s, color .15s;
|
||||
}
|
||||
.chat-back-btn:hover {
|
||||
background: rgba(255, 255, 255, .08);
|
||||
color: #fff;
|
||||
}
|
||||
.chat-header-title {
|
||||
flex: 1;
|
||||
color: #fff;
|
||||
font-weight: 900;
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
.chat-status {
|
||||
font-size: .75rem;
|
||||
font-weight: 700;
|
||||
color: var(--muted);
|
||||
}
|
||||
.chat-status.connected {
|
||||
color: #2de0c8;
|
||||
}
|
||||
|
||||
.chat-header-avatar {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
border-radius: 50%;
|
||||
background: rgba(45, 224, 200, .15);
|
||||
border: 2px solid rgba(45, 224, 200, .3);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 1.1rem;
|
||||
flex-shrink: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
.chat-header-avatar-img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
/* Messages area */
|
||||
.chat-messages {
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
padding: 20px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
}
|
||||
.chat-messages::-webkit-scrollbar { width: 4px; }
|
||||
.chat-messages::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 2px; }
|
||||
|
||||
.chat-empty {
|
||||
text-align: center;
|
||||
color: var(--muted);
|
||||
font-size: .9rem;
|
||||
padding: 40px 0;
|
||||
}
|
||||
.chat-empty-full {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: var(--muted);
|
||||
font-size: .95rem;
|
||||
}
|
||||
|
||||
/* Bubbles */
|
||||
.chat-bubble {
|
||||
max-width: 70%;
|
||||
padding: 10px 14px;
|
||||
border-radius: 14px;
|
||||
font-size: .93rem;
|
||||
line-height: 1.45;
|
||||
align-self: flex-start;
|
||||
background: rgba(255, 255, 255, .08);
|
||||
color: #fff;
|
||||
word-break: break-word;
|
||||
}
|
||||
.chat-bubble.mine {
|
||||
align-self: flex-end;
|
||||
background: #2de0c8;
|
||||
color: #082320;
|
||||
}
|
||||
|
||||
/* Input row */
|
||||
.chat-input-row {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
padding: 16px;
|
||||
border-top: 1px solid var(--border);
|
||||
background: rgba(13, 16, 24, .5);
|
||||
backdrop-filter: blur(8px);
|
||||
}
|
||||
.chat-input {
|
||||
flex: 1;
|
||||
padding: 12px 16px;
|
||||
border-radius: 12px;
|
||||
border: 1px solid var(--border);
|
||||
background: rgba(255, 255, 255, .08);
|
||||
color: #fff;
|
||||
font-family: var(--font);
|
||||
font-size: .9rem;
|
||||
outline: none;
|
||||
transition: border-color .2s;
|
||||
}
|
||||
.chat-input::placeholder { color: var(--muted); }
|
||||
.chat-input:focus { border-color: rgba(45, 224, 200, .5); }
|
||||
|
||||
.chat-send-btn {
|
||||
padding: 0 20px;
|
||||
border-radius: 12px;
|
||||
border: none;
|
||||
background: #2de0c8;
|
||||
color: #082320;
|
||||
cursor: pointer;
|
||||
font-size: 1.1rem;
|
||||
font-weight: 900;
|
||||
transition: background .2s, opacity .2s;
|
||||
}
|
||||
.chat-send-btn:hover:not(:disabled) { background: #24c9b2; }
|
||||
.chat-send-btn:disabled { opacity: .4; cursor: default; }
|
||||
|
||||
/* ── Emoji picker ── */
|
||||
.chat-input-area {
|
||||
position: relative;
|
||||
}
|
||||
.chat-emoji-picker {
|
||||
position: absolute;
|
||||
bottom: 100%;
|
||||
right: 0;
|
||||
margin-bottom: 8px;
|
||||
z-index: 100;
|
||||
}
|
||||
.chat-emoji-picker em-emoji-picker {
|
||||
width: 320px;
|
||||
max-height: 350px;
|
||||
--rgb-background: 13, 16, 24;
|
||||
--rgb-accent: 45, 224, 200;
|
||||
}
|
||||
.chat-emoji-btn {
|
||||
background: rgba(255, 255, 255, .08);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 12px;
|
||||
padding: 0 12px;
|
||||
cursor: pointer;
|
||||
font-size: 1.3rem;
|
||||
line-height: 1;
|
||||
transition: background .15s, border-color .15s;
|
||||
}
|
||||
.chat-emoji-btn:hover,
|
||||
.chat-emoji-btn.active {
|
||||
background: rgba(255, 255, 255, .14);
|
||||
border-color: rgba(45, 224, 200, .5);
|
||||
}
|
||||
|
||||
/* ── Chat List ── */
|
||||
.chat-list {
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
padding: 8px;
|
||||
}
|
||||
.chat-list::-webkit-scrollbar { width: 4px; }
|
||||
.chat-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 2px; }
|
||||
|
||||
.chat-list-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 14px;
|
||||
padding: 14px 16px;
|
||||
border-radius: 14px;
|
||||
cursor: pointer;
|
||||
transition: background .15s;
|
||||
border: 1px solid transparent;
|
||||
}
|
||||
.chat-list-item:hover {
|
||||
background: rgba(255, 255, 255, .05);
|
||||
border-color: rgba(45, 224, 200, .2);
|
||||
}
|
||||
|
||||
.chat-list-avatar {
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
border-radius: 50%;
|
||||
background: rgba(45, 224, 200, .15);
|
||||
border: 2px solid rgba(45, 224, 200, .3);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 1.15rem;
|
||||
font-weight: 800;
|
||||
color: #2de0c8;
|
||||
flex-shrink: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
.chat-list-avatar-img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.chat-list-info {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
.chat-list-item.unread .chat-list-name {
|
||||
color: #2de0c8;
|
||||
}
|
||||
.chat-list-item.unread .chat-list-preview {
|
||||
color: rgba(45, 224, 200, .6);
|
||||
font-weight: 600;
|
||||
}
|
||||
.chat-list-name {
|
||||
color: #fff;
|
||||
font-weight: 700;
|
||||
font-size: .9rem;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.chat-list-preview {
|
||||
color: var(--muted);
|
||||
font-size: .78rem;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
margin-top: 3px;
|
||||
}
|
||||
|
||||
/* ── Unread Badge ── */
|
||||
.chat-list-unread-badge {
|
||||
background: #2de0c8;
|
||||
color: #082320;
|
||||
font-size: .7rem;
|
||||
font-weight: 900;
|
||||
min-width: 20px;
|
||||
height: 20px;
|
||||
border-radius: 10px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 0 6px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
/* ── Sidebar Unread Badge ── */
|
||||
.f-sb-unread-badge {
|
||||
background: #2de0c8;
|
||||
color: #082320;
|
||||
font-size: .65rem;
|
||||
font-weight: 900;
|
||||
min-width: 18px;
|
||||
height: 18px;
|
||||
border-radius: 9px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 0 5px;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
/* ── Contact Button on Card ── */
|
||||
.f-card-contact {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
background: rgba(45, 224, 200, .12);
|
||||
border: 1px solid rgba(45, 224, 200, .3);
|
||||
border-radius: 20px;
|
||||
padding: 5px 14px;
|
||||
cursor: pointer;
|
||||
font-family: var(--font);
|
||||
font-size: .8rem;
|
||||
font-weight: 700;
|
||||
color: #2de0c8;
|
||||
transition: all .2s;
|
||||
}
|
||||
.f-card-contact:hover {
|
||||
background: rgba(45, 224, 200, .22);
|
||||
border-color: rgba(45, 224, 200, .5);
|
||||
}
|
||||
|
||||
.chat-list-delete-btn {
|
||||
background: rgba(255, 71, 87, .1);
|
||||
border: 1px solid rgba(255, 71, 87, .2);
|
||||
border-radius: 10px;
|
||||
color: rgba(255, 71, 87, .5);
|
||||
cursor: pointer;
|
||||
padding: 8px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
opacity: 0;
|
||||
transition: opacity .2s, background .2s, border-color .2s, color .2s;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.chat-list-item:hover .chat-list-delete-btn {
|
||||
opacity: 1;
|
||||
}
|
||||
.chat-list-delete-btn:hover {
|
||||
background: rgba(255, 71, 87, .2);
|
||||
border-color: rgba(255, 71, 87, .4);
|
||||
color: #ff4757;
|
||||
}
|
||||
|
||||
/* Mobile adjustments */
|
||||
@media (max-width: 600px) {
|
||||
.chat-header {
|
||||
padding: 12px 14px;
|
||||
}
|
||||
.chat-input-row {
|
||||
padding: 12px;
|
||||
}
|
||||
.chat-bubble {
|
||||
max-width: 85%;
|
||||
}
|
||||
}
|
||||
324
src/styles/reviews.css
Normal file
324
src/styles/reviews.css
Normal file
@@ -0,0 +1,324 @@
|
||||
/* ── Reviews Page ── */
|
||||
.rv-page-title {
|
||||
font-size: 1.15rem;
|
||||
font-weight: 900;
|
||||
color: #fff;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.rv-layout {
|
||||
display: flex;
|
||||
gap: 24px;
|
||||
padding: 20px;
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
/* ── Left sidebar (summary + form) ── */
|
||||
.rv-sidebar {
|
||||
width: 300px;
|
||||
min-width: 280px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
/* ── Summary block ── */
|
||||
.rv-summary {
|
||||
background: rgba(255, 255, 255, .04);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 16px;
|
||||
padding: 20px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
}
|
||||
.rv-summary-score {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
.rv-summary-num {
|
||||
font-size: 2.6rem;
|
||||
font-weight: 900;
|
||||
color: #f5a623;
|
||||
line-height: 1;
|
||||
}
|
||||
.rv-summary-none {
|
||||
color: var(--muted);
|
||||
font-size: .9rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
.rv-summary-total {
|
||||
color: var(--muted);
|
||||
font-size: .8rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
/* Distribution */
|
||||
.rv-distribution {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 6px;
|
||||
margin-top: 6px;
|
||||
}
|
||||
.rv-dist-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
.rv-dist-star {
|
||||
font-size: .75rem;
|
||||
color: var(--muted);
|
||||
min-width: 32px;
|
||||
text-align: right;
|
||||
font-weight: 700;
|
||||
}
|
||||
.rv-dist-bar {
|
||||
flex: 1;
|
||||
height: 6px;
|
||||
background: rgba(255, 255, 255, .06);
|
||||
border-radius: 3px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.rv-dist-fill {
|
||||
height: 100%;
|
||||
background: linear-gradient(90deg, #f5a623, #f7c948);
|
||||
border-radius: 3px;
|
||||
transition: width .4s ease;
|
||||
}
|
||||
.rv-dist-count {
|
||||
font-size: .7rem;
|
||||
color: var(--muted);
|
||||
min-width: 16px;
|
||||
text-align: right;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
/* ── Star Rating ── */
|
||||
.rv-stars {
|
||||
display: flex;
|
||||
gap: 3px;
|
||||
}
|
||||
.rv-star {
|
||||
color: rgba(255, 255, 255, .2);
|
||||
transition: color .15s, transform .15s;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.rv-star.filled {
|
||||
color: #f5a623;
|
||||
}
|
||||
.rv-star.interactive {
|
||||
cursor: pointer;
|
||||
}
|
||||
.rv-star.interactive:hover {
|
||||
transform: scale(1.2);
|
||||
}
|
||||
|
||||
/* ── Review Form ── */
|
||||
.rv-form {
|
||||
background: rgba(255, 255, 255, .04);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 16px;
|
||||
padding: 20px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 14px;
|
||||
}
|
||||
.rv-form-title {
|
||||
margin: 0;
|
||||
font-size: 1rem;
|
||||
font-weight: 800;
|
||||
color: #fff;
|
||||
}
|
||||
.rv-form-rating {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
}
|
||||
.rv-form-label {
|
||||
font-size: .85rem;
|
||||
font-weight: 700;
|
||||
color: var(--muted);
|
||||
}
|
||||
.rv-form-error {
|
||||
color: #ff6b6b;
|
||||
font-size: .8rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
.rv-form-textarea {
|
||||
background: rgba(255, 255, 255, .05);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 10px;
|
||||
padding: 12px 14px;
|
||||
color: #fff;
|
||||
font-family: var(--font);
|
||||
font-size: .88rem;
|
||||
resize: vertical;
|
||||
transition: border-color .15s, box-shadow .15s;
|
||||
}
|
||||
.rv-form-textarea:focus {
|
||||
outline: none;
|
||||
border-color: var(--teal);
|
||||
box-shadow: 0 0 0 3px rgba(45, 224, 200, .12);
|
||||
}
|
||||
.rv-form-textarea::placeholder {
|
||||
color: rgba(255, 255, 255, .32);
|
||||
}
|
||||
.rv-form-footer {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.rv-form-counter {
|
||||
font-size: .72rem;
|
||||
color: var(--muted);
|
||||
font-weight: 600;
|
||||
}
|
||||
.rv-form-submit {
|
||||
background: linear-gradient(135deg, var(--teal2), var(--teal));
|
||||
border: none;
|
||||
border-radius: 10px;
|
||||
padding: 10px 22px;
|
||||
color: #111;
|
||||
font-family: var(--font);
|
||||
font-size: .85rem;
|
||||
font-weight: 800;
|
||||
cursor: pointer;
|
||||
transition: opacity .15s, transform .15s;
|
||||
}
|
||||
.rv-form-submit:hover:not(:disabled) {
|
||||
opacity: .9;
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
.rv-form-submit:disabled {
|
||||
opacity: .5;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
/* ── Login prompt ── */
|
||||
.rv-login-prompt {
|
||||
background: rgba(255, 255, 255, .04);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 16px;
|
||||
padding: 20px;
|
||||
text-align: center;
|
||||
}
|
||||
.rv-login-prompt p {
|
||||
color: var(--muted);
|
||||
font-size: .88rem;
|
||||
margin: 0 0 14px;
|
||||
}
|
||||
.rv-login-btn {
|
||||
background: linear-gradient(135deg, var(--teal2), var(--teal));
|
||||
border: none;
|
||||
border-radius: 10px;
|
||||
padding: 10px 24px;
|
||||
color: #111;
|
||||
font-family: var(--font);
|
||||
font-size: .85rem;
|
||||
font-weight: 800;
|
||||
cursor: pointer;
|
||||
transition: opacity .15s;
|
||||
}
|
||||
.rv-login-btn:hover {
|
||||
opacity: .9;
|
||||
}
|
||||
|
||||
/* ── Reviews List ── */
|
||||
.rv-list {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 14px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
/* ── Review Card ── */
|
||||
.rv-card {
|
||||
background: rgba(255, 255, 255, .04);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 16px;
|
||||
padding: 18px 20px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
transition: border-color .15s;
|
||||
animation: rvCardIn .5s cubic-bezier(.34, 1.56, .64, 1) both;
|
||||
}
|
||||
.rv-card:hover {
|
||||
border-color: rgba(45, 224, 200, .25);
|
||||
}
|
||||
@keyframes rvCardIn {
|
||||
from { opacity: 0; transform: translateY(16px); }
|
||||
to { opacity: 1; transform: translateY(0); }
|
||||
}
|
||||
|
||||
.rv-card-head {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
.rv-card-avatar {
|
||||
width: 38px;
|
||||
height: 38px;
|
||||
border-radius: 50%;
|
||||
background: rgba(45, 224, 200, .15);
|
||||
border: 2px solid rgba(45, 224, 200, .3);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 1rem;
|
||||
font-weight: 800;
|
||||
color: var(--teal);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.rv-card-meta {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2px;
|
||||
}
|
||||
.rv-card-name {
|
||||
font-size: .88rem;
|
||||
font-weight: 700;
|
||||
color: #fff;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.rv-card-date {
|
||||
font-size: .72rem;
|
||||
color: var(--muted);
|
||||
}
|
||||
.rv-card-rating {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-end;
|
||||
gap: 2px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.rv-card-rating-num {
|
||||
font-size: .7rem;
|
||||
color: var(--muted);
|
||||
font-weight: 700;
|
||||
}
|
||||
.rv-card-text {
|
||||
margin: 0;
|
||||
font-size: .88rem;
|
||||
color: rgba(255, 255, 255, .78);
|
||||
line-height: 1.55;
|
||||
}
|
||||
|
||||
/* ── Responsive ── */
|
||||
@media (max-width: 768px) {
|
||||
.rv-layout {
|
||||
flex-direction: column;
|
||||
padding: 14px;
|
||||
}
|
||||
.rv-sidebar {
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
}
|
||||
}
|
||||
132
src/styles/rules.css
Normal file
132
src/styles/rules.css
Normal file
@@ -0,0 +1,132 @@
|
||||
/* ── Rules Modal overrides ── */
|
||||
.rules-modal {
|
||||
width: 560px;
|
||||
max-width: 96vw;
|
||||
}
|
||||
|
||||
.rules-modal-title-wrap {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.rules-modal-icon {
|
||||
font-size: 1.3rem;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
/* Rules list container */
|
||||
.rules-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
/* Single section */
|
||||
.rules-section {
|
||||
border: 1px solid rgba(255,255,255,.07);
|
||||
border-radius: 14px;
|
||||
overflow: hidden;
|
||||
background: rgba(255,255,255,.025);
|
||||
}
|
||||
|
||||
.rules-section-head {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
padding: 12px 16px 10px;
|
||||
border-bottom: 1px solid rgba(255,255,255,.06);
|
||||
}
|
||||
|
||||
.rules-num {
|
||||
min-width: 26px;
|
||||
height: 26px;
|
||||
background: linear-gradient(135deg, #1fc9b0, #2de0c8);
|
||||
color: #082320;
|
||||
border-radius: 8px;
|
||||
font-size: .75rem;
|
||||
font-weight: 900;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.rules-title {
|
||||
color: #fff;
|
||||
font-weight: 800;
|
||||
font-size: .92rem;
|
||||
letter-spacing: -.1px;
|
||||
}
|
||||
|
||||
/* Body */
|
||||
.rules-body {
|
||||
padding: 10px 16px 12px 16px;
|
||||
color: var(--muted);
|
||||
font-size: .83rem;
|
||||
line-height: 1.65;
|
||||
}
|
||||
|
||||
.rules-body p {
|
||||
margin: 0 0 8px;
|
||||
}
|
||||
|
||||
.rules-body p:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.rules-body ul {
|
||||
margin: 4px 0 8px;
|
||||
padding-left: 18px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 5px;
|
||||
}
|
||||
|
||||
.rules-body ul:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.rules-body li {
|
||||
line-height: 1.55;
|
||||
}
|
||||
|
||||
/* Sub-section titles (3.1, 3.2 …) */
|
||||
.rules-sub-title {
|
||||
color: rgba(255,255,255,.55);
|
||||
font-size: .75rem;
|
||||
font-weight: 800;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: .5px;
|
||||
margin: 10px 0 4px !important;
|
||||
}
|
||||
|
||||
.rules-sub-title:first-child {
|
||||
margin-top: 0 !important;
|
||||
}
|
||||
|
||||
/* Legal reference highlight */
|
||||
.rules-law {
|
||||
color: var(--teal);
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
/* Warning paragraph */
|
||||
.rules-warn {
|
||||
background: rgba(255,107,107,.1);
|
||||
border: 1px solid rgba(255,107,107,.2);
|
||||
border-radius: 8px;
|
||||
padding: 8px 12px;
|
||||
color: #ff9999;
|
||||
font-size: .8rem;
|
||||
margin-top: 8px !important;
|
||||
}
|
||||
|
||||
@media (max-width: 600px) {
|
||||
.rules-section-head {
|
||||
padding: 10px 12px 8px;
|
||||
}
|
||||
.rules-body {
|
||||
padding: 8px 12px 10px;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user