243 lines
No EOL
4.4 KiB
SCSS
243 lines
No EOL
4.4 KiB
SCSS
/* Theme colors - configurable from admin settings */
|
|
:root {
|
|
--primary-color: #{$primary_color};
|
|
--page-bg: #{$page_background};
|
|
--card-bg: #{$card_background};
|
|
--text-color: #{$text_color};
|
|
}
|
|
|
|
/* Welcome kártya konténer */
|
|
.welcome-card {
|
|
border-radius: 4px;
|
|
}
|
|
|
|
@media (min-width: 800px) {
|
|
.welcome-card {
|
|
max-width: 1500px;
|
|
width: 100%;
|
|
margin: 0 auto;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 769px) {
|
|
.welcome-card {
|
|
padding: 15px;
|
|
}
|
|
}
|
|
|
|
/* HERO szekció: egy oszlop, szöveg felül, kereső alatta */
|
|
.hero-section {
|
|
position: relative;
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
grid-template-areas:
|
|
"content"
|
|
"search";
|
|
gap: 20px;
|
|
padding: 40px 40px 60px;
|
|
border-radius: 4px;
|
|
color: #fff;
|
|
background: linear-gradient(136deg, rgba(205, 29, 29, 0.2), rgba(155, 0, 0, 0));
|
|
}
|
|
|
|
@media (min-width: 1100px) {
|
|
.hero-section {
|
|
padding-bottom: 80px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.hero-section {
|
|
padding: 40px 20px;
|
|
margin-top: 40px;
|
|
}
|
|
}
|
|
|
|
/* Dekoráció a hero alatt */
|
|
.hero-deco {
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 1;
|
|
overflow: hidden;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.hero-deco {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.hero-deco::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
right: -70px;
|
|
bottom: 0;
|
|
width: 540px;
|
|
transform: skew(-15deg, 0);
|
|
background: #1b20288a;
|
|
}
|
|
|
|
@media (min-width: 901px) and (max-width: 1299px) {
|
|
.hero-deco::before {
|
|
max-width: 450px;
|
|
}
|
|
}
|
|
|
|
/* Szöveges tartalom: teljes szélesség */
|
|
.hero-content {
|
|
position: relative;
|
|
z-index: 3;
|
|
grid-area: content;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.hero-title {
|
|
margin: 0 0 20px 0;
|
|
font-weight: 700;
|
|
color: #fff;
|
|
}
|
|
|
|
.hero-text {
|
|
font-size: 15px;
|
|
}
|
|
|
|
.hero-link {
|
|
color: #fff;
|
|
font-weight: 500;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.hero-link:hover {
|
|
text-decoration-thickness: 2px;
|
|
}
|
|
|
|
/* Search container: directly below text, full width */
|
|
.search-container {
|
|
grid-area: search;
|
|
position: static;
|
|
width: 100%;
|
|
max-width: 100%;
|
|
z-index: 3;
|
|
justify-self: stretch;
|
|
align-self: start;
|
|
}
|
|
|
|
/* CTA szekció a hero alatt */
|
|
.cta-section {
|
|
position: relative;
|
|
margin: -55px auto 20px;
|
|
max-width: calc(100% - 30px);
|
|
z-index: 3;
|
|
}
|
|
|
|
@media (min-width: 1100px) {
|
|
.cta-section {
|
|
max-width: calc(100% - 80px);
|
|
}
|
|
}
|
|
|
|
.cta-list {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: 10px;
|
|
}
|
|
|
|
@media (min-width: 500px) {
|
|
.cta-list {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1510px) {
|
|
.cta-list {
|
|
grid-template-columns: repeat(4, 1fr);
|
|
}
|
|
}
|
|
|
|
.cta-card {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 8px;
|
|
border-radius: 4px;
|
|
text-decoration: none;
|
|
color: #000;
|
|
background: var(--card-bg);
|
|
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.17);
|
|
transition:
|
|
margin-top 150ms ease-in-out,
|
|
box-shadow 150ms ease-in-out;
|
|
}
|
|
|
|
.cta-card:hover {
|
|
margin-top: -10px;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.17);
|
|
}
|
|
|
|
.cta-icon {
|
|
flex-shrink: 0;
|
|
font-size: 40px;
|
|
text-align: left;
|
|
}
|
|
|
|
.cta-content {
|
|
flex: 1;
|
|
}
|
|
|
|
.cta-title {
|
|
display: block;
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
color: var(--text-color);
|
|
}
|
|
|
|
.cta-desc {
|
|
display: block;
|
|
color: #6a737c;
|
|
}
|
|
|
|
.cta-cta {
|
|
display: block;
|
|
margin-top: 10px;
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.cta-cta i {
|
|
padding-left: 0;
|
|
padding-right: 10px;
|
|
transition: padding 250ms ease-in-out;
|
|
}
|
|
|
|
.cta-card:hover .cta-cta i {
|
|
padding-left: 3px;
|
|
padding-right: 7px;
|
|
}
|
|
|
|
/* Search input appearance in hero section */
|
|
.search-wrapper {
|
|
width: 40%;
|
|
margin: 0;
|
|
position: relative;
|
|
}
|
|
|
|
.search-input {
|
|
width: 100%;
|
|
padding: 10px 14px;
|
|
border: 1px solid var(--primary-low);
|
|
border-radius: 4px;
|
|
background: var(--secondary-very-low);
|
|
color: var(--primary-high);
|
|
font-size: 1rem;
|
|
outline: none;
|
|
}
|
|
|
|
.search-input:focus {
|
|
border-color: var(--tertiary);
|
|
box-shadow: 0 0 0 3px color-mix(in oklab, var(--tertiary) 20%, transparent);
|
|
}
|
|
|