301 lines
5.4 KiB
SCSS
301 lines
5.4 KiB
SCSS
.navbar {
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
color: #fff;
|
||
background-color: #fff;
|
||
justify-content: center;
|
||
position: sticky;
|
||
top: 0;
|
||
z-index: 99;
|
||
|
||
.navbarUp {
|
||
width: 100%;
|
||
background-color: #fff;
|
||
margin-bottom: 1px;
|
||
border-bottom: 3px solid #f3f4f6;
|
||
position: sticky;
|
||
top: 0;
|
||
z-index: 100;
|
||
}
|
||
|
||
.btn {
|
||
display: flex;
|
||
width: max-content;
|
||
font-size: 16px;
|
||
font-weight: bold;
|
||
color: #ffffff;
|
||
background-color: #000000;
|
||
border: 1px solid #000000; // Border rengini belirtirken kalınlık da eklemelisin
|
||
border-radius: 4px;
|
||
padding: 6px 10px;
|
||
|
||
cursor: pointer;
|
||
|
||
// Mobil Görünüm (Ortak)
|
||
@media screen and (max-width: 500px) {
|
||
font-size: 14px;
|
||
margin: 8px 10px 6px;
|
||
}
|
||
|
||
&__satyjy {
|
||
@media screen and (max-width: 785px) {
|
||
display: none;
|
||
}
|
||
}
|
||
}
|
||
|
||
.navbarDown {
|
||
width: 100%;
|
||
background-color: #ffffff;
|
||
max-width: 1366px;
|
||
position: sticky;
|
||
top: 80px; // navbarUp yüksekliği kadar
|
||
padding-top: 12px;
|
||
padding-bottom: 12px;
|
||
padding-left: 1.375rem;
|
||
padding-right: 1.375rem;
|
||
box-sizing: border-box;
|
||
display: none;
|
||
@media screen and (min-width: 1024px) {
|
||
display: block;
|
||
}
|
||
}
|
||
.logo {
|
||
display: flex;
|
||
width: 100%;
|
||
padding: 10px 22px 0px;
|
||
height: 80px;
|
||
gap: 10px;
|
||
margin: 0 auto;
|
||
cursor: pointer;
|
||
@media screen and (max-width: 500px) {
|
||
height: 40px;
|
||
justify-content: flex-start;
|
||
padding: 10px 15px 6px;
|
||
}
|
||
}
|
||
.logoContainer {
|
||
display: flex;
|
||
justify-content: center;
|
||
border-radius: 10px;
|
||
padding: 8px 14px 6px;
|
||
box-sizing: border-box;
|
||
justify-content: center;
|
||
flex-direction: column;
|
||
img {
|
||
width: 300px;
|
||
@media screen and (max-width: 500px) {
|
||
width: 100%;
|
||
}
|
||
}
|
||
@media screen and (max-width: 500px) {
|
||
width: 100%;
|
||
}
|
||
|
||
svg {
|
||
width: 100%;
|
||
height: 100%;
|
||
}
|
||
}
|
||
.stick {
|
||
width: 0.5px !important;
|
||
background-color: #4b5563;
|
||
height: auto;
|
||
@media screen and (max-width: 1023px) {
|
||
height: 24px;
|
||
}
|
||
}
|
||
|
||
.navLinks {
|
||
width: 100%;
|
||
}
|
||
.navLinks ul {
|
||
list-style: none;
|
||
display: flex;
|
||
justify-content: center;
|
||
margin: 0 auto 0 auto;
|
||
box-sizing: border-box;
|
||
gap: 5px;
|
||
|
||
li,
|
||
a {
|
||
text-decoration: none;
|
||
color: #4b5563;
|
||
font-size: 14px;
|
||
}
|
||
li {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 5px;
|
||
margin: 0;
|
||
svg {
|
||
fill: #4b5563;
|
||
width: 24px;
|
||
height: 24px;
|
||
}
|
||
}
|
||
.searchWrapper {
|
||
display: flex;
|
||
align-items: center;
|
||
flex: 1;
|
||
flex-direction: row-reverse;
|
||
|
||
svg {
|
||
position: absolute;
|
||
width: 24px;
|
||
height: 24px;
|
||
transform: translateX(-35%);
|
||
}
|
||
|
||
input {
|
||
width: 100%;
|
||
height: 40px;
|
||
border-radius: 8px;
|
||
font-size: 0.75rem;
|
||
padding: 4px 16px;
|
||
background-color: #e5e7eb;
|
||
box-sizing: border-box;
|
||
border: none;
|
||
outline: none;
|
||
&::placeholder {
|
||
color: #9ca3af;
|
||
font-size: 0.75rem;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
|
||
.navButton {
|
||
display: flex;
|
||
gap: 5px;
|
||
border: none;
|
||
padding-top: 0.25rem;
|
||
padding-bottom: 0.25rem;
|
||
padding-left: 0.875rem;
|
||
padding-right: 0.875rem;
|
||
justify-content: center;
|
||
align-items: center;
|
||
border-radius: 0.5rem;
|
||
height: 2.5rem;
|
||
font-size: 16px;
|
||
color: #4b5563;
|
||
font-weight: 600;
|
||
background-color: transparent;
|
||
cursor: pointer;
|
||
&:hover {
|
||
background-color: #f3f4f6;
|
||
}
|
||
svg {
|
||
width: 20px;
|
||
height: 20px;
|
||
}
|
||
}
|
||
|
||
.cartSection {
|
||
.cartLink {
|
||
display: flex;
|
||
align-items: center;
|
||
text-decoration: none;
|
||
color: #fff;
|
||
font-size: 16px;
|
||
|
||
.cartIcon {
|
||
margin-right: 5px;
|
||
font-size: 20px;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
|
||
// mobile
|
||
.navbarContainer {
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
padding: 11px 0;
|
||
width: 100%;
|
||
box-sizing: border-box;
|
||
position: sticky;
|
||
@media screen and (min-width: 1024px) {
|
||
display: none;
|
||
}
|
||
@media screen and (max-width: 500px) {
|
||
padding: 9px 0;
|
||
}
|
||
}
|
||
|
||
.navbarContent {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
width: 100%;
|
||
max-width: 1024px;
|
||
color: #4b5563;
|
||
font-size: 14px;
|
||
padding: 0 1.375rem;
|
||
box-sizing: border-box;
|
||
}
|
||
.categories,
|
||
.location {
|
||
flex: 1;
|
||
display: flex;
|
||
justify-content: center;
|
||
align-items: center;
|
||
gap: 5px;
|
||
svg {
|
||
width: 16px;
|
||
height: 16px;
|
||
}
|
||
}
|
||
.searchIcon {
|
||
min-width: 60px;
|
||
display: flex;
|
||
justify-content: center;
|
||
svg {
|
||
width: 24px;
|
||
height: 24px;
|
||
}
|
||
}
|
||
.searchInputWrapper {
|
||
margin-top: 10px;
|
||
width: 100%;
|
||
max-width: 1024px;
|
||
display: flex;
|
||
justify-content: center;
|
||
padding: 0 1.375rem;
|
||
box-sizing: border-box;
|
||
}
|
||
|
||
.searchInput {
|
||
width: 100%;
|
||
height: 40px;
|
||
border-radius: 8px;
|
||
font-size: 0.75rem;
|
||
padding: 4px 16px;
|
||
background-color: #e5e7eb;
|
||
box-sizing: border-box;
|
||
border: none;
|
||
outline: none;
|
||
|
||
&::placeholder {
|
||
color: #9ca3af;
|
||
font-size: 0.75rem;
|
||
}
|
||
}
|
||
.langSelector {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
margin-left: auto;
|
||
@media screen and (max-width: 708px) {
|
||
display: none;
|
||
}
|
||
}
|
||
|
||
.buttonsContainer {
|
||
display: flex;
|
||
gap: 8px;
|
||
margin: 8px 14px 6px;
|
||
}
|