PozoApp-retail-designChanges/src/Styles/BookingScreen/Components/BSNavbar/BSNavbar3.scss

638 lines
11 KiB
SCSS

.BSNavbar3Main {
width: 100vw;
background: linear-gradient(to bottom right, #1e2536, #2a3447);
padding: 0.4rem 12px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
.css-1ao51vv-control {
background-color: #414d5c !important;
border: 1px solid #7b838f !important;
.css-1uc962m-placeholder {
color: #b1b1b1 !important;
opacity: 1;
}
}
.homeTime {
display: flex;
align-items: center;
gap: 1rem;
color: #fff;
font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
white-space: nowrap;
.CiShopIcon {
display: none !important;
}
}
.standard-extra-charges {
svg {
color: #6b7280 !important;
}
}
.homeIcon {
display: flex;
font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
justify-content: center;
gap: 0.5rem;
font-size: 16px;
font-weight: 500;
align-items: flex-end;
cursor: pointer;
svg {
display: flex;
}
@media (max-width: 1000px) {
> div {
display: none;
}
}
}
.timedate {
display: flex;
align-items: center;
justify-content: center;
gap: 0.2rem;
font-size: 12px;
font-weight: 400;
-webkit-text-stroke-width: 0.2px;
border-radius: 50px;
font-family: "Poppins", sans-serif !important;
}
.BsnavbarSearchMain {
width: 25vw;
position: relative;
.searchDiv .ant-input {
color: #fff !important;
&::placeholder {
color: #b1b1b1b4;
opacity: 1;
}
}
&:focus-within {
border: 1px solid #ffffff52;
border-radius: 0.75rem !important;
}
.ant-input-affix-wrapper {
border-radius: 0.5rem !important;
border: 1px solid #7b838f63;
background-color: #414d5cc2 !important;
height: 40px !important;
width: 100% !important;
.ant-input {
margin-top: 0 !important;
padding-top: 4px !important;
}
}
}
.CustomerActions {
display: flex;
align-items: center;
gap: 0.1rem;
.BSBillingNavBar1-AllIcons {
color: #ffffff !important;
}
.bs-membership__icon-btn {
svg {
color: #ffffff !important;
}
}
}
.FaTruckIcon {
padding: 10px 10px;
border-radius: 0.5rem;
color: #6b7280;
cursor: pointer;
// background-color: #2563eb;
height: 41px;
width: 41px;
&:hover {
background-color: #eff6ff;
color: #2563eb;
}
}
.FaTruckIconFavItem {
padding: 10px 10px;
border-radius: 0.5rem;
color: #6b7280 !important;
cursor: pointer;
// background-color: #2563eb;
height: 41px;
width: 41px;
&:hover {
background-color: #eff6ff;
color: #2563eb;
}
.BSBillingNav-icon {
color: #6b7280 !important;
}
}
.FaTruckIconDragItems {
padding: 6px 9px;
border-radius: 0.5rem;
color: #6b7280 !important;
cursor: pointer;
// background-color: #2563eb;
height: 41px;
width: 41px;
svg {
color: #ffffff !important;
}
&:hover {
background-color: #eff6ff;
color: #2563eb;
}
}
.FaTruckIconHold {
padding: 10px 7px;
border-radius: 0.5rem;
color: #6b7280;
cursor: pointer;
width: 40px !important;
height: 40px !important;
// background-color: #2563eb;
&:hover {
background-color: #eff6ff;
color: #2563eb;
}
}
.FaTruckIconreprint {
// padding: 2px 7px;
// border-radius: 0.5rem;
// color: #6b7280;
// cursor: pointer;
padding: 12px 9px;
border-radius: 0.5rem;
color: #ffffff;
cursor: pointer;
// background-color: #2563eb;
height: 41px;
width: 41px;
.BSBillingNav-icon {
height: 22px !important;
width: 25px !important;
}
&:hover {
background-color: #eff6ff;
color: #2563eb;
}
}
// .FaPlusIcon {
// padding: 11px 10px;
// border-radius: 0.5rem;
// color: #eff6ff;
// font-size: 3.3rem;
// cursor: pointer;
// height: 40px;
// width: 38px;
// background-color: #2563eb;
// &:hover {
// background-color: #134ac0;
// color: #eff6ff;
// }
// }
.userDates {
display: flex;
align-items: center;
gap: 1rem;
.BSNavBar1-Accmenu {
right: 0 !important;
}
}
.datesNew {
display: flex;
align-items: center;
justify-content: center;
gap: 0.2rem;
font-size: 12px;
font-weight: 400;
-webkit-text-stroke-width: 0.2px;
border-radius: 50px;
font-family: "Poppins", sans-serif !important;
}
.BsNavbarUser {
color: #6b7280;
font-size: 1.3rem;
cursor: pointer;
position: relative;
}
.DropDownsCustomer {
display: flex;
gap: 2px;
.BSBillingNav-icon {
color: #ffffff !important;
}
.ant-select {
width: 8.5rem !important;
}
.float-label {
margin-bottom: 0 !important;
}
.ant-select-selector {
height: 42px !important;
}
}
.DropDownsCustomer.always-visible {
.ant-select {
width: 7rem !important;
}
}
// Mobile toggle button
.mobile-toggle-btn {
display: none;
cursor: pointer;
padding: 8px;
border-radius: 4px;
transition: background-color 0.2s ease;
&:hover {
background-color: rgba(255, 255, 255, 0.1);
}
}
}
// Mobile Menu Styles
.mobile-menu {
position: fixed;
top: 0;
right: -100%;
width: 200px;
height: 100vh;
background-color: #2a3447;
z-index: 1000;
transition: right 0.3s ease;
box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
&.open {
right: 0;
}
.mobile-menu-content {
padding: 1rem 1rem;
height: 100%;
overflow-y: auto;
@media (max-width: 500px) {
.ant-tooltip-content {
display: none !important;
}
}
}
.mobile-customer-actions {
display: flex;
flex-direction: column;
gap: 1px;
}
.mobile-action-item {
display: flex;
align-items: center;
justify-content: flex-start;
gap: 1rem;
color: #fff;
transition: background-color 0.2s ease;
padding: 0.4rem 0.4rem;
height: 50px;
border-radius: 8px;
cursor: pointer;
&:hover {
background-color: #4a5568;
padding: 0.4rem 0.4rem;
}
div {
font-family: "Inter", ui-sans-serif, system-ui, sans-serif !important;
font-weight: 400;
font-size: 0.9rem;
}
svg {
color: #6b7280;
display: flex;
}
.ant-select {
width: 100% !important;
}
}
.BothSalesBadge {
background-color: #2563eb !important;
font-weight: 400 !important;
}
}
.userAccMenu {
position: absolute;
top: 1rem;
right: 1rem;
background-color: #fff;
padding: 1rem;
border-radius: 10px;
border: 1px solid #ccc;
box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
font-family: "Inter", ui-sans-serif, system-ui, sans-serif !important;
}
.profileImage {
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 1.2rem;
font-weight: 500;
position: relative;
img {
width: 50px;
height: 50px;
border-radius: 100px;
border: 1px solid #ccc;
}
}
.userAccMenuList {
display: flex;
flex-direction: column;
gap: 10px;
border-top: 1px solid #ccc;
padding-top: 1rem;
margin-top: 1rem;
div {
display: flex;
align-items: center;
gap: 0.5rem;
color: #4b5563da;
}
}
.UserAccMenusignOutButton {
width: 100%;
padding: 10px 12px;
font-size: 16px;
font-family: "Inter", ui-sans-serif, system-ui, sans-serif !important;
font-weight: 500;
-webkit-text-stroke-width: 0.1px;
border: none;
border-radius: 6px;
outline: none;
margin-top: 6px;
display: flex;
align-items: center;
gap: 0.5rem;
color: #fff;
background-color: #e53935;
cursor: pointer;
text-align: center;
justify-content: center;
}
.closeUserAccMenu {
position: absolute;
top: -12px;
right: -7px;
font-size: 16px;
cursor: pointer;
color: #6b7280;
transition: all 0.2s ease;
&:hover {
color: #ef4444;
transform: scale(1.1);
}
}
.EstimateButton {
> span {
svg {
color: rgb(82, 196, 26);
}
}
}
.voiceToTextIcon {
position: fixed;
// width: max-content;
top: 7px;
left: 10px;
display: flex;
align-items: center;
gap: 0.3rem;
background-color: #414d5c;
color: #f5d945;
padding: 0.2rem 0.9rem;
border-radius: 0.75rem;
font-size: 0.7rem;
font-family: "Inter", ui-sans-serif, system-ui, sans-serif !important;
cursor: pointer;
position: relative;
z-index: 0;
button {
background: none;
border: none;
color: #f5d945;
svg {
font-size: 1.1rem;
display: flex;
}
}
&::before {
content: "";
position: absolute;
inset: 0;
padding: 1px; // border thickness
border-radius: inherit;
background: linear-gradient(270deg, #fff3bac4, #ffcc00, #fff3baa1, #ffcc00, #fff3baab, #ffcc00);
background-size: 300% 300%;
animation: rainbowBorder 5s linear infinite;
-webkit-mask:
linear-gradient(#fff 0 0) content-box,
linear-gradient(#fff 0 0);
-webkit-mask-composite: xor;
mask-composite: exclude;
pointer-events: none;
z-index: -1;
}
@keyframes rainbowBorder {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
@media (max-width: 500px) {
top: 2px;
left: 8px;
}
}
.navbar-fav-icon .AddFavList {
padding: 2rem 2rem;
position: absolute;
width: 33vw;
height: 90vh;
background-color: white;
right: 2px;
transition-duration: 0.6s;
z-index: 23;
box-shadow: var(--BOX_SHADOW_LEVEL2);
color: black;
display: inline-flex;
flex-direction: column;
align-items: flex-start;
gap: 1rem;
border-radius: 6px;
top: 87px;
}
.datesNewtimedate {
background-color: #f3f4f6;
color: #4b5563da;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 0;
font-size: 0.875rem;
font-weight: 500;
padding: 0.1rem 0.1rem;
border-radius: 7px;
white-space: nowrap;
font-family: "Poppins", sans-serif;
width: 110px;
line-height: 1.3;
@media (max-width: 1000px) {
display: none;
}
}
// Responsive Design
@media (max-width: 768px) {
.BSNavbar3Main {
padding: 0.8rem;
gap: 0.5rem;
.homeTime {
gap: 0.5rem;
}
.BsnavbarSearchMain {
width: 30vw;
min-width: 120px;
}
.DropDownsCustomer.always-visible {
.ant-select {
width: 6rem !important;
}
> span {
display: none;
}
}
.CustomerActions.desktop-only {
display: none;
}
.userDates {
gap: 0.5rem;
}
.mobile-toggle-btn {
display: flex;
align-items: center;
justify-content: center;
}
}
.BSCategory2New {
// position: absolute;
// bottom: -50%;
// height: 0 !important;
}
.ant-tooltip {
display: none !important;
}
}
@media (max-width: 500px) {
.BSNavbar3Main {
padding: 0.3rem 0.8rem;
gap: 0.3rem;
.BsnavbarSearchMain {
width: 32vw;
min-width: 120px;
.searchDiv {
width: unset !important;
}
}
.homeIcon {
font-size: 0.8rem;
}
.css-1ao51vv-control {
width: 100px !important;
}
}
}