161 lines
2.9 KiB
CSS
161 lines
2.9 KiB
CSS
.youMightAlsoLikeTitle {
|
|
margin: 0 16px 16px 16px;
|
|
}
|
|
|
|
.youMightAlsoLikeContainer {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: flex-start;
|
|
overflow-x: auto;
|
|
padding: 0;
|
|
scroll-behavior: smooth;
|
|
scrollbar-width: none;
|
|
}
|
|
|
|
:global(.darkApp) .youMightAlsoLikeContainer path {
|
|
fill: var(--primary);
|
|
}
|
|
|
|
.popularMenuItemImage {
|
|
width: 73px;
|
|
height: 73px;
|
|
object-fit: cover;
|
|
border-radius: 8px;
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.popularMenuItemImage:hover {
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.popularMenuItemImageMobile {
|
|
width: 73px;
|
|
height: 73px;
|
|
min-height: 73px;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.popularMenuItemImageTablet {
|
|
width: 90px;
|
|
height: 90px;
|
|
border-radius: 12px;
|
|
}
|
|
|
|
.popularMenuItemImageDesktop {
|
|
width: 110px;
|
|
height: 110px;
|
|
border-radius: 16px;
|
|
}
|
|
|
|
[data-theme="dark"] .popularMenuItemImage {
|
|
border-color: rgba(255, 255, 255, 0.1);
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.popularMenuItemImage:focus {
|
|
outline-offset: 4px;
|
|
}
|
|
.youMightAlsoLikeContainer {
|
|
height: 150px !important;
|
|
}
|
|
|
|
.itemDescriptionIconsContainer {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: start;
|
|
margin-top: 10px;
|
|
margin-left: -10px;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 768px) and (max-width: 1024px) {
|
|
.youMightAlsoLikeContainer {
|
|
height: 190px !important;
|
|
}
|
|
|
|
.itemDescriptionIconsContainer {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: start;
|
|
margin-top: 10px;
|
|
margin-right: 0;
|
|
margin-left: -15px;
|
|
}
|
|
|
|
:global(.ant-app-rtl) .itemDescriptionIconsContainer {
|
|
margin-right: -30px;
|
|
margin-left: 0;
|
|
}
|
|
|
|
|
|
}
|
|
|
|
@media (min-width: 1024px) {
|
|
.youMightAlsoLikeContainer {
|
|
height: 200px !important;
|
|
}
|
|
.youMightAlsoLikeTitle {
|
|
margin: 16px;
|
|
}
|
|
}
|
|
|
|
/* Focus states for accessibility */
|
|
.popularMenuItemImage:focus {
|
|
outline: 2px solid var(--primary);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.arrowButton {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: var(--background);
|
|
border: 1px solid var(--border);
|
|
border-radius: 50%;
|
|
width: 30px;
|
|
height: 30px;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
backdrop-filter: blur(8px);
|
|
}
|
|
|
|
.arrowButton:hover {
|
|
background: var(--background);
|
|
transform: scale(1.05);
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
.arrowButton:active {
|
|
transform: scale(0.95);
|
|
}
|
|
|
|
.arrowButton:focus {
|
|
outline: 2px solid var(--primary);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.arrowIcon {
|
|
width: 24px;
|
|
height: 24px;
|
|
transition: transform 0.2s ease;
|
|
padding: 3px;
|
|
}
|
|
|
|
.arrowButton:hover .arrowIcon {
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
/* Dark theme styles */
|
|
:global(.darkApp) .arrowButton stroke {
|
|
background: rgba(30, 30, 30, 0.95);
|
|
border-color: rgba(255, 255, 255, 0.1);
|
|
color: white;
|
|
}
|
|
|
|
[data-theme="dark"] .arrowButton:hover stroke {
|
|
background: rgba(40, 40, 40, 1);
|
|
border-color: rgba(255, 255, 255, 0.2);
|
|
}
|