AMPERION_Webpage/assets/scss/_common.scss

746 lines
10 KiB
SCSS

ul {
margin: 0;
padding-left: 0;
list-style-type: none;
}
iframe {
border: 0;
}
img{
max-width: 100%;
height: auto;
}
a,
a:focus,
a:hover {
text-decoration: none;
outline: 0;
color: $color-primary;
}
blockquote {
font-size: 18px;
border-color: $color-primary;
padding: 20px 40px;
text-align: left;
color: darken( $light, 50.98);
}
.navbar-toggle .icon-bar {
background: $color-primary;
}
input[type="email"],
input[type="password"],
input[type="text"],
input[type="tel"] {
box-shadow: none;
height: 45px;
outline: none;
font-size: 14px;
&:focus {
box-shadow: none;
border: 1px solid $color-primary;
}
}
.form-control {
box-shadow: none;
border-radius: 0;
&:focus {
box-shadow: none;
border: 1px solid $color-primary;
}
}
.slick-slide {
outline: 0
}
// Button Style
.btn-main {
background: $color-primary;
color: $white;
display: inline-block;
font-size: 12px;
letter-spacing: 1px;
padding: 20px 20px;
text-transform: uppercase;
border-radius: 10px;
text-align: center;
@include transition (all, 0.2s, ease);
&.btn-icon {
i {
font-size: 16px;
vertical-align: middle;
margin-right: 5px;
}
}
&:hover {
background: darken($color-primary, 100%);
color: $white;
}
}
.btn-solid-border {
border: 2px solid $white;
background: transparent;
color: $white;
&:hover {
background: whitesmoke;
}
}
.btn-transparent {
@extend .btn-main;
background: transparent;
padding: 0;
color: $color-primary;
&:hover {
background: transparent;
color: $color-primary;
}
}
.btn-large {
padding: 20px 45px;
&.btn-icon {
i {
font-size: 16px;
vertical-align: middle;
margin-right: 5px;
}
}
}
.btn-small {
@extend .btn-main;
padding: 10px 25px;
font-size: 12px;
}
.btn-round {
border-radius: 2px;
}
.btn-round-full {
border-radius: 50px;
}
.btn.active:focus,
.btn:active:focus,
.btn:focus {
outline: 0;
}
.mt-10 {
margin-top: 20px;
}
.mt-20 {
margin-top: 20px;
}
.mt-30 {
margin-top: 30px;
}
.mt-40 {
margin-top: 40px;
}
.mt-50 {
margin-top: 50px;
}
.btn:focus {
color: darken( $light, 10.9);
}
.w-100 {
width: 100%;
}
.margin-0 {
margin: 0 !important;
}
/* preloader */
.preloader {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: $white;
z-index: 9999;
display: flex;
align-items: center;
justify-content: center;
}
.bg-shadow {
background-color: $white;
box-shadow: 0 16px 24px rgba(0, 0, 0, .08);
padding: 20px;
}
.bg-gray {
background: $light;
}
.bg-primary {
background: $color-primary;
}
.bg-primary-dark {
background: darken($color-primary, 10%);
}
.bg-primary-darker {
background: darken($color-primary, 20%);
}
.bg-dark {
background: #202122;
}
.section {
padding: 10px 0;
@include tablet {
padding-top: 20px;
padding-bottom: 20px;
}
}
.section-sm {
padding: 70px 0;
}
.title {
padding: 20px 0 30px;
h2 {
margin: 0;
}
}
.section-title {
margin-bottom: 20px;
@include tablet {
margin-bottom: 10px;
}
h2 {
margin: 0;
padding: 10px 0;
}
@media (max-width: 480px) {
font-size: 1.2em; /* Noch kleinere Schriftgröße für sehr kleine Geräte */
}
}
.section-subtitle {
font-size: 28px;
font-weight: 600;
margin-bottom: 30px;
@include mobile-xs {
font-size: 22px;
}
@include mobile {
font-size: 20px;
}
}
.page-title {
height: auto; /* Höhe basierend auf Inhalt */
padding: 85px 0;
@extend .overly;
.block {
text-align: center;
}
}
.heading {
padding-bottom: 60px;
text-align: center;
}
.page-wrapper {
padding: 70px 0;
@include tablet {
padding-top: 20px;
padding-bottom: 20px;
}
}
// Social Media Icons
.social-media-icons {
ul {
li {
display: inline-block;
a {
font-size: 18px;
color: lighten( $black, 20 );
display: inline-block;
padding: 7px 12px;
color: $white;
}
.twitter {
background: #00aced;
}
.facebook {
background: #3b5998;
padding: 7px 18px;
}
.googleplus {
background: #dd4b39;
}
.dribbble {
background: #ea4c89;
}
.instagram {
background: #bc2a8d;
}
}
}
}
.dropdown-slide {
position: static;
.open>a,
.open>a:focus,
.open>a:hover {
background: transparent;
}
&.full-width {
.dropdown-menu {
left: 0 !important;
right: 0 !important;
}
}
&:hover .dropdown-menu {
display: none;
opacity: 1;
display: block;
transform: translate(0px, 0px);
opacity: 1;
visibility: visible;
color: darken( $light, 50.98);
transform: translateY(0px);
}
.dropdown-menu {
border-radius: 0;
opacity: 1;
visibility: visible;
position: absolute;
padding: 15px;
border: 1px solid #ebebeb;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
position: absolute;
display: block;
visibility: hidden;
opacity: 0;
transform: translateY(30px);
transition: visibility 0.2s, opacity 0.2s, transform 500ms cubic-bezier(0.43, 0.26, 0.11, 0.99);
@include mobile {
transform: none;
}
}
}
.commonSelect {
margin-left: 10px;
padding-right: 6px;
position: relative;
&:before {
content: '\f3d0';
font-family: $font-icon;
position: absolute;
right: -4px;
top: 4px;
font-size: 10px;
}
select {
cursor: pointer;
border: none;
padding: 0;
height: auto;
color: lighten( $black, 33.3 );
&:focus {
box-shadow: none;
border: none;
}
}
}
.tabCommon {
.nav-tabs {
border-bottom: 0;
margin-bottom: 10px;
li {
margin-right: 5px;
}
li.active a {
background-color: $color-primary;
border: 1px solid $color-primary;
color: $white;
}
a {
border-radius: 0;
background: $light;
&:hover {
border: 1px solid transparent;
background: $color-primary;
color: $white;
}
}
}
.tab-content {
padding: 20px;
border: 1px solid $border-color;
}
}
.commonAccordion {
.panel {
border-radius: 0;
box-shadow: none;
.panel-heading {
background: transparent;
padding: 0;
}
.panel-title {
position: relative;
a {
display: block;
font-size: 14px;
text-transform: uppercase;
padding: 10px 10px;
}
a:before {
color: lighten( $black, 33.3 );
content: "\f209";
position: absolute;
right: 25px;
font-family: $font-icon;
}
a.collapsed:before {
content: "\f217";
}
}
}
}
.commonAccordion-2 {
@extend .commonAccordion;
}
.list-circle {
padding-left: 20px;
li {
list-style-type: circle;
}
}
.play-icon {
border: 1px solid $border-color;
display: inline-block;
width: 60px;
height: 60px;
border-radius: 50px;
font-size: 30px;
i {
line-height: 60px;
}
}
.alert-common {
border-radius: 0;
border-width: 2px;
i {
margin: 0 5px;
font-size: 16px;
}
}
.alert-solid {
background: transparent;
color: $color-primary;
}
.buttonPart {
li {
@include mobile {
margin-bottom: 8px;
}
@include tablet {
margin-bottom: 8px;
}
}
}
.overly {
position: relative;
&:before {
content: "";
position: absolute;
left: 0;
top: 0;
bottom: 0;
right: 0;
width: 100%;
height: 100%;
background: rgba(42, 68, 71, 0.5); /* Helleres Overlay */
opacity: 0.3; /* Weniger Opazität */
}
}
.owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
background: $color-primary !important;
}
#success,
#error {
display: none;
}
.sticky-top {
position: sticky;
top: 0;
@include desktop {
position: static;
}
}
span.cloaked-e-mail:before {
content: attr(data-domain) "\0040" attr(data-user);
unicode-bidi: bidi-override;
direction: rtl;
}
@media (min-width: 992px) {
.row .no-float {
display: table-cell;
float: none;
}
}
/* Maus und Mausrad*/
.scrolldown {
--sizeX: 30px;
--sizeY: 50px;
position: relative;
width: var(--sizeX);
height: var(--sizeY);
margin-left: calc(50% - var(--sizeX) / 2);
margin-top: 100px;
border: calc(var(--sizeX) / 10) solid currentColor;
border-radius: 50px;
box-sizing: border-box;
margin-bottom: 16px;
color: white; /* Anfangsfarbe */
transition: color 0.3s;
}
.scrolldown::before {
content: "";
position: absolute;
bottom: 30px;
left: 50%;
width: 6px;
height: 6px;
margin-left: -3px;
background-color: currentColor;
border-radius: 100%;
animation: scrolldown-anim 2s infinite;
box-sizing: border-box;
box-shadow: 0px -5px 3px 1px #ffffff66;
}
.scrolldown:hover {
color: #F5A623; /* Neue Farbe beim Hover */
}
@keyframes scrolldown-anim {
0% {
opacity: 0;
height: 6px;
}
40% {
opacity: 1;
height: 10px;
}
80% {
transform: translate(0, 20px);
height: 10px;
opacity: 0;
}
100% {
height: 3px;
opacity: 0;
}
}
.chevrons {
padding: 6px 0 0 0;
margin-left: -3px; /* Überprüfen, ob dies benötigt wird */
margin-top: 48px;
width: 30px;
display: flex;
flex-direction: column;
align-items: center;
}
.chevrondown {
margin-top: -6px;
position: relative;
border: solid currentColor;
border-width: 0 3px 3px 0;
display: inline-block;
width: 10px;
height: 10px;
transform: rotate(45deg);
}
.chevrondown:hover {
color: #F5A623;
}
.chevrondown:nth-child(odd) {
animation: pulse 500ms ease infinite alternate;
}
.chevrondown:nth-child(even) {
animation: pulse 500ms ease infinite alternate 250ms;
}
.scrolldown {
color: rgb(0, 0, 0);
transition: color 0.3s;
}
.scrolldown:hover {
color: #F5A623;
}
@keyframes pulse {
from {
opacity: 0;
}
to {
opacity: 0.5;
}
}
/*copy until here */
.logo-up {
margin-top: -50px; /* Adjust the value as needed */
}
.section-title1 {
display: flex;
align-items: center;
justify-content: center;
gap: 10px; /* Abstand zwischen Icon und Titel */
}
.title-icon1 {
width: 10px; /* Breite des Icons */
height: 10px; /* Höhe automatisch anpassen */
}
.why-title1 {
margin: 0; /* Entfernt zusätzliche Ränder */
}