nowa-panda/themes/panda-theme/assets/css/components/categories-main.css

234 lines
3.7 KiB
CSS
Raw Permalink Normal View History

2025-07-07 07:52:36 +00:00
/* ================ Categories Landing Page ================ */
.hero-uv {
display: none;
align-items: center;
justify-content: center;
margin-top: 40px;
}
.hero-uv__inner {
width: 70%;
display: flex;
justify-content: center;
background-color: var(--white);
padding: 20px 0px 20px 77px;
border-radius: 40px;
}
.hero-uv__text {
width: 50%;
color: var(--primary);
display: flex;
flex-direction: column;
justify-content: space-around;
}
.hero-uv__text h2 {
font-weight: 400;
font-size: 36px;
}
.hero-uv__text p {
font-size: 20px;
}
.hero-uv__text a {
width: 80%;
background-color: var(--button-color);
text-align: center;
padding: 15px 25px;
border-radius: 40px;
color: var(--white);
text-decoration: none;
}
.hero-uv__slider {
width: 50% !important;
}
.hero-uv__slider * {
width: 100%;
}
.hero-uv__slider .slick-dots li button:before {
content: '';
display: inline-block;
width: 8px;
height: 8px;
background-color: #00bcd4;
border-radius: 50%;
opacity: 1;
transition: all .3s ease;
}
.hero-uv__slider .slick-dots li.slick-active button:before {
width: 24px;
height: 8px;
background-color: #00bcd4;
border-radius: 25px;
}
.categories {
width: 75%;
display: flex;
flex-direction: column;
grid-template-columns: repeat(2, 1fr);
gap: 1rem;
margin: auto;
padding-top: 20px;
font-weight: bold;
}
@media (min-width: 430px) {
.categories {
width: 100%;
display: grid;
}
}
.categories__item {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-decoration: none;
background: #fff;
padding: 1rem;
border-radius: 40px;
color: var(--white);
height: 200px;
transition: transform 0.3s ease;
font-size: 24px;
}
.categories__item--wide {
grid-column: span 2;
transition: all 0.3s ease;
}
.categories__item--wide:hover {
background-color: var(--white);
color: var(--button-color);
}
.biuro-i-praca {
background-color: var(--yellow);
}
.do-kluczy-i-narzedzi {
background-color: var(--button-color);
}
.do-pisania {
background-color: var(--secondary);
}
.do-zywnosci-i-napojow {
background-color: var(--secondary);
}
.dzieci-i-zabawki {
background-color: var(--button-color);
}
.moda-i-odziez {
background-color: var(--yellow);
}
.torby-i-podroze {
background-color: var(--yellow);
}
.sport-i-wypoczynek {
color: var(--button-color);
}
.sport-i-wypoczynek svg g path {
fill: var(--button-color) !important;
}
.technologia-i-telefon {
color: var(--button-color);
}
.technologia-i-telefon svg path {
fill: var(--button-color) !important;
}
.categories__icon svg {
transform: scale(1.5);
}
.categories__icon svg g path {
fill: var(--white);
}
.categories__icon svg path {
fill: var(--white);
}
.categories__label {
text-align: center;
}
.categories__item--all {
background: var(--white);
color: var(--primary);
transition: all 0.3s ease;
}
.categories__item--all:hover {
background: var(--primary);
color: var(--white);
}
.categories__item--wide {
background-color: var(--button-color);
color: var(--white);
}
.categories__icon svg {
transition: all 0.3s ease;
}
.upscale svg {
transform: scale(2.0);
}
@media (min-width: 768px) {
.hero-uv {
display: flex;
}
.hero-uv__slider {
display: none !important;
}
.hero-uv__text {
width: 90%;
}
.categories {
display: grid;
grid-template-columns: repeat(2, 1fr);
width: 70%;
}
}
@media (min-width: 1024px) {
.categories {
grid-template-columns: repeat(4, 1fr);
}
.hero-uv__slider {
display: block !important;
}
.hero-uv__text {
width: 50%;
}
}