diff --git a/about.html b/about.html index 3f70aaa0..cd9f3f85 100644 --- a/about.html +++ b/about.html @@ -48,7 +48,7 @@
-
+
Photo 1 @@ -66,55 +66,79 @@
- -
- - +
+
+
+
+

Замовити констультацію

+
+
+ + + +
+ + + +
+
+
+
+
+
-

-
-
-

Про нас

-

Наша компанія "West Decor" - це команда професіоналів, - які займаються декоруванням стін та приміщень, створюючи унікальні - та стильні інтер’єри. - Ми використовуємо лише високоякісні матеріали - та сучасні технології для досягнення найкращих результатів.

-
-
- img -
-
- -
-
-

Наша місія

-

Ми прагнемо зробити кожен інтер'єр неповторним, вкладаючи свою душу та творчість у кожен проект.

-
-
- header -
-
- -
-
-

Наша команда

-

Наша команда складається з досвідчених дизайнерів, декораторів та майстрів, які завжди готові реалізувати ваші найсміливіші ідеї.

-
-
- header -
-
- -
-
-

Наші послуги

-

Ми пропонуємо широкий спектр послуг: від консультацій та підбору матеріалів до повного оздоблення вашого простору.

-
-
- header -
-
+
+

+
+
+

Про нас

+

Наша компанія "West Decor" - це команда професіоналів, + які займаються декоруванням стін та приміщень, створюючи унікальні + та стильні інтер’єри. + Ми використовуємо лише високоякісні матеріали + та сучасні технології для досягнення найкращих результатів.

+
+
+ img +
+
+ +
+
+

Наша місія

+

Ми прагнемо зробити кожен інтер'єр неповторним, вкладаючи свою душу та творчість у кожен проект.

+
+
+ header +
+
+ +
+
+

Наша команда

+

Наша команда складається з досвідчених дизайнерів, декораторів та майстрів, які завжди готові реалізувати ваші найсміливіші ідеї.

+
+
+ header +
+
+ +
+
+

Наші послуги

+

Ми пропонуємо широкий спектр послуг: від консультацій та підбору матеріалів до повного оздоблення вашого простору.

+
+
+ header +
+
+
diff --git a/css/main.css b/css/main.css index f71bcbb9..93ba1e5f 100755 --- a/css/main.css +++ b/css/main.css @@ -288,8 +288,6 @@ body { .testimonials { padding-top: 40px; padding-bottom: 30px; - -webkit-box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px; - box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px; } .testimonials__heading { @@ -674,7 +672,7 @@ body { } .about-us { - padding: 20px; + margin-top: 50px; } .about-us__row { @@ -855,32 +853,158 @@ body { right: 0; } -.parallax { - /* The image used */ - background-image: url(../img/parallax/img_parallax.jpg); - -webkit-box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset; - box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset; - /* Full height */ - height: 35vh; - /* Create the parallax scrolling effect */ - background-attachment: fixed; - background-position: top; - background-repeat: no-repeat; - background-size: cover; - overflow: hidden; +.tell-me__block { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + padding: 0 30px; + height: 200px; + width: 100%; + background-color: rgb(235, 235, 235); + -webkit-box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px; + box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px; +} +.tell-me__block input[name=name], .tell-me__block [name=phone] { + min-width: 13em; + width: 13vw; + padding: 12px 10px 12px 35px; + margin: 8px 0; + display: inline-block; + border: 1px solid darkgray; + background: none; + border-top: none; + border-left: none; + border-right: none; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.tell-me__block input[name=name]::-webkit-input-placeholder, .tell-me__block [name=phone]::-webkit-input-placeholder { + color: rgb(46, 45, 45); +} +.tell-me__block input[name=name]::-moz-placeholder, .tell-me__block [name=phone]::-moz-placeholder { + color: rgb(46, 45, 45); +} +.tell-me__block input[name=name]:-ms-input-placeholder, .tell-me__block [name=phone]:-ms-input-placeholder { + color: rgb(46, 45, 45); +} +.tell-me__block input[name=name]::-ms-input-placeholder, .tell-me__block [name=phone]::-ms-input-placeholder { + color: rgb(46, 45, 45); +} +.tell-me__block input[name=name]::placeholder, .tell-me__block [name=phone]::placeholder { + color: rgb(46, 45, 45); +} +.tell-me__block input[name=name]:focus, .tell-me__block [name=phone]:focus { + background: none; +} + +.tell-me__inputs { + -webkit-box-flex: 1; + -ms-flex: 1; + flex: 1; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: space-evenly; + -ms-flex-pack: space-evenly; + justify-content: space-evenly; +} + +.tell-me__row { + -webkit-column-gap: 50px; + -moz-column-gap: 50px; + column-gap: 50px; + width: 100%; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; +} +.tell-me__row h1 { + -webkit-box-flex: 1; + -ms-flex: 1; + flex: 1; + color: rgb(46, 45, 45); + width: auto; + font-weight: 700; + font-size: 24px; +} +.tell-me__row form { + -webkit-box-flex: 2; + -ms-flex: 2; + flex: 2; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: justify; + -ms-flex-pack: justify; + justify-content: space-between; + position: relative; } -.parallax__bottom { - height: 35vh; - background-position: bottom; +.tell-me__row form svg { + margin-top: 1.3em; + position: absolute; + width: 1.3em; + height: 1.3em; } -.parallax__about-us { - background-image: url(../img/parallax/shtukaturka_parallax.jpg); - margin: 50px 0; - height: 50vh; - -webkit-filter: blur(0.15rem); - filter: blur(0.15rem); +.tell-me__row button { + margin: auto 0; + padding: 0 50px; } +@media screen and (max-width: 1090px) { + .tell-me__row { + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + row-gap: 20px; + -webkit-box-pack: space-evenly; + -ms-flex-pack: space-evenly; + justify-content: space-evenly; + } + .tell-me__row form { + width: 100%; + -webkit-box-pack: space-evenly; + -ms-flex-pack: space-evenly; + justify-content: space-evenly; + } +} +@media screen and (max-width: 800px) { + .tell-me__block { + height: auto; + padding: 20px; + } + .tell-me__row form { + row-gap: 20px; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + } +} +@media screen and (max-width: 560px) { + .tell-me__block { + text-align: center; + } + .tell-me__row h1 { + font-size: 22px; + } + .tell-me__inputs { + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + row-gap: 20px; + } +} @media screen and (max-width: 1024px) { .container { max-width: 90%; @@ -949,7 +1073,12 @@ body { display: none; margin-top: 20px; } + .navigation-list.show { + width: 100%; + } .navigation-list.show ul { + -webkit-box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px; + box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px; display: -webkit-box; display: -ms-flexbox; display: flex; @@ -957,12 +1086,33 @@ body { -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -ms-flex-line-pack: center; + align-content: center; + text-align: center; } .navigation-list li { margin-right: 20px; - width: 100vw; - padding: auto 10px; - background-color: red; + padding: 20px auto; + width: 100%; + } + .navigation-list li:last-child { + margin: 0; + } + .navigation-list li a { + padding: 10px; + border-bottom: 1px solid rgb(205, 205, 205); + background-color: rgb(235, 235, 235); + } + .dash-under-link ul { + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; } .hamburger { display: block; /* Показуємо бургер-кнопку */ diff --git a/index.html b/index.html index ece76ae0..25a442a0 100755 --- a/index.html +++ b/index.html @@ -33,7 +33,7 @@ @@ -74,7 +74,31 @@

-
+
+
+
+
+

Замовити констультацію

+
+
+ + + +
+ + + +
+
+
+
+
@@ -347,7 +371,6 @@

Варіанти декору

-
diff --git a/sass/base/_media.scss b/sass/base/_media.scss index a7c0c911..51b37fd2 100755 --- a/sass/base/_media.scss +++ b/sass/base/_media.scss @@ -63,25 +63,56 @@ } .nav__row { + flex-direction: column; align-items: center; } .navigation-list ul { + display: none; margin-top: 20px; } + .navigation-list.show { + width: 100%; + } + .navigation-list.show ul { + box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px; display: flex; flex-direction: column; + // justify-content: center; + align-items: center; + align-content: center; + // width: 100%; + text-align: center; + // padding: auto; } .navigation-list li { margin-right: 20px; - width: 100vw; - padding: auto 10px; - background-color: red; + // width: 100vw; + padding: 20px auto; + width: 100%; + + &:last-child{ + margin: 0; + } + + a { + padding: 10px; + border-bottom: 1px solid rgb(205, 205, 205); + + background-color: rgb(235, 235, 235); + + } + } + + .dash-under-link ul{ + + justify-content: center; + align-items: center; } .hamburger { @@ -161,6 +192,11 @@ // Адаптивність для дуже маленьких екранів (до 480px) @media screen and (max-width: 480px) { + + .container { + + } + .nav__row { flex-direction: column; justify-content: center; diff --git a/sass/blocks/_about.scss b/sass/blocks/_about.scss index ab7de2f6..ec205f87 100644 --- a/sass/blocks/_about.scss +++ b/sass/blocks/_about.scss @@ -1,8 +1,10 @@ .about-us { - padding: 20px; + margin-top: 50px; + // padding: 20px; } + .about-us__row { display: flex; align-items: center; diff --git a/sass/blocks/_parallax.scss b/sass/blocks/_parallax.scss deleted file mode 100644 index 96343945..00000000 --- a/sass/blocks/_parallax.scss +++ /dev/null @@ -1,32 +0,0 @@ -.parallax { - //margin-top: 50px; - /* The image used */ - // background-image: url("./img/img_parallax.jpg"); - background-image: url(../img/parallax/img_parallax.jpg); - - // filter: blur(0.2rem); - box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset,rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset; - - /* Full height */ - height: 35vh; - - /* Create the parallax scrolling effect */ - background-attachment: fixed; - background-position: top; - background-repeat: no-repeat; - background-size: cover; - overflow: hidden; - - &__bottom { - height: 35vh; - background-position: bottom; - } - - &__about-us { - background-image: url(../img/parallax/shtukaturka_parallax.jpg); - margin: 50px 0; - height: 50vh; - filter: blur(0.15rem); - - } -} diff --git a/sass/blocks/_tell-me.scss b/sass/blocks/_tell-me.scss new file mode 100644 index 00000000..7df61faf --- /dev/null +++ b/sass/blocks/_tell-me.scss @@ -0,0 +1,135 @@ +.tell-me__block { +display: flex; +align-items: center; +padding: 0 30px; + +height: 200px; + width: 100%; + background-color: rgb(235, 235, 235); + // box-shadow: rgba(0, 0, 0, 0.1) -4px 9px 25px -6px; + box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px; + // box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px; + + input[name=name], [name=phone] { + min-width: 13em; + width: 13vw; + padding: 12px 10px 12px 35px; + margin: 8px 0; + display: inline-block; + border: 1px solid darkgray; + background: none; + border-top: none; + border-left: none; + border-right: none; + // border-radius: 3px; + box-sizing: border-box; + &::placeholder { + // color: rgba(255, 255, 255, 0.8); + color: rgb(46, 45, 45); + } + + &:focus { + background: none; + } + } +} + +.tell-me__inputs { + flex: 1; + display: flex; + justify-content: space-evenly; +} + +.tell-me__row { + column-gap: 50px; + width: 100%; + display: flex; + align-items: center; + // text-align: center; + + h1{ + flex: 1; + color: rgb(46, 45, 45); + width: auto; + font-weight: 700; + // font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif; + font-size: 24px; + } + + form { + flex: 2; + display: flex; + justify-content: space-between; + position: relative; + + svg { + // margin: 0 auto; + margin-top: 1.3em; + position: absolute; + // margin-right: -50px; + width: 1.3em; + height: 1.3em; + } + } + + button { + margin: auto 0; + padding: 0 50px; + } +} + + +@media screen and (max-width: 1090px) { + .tell-me__row { + flex-direction: column; + // height: 100%; + row-gap: 20px; + justify-content: space-evenly; + + form { + // flex: 1; + width: 100%; + justify-content: space-evenly; + } + } +} + +@media screen and (max-width: 800px) { + + .tell-me__block { + height: auto; + padding: 20px; + } + + .tell-me__row { + + form { + row-gap: 20px; + + flex-direction: column; + } + } +} + +@media screen and (max-width: 560px) { + + .tell-me__block { + text-align: center; + + } + + .tell-me__row { + h1 { + font-size: 22px; + } + + } + + .tell-me__inputs { + flex-direction: column; + align-items: center; + row-gap: 20px; + } + + + } diff --git a/sass/blocks/_testimonials.scss b/sass/blocks/_testimonials.scss index 81521e42..40ec3936 100755 --- a/sass/blocks/_testimonials.scss +++ b/sass/blocks/_testimonials.scss @@ -3,7 +3,6 @@ padding-bottom: 30px; // background-color: white; - box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px; // box-shadow: rgba(0, 0, 0, 0.25) 0px 25px 50px -12px; } diff --git a/sass/main.scss b/sass/main.scss index 42fa5e3a..9aa76bb0 100755 --- a/sass/main.scss +++ b/sass/main.scss @@ -21,7 +21,7 @@ @import './blocks/about'; @import './blocks/slides'; -@import './blocks/parallax'; +@import './blocks/tell-me'; // Media