Untitled
unknown
less
a year ago
27 kB
3
Indexable
Never
@font-face { font-style: normal; font-weight: normal; font-family: "Roboto"; font-display: swap; src: url(":f:roboto_regular_400.woff2") format("woff2"), url(":f:roboto_regular_400.woff") format("woff"); } @font-face { font-style: normal; font-weight: 500; font-family: "Roboto"; font-display: swap; src: url(":f:roboto_medium_500.woff2") format("woff2"), url(":f:roboto_medium_500.woff") format("woff"); } @font-face { font-style: normal; font-weight: normal; font-family: "Material Icons"; font-display: swap; src: url(":f:MaterialIcons.woff2") format("woff2"), url(":f:MaterialIcons.woff") format("woff"); } :root { --primary: #F26E65; --accent: #F26E65; --header: #242A33; --success: #45B883; --danger: #F34134; --warning: #F68926; --light: #fff; --dark: #000; --icon_color: fade(#000, 50%); --icon-font: "Material Icons"; --icon-arrow-left: "\e910"; --icon-eye-outline: "\e945"; --icon-eye-outline-off: "\e946"; --icon-help-outline: "\e962"; --font_family: "Roboto", "Arial", "Helvetica", sans-serif; --font_size: 14px; --line_height: 1.78; --text_muted_color: fade(#000, 50%); --placeholder_color: fade(#000, 30%); --input_border_color: fade(#000, 15%); --seo_link_background: #b7c1cb; --main_overay: linear-gradient(-180deg, fade(#000, 0) 50%, fade(#000, 50%) 100%); --radius: 3px; --arrow_size: 10px; --transition: all 0.2s cubic-bezier(0.39, 0, 0.17, 0.99); } ._icon(@icon: var(--icon-arrow-left) , @fill: var(--icon_color), @size: 25px) { content: @icon; display: inline-block; font-size: @size; font-family: var(--icon-font); vertical-align: top; color: @fill; } /* @mixin less */ ._btn(@background: var(--primary)) { position: relative; display: inline-flex; justify-content: center; align-items: center; padding: 10px 15px; font-weight: 500; font-size: var(--font_size); color: fade(#fff, 90%); text-transform: uppercase; word-wrap: break-word; background-color: @background; border-radius: var(--radius); cursor: pointer; transition: var(--transition); -webkit-user-select: none; user-select: none; box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.1), 0 2px 2px 0 rgba(0, 0, 0, 0.2); &:hover, &:active { background-color: rgba(255,255,255,.1); } } ._field() { width: 100%; padding: 10px 0; font: inherit; color: inherit; background: inherit; border-radius: 0; border: 0; outline: 0; -webkit-appearance: none; appearance: none; user-select: none; &::-webkit-input-placeholder { color: transparent; } &::-moz-placeholder { color: transparent; } &:-ms-input-placeholder { color: transparent; } } /* Page styles */ html { height: 100%; } * { box-sizing: border-box; margin: 0; padding: 0; } a { color: var(--primary); text-decoration: none; } ul, li { list-style: none; } :focus { outline: none; } button { font-family: inherit; border-color: transparent; } input[type="text"], input[type="password"], input[type="email"], select { ._field(); } [data-form-item="password"] input, [data-form-item="location"] input { padding-right: 30px; } input::-ms-clear, input::-ms-reveal { display: none; } body { min-width: 300px; height: 100%; font: var(--font_size) / var(--line_height) var(--font_family); color: fade(#000, 85%); background-color: darken(#fff, 4%); -webkit-font-smoothing: antialiased; text-rendering: optimizeSpeed; -webkit-text-size-adjust: none; text-size-adjust: none; } .main-container { display: flex; flex-direction: column; min-height: 100vh; } .center { min-width: 300px; max-width: 980px; margin: 0 auto; padding: 0 10px; } /* Header */ .header { padding: 8px 0; background-color: var(--header); .center { position: relative; display: flex; justify-content: space-between; align-items: center; } } .header-buttons { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; } .logo { max-width: 90%; max-height: 40px; } .form-switch-links { .login-link, .reg-link { ._btn(transparent); display: none; text-decoration: none; box-shadow: none; } &.is-active { display: inline-flex; } } // location .location { margin-right: 10px; z-index: 11; .sub-box { top: 90px; right: 0; background-color: var(--light); border-radius: var(--radius); display: none; width: 300px; position: absolute; padding: 20px 10px; z-index: 11; box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.1), 0 2px 2px 0 rgba(0, 0, 0, 0.2); .location-item { margin-top: 10px; &:first-child {margin-top: 0;} a { position: relative; display: inline-block; padding-left: 34px; color: #000; font-size: 14px; line-height: 18px; &:hover {color: #f26e65;} } } .location-list { width: auto; float: left; margin-right: 10px; } } &.is-active .sub-box { display: block; } .location-link { ._btn(transparent); box-shadow: none; } } .sub-box .location-item a:before { content: ''; position: absolute; top: 50%; left: 0; width: 24px; height: 18px; background: url(":r:flags") no-repeat 0 0; transform: translateY(-50%); } .sub-box .location-item.uk a:before { background-position: -24px -180px; } .sub-box .location-item.can a:before { background-position: 0 -54px; } .sub-box .location-item.fr a:before { background-position: 0 -162px; } .sub-box .location-item.de a:before { background-position: 0 -55px; } .sub-box .location-item.it a:before { background-position: 0 -216px; } .sub-box .location-item.bra a:before { background-position: 0 -121px; } .location .sub-box .location-item.es a:before { background-position: 0 -126px; } .location .sub-box .location-item.aus a:before { background-position: 0 -18px; } .location .sub-box .location-item.sw a:before { background-position: -24px -144px; } .location .sub-box .location-item.no a:before { background-position: -24px -54px; } .location .sub-box .location-item.in a:before { background-position: 0 -110px; } .location .sub-box .location-item.nz a:before { background-position: 0 -18px; } .location .sub-box .location-item.mx a:before { background-position: -24px -18px; } .location .sub-box .location-item.ie a:before { background-position: 0 -198px; } .location .sub-box .location-item.nl a:before { background-position: -24px -36px; } .location .sub-box .location-item.pt a:before { background-position: -24px -108px; } .location .sub-box .location-item.za a:before { background-position: -24px -216px; } .location .sub-box .location-item.cz a:before { background-position: 0 -72px; } .location .sub-box .location-item.ar a:before { background-position: 0 0; } .location .sub-box .location-item.dk a:before { background-position: 0 -108px; } .location .sub-box .location-item.fi a:before { background-position: 0 -144px; } .location .sub-box .location-item.ja a:before { background-position: -24px 0px; } .location .sub-box .location-item.us a:before { background-position: -24px -198px; } .location .sub-box .location-item.bl a:before { background-position: -0px -36px; } .location .sub-box .location-item.gm a:before { background-position: 0 -90px; } .location .sub-box .location-item.hk a:before { background-position: 0 -180px; } .location .sub-box .location-item.pl a:before { background-position: -24px -90px; } .location .sub-box .location-item.sp a:before { background-position: -24px -126px; } .location .sub-box .location-item.tv a:before { background-position: -24px -162px; } /********* FOOTER LINKS **********/ .footer-links-section { .center { ._flexbox(); } a { margin: 0 5px; color: var(--textColorMuted); &:hover { color: var(--primary); } } .social { ._flexbox(); } .social-item { position: relative; width: 34px; height: 34px; margin: 0 0 0 5px; border-radius: 50%; background-color: #6e747c; background-image: url(":r:soc_icons"); transition: background-color 0.3s linear; &:first-child {margin-left: 0;} &.fb { background-position: 0 0; &:hover {background-color: #5570b4; } } &.tw { background-position: -40px 0; &:hover { background-color: #5a9cce; } } &.youtube { background-position: -80px 0; &:hover { background-color: #ca0606; } } } } .footer-links-block { position: relative; z-index: 1; } .footer-links-item { &.usa-seo { display: none; } &:first-child a { margin-left: 0; } &.dating-block { position: relative; padding-right: 10px; cursor: pointer; -webkit-transition: background-color 0.3s linear; -moz-transition: background-color 0.3s linear; transition: background-color 0.3s linear; &:after { top: 11px; right: 7px; border: solid transparent; content: " "; height: 0; width: 0; position: absolute; pointer-events: none; border-color: transparent; border-top-color: #6c6c6c; border-width: 5px; margin-left: -5px; transition: 0.3s linear; -webkit-transform-origin: 50% 20% 0; transform-origin: 50% 20% 0; } &:active, &:hover { &:after { top: 10px; -webkit-transform: rotate(-180deg); transform: rotate(-180deg); } .dating-list { display: block; } } &.active { display: block; } } .dating-list { ._card(); display: none; position: absolute; right: 0; top: 100%; width: 190px; padding: 24px 40px 32px; background: #fff; box-shadow: 0 0 7px rgba(110, 116, 124, 0.5); &:before { content: ""; position: absolute; right: 15px; bottom: 100%; height: 10px; width: 10px; margin-bottom: -5px; background-color: #fff; transform: rotate(45deg); } } .dating-item { a { display: block; margin: 0; padding: 8px 0; } } } /********* SEO **********/ .seo-info { margin: 30px 0 100px; h1, h2 { position: relative; padding: 30px 0 22px; font-size: 18px; } p { font-size: 14px; } .info-block1 { margin-bottom: 10px; h1 { background-position: -5px -3%; } } .info-block2 { margin-bottom: 10px; h2 { background-position: -5px 27%; } } .info-block3 { margin-bottom: 10px; h2 { background-position: -5px 60%; } } .info-block4 { margin-bottom: 10px; h2 { background-position: -5px 90%; } } } /**********************/ /* Main */ .main-section { position: relative; display: flex; flex-grow: 1; flex-direction: column; min-height: 380px; padding: 15px 0; background-color: darken(#fff, 4%); background-repeat: no-repeat; background-position: 20% 0; background-size: cover; background-image: url(:r:bg_new); &:before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: var(--main_overay); } .EGY & { background-image: url(':r:flirt-bg__EGY'); } .IND & { background-image: url(':r:flirt-bg__IND'); } .NGA & { background-image: url(':r:flirt-bg__NGA'); } .PHL & { background-image: url(':r:flirt-bg__PHL'); } .VNM & { background-image: url(':r:bg_web_vnm'); } .KEN & { background-image: url(':r:bg_web_ken'); } .center { position: relative; display: flex; flex-grow: 1; flex-direction: column; width: 100%; overflow: hidden; } } .is-open { &::before { background: darken(#fff, 4%); } .open-regform-btn { display: none; } } /* Slogan hidden on mobile */ .slogan-block { height: 0; transform: translate3d(-100%, 0, 0); opacity: 0; } .slogan { font-size: 48px; line-height: 1.2; color: fade(#fff, 90%); span { display: block; } } /* Form blocks */ .signin-block { display: none; flex-direction: column; flex-grow: 1; .is-open & { display: flex; } } .form-block { width: 100%; padding: 5px; background: darken(#fff, 4%); transition: var(--transition); &.is-active-form { display: block; animation: fadeIn 0.5s easing forwards; } } .open-regform-btn { width: 100%; max-width: 320px; margin: auto auto 15px; animation: fadeInUp 0.5s linear forwards; ._btn(); &:hover { background: #f05c52; } } .pagination-block { display: none; } /* Regform && Login Form */ /* Form title */ .login-form-title, .reg-form-title { margin-bottom: 25px; font-size: 24px; } [data-orientation-type="ladyboy"] .reg-form-title, [data-form-is-open="login"] .reg-form-title { display: none; } .login-form-wrapper { > form.hidden { display: none; } } .recovery-password-btn, .login-switch-btn { margin-top: 15px; span { cursor: pointer; text-decoration: underline; &:hover { text-decoration: none; } } } [data-form-is-open="login"][data-sign-in-visible-form="recovery"] { .form-switch-links .reg-link { display: flex; } } /* Form fields */ .login-form-item, .form-item { position: relative; margin-bottom: 25px; } .orientation-pre-selected { ._field(); } .login-form-label, .form-label-block { position: absolute; top: 0; right: 0; left: 0; z-index: 1; display: flex; padding: 10px 0; line-height: 20px; color: var(--placeholder_color); transition: var(--transition); pointer-events: none; .is-focused & { font-size: 12px; transform: translateY(-30px); } } .login-form-input, .form-input, .form-select { position: relative; border-bottom: 1px solid var(--input_border_color); outline: 0; &::before { content: ""; position: absolute; right: 50%; bottom: -1px; left: 50%; display: block; height: 1px; background: var(--primary); transition: var(--transition); } } .login-form-input, .form-input { display: flex; justify-content: center; align-items: center; [name="password"], [name="location"] { padding-right: 30px; } } .form-select { &:after { content: ""; position: absolute; top: 48%; right: 6px; width: 0; height: 0; margin-left: -4px; border: 4px solid transparent; border-top-color: var(--icon_color); pointer-events: none; } } /* Fields states */ .form-error-block { display: none; font-size: 11px; line-height: 1.2; color: var(--danger); margin-top: 5px; .error-field & { display: block; &:empty { display: none; } } } .error-field { .form-input::before, .form-select::before { right: 0; left: 0; } } /* Form buttons*/ .prev-btn, .next-btn { display: none; } .login-form-submit, .recovery-form-submit, .submit-btn { ._btn(); width: 100%; &:hover { background: #f05c52; } } .recovery-password-btn, .login-switch-btn { position: relative; display: inline-flex; align-items: center; margin-top: 20px; font-weight: 500; text-transform: uppercase; cursor: pointer; &:hover, &:focus { color: var(--primary); } &:before { ._icon(, currentColor, ); } } .recovery-password-btn::before { display: none; } /* Terms */ .form-terms { font-size: 11px; text-align: center; color: var(--text_muted_color); margin-top: 15px; } /* Form icons */ .password-icon { position: absolute; right: 0; top: 0; cursor: pointer; &::before { ._icon(var(--icon-eye-outline)); } &.active { &::before { ._icon(var(--icon-eye-outline-off)); } } } .location-notice-icon { display: flex; align-items: center; position: absolute; right: 0; top: 2px; cursor: pointer; z-index: 1; &:before { content: var(--icon-help-outline); font-size: 25px; font-family: "Material Icons"; color: var(--icon_color); } &:hover+.location-example { transform: translateY(0); visibility: visible; opacity: 1; } } .location-example { position: absolute; right: -2.5px; bottom: 100%; width: 300px; padding: 10px 20px; font-size: 12px; background: #fff; border-radius: 3px; box-shadow: 0 0 8px 0 rgb(0, 0, 0, 0.1), 0 8px 8px 0 rgb(0, 0, 0, 0.2); opacity: 0; visibility: hidden; transform: translateY(10px); transition: var(--transition); z-index: 1; &:before { content: ""; position: absolute; top: 100%; right: 10px; width: 10px; height: 10px; margin-top: calc(-5px); background: #fff; transform: rotate(45deg); } } /* Hidden on mobile */ .select-dropdown { position: absolute; top: 100%; right: -20px; left: -20px; z-index: 2; display: none; max-height: 200px; padding: 10px 0; overflow-y: auto; background: var(--light); border-radius: var(--radius); transform: translateY(-20px); visibility: hidden; opacity: 0; box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.1), 0 4px 4px 0 rgba(0, 0, 0, 0.2); transition: var(--transition); } .is-visible { .select-dropdown { transform: translateY(-1px); visibility: visible; opacity: 1; } } .select-value { position: absolute; top: 0; right: 0; bottom: 0; left: 0; display: none; padding-right: 8%; cursor: pointer; } .select-item { position: relative; display: block; padding: 10px 20px; cursor: pointer; transition: var(--transition); &:hover, &:focus { background: fade(#000, 6%); } &[value="default"], &[value=""] { display: none; } } /* Footer links */ .footer-links-section { padding: 8px 0; text-align: center; } .footer-links-block { justify-content: center; text-align: center; } .footer-links-item { a { padding: 4px; color: var(--text_muted_color); &:hover, &:active { color: var(--primary); } } } /* Seo block */ .seo-block { padding: 8px 0; h1, h2, h3 { margin: 35px 0 10px; font-weight: normal; font-size: 18px; line-height: 1.4; } h1:empty, h2:empty, h3:empty, p:empty { margin: 0; padding: 0; } } /* Seo links block */ .seo-links-inner { width: 100%; } .seo-links-block { width: 100%; } .seo-links-list { display: flex; flex-direction: row; flex-wrap: wrap; width: 100%; transition: var(--transition); } .seo-link-item { margin: 2.5px; transition: var(--transition); &::before { content: ""; display: none; width: 5px; height: 5px; margin-right: 10px; background: #787878; border-radius: 50%; } a { display: block; padding: 4px 8px; color: var(--dark); background: var(--seo_link_background); border-radius: var(--radius); transition: var(--transition); } } /* Footer */ .footer { padding: 8px 0; } .copyright-block { font-size: 12px; line-height: 1.1; text-align: center; color: var(--text_muted_color); } .overlay { display: none; position: fixed; left: 0; top: 0; right: 0; bottom: 0; margin: auto; background-color: fade(#000,10%); z-index: 10; &.is-active { display: block; } } /* Locales */ .DEU, .NOR, .AUT, .ITA, .NLD, .BEL, .ESP { [data-footer-link="imprint"] { display: block; padding-bottom: 10px; } } [lang="vi"] { .seo-section { display: none; } } [lang="de"] { .reg-form-title { font-size: 22px; } } [lang="en"], [lang="en_au"], [lang="en_gb"] { .footer-links-item.usa-seo { display: block; } .seo-links-list { display: flex; } } [lang="th"], [lang="hu"], [lang="zh"], [lang="zh_hk"], [lang="ro"], [lang="pt"] { .seo-info { display: none; } } [lang="hr"], [lang="sl"], [lang="id"] { .seo-section { display: none; } } [lang="th"], [lang="hu"], [lang="ro"] { .seo-links-list { display: none; } } [lang="ar_eg"], [lang="ar_dz"] { .wrapper { direction: rtl; unicode-bidi: bidi-override; } .reg-form .form-select { &:after { right: auto; left: 6px; } select { option[value="male-male"], option[value="female-female"] { display: none; } } .select-item { &[value="homo"] { display: none; } } .select-value { padding: 0 0 0 8%; } } .reg-form .location-notice-icon, .password-icon { right: auto; left: 0; } .seo-section{ display: none; } } @media only screen and (min-width: 961px) and (max-height: 800px) { .slogan { padding-bottom: 100px; } } /* Desktop Styles */ @media only screen and (min-width: 961px) { [lang="ar_eg"], [lang="ar_dz"] { .main-section .center { flex-direction: row-reverse; } .slogan { padding-right: 30px; } } /* Form */ .open-regform-btn { display: none; } .main-section { min-height: 768px; padding: 40px 0; .center { flex-direction: row; justify-content: space-between; } &.is-open:before { background: linear-gradient(-180deg,rgba(0,0,0,0) 50%,rgba(0,0,0,.5) 100%); } } .form-open { &::before { background: var(--main_overay); } .form-block { display: none; } } .signin-block { display: block; align-self: flex-start; width: 100%; max-width: 400px; } .form-block { padding: 30px 40px; background-color: var(--light); border-radius: var(--radius); box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.1), 0 2px 2px 0 rgba(0, 0, 0, 0.2); &.is-active-form { display: block; animation: fadeIn 0.5s ease forwards; } } .slogan-block { align-self: flex-end; max-width: 56%; height: auto; padding-right: 20px; animation: fadeInLeft 0.5s 0.2s ease forwards; } /* Select & dropdown */ .form-select select { opacity: 0; } .select-value { display: flex; align-items: center; } .select-dropdown { display: block; } /* Seo links*/ .seo-link-item { display: inline-flex; flex-grow: 1; align-items: center; min-width: 250px; max-width: 300px; text-align: left; &::before { display: inline-block; } a { padding: 0; color: var(--primary); background: transparent; border-radius: 0; &:hover { text-decoration: underline; } } } /* Footer links */ .footer, .footer-links-section { padding: 14px 0; } .footer-links-block { justify-content: flex-start; } /* Copyright */ .copyright-block { font-size: 14px; line-height: inherit; text-align: left; } .location .sub-box { width: 400px; padding: 32px 40px 40px; } .location .sub-box .location-list { width : 160px; margin: 0; } .seo-info { h1,h2 { background: url(":r:icons-sprite") no-repeat; padding: 30px 0 22px 80px; } } } @media only screen and (min-width: 950px) and (max-width: 1200px) { .VNM .main-section { background-position: 40% 0; } } /* @keyframes */ @keyframes fadeInLeft { from { transform: translate3d(-100%, 0, 0); opacity: 0; } to { transform: translate3d(0, 0, 0); opacity: 1; } } @keyframes fadeInUp { from { transform: translate3d(0, 100%, 0); opacity: 0; } to { transform: translate3d(0, 0, 0); opacity: 1; } } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }