change design
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/* ── Reviews Page ── */
|
||||
.rv-page-title {
|
||||
font-size: 1.15rem;
|
||||
font-size: 1.1rem;
|
||||
font-weight: 900;
|
||||
color: var(--text-primary);
|
||||
margin: 0;
|
||||
@@ -12,6 +12,9 @@
|
||||
padding: 20px;
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
max-width: 900px;
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
/* ── Left sidebar (summary + form) ── */
|
||||
@@ -25,7 +28,7 @@
|
||||
|
||||
/* ── Summary block ── */
|
||||
.rv-summary {
|
||||
background: rgba(255, 255, 255, .04);
|
||||
background: var(--bg-card);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 16px;
|
||||
padding: 20px;
|
||||
@@ -77,7 +80,7 @@
|
||||
.rv-dist-bar {
|
||||
flex: 1;
|
||||
height: 6px;
|
||||
background: rgba(255, 255, 255, .06);
|
||||
background: var(--bg-input);
|
||||
border-radius: 3px;
|
||||
overflow: hidden;
|
||||
}
|
||||
@@ -101,7 +104,7 @@
|
||||
gap: 3px;
|
||||
}
|
||||
.rv-star {
|
||||
color: var(--muted);
|
||||
color: var(--muted2);
|
||||
transition: color .15s, transform .15s;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
@@ -117,7 +120,7 @@
|
||||
|
||||
/* ── Review Form ── */
|
||||
.rv-form {
|
||||
background: rgba(255, 255, 255, .04);
|
||||
background: var(--bg-card);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 16px;
|
||||
padding: 20px;
|
||||
@@ -142,14 +145,14 @@
|
||||
color: var(--muted);
|
||||
}
|
||||
.rv-form-error {
|
||||
color: #ff6b6b;
|
||||
color: var(--err);
|
||||
font-size: .8rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
.rv-form-textarea {
|
||||
background: var(--bg-input);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 10px;
|
||||
border-radius: 12px;
|
||||
padding: 12px 14px;
|
||||
color: var(--text-primary);
|
||||
font-family: var(--font);
|
||||
@@ -160,7 +163,7 @@
|
||||
.rv-form-textarea:focus {
|
||||
outline: none;
|
||||
border-color: var(--teal);
|
||||
box-shadow: 0 0 0 3px rgba(45, 224, 200, .12);
|
||||
box-shadow: 0 0 0 3px rgba(var(--teal-rgb), .12);
|
||||
}
|
||||
.rv-form-textarea::placeholder {
|
||||
color: var(--muted);
|
||||
@@ -176,19 +179,19 @@
|
||||
font-weight: 600;
|
||||
}
|
||||
.rv-form-submit {
|
||||
background: linear-gradient(135deg, var(--teal2), var(--teal));
|
||||
background: var(--teal);
|
||||
border: none;
|
||||
border-radius: 10px;
|
||||
padding: 10px 22px;
|
||||
color: #111;
|
||||
color: #fff;
|
||||
font-family: var(--font);
|
||||
font-size: .85rem;
|
||||
font-weight: 800;
|
||||
cursor: pointer;
|
||||
transition: opacity .15s, transform .15s;
|
||||
transition: background .15s, transform .15s;
|
||||
}
|
||||
.rv-form-submit:hover:not(:disabled) {
|
||||
opacity: .9;
|
||||
background: var(--teal2);
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
.rv-form-submit:disabled {
|
||||
@@ -198,7 +201,7 @@
|
||||
|
||||
/* ── Login prompt ── */
|
||||
.rv-login-prompt {
|
||||
background: rgba(255, 255, 255, .04);
|
||||
background: var(--bg-card);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 16px;
|
||||
padding: 20px;
|
||||
@@ -210,19 +213,19 @@
|
||||
margin: 0 0 14px;
|
||||
}
|
||||
.rv-login-btn {
|
||||
background: linear-gradient(135deg, var(--teal2), var(--teal));
|
||||
background: var(--teal);
|
||||
border: none;
|
||||
border-radius: 10px;
|
||||
padding: 10px 24px;
|
||||
color: #111;
|
||||
color: #fff;
|
||||
font-family: var(--font);
|
||||
font-size: .85rem;
|
||||
font-weight: 800;
|
||||
cursor: pointer;
|
||||
transition: opacity .15s;
|
||||
transition: background .15s;
|
||||
}
|
||||
.rv-login-btn:hover {
|
||||
opacity: .9;
|
||||
background: var(--teal2);
|
||||
}
|
||||
|
||||
/* ── Reviews List ── */
|
||||
@@ -236,7 +239,7 @@
|
||||
|
||||
/* ── Review Card ── */
|
||||
.rv-card {
|
||||
background: rgba(255, 255, 255, .04);
|
||||
background: var(--bg-card);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 16px;
|
||||
padding: 18px 20px;
|
||||
@@ -247,7 +250,7 @@
|
||||
animation: rvCardIn .5s cubic-bezier(.34, 1.56, .64, 1) both;
|
||||
}
|
||||
.rv-card:hover {
|
||||
border-color: rgba(45, 224, 200, .25);
|
||||
border-color: var(--muted2);
|
||||
}
|
||||
@keyframes rvCardIn {
|
||||
from { opacity: 0; transform: translateY(16px); }
|
||||
@@ -263,14 +266,14 @@
|
||||
width: 38px;
|
||||
height: 38px;
|
||||
border-radius: 50%;
|
||||
background: rgba(45, 224, 200, .15);
|
||||
border: 2px solid rgba(45, 224, 200, .3);
|
||||
background: var(--bg-input);
|
||||
border: 2px solid var(--border);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 1rem;
|
||||
font-weight: 800;
|
||||
color: var(--teal);
|
||||
color: var(--muted);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.rv-card-meta {
|
||||
@@ -288,6 +291,19 @@
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.rv-card-pending-badge {
|
||||
align-self: flex-start;
|
||||
font-size: .68rem;
|
||||
font-weight: 700;
|
||||
color: var(--teal);
|
||||
background: rgba(var(--teal-rgb), .1);
|
||||
border-radius: 999px;
|
||||
padding: 2px 8px;
|
||||
}
|
||||
.rv-card-pending {
|
||||
border-style: dashed;
|
||||
opacity: .85;
|
||||
}
|
||||
.rv-card-date {
|
||||
font-size: .72rem;
|
||||
color: var(--muted);
|
||||
|
||||
Reference in New Issue
Block a user