419 lines
8.6 KiB
SCSS
419 lines
8.6 KiB
SCSS
@tailwind base;
|
|
@tailwind components;
|
|
@tailwind utilities;
|
|
|
|
@layer components {}
|
|
|
|
@import 'fonts.scss';
|
|
|
|
html {
|
|
// @apply text-[15px]
|
|
}
|
|
|
|
body {
|
|
@apply select-none min-w-80 font-sans;
|
|
|
|
&.modal-opened {
|
|
@apply overflow-hidden;
|
|
}
|
|
}
|
|
|
|
.container {
|
|
@apply max-w-7xl mx-auto px-4 grid grid-cols-12 items-center;
|
|
|
|
&.min-w-full {
|
|
@apply px-0;
|
|
}
|
|
}
|
|
|
|
.header {
|
|
@apply p-2 bg-slate-200;
|
|
|
|
.container {
|
|
@apply items-center;
|
|
}
|
|
}
|
|
|
|
.logo {
|
|
@apply w-full py-4 col-span-8 xl:col-span-2;
|
|
|
|
a {
|
|
@apply flex items-center gap-2;
|
|
}
|
|
|
|
&_text {
|
|
@apply leading-6 text-3xl font-normal;
|
|
}
|
|
|
|
svg {
|
|
@apply text-ioprim inline-block m-0 w-10 h-10 min-w-10;
|
|
}
|
|
}
|
|
|
|
.menu {
|
|
@apply hidden xl:flex col-span-10 justify-end;
|
|
|
|
a {
|
|
@apply text-zinc-800 hover:text-ioprim-900 transition-colors;
|
|
|
|
&:before {
|
|
content: '';
|
|
@apply inline-block w-[2px] h-5 mx-4 align-middle bg-gradient-to-t from-transparent via-zinc-800 via-50% to-transparent;
|
|
}
|
|
|
|
&:first-child::before {
|
|
content: none;
|
|
}
|
|
}
|
|
|
|
a[href^=http] {
|
|
@apply relative;
|
|
|
|
&:after {
|
|
content: '↷';
|
|
@apply ml-2;
|
|
}
|
|
}
|
|
|
|
&.toggle_visible {
|
|
@apply max-xl:flex max-xl:flex-col max-xl:text-left;
|
|
|
|
a {
|
|
@apply max-xl:mb-2;
|
|
}
|
|
|
|
a:before {
|
|
@media screen and (max-width: 1280px) {
|
|
content: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
&-toggle {
|
|
@apply flex xl:hidden col-span-4 justify-end;
|
|
|
|
>span {
|
|
@apply cursor-pointer text-zinc-600 hover:text-ioprim-900 transition-colors;
|
|
|
|
svg {
|
|
@apply text-3xl;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
a[href^="#"] {
|
|
@apply underline decoration-dotted underline-offset-4 decoration-neutral-500;
|
|
}
|
|
|
|
.footer {
|
|
@apply px-2 py-4 bg-slate-200 text-zinc-800 pt-12;
|
|
|
|
.container {
|
|
@apply gap-4
|
|
}
|
|
|
|
.k-logo {
|
|
@apply col-span-12 xl:col-span-2 row-span-3 text-9xl text-ioprim;
|
|
|
|
svg {
|
|
@apply my-0 mx-auto;
|
|
}
|
|
|
|
&:after {
|
|
content: '';
|
|
@apply block lg:hidden mr-auto ml-auto mt-5 h-[2px] max-w-44 mx-4 align-middle bg-gradient-to-r from-transparent via-zinc-800 via-50% to-transparent;
|
|
|
|
}
|
|
}
|
|
|
|
&-text {
|
|
@apply col-span-12 xl:col-span-5 text-sm mb-2;
|
|
|
|
&-small {
|
|
@apply col-span-12 xl:col-span-10 text-xs min-w-full;
|
|
}
|
|
|
|
&-social {
|
|
@apply col-span-12 xl:col-span-10 flex gap-4 flex-wrap justify-center;
|
|
}
|
|
}
|
|
|
|
&-icon {
|
|
@apply order-2 flex justify-center items-center gap-2;
|
|
|
|
&:hover {
|
|
.footer-icon-text {
|
|
@apply no-underline;
|
|
}
|
|
}
|
|
|
|
svg {
|
|
@apply mb-0;
|
|
}
|
|
|
|
&-big {
|
|
@apply text-3xl order-1 w-full text-center;
|
|
|
|
.footer-icon-text {
|
|
@apply no-underline;
|
|
}
|
|
}
|
|
|
|
&-text {
|
|
@apply underline;
|
|
}
|
|
}
|
|
|
|
&_two {
|
|
@apply xl:bg-slate-200 py-16 lg:py-8 text-sm text-zinc-500;
|
|
}
|
|
}
|
|
|
|
.siteblock {
|
|
@apply py-10;
|
|
|
|
&_imgbg {
|
|
@apply py-0 bg-no-repeat bg-cover bg-bottom h-[50vh] min-h-[600px];
|
|
}
|
|
|
|
&_calc {
|
|
@apply py-0 relative;
|
|
|
|
>.container:first-child {
|
|
@apply relative min-h-[650px] justify-between;
|
|
|
|
>* {
|
|
@apply z-10
|
|
}
|
|
}
|
|
|
|
&-canvas {
|
|
@apply absolute top-0 bottom-0;
|
|
}
|
|
}
|
|
|
|
&_content {
|
|
>.container {
|
|
@apply items-start;
|
|
}
|
|
|
|
a[href^="tel://"] {
|
|
@apply whitespace-nowrap
|
|
}
|
|
}
|
|
|
|
&-content {
|
|
@apply col-span-full xl:col-span-8 h-full flex flex-col justify-between min-w-full prose;
|
|
}
|
|
|
|
&-text {
|
|
// @apply
|
|
}
|
|
|
|
&-title {
|
|
@apply col-span-full text-4xl xl:text-6xl font-black font-h1 xl:leading-[0.85] tracking-tight mb-[3.15rem]
|
|
}
|
|
|
|
&-image {
|
|
@apply col-span-full xl:col-span-4 flex justify-center items-center;
|
|
}
|
|
}
|
|
|
|
.review {
|
|
@apply col-span-12 md:col-span-6 xl:col-span-4 grid grid-cols-4 items-center px-4;
|
|
|
|
&-image {
|
|
@apply max-w-full max-h-full aspect-square overflow-hidden col-span-1 pr-4;
|
|
|
|
img {
|
|
@apply rounded-full bg-slate-300
|
|
}
|
|
}
|
|
|
|
&-content {
|
|
@apply col-span-3 text-end italic text-sm lg:text-base;
|
|
}
|
|
|
|
&-title {
|
|
@apply col-span-4 font-bold text-lg text-end xl:mt-4 mb-4 xl:mb-0;
|
|
}
|
|
}
|
|
|
|
.modal {
|
|
@apply relative bg-white p-5 lg:p-10 border rounded shadow prose;
|
|
|
|
&-backdrop {
|
|
@apply fixed top-0 left-0 right-0 bottom-0 bg-white bg-opacity-70 flex items-center justify-center z-30;
|
|
}
|
|
|
|
&-close {
|
|
@apply absolute right-3 top-3 text-4xl opacity-50 cursor-pointer;
|
|
}
|
|
|
|
&-status {
|
|
@apply text-center;
|
|
|
|
&-icon {
|
|
@apply text-8xl;
|
|
}
|
|
|
|
&-text {
|
|
@apply text-3xl;
|
|
}
|
|
}
|
|
|
|
&-content {
|
|
@apply max-h-[66vh] overflow-auto;
|
|
}
|
|
|
|
h2 {
|
|
@apply px-6 text-2xl text-center;
|
|
}
|
|
|
|
form {
|
|
@apply flex flex-col gap-4 items-center;
|
|
}
|
|
}
|
|
|
|
label {
|
|
@apply inline-block text-sm font-medium text-gray-900 min-w-36;
|
|
}
|
|
|
|
input {
|
|
@apply bg-white border border-gray-300 text-gray-900 text-lg p-2.5 rounded focus:ring-blue-500 focus:border-blue-500 focus-visible:border-blue-500 disabled:cursor-not-allowed disabled:text-black
|
|
}
|
|
|
|
input[type=checkbox] {
|
|
@apply w-4 h-4;
|
|
}
|
|
|
|
input[type=range] {
|
|
@apply bg-neutral-300 appearance-none h-1;
|
|
|
|
// [&::-webkit-slider-runnable-track]:h-1
|
|
// [&::-moz-range-track]:h-1
|
|
// [&::-webkit-slider-thumb]:bg-[#61C4FF] [&::-webkit-slider-thumb]:w-8
|
|
// [&::-moz-range-thumb]:bg-[#61C4FF]
|
|
// ;
|
|
&::-moz-range-track,
|
|
&::-webkit-slider-runnable-track {
|
|
@apply h-1 bg-red-500;
|
|
}
|
|
|
|
&::-moz-range-thumb,
|
|
&::-webkit-slider-thumb {
|
|
@apply bg-[#61C4FF] shadow-red-700;
|
|
}
|
|
}
|
|
|
|
textarea {
|
|
@apply block p-2.5 w-full text-sm text-gray-900 bg-gray-50 rounded-lg border border-gray-300 focus:ring-blue-500 focus:border-blue-500 max-w-full min-h-10 max-h-40;
|
|
}
|
|
|
|
button {
|
|
@apply rounded bg-primary hover:bg-primary-300 transition-colors p-4 inline-block text-2xl font-bold cursor-pointer disabled:opacity-50 disabled:hover:bg-primary leading-5 lg:leading-4;
|
|
|
|
&.neutral,
|
|
&[type="reset"] {
|
|
@apply bg-neutral-200 hover:bg-neutral-400
|
|
}
|
|
}
|
|
|
|
.form {
|
|
@apply col-span-full grid grid-cols-12 gap-4;
|
|
|
|
&-row {
|
|
@apply col-span-full flex flex-row flex-wrap gap-4;
|
|
}
|
|
|
|
&-item {
|
|
@apply flex flex-row items-center justify-start flex-wrap;
|
|
|
|
label {
|
|
@apply w-full;
|
|
}
|
|
|
|
.icon {
|
|
@apply hover:text-primary cursor-pointer transition-colors text-2xl;
|
|
|
|
&.disabled {
|
|
@apply text-neutral pointer-events-none cursor-not-allowed;
|
|
}
|
|
}
|
|
|
|
&_checkbox {
|
|
@apply w-full xl:w-auto flex-row xl:flex-initial flex-nowrap gap-4;
|
|
}
|
|
&_color {
|
|
@apply w-full;
|
|
.color_picker {
|
|
@apply ml-4;
|
|
}
|
|
}
|
|
|
|
input[type=range] {
|
|
@apply min-w-[calc(100%-8rem)] xl:min-w-min py-0 -translate-y-1/2;
|
|
}
|
|
}
|
|
}
|
|
|
|
.color_picker {
|
|
@apply leading-none;
|
|
|
|
&-selected {
|
|
@apply size-10 rounded border-gray-300 shadow inline-block leading-none;
|
|
|
|
&__active {
|
|
@apply outline outline-2 outline-offset-2 outline-primary;
|
|
}
|
|
}
|
|
|
|
&-changer {
|
|
@apply absolute w-80 z-20 p-4 border rounded bg-white flex gap-0 right-0;
|
|
}
|
|
}
|
|
|
|
.feature {
|
|
@apply col-span-full flex gap-10 mt-4 justify-center xl:justify-between flex-wrap items-center;
|
|
|
|
&-item {
|
|
@apply rounded bg-neutral-200 p-4 min-w-36 flex justify-center flex-wrap flex-col;
|
|
}
|
|
|
|
&-name {
|
|
@apply text-ioprim font-bold w-20 text-xl leading-4 col-span-2;
|
|
}
|
|
}
|
|
|
|
.fallback {
|
|
@apply absolute bg-neutral-600 top-0 left-0 w-full h-full z-20 flex justify-center items-center text-black font-mono
|
|
}
|
|
|
|
.canvas-icons {
|
|
@apply absolute text-3xl top-0 left-0 flex flex-col;
|
|
|
|
a {
|
|
@apply cursor-pointer;
|
|
|
|
&.disabled {
|
|
@apply cursor-not-allowed opacity-50 pointer-events-none;
|
|
}
|
|
}
|
|
}
|
|
|
|
.calc_table {
|
|
@apply flex flex-col gap-2 self-end;
|
|
|
|
>.grid {
|
|
@apply gap-2 items-center;
|
|
|
|
>[class*=col] {
|
|
@apply p-1 border-solid border-b;
|
|
}
|
|
|
|
>.col-span-4:not(.calc_table-maincell) {
|
|
@apply pl-4;
|
|
}
|
|
}
|
|
} |