forked from Expensify/App
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
146 lines (139 loc) · 5.18 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
<!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.">
<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.">
<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;
}
/* Customize Plaid iframe */
[id^="plaid-link-iframe"] {
color-scheme: dark !important;
}
/* 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: #03D47C;
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) { %>
<!-- Third party scripts -->
<script async="" src="thirdPartyScripts.js"></script>
<!-- End Third party scripts -->
<% } %>
<% } %>
<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>