Commit f8b0b9df authored by Simonas's avatar Simonas

new feedback done

parent 281f6757
...@@ -8,9 +8,9 @@ ...@@ -8,9 +8,9 @@
} }
} }
.c-feedbacks--inner { position: relative; overflow-x: hidden; max-width: 340px; height: 370px; margin: 0 auto; width: 100%; padding: 10px 0; .c-feedbacks--inner { position: relative; overflow: hidden; height: 420px; margin: -20px auto -40px; width: 100%; padding: 20px 10px 0;
@media (--min--medium) { @media (--min--medium) {
/*width: 640px; height: 350px;*/max-width: 790px; max-width: 720px; padding: 20px 0 0;
} }
} }
...@@ -20,36 +20,33 @@ ...@@ -20,36 +20,33 @@
} }
} }
.c-feedbacks--section { /* padding-top: 40px; */ max-width: 300px; height: 350px; margin: 0 auto; } .c-feedbacks--section { max-width: 300px; height: 350px; margin: 0 auto; }
.c-feedbacks--section-inner { position: relative; height: 100% !important; max-width: 100%; /* margin: 0 5px; */ /* padding: 60px 0 0; */ background-color: #FFFFFF; border-radius: 3px; box-shadow: -1px 15px 46px 0 rgba(192,210,231,0.5); .c-feedbacks--section-inner { position: relative; height: 300px !important; max-width: 100%; background-color: #FFFFFF; border-radius: 3px; padding-top: 50px; }
@media (--min--medium) {
height: 140px; width: 574px; /* margin: 0 33px; */
} .swiper-slide-active {
.c-feedbacks--section-inner { box-shadow: -1px 15px 46px 0 rgba(192,210,231,0.5); }
} }
/* critical:end */ /* critical:end */
.c-feedbacks--img { display: block; margin: 0 auto; /* position: absolute; top: -32px; left: 50%; margin-left: -42px; */ } .c-feedbacks--img { display: block; margin: 0 auto 40px; }
.c-feedbacks--feedback { margin: 0 auto 10px; max-width: 260px; height: 58px; color: #2A3644; font-family: Georgia; font-size: 14px; line-height: 26px; text-align: center; overflow: hidden; width: 100%; .c-feedbacks--feedback { margin: 0 auto 10px; max-width: 90%; min-height: 66px; color: #2A3644; font-family: Georgia; font-size: 17px; line-height: 23px; text-align: center; overflow: hidden; width: 100%;
@media (--min--medium) { @media (--min--medium) {
margin: 0 auto 17px; height: 79px; font-size: 21px; line-height: 40px; max-width: 400px; width: 100%; margin: 0 auto 15px; min-height: 79px; line-height: 27px;
} }
} }
.c-feedbacks--name { color: #919191; font-family: Georgia; font-size: 13px; line-height: 15px; text-align: center; padding: 0 10px; .c-feedbacks--name { color: #919191; font-family: Georgia; font-size: 13px; line-height: 17px; text-align: center; padding: 0 15px;
@media (--min--medium) { @media (--min--medium) {
font-size: 15px; line-height: 17px; font-size: 15px; line-height: 21px;
} }
} }
.swiper-slide { max-width: 300px; } .swiper-slide { max-width: 300px; }
/*.swiper-slide-prev { opacity: 1; }
.swiper-slide-active { opacity: 1; }
.swiper-slide-next { opacity: 1; }
*/
.swiper-container-horizontal > .swiper-pagination-bullets { bottom: 0; } .swiper-container-horizontal > .swiper-pagination-bullets { bottom: 0; }
.swiper-pagination-bullet { width: 9px; height: 9px; background: #D8D8D8; opacity: 1; } .swiper-pagination-bullet { width: 9px; height: 9px; background: #D8D8D8; opacity: 1; }
......
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
...@@ -154,7 +154,7 @@ ...@@ -154,7 +154,7 @@
<?php <?php
endif; endif;
?> ?>
<script src="/wp-content/themes/biuro/js/main.min.js" async></script> <script src="/wp-content/themes/biuro/js/main-bda32991.min.js" async></script>
<?php <?php
// global $time_start; // global $time_start;
......
...@@ -31,18 +31,18 @@ ...@@ -31,18 +31,18 @@
<link rel="preload" as="font" type="font/woff2" href="/wp-content/themes/biuro/fonts/roboto-v19-cyrillic_latin_cyrillic-ext_latin-ext-500.woff2" crossorigin="anonymous" > <link rel="preload" as="font" type="font/woff2" href="/wp-content/themes/biuro/fonts/roboto-v19-cyrillic_latin_cyrillic-ext_latin-ext-500.woff2" crossorigin="anonymous" >
<link rel="preload" as="font" type="font/woff2" href="/wp-content/themes/biuro/fonts/roboto-v19-cyrillic_latin_cyrillic-ext_latin-ext-regular.woff2" crossorigin="anonymous" > <link rel="preload" as="font" type="font/woff2" href="/wp-content/themes/biuro/fonts/roboto-v19-cyrillic_latin_cyrillic-ext_latin-ext-regular.woff2" crossorigin="anonymous" >
<style><?php include 'css/core.min.css'; ?></style> <style><?php include 'css/core-afb860776e.min.css'; ?></style>
<link rel="preload" as="font" type="font/woff2" href="/wp-content/themes/biuro/fonts/roboto-v19-cyrillic_latin_cyrillic-ext_latin-ext-300.woff2" crossorigin="anonymous" > <link rel="preload" as="font" type="font/woff2" href="/wp-content/themes/biuro/fonts/roboto-v19-cyrillic_latin_cyrillic-ext_latin-ext-300.woff2" crossorigin="anonymous" >
<link rel="preload" as="font" type="font/woff2" href="/wp-content/themes/biuro/fonts/roboto-v19-cyrillic_latin_cyrillic-ext_latin-ext-700.woff2" crossorigin="anonymous" > <link rel="preload" as="font" type="font/woff2" href="/wp-content/themes/biuro/fonts/roboto-v19-cyrillic_latin_cyrillic-ext_latin-ext-700.woff2" crossorigin="anonymous" >
<link rel="preload" href="/wp-content/themes/biuro/css/main.min.css" as="style" onload="this.rel='stylesheet'"> <link rel="preload" href="/wp-content/themes/biuro/css/main-84fd3913fa.min.css" as="style" onload="this.rel='stylesheet'">
<link rel="preconnect" href="https://www.gstatic.com"> <link rel="preconnect" href="https://www.gstatic.com">
<link rel="preconnect" href="https://fonts.gstatic.com"> <link rel="preconnect" href="https://fonts.gstatic.com">
<noscript> <noscript>
<link rel="stylesheet" href="/wp-content/themes/biuro/css/main.min.css"> <link rel="stylesheet" href="/wp-content/themes/biuro/css/main-84fd3913fa.min.css">
</noscript> </noscript>
<?php wp_head(); ?> <?php wp_head(); ?>
......
...@@ -31,18 +31,18 @@ ...@@ -31,18 +31,18 @@
<link rel="preload" as="font" type="font/woff2" href="/wp-content/themes/biuro/fonts/roboto-v19-cyrillic_latin_cyrillic-ext_latin-ext-500.woff2" crossorigin="anonymous" > <link rel="preload" as="font" type="font/woff2" href="/wp-content/themes/biuro/fonts/roboto-v19-cyrillic_latin_cyrillic-ext_latin-ext-500.woff2" crossorigin="anonymous" >
<link rel="preload" as="font" type="font/woff2" href="/wp-content/themes/biuro/fonts/roboto-v19-cyrillic_latin_cyrillic-ext_latin-ext-regular.woff2" crossorigin="anonymous" > <link rel="preload" as="font" type="font/woff2" href="/wp-content/themes/biuro/fonts/roboto-v19-cyrillic_latin_cyrillic-ext_latin-ext-regular.woff2" crossorigin="anonymous" >
<style><?php include 'css/core.min.css'; ?></style> <style><?php include 'css/core-afb860776e.min.css'; ?></style>
<link rel="preload" as="font" type="font/woff2" href="/wp-content/themes/biuro/fonts/roboto-v19-cyrillic_latin_cyrillic-ext_latin-ext-300.woff2" crossorigin="anonymous" > <link rel="preload" as="font" type="font/woff2" href="/wp-content/themes/biuro/fonts/roboto-v19-cyrillic_latin_cyrillic-ext_latin-ext-300.woff2" crossorigin="anonymous" >
<link rel="preload" as="font" type="font/woff2" href="/wp-content/themes/biuro/fonts/roboto-v19-cyrillic_latin_cyrillic-ext_latin-ext-700.woff2" crossorigin="anonymous" > <link rel="preload" as="font" type="font/woff2" href="/wp-content/themes/biuro/fonts/roboto-v19-cyrillic_latin_cyrillic-ext_latin-ext-700.woff2" crossorigin="anonymous" >
<link rel="preload" href="/wp-content/themes/biuro/css/main.min.css" as="style" onload="this.rel='stylesheet'"> <link rel="preload" href="/wp-content/themes/biuro/css/main-84fd3913fa.min.css" as="style" onload="this.rel='stylesheet'">
<link rel="preconnect" href="https://www.gstatic.com"> <link rel="preconnect" href="https://www.gstatic.com">
<link rel="preconnect" href="https://fonts.gstatic.com"> <link rel="preconnect" href="https://fonts.gstatic.com">
<noscript> <noscript>
<link rel="stylesheet" href="/wp-content/themes/biuro/css/main.min.css"> <link rel="stylesheet" href="/wp-content/themes/biuro/css/main-84fd3913fa.min.css">
</noscript> </noscript>
<?php wp_head(); ?> <?php wp_head(); ?>
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -24,21 +24,22 @@ import Swiper from './vendor/swiper'; ...@@ -24,21 +24,22 @@ import Swiper from './vendor/swiper';
const swiper = new Swiper('.c-feedbacks--inner', { const swiper = new Swiper('.c-feedbacks--inner', {
effect: 'coverflow', effect: 'coverflow',
grabCursor: true, grabCursor: false,
centeredSlides: true, centeredSlides: true,
slidesPerView: 'auto', slidesPerView: 'auto',
slideToClickedSlide: true,
coverflowEffect: { coverflowEffect: {
rotate: 0, rotate: 0,
stretch: 0, stretch: 0,
depth: 100, depth: 300,
modifier: 1, modifier: 1,
slideShadows: false slideShadows: false
}, },
speed: 900, speed: 900,
// autoplay: { autoplay: {
// delay: 6000, delay: 6000,
// disableOnInteraction: false disableOnInteraction: false
// }, },
// grabCursor: true, // grabCursor: true,
loop: true, loop: true,
// pagination: { // pagination: {
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment