From 17090d06666f1d43adb205ba04975444719ab775 Mon Sep 17 00:00:00 2001 From: shahrzad011 Date: Sat, 22 Aug 2026 07:56:40 +0330 Subject: [PATCH] feat: add account page styles --- public/assets/css/account.css | 122 ++++++++++++++++++++++++++++++++++ 1 file changed, 122 insertions(+) create mode 100644 public/assets/css/account.css diff --git a/public/assets/css/account.css b/public/assets/css/account.css new file mode 100644 index 0000000..5a3106b --- /dev/null +++ b/public/assets/css/account.css @@ -0,0 +1,122 @@ +/* ================================================ + استایل‌های صفحه حساب کاربری (account pages) + ================================================ */ + +/* ---------- کارت پروفایل (سایدبار) ---------- */ +.profile-sidebar { + background: linear-gradient(145deg, #ffffff, #f8fbff); + border: 1px solid rgba(0, 0, 0, 0.06); + border-radius: 20px; + box-shadow: 0 12px 35px rgba(0, 82, 165, 0.10); + padding: 30px 20px; + transition: transform .3s ease; +} +.profile-sidebar:hover { + transform: translateY(-4px); +} +.profile-avatar { + width: 120px; + height: 120px; + border-radius: 50%; + object-fit: cover; + border: 4px solid #e8f0fe; + box-shadow: 0 6px 18px rgba(0, 123, 255, .25); +} +.profile-name { + font-weight: 700; + color: #1f2d3d; + margin-bottom: 0; +} +.profile-username { + color: #6c757d; + font-size: .85rem; +} + +/* ---------- تب‌ها ---------- */ +.nav-tabs .nav-link { + color: #6c757d; + font-weight: 600; + border-radius: 12px 12px 0 0; + padding: 10px 18px; +} +.nav-tabs .nav-link.active { + color: #007bff; + border-color: #dee2e6 #dee2e6 #fff; + background: #f8fbff; +} + +/* ---------- فرم‌ها ---------- */ +.form-card { + background: #ffffff; + border: 1px solid rgba(0, 0, 0, 0.05); + border-radius: 20px; + box-shadow: 0 5px 22px rgba(0, 0, 0, 0.05); + padding: 25px; +} +.form-card .form-control { + border-radius: 12px; + border: 2px solid #e9ecef; + padding: 11px 15px; + transition: all .3s; +} +.form-card .form-control:focus { + border-color: #007bff; + box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .15); +} +.form-label { + font-weight: 600; + color: #495057; + font-size: .9rem; +} + +/* ---------- علاقه‌مندی‌ها ---------- */ +.favorite-item { + background: #fff3f5; + color: #d63384; + border: 1.5px solid #f7c8d4; + border-radius: 50px; + padding: 9px 18px; + margin: 4px; + display: inline-flex; + align-items: center; + gap: 6px; + font-weight: 600; + font-size: .9rem; + transition: all .25s; +} +.favorite-item i { font-size: .95rem; } +.favorite-item:hover { + background: #d63384; + color: #fff; + cursor: pointer; +} + +/* ---------- کامنت‌ها ---------- */ +.comment-box { + background: #f8f9fa; + border-right: 4px solid #17a2b8; + border-radius: 12px; + padding: 14px 16px; + color: #495057; +} +.comment-box small { + color: #17a2b8; + font-weight: 600; +} + +/* ---------- دکمه ذخیره ---------- */ +.btn-save { + background: linear-gradient(135deg, #007bff, #0d6efd); + border: none; + border-radius: 12px; + padding: 12px 28px; + color: #fff; + font-weight: 600; + box-shadow: 0 6px 15px rgba(0, 123, 255, .3); + transition: all .3s; +} +.btn-save:hover { + transform: translateY(-2px); + box-shadow: 0 9px 20px rgba(0, 123, 255, .4); + color: #fff; +}