diff --git a/src/css/main.css b/src/css/main.css index 2301f56..b0c91d7 100644 --- a/src/css/main.css +++ b/src/css/main.css @@ -2077,6 +2077,24 @@ input.email-form__input--email:disabled { top: 0; margin: 0 0 0 -407px; } +.slide__bg-area { + position: absolute; + background-color: white; + opacity: 0; + left: 50%; + top: -88px; + margin: 0 0 0 -200px; + width: 400px; + height: 400px; + border-radius: 50%; + -ms-transform: scale(0.1); + transform: scale(0.1); + animation-timing-function: ease; + animation-name: pulsateArea; + animation-duration: 3.4s; + animation-delay: 2.3s; + animation-iteration-count: infinite; } + .slide.slide--five .slide__bg-icon { position: absolute; top: 86px; @@ -2088,6 +2106,7 @@ input.email-form__input--email:disabled { background: #68C0F8; box-shadow: 0 2px 9px 0 rgba(57, 80, 164, 0.69); position: relative; + animation-timing-function: cubic-bezier(0.685, 0, 0.025, 1.185); animation-name: pulsate; animation-duration: 3.4s; animation-iteration-count: infinite; } @@ -2183,6 +2202,14 @@ input.email-form__input--email:disabled { transform: scale(1); box-shadow: 0 2px 9px 0 rgba(57, 80, 164, 0.69); } } +@keyframes pulsateArea { + 0% { + transform: scale(0.1); + opacity: .1; } + 100% { + transform: scale(1.4); + opacity: 0; } } + @media (max-width: 1140px) { .slide.slide--five .slide__inner { width: 860px; @@ -2221,6 +2248,279 @@ input.email-form__input--email:disabled { width: 100%; border-radius: 0; } } +.slide.slide--six { + padding: 40px 0 40px 0; + margin: 0 0 0 0; } + +.slide--shown { + -ms-transform: scale(1); + transform: scale(1); + opacity: 1; } + +.slide.slide--six .slide__footer { + width: 450px; } + +.messages { + margin: 50px auto 30px; + width: 880px; + height: 600px; + position: relative; + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -ms-flex-line-pack: start; + align-content: flex-start; + -ms-flex-pack: justify; + justify-content: space-between; } + +.message { + display: -ms-flexbox; + display: flex; + -ms-flex-align: start; + align-items: flex-start; + -ms-flex-line-pack: start; + align-content: flex-start; + -ms-flex-direction: row; + flex-direction: row; + position: absolute; + opacity: 0; + transition: transform .6s ease, opacity .4s ease; + transition-delay: .1s; } + +.message.message--outcoming { + -ms-flex-direction: row-reverse; + flex-direction: row-reverse; + transform: translate3d(10px, 20px, 0) scale(0.9) rotate(0); } + +.message.message--incoming { + transform: translate3d(-10px, 20px, 0) scale(0.9) rotate(0); } + +.message.message--one { + top: 120px; + left: 0; + transition-delay: .2s; } + +.message.message--two { + top: 0; + left: 200px; + transition-delay: .3s; } + +.message.message--three { + top: 135px; + right: 140px; + transition-delay: .4s; } + +.message.message--four { + top: 220px; + left: 160px; + transition-delay: .5s; } + +.message.message--five { + top: 355px; + left: 0px; + transition-delay: .6s; } + +.message.message--six { + top: 365px; + right: 0; + transition-delay: .7s; } + +.message.message--seven { + top: 365px; + right: 320px; + transition-delay: .8s; } + +.slide--shown .message.message--outcoming, +.slide--shown .message.message--incoming { + opacity: 1; + transform: translate3d(0, 0, 0) scale(1) rotate(0deg); } + +.message__avatar { + width: 36px; + height: 36px; + border-radius: 50%; + box-shadow: 0 4px 18px 0 rgba(189, 208, 223, 0.26); + background-color: white; + background-size: 36px; + margin: 0 8px; } + +.message--one .message__avatar { + background-image: url(../img/new-site/face1@2x.png); } + +.message--two .message__avatar { + background-image: url(../img/new-site/face2@2x.png); } + +.message--three .message__avatar { + background-image: url(../img/new-site/face3@2x.png); } + +.message--four .message__avatar { + background-image: url(../img/new-site/face4@2x.png); } + +.message--five .message__avatar { + background-image: url(../img/new-site/face5@2x.png); } + +.message--six .message__avatar { + background-image: url(../img/new-site/face6@2x.png); } + +.message--seven .message__avatar { + background-image: url(../img/new-site/face7@2x.png); } + +.message__bubble { + background-color: white; + box-shadow: 0 4px 18px 0 rgba(189, 208, 223, 0.26); + border-radius: 8px; + max-width: 204px; } + +.message__name { + font-size: 14px; + color: #939BA1; + padding: 12px 12px 2px 12px; } + +.message__text { + padding: 0 12px 8px 12px; + font-size: 15px; + color: #000; } + +.message__location { + width: 180px; + height: 60px; + background-size: cover; + background-image: url(../img/new-site/location@2x.png); + margin: 0 12px 12px 12px; } + +.message__player { + width: 162px; + height: 52px; + background-size: cover; + background-image: url(../img/new-site/player@2x.png); + margin: 0 12px 12px 12px; } + +.message__transaction { + width: 180px; + padding: 0 12px 12px 12px; } + +.message__transaction__amount { + font-size: 25px; + font-family: "PostGrotesk-Medium", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; } + +.message__transaction__amount .currency { + color: #C2C4CB; + letter-spacing: 2px; } + +.message__transaction__details { + padding: 8px 0 0 0; } + +.message__transaction__details .text-gray { + display: inline-block; + color: #C2C4CB; + width: 44px; } + +.message__custom { + margin: 0 12px 12px 12px; + width: 180px; + height: 150px; + border: 1px dashed #6E97E9; + border-radius: 8px; + display: -ms-flexbox; + display: flex; + -ms-flex-direction: column; + flex-direction: column; + -ms-flex-pack: center; + justify-content: center; + -ms-flex-align: center; + align-items: center; } + +.message__custom__icon-wrap { + width: 46px; + height: 46px; + background-color: #E0E9F9; + border-radius: 50%; + display: -ms-flexbox; + display: flex; + -ms-flex-pack: center; + justify-content: center; + -ms-flex-align: center; + align-items: center; } + +.message__custom__icon { + width: 24px; + height: 24px; + background-image: url(../img/new-site/icon-plus.svg); + background-size: 24px; } + +.message__custom__text { + text-align: center; + color: #95A3AD; + font-size: 14px; + line-height: 20px; + padding: 4px 16px 0; } + +.message__bubble-footer { + height: 40px; + line-height: 40px; + text-align: center; } + +.message__bubble-footer.message__bubble-footer--button { + color: white; + background-color: #6E97E9; + border-radius: 0px 0px 8px 8px; } + +.message__bubble-footer.message__bubble-footer--status { + border-top: 1px solid #E8EBEC; + color: #6E97E9; + border-radius: 0px 0px 8px 8px; } + +@media (max-width: 922px) { + .messages { + margin: 50px auto 30px; + width: 748px; + height: 620px; } + .message.message--three { + right: 30px; + top: 55px; } + .message.message--four { + left: 170px; + top: 225px; } + .message.message--five { + left: 0; + top: 355px; } + .message.message--six { + top: 255px; } + .message.message--seven { + right: 210px; + top: 405px; } } + +@media (max-width: 767px) { + .slide.slide--six { + padding: 0; } + .messages { + margin: 20px auto 10px; + width: 375px; + padding: 0 10px; } + .message.message--one { + left: 0; + top: 0; } + .message.message--two { + display: none; } + .message.message--three { + right: 0; + top: 88px; } + .message.message--four { + display: none; } + .message.message--five { + left: 0; + top: 278px; } + .message.message--six { + display: none; } + .message.message--seven { + right: 0px; + top: 406px; } } + +@media (max-width: 375px) { + .messages { + width: auto; } } + .footer { position: fixed; width: 100%; diff --git a/src/img/new-site/face1@2x.png b/src/img/new-site/face1@2x.png new file mode 100644 index 0000000..8a7dc11 Binary files /dev/null and b/src/img/new-site/face1@2x.png differ diff --git a/src/img/new-site/face2@2x.png b/src/img/new-site/face2@2x.png new file mode 100644 index 0000000..0cd7090 Binary files /dev/null and b/src/img/new-site/face2@2x.png differ diff --git a/src/img/new-site/face3@2x.png b/src/img/new-site/face3@2x.png new file mode 100644 index 0000000..dd1a037 Binary files /dev/null and b/src/img/new-site/face3@2x.png differ diff --git a/src/img/new-site/face4@2x.png b/src/img/new-site/face4@2x.png new file mode 100644 index 0000000..3d70adf Binary files /dev/null and b/src/img/new-site/face4@2x.png differ diff --git a/src/img/new-site/face5@2x.png b/src/img/new-site/face5@2x.png new file mode 100644 index 0000000..494ac4c Binary files /dev/null and b/src/img/new-site/face5@2x.png differ diff --git a/src/img/new-site/face6@2x.png b/src/img/new-site/face6@2x.png new file mode 100644 index 0000000..155255a Binary files /dev/null and b/src/img/new-site/face6@2x.png differ diff --git a/src/img/new-site/face7@2x.png b/src/img/new-site/face7@2x.png new file mode 100644 index 0000000..8c69197 Binary files /dev/null and b/src/img/new-site/face7@2x.png differ diff --git a/src/img/new-site/icon-plus.svg b/src/img/new-site/icon-plus.svg new file mode 100644 index 0000000..e69de29 diff --git a/src/img/new-site/icon_yt.svg b/src/img/new-site/icon_yt.svg index b119f11..b636bb7 100644 --- a/src/img/new-site/icon_yt.svg +++ b/src/img/new-site/icon_yt.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/img/new-site/location@2x.png b/src/img/new-site/location@2x.png new file mode 100644 index 0000000..8ccbb3c Binary files /dev/null and b/src/img/new-site/location@2x.png differ diff --git a/src/img/new-site/player@2x.png b/src/img/new-site/player@2x.png new file mode 100644 index 0000000..31de7bf Binary files /dev/null and b/src/img/new-site/player@2x.png differ diff --git a/src/index.html b/src/index.html index 2a8c21c..13fa092 100755 --- a/src/index.html +++ b/src/index.html @@ -404,6 +404,95 @@ +
+