import styled, { css } from 'styled-components/macro' import { facr as platformFacr } from 'config/clients/facr' import { isMobileDevice } from 'config/userAgent' import type { ClientConfig } from './types' const Background = styled.div` position: relative; width: 100%; height: 100vh; display: flex; justify-content: center; background-color: #00257A; ` export const facr: ClientConfig = { ...platformFacr, background: Background, styles: { centerBlock: css` margin-top: 9.15rem; ${isMobileDevice ? css` margin-top: 107px; @media screen and (orientation: landscape) { width: 290px; margin: auto; } ` : ''}; `, input: css` background-color: transparent; :not(:last-of-type) { border-color: ${({ theme }) => theme.colors.white}; } `, inputGroup: css` border: 1px solid ${({ theme }) => theme.colors.white}; `, loader: css` color: #00257A; `, logo: css` background-image: url(/images/facr_auth_logo.png); height: 163px; width: 213px; margin-bottom: 1.82rem; ${isMobileDevice ? css` margin-bottom: 20px; width: 130px; height: 100px; ` : ''} `, popupApplyButton: css` background-color: #00257A; color: ${({ theme }) => theme.colors.white}; `, submitButton: css` background-color: ${({ theme }) => theme.colors.white}; color: #00257A; `, }, }