fix: update frontend styles
This commit is contained in:
@@ -15211,3 +15211,275 @@ jdp-container .jdp-btn-today, jdp-container .jdp-btn-empty {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
/* =========================================
|
||||||
|
User Menu
|
||||||
|
========================================= */
|
||||||
|
|
||||||
|
.travel-user-menu {
|
||||||
|
position: relative;
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* دکمه حساب کاربری */
|
||||||
|
|
||||||
|
.travel-user-button {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 8px;
|
||||||
|
|
||||||
|
padding: 10px 16px;
|
||||||
|
|
||||||
|
border: 1px solid rgba(255, 255, 255, 0.35);
|
||||||
|
border-radius: 30px;
|
||||||
|
|
||||||
|
background: rgba(255, 255, 255, 0.12);
|
||||||
|
color: #fff;
|
||||||
|
|
||||||
|
cursor: pointer;
|
||||||
|
|
||||||
|
font-family: inherit;
|
||||||
|
font-size: 14px;
|
||||||
|
|
||||||
|
transition: all 0.25s ease;
|
||||||
|
|
||||||
|
backdrop-filter: blur(8px);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.travel-user-button:hover {
|
||||||
|
background: rgba(255, 255, 255, 0.22);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.travel-user-button > i:first-child {
|
||||||
|
font-size: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.travel-user-arrow {
|
||||||
|
font-size: 12px;
|
||||||
|
|
||||||
|
transition: transform 0.25s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* =========================================
|
||||||
|
Dropdown
|
||||||
|
========================================= */
|
||||||
|
|
||||||
|
.travel-user-dropdown {
|
||||||
|
position: absolute;
|
||||||
|
|
||||||
|
top: calc(100% + 12px);
|
||||||
|
left: 0;
|
||||||
|
|
||||||
|
width: 220px;
|
||||||
|
|
||||||
|
padding: 8px;
|
||||||
|
|
||||||
|
background: #fff;
|
||||||
|
|
||||||
|
border-radius: 12px;
|
||||||
|
|
||||||
|
box-shadow:
|
||||||
|
0 10px 30px rgba(0, 0, 0, 0.15),
|
||||||
|
0 3px 10px rgba(0, 0, 0, 0.08);
|
||||||
|
|
||||||
|
opacity: 0;
|
||||||
|
visibility: hidden;
|
||||||
|
|
||||||
|
transform: translateY(-8px);
|
||||||
|
|
||||||
|
transition:
|
||||||
|
opacity 0.25s ease,
|
||||||
|
visibility 0.25s ease,
|
||||||
|
transform 0.25s ease;
|
||||||
|
|
||||||
|
z-index: 999;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* باز شدن منو */
|
||||||
|
|
||||||
|
.travel-user-menu:hover .travel-user-dropdown {
|
||||||
|
opacity: 1;
|
||||||
|
visibility: visible;
|
||||||
|
|
||||||
|
transform: translateY(0);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* فلش */
|
||||||
|
|
||||||
|
.travel-user-menu:hover .travel-user-arrow {
|
||||||
|
transform: rotate(180deg);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* =========================================
|
||||||
|
Dropdown Items
|
||||||
|
========================================= */
|
||||||
|
|
||||||
|
.travel-user-dropdown a {
|
||||||
|
display: flex;
|
||||||
|
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
|
gap: 10px;
|
||||||
|
|
||||||
|
padding: 11px 12px;
|
||||||
|
|
||||||
|
border-radius: 8px;
|
||||||
|
|
||||||
|
color: #333;
|
||||||
|
|
||||||
|
text-decoration: none;
|
||||||
|
|
||||||
|
font-size: 14px;
|
||||||
|
|
||||||
|
transition: all 0.2s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.travel-user-dropdown a i {
|
||||||
|
width: 20px;
|
||||||
|
|
||||||
|
text-align: center;
|
||||||
|
|
||||||
|
font-size: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.travel-user-dropdown a:hover {
|
||||||
|
background: #f1f5f9;
|
||||||
|
|
||||||
|
color: #2563eb;
|
||||||
|
|
||||||
|
transform: translateX(-3px);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* =========================================
|
||||||
|
Divider
|
||||||
|
========================================= */
|
||||||
|
|
||||||
|
.travel-dropdown-divider {
|
||||||
|
height: 1px;
|
||||||
|
|
||||||
|
margin: 6px 4px;
|
||||||
|
|
||||||
|
background: #e5e7eb;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* =========================================
|
||||||
|
Logout
|
||||||
|
========================================= */
|
||||||
|
|
||||||
|
.travel-user-dropdown .travel-logout-link {
|
||||||
|
color: #dc2626;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.travel-user-dropdown .travel-logout-link:hover {
|
||||||
|
background: #fef2f2;
|
||||||
|
|
||||||
|
color: #dc2626;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* =========================================
|
||||||
|
Login / Register
|
||||||
|
========================================= */
|
||||||
|
|
||||||
|
.travel-navbar-actions {
|
||||||
|
display: flex;
|
||||||
|
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
|
gap: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.travel-login,
|
||||||
|
.travel-register {
|
||||||
|
display: inline-flex;
|
||||||
|
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
|
gap: 7px;
|
||||||
|
|
||||||
|
padding: 9px 15px;
|
||||||
|
|
||||||
|
border-radius: 25px;
|
||||||
|
|
||||||
|
text-decoration: none;
|
||||||
|
|
||||||
|
font-size: 14px;
|
||||||
|
|
||||||
|
transition: all 0.25s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.travel-login {
|
||||||
|
color: #fff;
|
||||||
|
|
||||||
|
border: 1px solid rgba(255, 255, 255, 0.4);
|
||||||
|
|
||||||
|
background: rgba(255, 255, 255, 0.1);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.travel-login:hover {
|
||||||
|
background: rgba(255, 255, 255, 0.2);
|
||||||
|
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.travel-register {
|
||||||
|
color: #fff;
|
||||||
|
|
||||||
|
background: #2563eb;
|
||||||
|
|
||||||
|
border: 1px solid #2563eb;
|
||||||
|
|
||||||
|
box-shadow: 0 5px 15px rgba(37, 99, 235, 0.25);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.travel-register:hover {
|
||||||
|
background: #1d4ed8;
|
||||||
|
|
||||||
|
color: #fff;
|
||||||
|
|
||||||
|
transform: translateY(-2px);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* =========================================
|
||||||
|
Mobile
|
||||||
|
========================================= */
|
||||||
|
|
||||||
|
@media (max-width: 768px) {
|
||||||
|
|
||||||
|
.travel-user-button span {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.travel-user-button {
|
||||||
|
padding: 9px 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.travel-user-dropdown {
|
||||||
|
left: auto;
|
||||||
|
right: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.travel-login span,
|
||||||
|
.travel-register span {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user