-
Notifications
You must be signed in to change notification settings - Fork 2.9k
/
index.html
167 lines (160 loc) · 6.55 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>New Expensify</title>
<meta name="description" content="Corporate cards, reimbursements, receipt scanning, invoicing, and bill pay. One app, all free.">
<meta name="theme-color" content="">
<meta property="twitter:card" content="summary">
<meta property="twitter:site" content="@expensify">
<meta property="og:type" content="website">
<meta property="og:site_name" content="New Expensify">
<meta property="og:url" content="https://new.expensify.com">
<meta property="og:title" content="New Expensify">
<meta property="og:description" content="Corporate cards, reimbursements, receipt scanning, invoicing, and bill pay. One app, all free.">
<meta property="og:image" content="https://new.expensify.com/og-preview-image.png">
<link rel="stylesheet" type="text/css" href="/css/fonts.css" />
<link rel="stylesheet" type="text/css" href="/css/pdf.css" />
<!-- Do not index the staging site -->
<% if (htmlWebpackPlugin.options.isStaging) { %>
<meta name="robots" content="noindex, nofollow">
<% } %>
<style>
.signin-button {
width: 100% !important;
height: 100% !important;
}
html,
body,
#root,
#root > div,
#root > div > div {
height: 100% !important;
}
* {
touch-action: pan-x pan-y;
}
body {
overflow: hidden;
overscroll-behavior: none;
touch-action: none;
}
[data-drag-area='true'] {
-webkit-app-region: drag;
}
[data-drag-area='false'], [data-drag-area='true'] [data-tag="pressable"] {
-webkit-app-region: no-drag;
}
input::placeholder {
user-select: none;
-webkit-user-select: none
}
.disable-select * {
-webkit-user-select: none !important;
-webkit-touch-callout: none !important;
}
:focus-visible {
outline: 0;
box-shadow: inset 0px 0px 0px 1px #5AB0FF;
}
:focus[data-focusvisible-polyfill] {
outline: 0;
box-shadow: inset 0px 0px 0px 1px #5AB0FF;
}
input:focus-visible, input:focus[data-focusvisible-polyfill],
select:focus-visible, select:focus[data-focusvisible-polyfill] {
box-shadow: none;
}
::-ms-reveal {
display: none;
}
/* Customizes the background and text colors for autofill inputs in Chrome */
/* Chrome on iOS does not support the autofill pseudo class because it is a non-standard webkit feature.
We should rely on the chrome-autofilled property being added to the input when users use auto-fill */
input[chrome-autofilled],
input[chrome-autofilled]:hover,
input[chrome-autofilled]:focus,
textarea[chrome-autofilled],
textarea[chrome-autofilled]:hover,
textarea[chrome-autofilled]:focus,
select[chrome-autofilled],
select[chrome-autofilled]:hover,
select[chrome-autofilled]:focus,
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
-webkit-background-clip: text;
-webkit-text-fill-color: #ffffff;
caret-color: #ffffff;
}
/* Prevent autofill from overlapping with the input label in Chrome */
div:has(input:-webkit-autofill, input[chrome-autofilled]) > label {
transform: translateY(var(--active-label-translate-y)) scale(var(--active-label-scale)) !important;
transition: transform var(--label-transition-duration);
}
@media screen and (min-width: 480px) {
.splash-logo > svg {
width: 104px;
height: 104px;
}
}
@media screen and (max-width: 479px) {
.splash-logo > svg {
width: 52px;
height: 52px;
}
}
#splash {
position: absolute;
bottom: 0;
left: 0;
right: 0;
top: 0;
background-color: #061B09;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
transition-duration: 250ms;
transition-property: opacity;
}
.animation {
display: flex;
}
</style>
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, interactive-widget=resizes-content">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="shortcut icon" id="favicon" href="/favicon.png">
<% if (htmlWebpackPlugin.options.isWeb) { %>
<!-- polyfill.io is only needed on Web to support older browsers. It should not be loaded for desktop -->
<script src="https://polyfill.io/v3/polyfill.min.js?features=default%2CResizeObserver&flags=gated"></script>
<% if (htmlWebpackPlugin.options.isProduction) { %>
<!-- Google Tag Manager - This was provided by our partner marketing agency -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-N4M3FLJZ');</script>
<!-- End Google Tag Manager -->
<% } %>
<% } %>
<link rel="manifest" href="/manifest.json" />
</head>
<body>
<% if (htmlWebpackPlugin.options.isWeb && htmlWebpackPlugin.options.isProduction) { %>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-N4M3FLJZ" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<% } %>
<div style="position: absolute; top: 0; left: 0; right: 0; height: 30px;" data-drag-area="true"></div>
<div id="root"></div>
<div id="splash">
<div class="splash-logo">
<%= htmlWebpackPlugin.options.splashLogo %>
</div>
</div>
</body>
</html>