186 lines
3.6 KiB
CSS
186 lines
3.6 KiB
CSS
.header-nav {
|
|
padding: 0 1rem;
|
|
background: #fff;
|
|
backdrop-filter: blur(10px);
|
|
display: flex;
|
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 1;
|
|
gap: 4px;
|
|
transition: all 0.25s;
|
|
height: 70px;
|
|
}
|
|
|
|
.user-icon {
|
|
font-size: 16px;
|
|
width: 48px;
|
|
height: 48px;
|
|
border-radius: 12px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: var(--primary-light);
|
|
}
|
|
|
|
.user-profile-image {
|
|
border-radius: 12px;
|
|
object-fit: cover;
|
|
border: 2px solid rgba(255, 255, 255, 0.1);
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
position: relative;
|
|
top: -20px;
|
|
}
|
|
|
|
:where(.darkApp) .user-profile-image {
|
|
border: 2px solid rgba(255, 255, 255, 0.1);
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.trigger {
|
|
padding: 0 8px;
|
|
font-size: 18px;
|
|
line-height: 45px;
|
|
cursor: pointer;
|
|
transition: color 0.3s;
|
|
background-color: #005488;
|
|
border-radius: 50%;
|
|
width: 35px;
|
|
height: 35px;
|
|
font-weight: 400;
|
|
font-size: 16px;
|
|
line-height: 18px;
|
|
display: inline-block;
|
|
margin-left: 10px;
|
|
margin-right: 10px;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.trigger:hover {
|
|
color: #fff;
|
|
background-color: rgba(255, 255, 255, 0.36) !;
|
|
}
|
|
|
|
.icon-container {
|
|
width: 40px;
|
|
height: 40px;
|
|
/* margin-left: 15px; */
|
|
/* padding-left: 11px; */
|
|
position: absolute;
|
|
right: 30px;
|
|
margin-top: 10px;
|
|
}
|
|
.sidebar-menu-container .ant-menu-item,
|
|
.sidebar-menu-container .ant-menu-submenu {
|
|
margin-top: 25px !important;
|
|
}
|
|
|
|
.home-icon {
|
|
margin-top: -10px;
|
|
}
|
|
|
|
.translations-icon {
|
|
right: 25px !important;
|
|
}
|
|
|
|
.menu-icon {
|
|
margin-top: -17px;
|
|
right: 30px !important;
|
|
width: 38px;
|
|
}
|
|
|
|
.warehouse-icon {
|
|
color: black !important;
|
|
width: 35px !important;
|
|
}
|
|
|
|
.tax-icon {
|
|
right: 18px !important;
|
|
margin-top: -17px;
|
|
}
|
|
|
|
.report-icon {
|
|
right: 30px !important;
|
|
width: 32px;
|
|
}
|
|
|
|
:where(.darkApp) .header-nav {
|
|
background: var(--primary-dark);
|
|
}
|
|
|
|
:where(.darkApp) .user-icon {
|
|
background: var(--primary-dark);
|
|
}
|
|
|
|
.header-floating-btn {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
position: fixed;
|
|
z-index: 999;
|
|
right: 0;
|
|
top: 220px;
|
|
background-color: var(--secondary-background);
|
|
border-top-left-radius: 10px;
|
|
border-bottom-left-radius: 10px;
|
|
border: 1px solid var(--border);
|
|
}
|
|
|
|
:where(.ant-app-rtl) .header-floating-btn {
|
|
left: 0;
|
|
right: auto;
|
|
border-top-right-radius: 10px;
|
|
border-bottom-right-radius: 10px;
|
|
border-top-left-radius: 0px;
|
|
border-bottom-left-radius: 0px;
|
|
}
|
|
|
|
@media (min-width: 769px) and (max-width: 1024px) {
|
|
.header-floating-btn {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
position: fixed;
|
|
z-index: 999;
|
|
right: 0;
|
|
top: 250px;
|
|
background-color: var(--secondary-background);
|
|
border-top-left-radius: 10px;
|
|
border-bottom-left-radius: 10px;
|
|
border: 1px solid var(--border);
|
|
}
|
|
:where(.ant-app-rtl) .header-floating-btn {
|
|
left: 0;
|
|
right: auto;
|
|
border-top-right-radius: 10px;
|
|
border-bottom-right-radius: 10px;
|
|
border-top-left-radius: 0px;
|
|
border-bottom-left-radius: 0px;
|
|
}
|
|
}
|
|
|
|
/* Desktop devices (min-width: 1025px) */
|
|
@media (min-width: 1025px) {
|
|
.header-floating-btn {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
position: fixed;
|
|
z-index: 999;
|
|
right: 0;
|
|
top: 270px;
|
|
background-color: var(--secondary-background);
|
|
border-top-left-radius: 10px;
|
|
border-bottom-left-radius: 10px;
|
|
border: 1px solid var(--border);
|
|
}
|
|
|
|
:where(.ant-app-rtl) .header-floating-btn {
|
|
left: 0;
|
|
right: auto;
|
|
border-top-right-radius: 10px;
|
|
border-bottom-right-radius: 10px;
|
|
border-top-left-radius: 0px;
|
|
border-bottom-left-radius: 0px;
|
|
}
|
|
}
|