Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
85 changes: 51 additions & 34 deletions frontend/app/dashboard/profile-dashboard/profile-dashboard.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
.profile-dashboard {
min-height: 100vh;
padding: 48px 24px 72px;
background: radial-gradient(circle at top right, #f7f0d4 0%, #f2f7e8 45%, #e6f4e6 100%);
color: #1f2d1f;
font-family: "Georgia", "Times New Roman", serif;
padding: 32px 24px 48px;
background: #1a1a1a;
color: #e5e7eb;
font-family: inherit;
}

.profile-dashboard__header {
Expand All @@ -17,38 +17,47 @@
}

.profile-dashboard__eyebrow {
font-size: 2rem;
letter-spacing: 0.08em;
font-size: 0.9rem;
letter-spacing: 0.1em;
text-transform: uppercase;
color: #3b5f45;
margin: 0 0 8px;
color: #4ade80;
margin: 0 0 6px;
}

.profile-dashboard h1 {
font-size: 2rem;
font-weight: 800;
color: #e5e7eb;
margin: 0;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.profile-dashboard__subtitle {
max-width: 520px;
margin: 10px 0 0;
color: #3b4a34;
font-size: 1.05rem;
color: #94a3b8;
font-size: 1rem;
}

.profile-dashboard__back {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 10px 18px;
padding: 0.6rem 1.2rem;
border-radius: 999px;
border: 1px solid #99b69a;
background: #f7f0d4;
color: #2b4a31;
border: 1px solid #365314;
background: rgba(37, 37, 37, 0.8);
color: #e5e7eb;
text-decoration: none;
font-weight: 600;
box-shadow: 0 6px 16px rgba(67, 103, 68, 0.12);
box-shadow: 0 10px 22px -16px rgba(0, 0, 0, 0.35);
transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.profile-dashboard__back:hover {
transform: translateY(-1px);
box-shadow: 0 10px 22px rgba(67, 103, 68, 0.18);
box-shadow: 0 12px 24px -14px rgba(0, 0, 0, 0.45);
border-color: #4ade80;
}

.profile-dashboard__credits {
Expand All @@ -57,60 +66,61 @@
}

.profile-dashboard__credit-card {
border-radius: 20px;
border-radius: 16px;
padding: 28px;
background: linear-gradient(135deg, #e6f4e6 0%, #f7f0d4 100%);
border: 1px solid #c2d7b9;
box-shadow: 0 18px 32px rgba(43, 74, 49, 0.12);
background: rgba(37, 37, 37, 0.8);
border: 1px solid #365314;
box-shadow: 0 18px 32px rgba(0, 0, 0, 0.4);
backdrop-filter: blur(10px);
}

.profile-dashboard__label {
display: block;
font-size: 0.95rem;
text-transform: uppercase;
letter-spacing: 0.1em;
color: #3b5f45;
color: #4ade80;
margin-bottom: 10px;
}

.profile-dashboard__value {
display: block;
font-size: 3.1rem;
font-size: 3rem;
font-weight: 700;
color: #2f4f34;
color: #e5e7eb;
margin-bottom: 8px;
}

.profile-dashboard__hint {
margin: 0;
color: #3f5a3f;
color: #94a3b8;
font-size: 1rem;
}

.profile-dashboard__error {
margin: 12px 0 0;
color: #7a2f2f;
color: #f2a0a0;
font-weight: 600;
}

.profile-dashboard__actions {
margin: 0 auto;
max-width: 960px;
padding-top: 96px;
padding-top: 64px;
display: flex;
justify-content: center;
}

.profile-dashboard__logout {
border: none;
background: #2f5b3f;
color: #f7f0d4;
padding: 12px 22px;
font-size: 1rem;
border: 2px solid #365314;
background: rgba(37, 37, 37, 0.8);
color: #e5e7eb;
padding: 0.75rem 1.5rem;
font-size: 0.95rem;
border-radius: 999px;
cursor: pointer;
font-weight: 600;
box-shadow: 0 10px 18px rgba(47, 91, 63, 0.2);
box-shadow: 0 10px 18px rgba(0, 0, 0, 0.35);
transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
width: 33%;
min-width: 160px;
Expand All @@ -124,7 +134,8 @@

.profile-dashboard__logout:hover:not(:disabled) {
transform: translateY(-1px);
box-shadow: 0 14px 24px rgba(47, 91, 63, 0.24);
box-shadow: 0 14px 24px rgba(0, 0, 0, 0.45);
border-color: #4ade80;
}

@media (min-width: 768px) {
Expand All @@ -136,4 +147,10 @@
.profile-dashboard__credit-card {
padding: 36px;
}
}
}

@media (max-width: 720px) {
.profile-dashboard {
padding: 24px 16px 36px;
}
}
83 changes: 50 additions & 33 deletions frontend/app/profile-dashboard/profile-dashboard.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
.profile-dashboard {
min-height: 100vh;
padding: 48px 24px 72px;
background: radial-gradient(circle at top right, #f7f0d4 0%, #f2f7e8 45%, #e6f4e6 100%);
color: #1f2d1f;
font-family: "Georgia", "Times New Roman", serif;
padding: 32px 24px 48px;
background: #1a1a1a;
color: #e5e7eb;
font-family: inherit;
}

.profile-dashboard__header {
Expand All @@ -17,38 +17,47 @@
}

.profile-dashboard__eyebrow {
font-size: 2rem;
letter-spacing: 0.08em;
font-size: 0.9rem;
letter-spacing: 0.1em;
text-transform: uppercase;
color: #3b5f45;
margin: 0 0 8px;
color: #4ade80;
margin: 0 0 6px;
}

.profile-dashboard h1 {
font-size: 2rem;
font-weight: 800;
color: #e5e7eb;
margin: 0;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.profile-dashboard__subtitle {
max-width: 520px;
margin: 10px 0 0;
color: #3b4a34;
font-size: 1.05rem;
color: #94a3b8;
font-size: 1rem;
}

.profile-dashboard__back {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 10px 18px;
padding: 0.6rem 1.2rem;
border-radius: 999px;
border: 1px solid #99b69a;
background: #f7f0d4;
color: #2b4a31;
border: 1px solid #365314;
background: rgba(37, 37, 37, 0.8);
color: #e5e7eb;
text-decoration: none;
font-weight: 600;
box-shadow: 0 6px 16px rgba(67, 103, 68, 0.12);
box-shadow: 0 10px 22px -16px rgba(0, 0, 0, 0.35);
transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.profile-dashboard__back:hover {
transform: translateY(-1px);
box-shadow: 0 10px 22px rgba(67, 103, 68, 0.18);
box-shadow: 0 12px 24px -14px rgba(0, 0, 0, 0.45);
border-color: #4ade80;
}

.profile-dashboard__credits {
Expand All @@ -57,60 +66,61 @@
}

.profile-dashboard__credit-card {
border-radius: 20px;
border-radius: 16px;
padding: 28px;
background: linear-gradient(135deg, #e6f4e6 0%, #f7f0d4 100%);
border: 1px solid #c2d7b9;
box-shadow: 0 18px 32px rgba(43, 74, 49, 0.12);
background: rgba(37, 37, 37, 0.8);
border: 1px solid #365314;
box-shadow: 0 18px 32px rgba(0, 0, 0, 0.4);
backdrop-filter: blur(10px);
}

.profile-dashboard__label {
display: block;
font-size: 0.95rem;
text-transform: uppercase;
letter-spacing: 0.1em;
color: #3b5f45;
color: #4ade80;
margin-bottom: 10px;
}

.profile-dashboard__value {
display: block;
font-size: 3.1rem;
font-size: 3rem;
font-weight: 700;
color: #2f4f34;
color: #e5e7eb;
margin-bottom: 8px;
}

.profile-dashboard__hint {
margin: 0;
color: #3f5a3f;
color: #94a3b8;
font-size: 1rem;
}

.profile-dashboard__error {
margin: 12px 0 0;
color: #7a2f2f;
color: #f2a0a0;
font-weight: 600;
}

.profile-dashboard__actions {
margin: 0 auto;
max-width: 960px;
padding-top: 96px;
padding-top: 64px;
display: flex;
justify-content: center;
}

.profile-dashboard__logout {
border: none;
background: #2f5b3f;
color: #f7f0d4;
padding: 12px 22px;
font-size: 1rem;
border: 2px solid #365314;
background: rgba(37, 37, 37, 0.8);
color: #e5e7eb;
padding: 0.75rem 1.5rem;
font-size: 0.95rem;
border-radius: 999px;
cursor: pointer;
font-weight: 600;
box-shadow: 0 10px 18px rgba(47, 91, 63, 0.2);
box-shadow: 0 10px 18px rgba(0, 0, 0, 0.35);
transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
width: 33%;
min-width: 160px;
Expand All @@ -124,7 +134,8 @@

.profile-dashboard__logout:hover:not(:disabled) {
transform: translateY(-1px);
box-shadow: 0 14px 24px rgba(47, 91, 63, 0.24);
box-shadow: 0 14px 24px rgba(0, 0, 0, 0.45);
border-color: #4ade80;
}

@media (min-width: 768px) {
Expand All @@ -137,3 +148,9 @@
padding: 36px;
}
}

@media (max-width: 720px) {
.profile-dashboard {
padding: 24px 16px 36px;
}
}
Loading