parent
7aa3fd4715
commit
f79628ac31
@ -0,0 +1,133 @@ |
||||
/* FEO GmbH Custom Bootstrap Theme |
||||
* An elegant, lightweight, and modern design |
||||
*/ |
||||
|
||||
:root { |
||||
--bs-primary: #72c02c; |
||||
--bs-primary-rgb: 114, 192, 44; |
||||
} |
||||
|
||||
/* Override Bootstrap primary color */ |
||||
.btn-primary { |
||||
background-color: var(--bs-primary); |
||||
border-color: var(--bs-primary); |
||||
} |
||||
|
||||
.btn-primary:hover, .btn-primary:focus, .btn-primary:active { |
||||
background-color: #65ab27; |
||||
border-color: #65ab27; |
||||
} |
||||
|
||||
.btn-outline-primary { |
||||
color: var(--bs-primary); |
||||
border-color: var(--bs-primary); |
||||
} |
||||
|
||||
.btn-outline-primary:hover, .btn-outline-primary:focus, .btn-outline-primary:active { |
||||
background-color: var(--bs-primary); |
||||
border-color: var(--bs-primary); |
||||
} |
||||
|
||||
.text-primary { |
||||
color: var(--bs-primary) !important; |
||||
} |
||||
|
||||
.bg-primary { |
||||
background-color: var(--bs-primary) !important; |
||||
} |
||||
|
||||
.border-primary { |
||||
border-color: var(--bs-primary) !important; |
||||
} |
||||
|
||||
/* Navigation styling */ |
||||
.navbar { |
||||
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); |
||||
} |
||||
|
||||
.navbar-light .navbar-nav .nav-link { |
||||
color: #333; |
||||
font-weight: 500; |
||||
padding: 0.5rem 1rem; |
||||
transition: color 0.3s ease; |
||||
} |
||||
|
||||
.navbar-light .navbar-nav .nav-link:hover, |
||||
.navbar-light .navbar-nav .nav-link:focus, |
||||
.navbar-light .navbar-nav .active > .nav-link { |
||||
color: var(--bs-primary); |
||||
} |
||||
|
||||
/* Card styling */ |
||||
.card { |
||||
border: none; |
||||
border-radius: 8px; |
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); |
||||
transition: transform 0.3s ease, box-shadow 0.3s ease; |
||||
} |
||||
|
||||
.card:hover { |
||||
transform: translateY(-5px); |
||||
box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1); |
||||
} |
||||
|
||||
/* Button styling */ |
||||
.btn { |
||||
border-radius: 4px; |
||||
padding: 0.5rem 1.5rem; |
||||
font-weight: 500; |
||||
transition: all 0.3s ease; |
||||
} |
||||
|
||||
/* Footer styling */ |
||||
.footer { |
||||
background-color: #f8f9fa; |
||||
padding: 4rem 0; |
||||
border-top: 1px solid #eee; |
||||
} |
||||
|
||||
.copyright { |
||||
background-color: #333; |
||||
color: white; |
||||
padding: 1.5rem 0; |
||||
} |
||||
|
||||
.copyright a { |
||||
color: #ccc; |
||||
text-decoration: none; |
||||
transition: color 0.3s ease; |
||||
} |
||||
|
||||
.copyright a:hover { |
||||
color: white; |
||||
} |
||||
|
||||
/* Typography improvements */ |
||||
body { |
||||
font-family: 'Roboto', 'Segoe UI', sans-serif; |
||||
color: #333; |
||||
line-height: 1.6; |
||||
} |
||||
|
||||
h1, h2, h3, h4, h5, h6 { |
||||
font-weight: 600; |
||||
margin-bottom: 1rem; |
||||
} |
||||
|
||||
/* Link styling */ |
||||
a { |
||||
color: var(--bs-primary); |
||||
text-decoration: none; |
||||
transition: color 0.3s ease; |
||||
} |
||||
|
||||
a:hover { |
||||
color: #65ab27; |
||||
text-decoration: underline; |
||||
} |
||||
|
||||
/* Form controls */ |
||||
.form-control:focus { |
||||
border-color: var(--bs-primary); |
||||
box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25); |
||||
} |
@ -1,56 +0,0 @@ |
||||
{% load wagtailimages_tags %} |
||||
<!-- SLIDE --> |
||||
<li class="revolution-mch-1" data-transition="fade" data-slotamount="5" data-masterspeed="1000"> |
||||
<!-- MAIN IMAGE --> |
||||
{% image img fill-2000x500 data-bgfit="cover" data-bgposition="left top" data-bgrepeat="no-repeat" %} |
||||
|
||||
{% if headline %} |
||||
<div class="tp-caption revolution-ch1 sft start" |
||||
data-x="center" |
||||
data-hoffset="0" |
||||
data-y="100" |
||||
data-speed="1500" |
||||
data-start="500" |
||||
data-easing="Back.easeInOut" |
||||
data-endeasing="Power1.easeIn" |
||||
data-endspeed="300"> |
||||
{{ headline }} |
||||
</div> |
||||
{% endif %} |
||||
|
||||
{% if subline %} |
||||
<!-- LAYER --> |
||||
<div class="tp-caption revolution-ch2 sft" |
||||
data-x="center" |
||||
data-hoffset="0" |
||||
data-y="190" |
||||
data-speed="1400" |
||||
data-start="2000" |
||||
data-easing="Power4.easeOut" |
||||
data-endspeed="300" |
||||
data-endeasing="Power1.easeIn" |
||||
data-captionhidden="off" |
||||
style="z-index: 6"> |
||||
{{ subline }} |
||||
</div> |
||||
{% endif %} |
||||
|
||||
{% if link_url and link_text %} |
||||
<!-- LAYER --> |
||||
<div class="tp-caption sft" |
||||
data-x="center" |
||||
data-hoffset="0" |
||||
data-y="310" |
||||
data-speed="1600" |
||||
data-start="2800" |
||||
data-easing="Power4.easeOut" |
||||
data-endspeed="300" |
||||
data-endeasing="Power1.easeIn" |
||||
data-captionhidden="off" |
||||
style="z-index: 6"> |
||||
<a href="{{ link_url }}" class="btn-u btn-brd btn-brd-hover btn-u-light">{{ link_text }}</a> |
||||
</div> |
||||
{% endif %} |
||||
</li> |
||||
<!-- END SLIDE --> |
||||
|
@ -1,9 +1,9 @@ |
||||
{% load menu_tags wagtailcore_tags %} |
||||
|
||||
<ul class="dropdown-menu" aria-labelledby="navbarDropdown"> |
||||
<ul class="dropdown-menu shadow-sm border-0" aria-labelledby="navbarDropdown"> |
||||
{# Include link to parent because the parent link is a drop down #} |
||||
<li><a class="dropdown-item" href="{% pageurl parent %}">{{ parent.title }}</a></li> |
||||
{% for child in menuitems_children %} |
||||
<li><a class="dropdown-item{% if child.active %} active{% endif %}" href="{% pageurl child %}">{{ child.title }}</a></li> |
||||
<li><a class="dropdown-item{% if child.active %} active text-primary{% endif %}" href="{% pageurl child %}">{{ child.title }}</a></li> |
||||
{% endfor %} |
||||
</ul> |
||||
|
Loading…
Reference in new issue