This commit is contained in:
Christian Anetzberger
2022-01-29 20:48:35 +01:00
commit 01907eb338
144 changed files with 11275 additions and 0 deletions

8
styles/_variables.scss Normal file
View File

@@ -0,0 +1,8 @@
$hp-blue: #0053a1;
$hp-nearly_black: #0d0d0d;
$hp-dark_grey: #141414;
$hp-light_grey: #1d2a38;
$hp-nearly_white: #fdfdfd;
$hp-dark_white: #e4e4e4;
$hp-light_white: #1d2a38;

45
styles/darkmode.scss Normal file
View File

@@ -0,0 +1,45 @@
@import "../node_modules/bootstrap/scss/functions";
@import "../node_modules/bootstrap/scss/variables";
@import "../node_modules/bootstrap/scss/mixins";
@import "./_variables.scss";
@import url("https://use.typekit.net/pqm5uiz.css");
@media (prefers-color-scheme: dark) {
body {
background-color: $hp-nearly_black;
color: $hp-nearly_white;
}
.modal-body {
background-color: $hp-nearly_black;
color: $hp-nearly_white;
}
.modal-header,
.modal-footer {
background-color: $hp-dark_grey;
color: $hp-nearly_white;
}
tbody td,
tbody th {
color: $hp-nearly_white;
}
a {
color: $hp-dark_white;
}
.form-floating input,
.form-floating select,
.form-floating textarea {
background-color: $hp-light_grey;
color: $hp-nearly_white;
border-color: $hp-dark_grey;
option {
color: $hp-nearly_white;
}
&:focus {
background-color: $hp-light_grey;
color: $hp-nearly_white;
}
}
}

20
styles/footer.scss Normal file
View File

@@ -0,0 +1,20 @@
@import "../node_modules/bootstrap/scss/functions";
@import "../node_modules/bootstrap/scss/variables";
@import "../node_modules/bootstrap/scss/mixins";
@import "./_variables.scss";
footer {
background-color: $hp-dark_grey;
color: $white;
font-size: 0.9rem;
margin-top: -76.45px;
a {
color: white;
}
z-index: 1000;
position: relative;
}
.footer-dark-bg {
background-color: $hp-nearly_black;
}

193
styles/globals.scss Normal file
View File

@@ -0,0 +1,193 @@
@import "../node_modules/bootstrap/scss/functions";
@import "../node_modules/bootstrap/scss/variables";
@import "../node_modules/bootstrap/scss/mixins";
@import "./_variables.scss";
@import url("https://use.typekit.net/pqm5uiz.css");
.page {
overflow-x: hidden;
}
.svg-outline-white {
stroke: #fff;
stroke-miterlimit: 100;
fill: transparent;
stroke-width: 1.5;
}
.svg-outline-blue {
stroke: $hp-blue;
stroke-miterlimit: 100;
fill: transparent;
stroke-width: 1.5;
}
.cls-1,
.cls-2 {
fill: none;
stroke-linecap: round;
stroke-linejoin: round;
stroke: white;
stroke-width: 15px;
}
.cls-2 {
stroke-dasharray: 39.44 39.44;
}
.cls-3 {
fill: $white;
}
.landing-cls-1 {
fill: $white;
}
h1 {
margin-bottom: 2rem;
font-family: circe, sans-serif;
font-weight: 800;
font-style: normal;
text-align: center;
}
h2 {
font-family: circe, sans-serif;
font-weight: 700;
font-style: normal;
}
p {
font-family: circe, sans-serif;
font-weight: 400;
font-style: normal;
font-size: 1.3rem;
margin-bottom: 1rem;
a {
font-weight: bold;
}
}
p:last-child {
margin-bottom: 5rem;
}
a {
font-family: circe, sans-serif;
// font-weight: 400;
font-style: normal;
text-decoration: none;
color: #555;
transition: color 0.2s ease-in;
}
.product_section {
margin-bottom: 5rem;
}
section {
margin-top: 40%;
margin-bottom: 40%;
}
.sticky_history {
p {
color: rgba(0, 0, 0, 0.5);
font-weight: normal;
}
}
.bg-darkgrey {
background-color: $hp-dark_grey;
}
.products-img-shadow {
box-shadow: inset -20px 0px 50px 10px rgba(0, 0, 0, 0.6);
}
.products-img-shadow.order-1 {
box-shadow: inset -20px 0px 50px 10px rgba(0, 0, 0, 0.6);
}
.products-container {
img {
max-width: 100%;
}
.products-small {
max-width: calc(100% / 10);
}
}
.background-image {
background-repeat: no-repeat;
background-size: cover;
background-position: center;
}
.icon-size {
svg {
max-width: 50%;
width: 100%;
height: 100%;
}
div {
display: flex;
justify-content: center;
}
}
.min-height-100:first-of-type {
.products-img:first-of-type {
min-height: calc(200px);
}
@include media-breakpoint-up(lg) {
min-height: calc(100vh - (200px - 49px));
.products-img:first-of-type {
min-height: calc(100vh - 49px);
}
}
}
.description {
@include media-breakpoint-up(lg) {
padding: 50px;
}
}
.w-50 {
width: 50%;
}
.filter-grey {
filter: grayscale(100%);
transition: filter 500ms linear;
&:hover {
filter: grayscale(0%);
}
}
.h-100p {
height: 100%;
}
.pb-10p {
padding-bottom: calc(76.45px + 10%);
}
.productimg {
max-width: 60%;
}
.bg-white {
background-color: $white;
}
.minh-100vh {
min-height: 100vh;
}

235
styles/navbar.scss Normal file
View File

@@ -0,0 +1,235 @@
@import "../node_modules/bootstrap/scss/functions";
@import "../node_modules/bootstrap/scss/variables";
@import "../node_modules/bootstrap/scss/mixins";
@import "./_variables.scss";
/* Navbar */
.navbar {
padding: 0;
min-height: 48px;
display: block;
z-index: 999;
background-color: $hp-nearly_black;
.mainnav-container {
width: 100%;
@include media-breakpoint-up(lg) {
padding-left: 15%;
min-height: 48px;
}
.navbar-collapse {
overflow: hidden;
@include media-breakpoint-up(lg) {
height: auto;
}
.navbar-nav {
justify-content: space-around;
width: 100%;
padding: 0 17px 17px;
@include media-breakpoint-up(lg) {
padding: 0;
}
.nav-item {
text-align: right;
padding: 10px 0;
a {
color: $white;
}
:hover {
color: $gray-700;
}
}
}
}
}
/* Navbar Brand */
.navbar-brand {
height: 30px;
width: auto;
position: fixed;
top: 10px;
z-index: 100;
left: 50%;
margin: 0;
padding: 0 0 0 17px;
transform: translateX(-50%);
svg {
height: 100%;
width: auto;
.logo-style-1 {
fill: transparent;
}
.logo-style-2 {
fill: $white;
}
}
@include media-breakpoint-up(lg) {
left: 10%;
top: 0;
svg {
height: 150px;
width: auto;
.logo-style-1 {
fill: $hp-blue;
}
.logo-style-2 {
fill: $white;
}
}
}
@include media-breakpoint-up(xl) {
left: 5%;
}
}
.subnav-container {
overflow-y: scroll;
height: 103px;
overflow-y: hidden;
text-align: center;
background-color: $hp-dark_grey;
@include media-breakpoint-up(lg) {
padding-left: 15%;
justify-content: space-around;
}
.nav-subitem {
color: $white;
padding-left: 20px;
padding-right: 20px;
@include media-breakpoint-up(lg) {
padding-left: 0;
padding-right: 0;
}
a {
color: $white;
}
:hover {
color: $gray-500;
}
.cls-1 {
stroke: $white;
}
.cls-2 {
stroke: $white;
}
svg {
width: 50px;
height: 50px;
}
}
}
}
/* Animated navbar icon */
.navbar-toggler {
border: none !important;
padding: 17px;
float: right;
}
.animated-icon {
width: 20px;
height: 15px;
position: relative;
margin: 0px;
-webkit-transform: rotate(0deg);
-moz-transform: rotate(0deg);
-o-transform: rotate(0deg);
transform: rotate(0deg);
-webkit-transition: 0.5s ease-in-out;
-moz-transition: 0.5s ease-in-out;
-o-transition: 0.5s ease-in-out;
transition: 0.5s ease-in-out;
cursor: pointer;
}
.animated-icon span {
display: block;
position: absolute;
height: 1px;
width: 100%;
border-radius: 9px;
opacity: 1;
left: 0;
-webkit-transform: rotate(0deg);
-moz-transform: rotate(0deg);
-o-transform: rotate(0deg);
transform: rotate(0deg);
-webkit-transition: 0.25s ease-in-out;
-moz-transition: 0.25s ease-in-out;
-o-transition: 0.25s ease-in-out;
transition: 0.25s ease-in-out;
}
.animated-icon span {
background: #e3f2fd;
}
.animated-icon span:nth-child(1) {
top: 0px;
}
.animated-icon span:nth-child(2),
.animated-icon span:nth-child(3) {
top: 6px;
}
.animated-icon span:nth-child(4) {
top: 12px;
}
.animated-icon.open span:nth-child(1) {
top: 11px;
width: 0%;
left: 50%;
}
.animated-icon.open span:nth-child(2) {
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
}
.animated-icon.open span:nth-child(3) {
-webkit-transform: rotate(-45deg);
-moz-transform: rotate(-45deg);
-o-transform: rotate(-45deg);
transform: rotate(-45deg);
}
.animated-icon.open span:nth-child(4) {
top: 11px;
width: 0%;
left: 50%;
}
.navbar-spacing:first-of-type {
padding-top: 151px;
}