Skip to content

Commit

Permalink
Update website
Browse files Browse the repository at this point in the history
  • Loading branch information
miladsoft committed Dec 31, 2023
1 parent 96ae5f7 commit 0149f5c
Show file tree
Hide file tree
Showing 57 changed files with 5,554 additions and 16 deletions.
13 changes: 13 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# editorconfig.org

root = true

[*]
charset = utf-8
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
trim_trailing_whitespace = false
29 changes: 29 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
## Node.js
lib-cov
*.seed
*.log
*.csv
*.dat
*.out
*.pid
*.gz
pids
logs
results
npm-debug.log
node_modules

## OS X
.DS_Store
.AppleDouble
.LSOverride
Icon
._*
.Spotlight-V100
.Trashes

## Windows
Thumbs.db
ehthumbs.db
Desktop.ini
$RECYCLE.BIN/
26 changes: 26 additions & 0 deletions css/additional-styles/custom-fonts.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
@font-face {
font-family: 'HK Grotesk';
font-weight: 700;
font-style: normal;
font-display: fallback;
src: url('fonts/HKGrotesk-Bold.woff2') format('woff2'),
url('fonts/HKGrotesk-Bold.woff') format('woff');
}

@font-face {
font-family: 'HK Grotesk';
font-weight: 800;
font-style: normal;
font-display: fallback;
src: url('fonts/HKGrotesk-ExtraBold.woff2') format('woff2'),
url('fonts/HKGrotesk-ExtraBold.woff') format('woff');
}

@font-face {
font-family: 'HK Grotesk';
font-weight: 500;
font-style: normal;
font-display: fallback;
src: url('fonts/HKGrotesk-Medium.woff2') format('woff2'),
url('fonts/HKGrotesk-Medium.woff') format('woff');
}
57 changes: 57 additions & 0 deletions css/additional-styles/range-slider.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
/* Range slider */
:root {
--range-thumb-size: 36px;
}

input[type=range] {
appearance: none;
background: #ccc;
border-radius: 3px;
height: 6px;
margin-top: (--range-thumb-size - 6px) * 0.5;
margin-bottom: (--range-thumb-size - 6px) * 0.5;
--thumb-size: #{--range-thumb-size};
}

input[type=range]::-webkit-slider-thumb {
appearance: none;
-webkit-appearance: none;
background-color: #000;
background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 .5v7L12 4zM0 4l4 3.5v-7z' fill='%23FFF' fill-rule='nonzero'/%3E%3C/svg%3E");
background-position: center;
background-repeat: no-repeat;
border: 0;
border-radius: 50%;
cursor: pointer;
height: --range-thumb-size;
width: --range-thumb-size;
}

input[type=range]::-moz-range-thumb {
background-color: #000;
background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 .5v7L12 4zM0 4l4 3.5v-7z' fill='%23FFF' fill-rule='nonzero'/%3E%3C/svg%3E");
background-position: center;
background-repeat: no-repeat;
border: 0;
border: none;
border-radius: 50%;
cursor: pointer;
height: --range-thumb-size;
width: --range-thumb-size;
}

input[type=range]::-ms-thumb {
background-color: #000;
background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 .5v7L12 4zM0 4l4 3.5v-7z' fill='%23FFF' fill-rule='nonzero'/%3E%3C/svg%3E");
background-position: center;
background-repeat: no-repeat;
border: 0;
border-radius: 50%;
cursor: pointer;
height: --range-thumb-size;
width: --range-thumb-size;
}

input[type=range]::-moz-focus-outer {
border: 0;
}
178 changes: 178 additions & 0 deletions css/additional-styles/theme.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,178 @@
.form-input:focus,
.form-textarea:focus,
.form-multiselect:focus,
.form-select:focus,
.form-checkbox:focus,
.form-radio:focus {
@apply ring-0;
}

/* Hamburger button */
.hamburger svg>*:nth-child(1),
.hamburger svg>*:nth-child(2),
.hamburger svg>*:nth-child(3) {
transform-origin: center;
transform: rotate(0deg);
}

.hamburger svg>*:nth-child(1) {
transition: y 0.1s 0.25s ease-in, transform 0.22s cubic-bezier(0.55, 0.055, 0.675, 0.19), opacity 0.1s ease-in;
}

.hamburger svg>*:nth-child(2) {
transition: transform 0.22s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger svg>*:nth-child(3) {
transition: y 0.1s 0.25s ease-in, transform 0.22s cubic-bezier(0.55, 0.055, 0.675, 0.19), width 0.1s 0.25s ease-in;
}

.hamburger.active svg>*:nth-child(1) {
opacity: 0;
y: 11;
transform: rotate(225deg);
transition: y 0.1s ease-out, transform 0.22s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1), opacity 0.1s 0.12s ease-out;
}

.hamburger.active svg>*:nth-child(2) {
transform: rotate(225deg);
transition: transform 0.22s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.hamburger.active svg>*:nth-child(3) {
y: 11;
transform: rotate(135deg);
transition: y 0.1s ease-out, transform 0.22s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1), width 0.1s ease-out;
}

/* Custom Swiper styles */
.swiper-button-disabled {
@apply opacity-50 cursor-default pointer-events-none;
}

/* Pulsing animation */
@keyframes pulseLoop {
0% {
opacity: 0;
transform: scale(1) translateZ(0);
}

30% {
opacity: .4;
}

60% {
opacity: 0;
}

80% {
opacity: 0;
transform: scale(2.5) translateZ(0);
}
}

.pulse {
transform: scale(1);
opacity: 0;
transform-origin: center;
animation: pulseLoop 8000ms linear infinite;
}

.pulse-1 {
animation-delay: -2000ms;
}

.pulse-2 {
animation-delay: -4000ms;
}

.pulse-3 {
animation-delay: -6000ms;
}

.translate-z-0 {
transform: translateZ(0);
}

/* Custom AOS distance */
@media screen {
html:not(.no-js) [data-aos=fade-up] {
-webkit-transform: translate3d(0, 10px, 0);
transform: translate3d(0, 10px, 0);
}

html:not(.no-js) [data-aos=fade-down] {
-webkit-transform: translate3d(0, -10px, 0);
transform: translate3d(0, -10px, 0);
}

html:not(.no-js) [data-aos=fade-right] {
-webkit-transform: translate3d(-10px, 0, 0);
transform: translate3d(-10px, 0, 0);
}

html:not(.no-js) [data-aos=fade-left] {
-webkit-transform: translate3d(10px, 0, 0);
transform: translate3d(10px, 0, 0);
}

html:not(.no-js) [data-aos=fade-up-right] {
-webkit-transform: translate3d(-10px, 10px, 0);
transform: translate3d(-10px, 10px, 0);
}

html:not(.no-js) [data-aos=fade-up-left] {
-webkit-transform: translate3d(10px, 10px, 0);
transform: translate3d(10px, 10px, 0);
}

html:not(.no-js) [data-aos=fade-down-right] {
-webkit-transform: translate3d(-10px, -10px, 0);
transform: translate3d(-10px, -10px, 0);
}

html:not(.no-js) [data-aos=fade-down-left] {
-webkit-transform: translate3d(10px, -10px, 0);
transform: translate3d(10px, -10px, 0);
}

html:not(.no-js) [data-aos=zoom-in-up] {
-webkit-transform: translate3d(0, 10px, 0) scale(.6);
transform: translate3d(0, 10px, 0) scale(.6);
}

html:not(.no-js) [data-aos=zoom-in-down] {
-webkit-transform: translate3d(0, -10px, 0) scale(.6);
transform: translate3d(0, -10px, 0) scale(.6);
}

html:not(.no-js) [data-aos=zoom-in-right] {
-webkit-transform: translate3d(-10px, 0, 0) scale(.6);
transform: translate3d(-10px, 0, 0) scale(.6);
}

html:not(.no-js) [data-aos=zoom-in-left] {
-webkit-transform: translate3d(10px, 0, 0) scale(.6);
transform: translate3d(10px, 0, 0) scale(.6);
}

html:not(.no-js) [data-aos=zoom-out-up] {
-webkit-transform: translate3d(0, 10px, 0) scale(1.2);
transform: translate3d(0, 10px, 0) scale(1.2);
}

html:not(.no-js) [data-aos=zoom-out-down] {
-webkit-transform: translate3d(0, -10px, 0) scale(1.2);
transform: translate3d(0, -10px, 0) scale(1.2);
}

html:not(.no-js) [data-aos=zoom-out-right] {
-webkit-transform: translate3d(-10px, 0, 0) scale(1.2);
transform: translate3d(-10px, 0, 0) scale(1.2);
}

html:not(.no-js) [data-aos=zoom-out-left] {
-webkit-transform: translate3d(10px, 0, 0) scale(1.2);
transform: translate3d(10px, 0, 0) scale(1.2);
}
}
16 changes: 16 additions & 0 deletions css/additional-styles/toggle-switch.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/* Switch element */
.form-switch {
@apply relative select-none w-12 my-2;
}

.form-switch label {
@apply block overflow-hidden cursor-pointer rounded-full h-4;
}

.form-switch label>span:first-child {
@apply absolute block rounded-full w-6 h-6 right-1/2 -left-1 -top-1 transition-all duration-150 ease-out;
}

.form-switch input[type="checkbox"]:checked+label>span:first-child {
@apply bg-indigo-500 left-7;
}
Loading

0 comments on commit 0149f5c

Please sign in to comment.