UNPKG

7.17 kBJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3/*
4 * Copyright 2017-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
5 *
6 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
7 * the License. A copy of the License is located at
8 *
9 * http://aws.amazon.com/apache2.0/
10 *
11 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
12 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
13 * and limitations under the License.
14 */
15exports.Container = {
16 fontFamily: "-apple-system,\n BlinkMacSystemFont,\n \"Segoe UI\",\n Roboto,\n \"Helvetica Neue\",\n Arial,\n sans-serif,\n \"Apple Color Emoji\",\n \"Segoe UI Emoji\",\n \"Segoe UI Symbol\"",
17 fontWeight: '400',
18 lineHeight: '1.5',
19 color: '#212529',
20 textAlign: 'left',
21 paddingLeft: '15px',
22 paddingRight: '15px',
23};
24exports.NavBar = {
25 position: 'relative',
26 border: '1px solid transparent',
27 borderColor: '#e7e7e7',
28};
29exports.NavRight = {
30 textAlign: 'right',
31};
32exports.Nav = {
33 margin: '7.5px',
34};
35exports.NavItem = {
36 display: 'inline-block',
37 padding: '10px 5px',
38 lineHeight: '20px',
39};
40exports.NavButton = {
41 display: 'inline-block',
42 padding: '6px 12px',
43 marginTop: '8px',
44 marginBottom: '8px',
45 fontSize: '14px',
46 fontWeight: 400,
47 lineHeight: '1.42857143',
48 textAlign: 'center',
49 whiteSpace: 'nowrap',
50 verticalAlign: 'middle',
51 touchAction: 'manipulation',
52 cursor: 'pointer',
53 userSelect: 'none',
54 backgroundImage: 'none',
55 border: '1px solid transparent',
56 borderRadius: '4px',
57 color: '#333',
58 backgroundColor: '#fff',
59 borderColor: '#ccc',
60};
61exports.FormContainer = {
62 textAlign: 'center',
63};
64exports.FormSection = {
65 marginBottom: '20px',
66 backgroundColor: '#fff',
67 border: '1px solid #ddd',
68 borderRadius: '4px',
69 textAlign: 'left',
70 width: '400px',
71 display: 'inline-block',
72};
73exports.ErrorSection = {
74 marginBottom: '20px',
75 color: '#fff',
76 backgroundColor: '#f0ad4e',
77 border: '1px solid #eea236',
78 borderRadius: '4px',
79 textAlign: 'left',
80};
81exports.SectionHeader = {
82 color: '#fff',
83 backgroundColor: '#337ab7',
84 borderColor: '#337ab7',
85 padding: '10px 15px',
86 borderBottom: '1px solid transparent',
87 borderTopLeftRadius: '3px',
88 borderTopRightRadius: '3px',
89 textAlign: 'center',
90};
91exports.SectionFooter = {
92 color: '#333',
93 backgroundColor: '#f5f5f5',
94 padding: '10px 15px',
95 borderTop: '1px solid #ddd',
96 borderTopLeftRadius: '3px',
97 borderTopRightRadius: '3px',
98};
99exports.SectionBody = {
100 padding: '15px',
101};
102exports.FormRow = {
103 marginBottom: '15px',
104};
105exports.ActionRow = {
106 marginBottom: '15px',
107};
108exports.Input = {
109 display: 'block',
110 width: '100%',
111 height: '34px',
112 padding: '6px 12px',
113 fontSize: '14px',
114 lineHeight: '1.42857143',
115 color: '#555',
116 backgroundColor: '#fff',
117 backgroundImage: 'none',
118 border: '1px solid #ccc',
119 borderRadius: '4px',
120 boxShadow: 'inset 0 1px 1px rgba(0,0,0,.075)',
121 boxSizing: 'border-box',
122 transition: 'border-color ease-in-out .15s,box-shadow ease-in-out .15s',
123};
124exports.Button = {
125 display: 'inline-block',
126 padding: '6px 12px',
127 marginBottom: '0',
128 fontSize: '14px',
129 fontWeight: 400,
130 lineHeight: '1.42857143',
131 textAlign: 'center',
132 whiteSpace: 'nowrap',
133 verticalAlign: 'middle',
134 touchAction: 'manipulation',
135 cursor: 'pointer',
136 userSelect: 'none',
137 backgroundImage: 'none',
138 border: '1px solid transparent',
139 borderRadius: '4px',
140 color: '#333',
141 backgroundColor: '#fff',
142 borderColor: '#ccc',
143};
144exports.SignInButton = {
145 position: 'relative',
146 padding: '6px 12px 6px 44px',
147 fontSize: '14px',
148 textAlign: 'left',
149 whiteSpace: 'nowrap',
150 overflow: 'hidden',
151 textOverflow: 'ellipsis',
152 display: 'block',
153 width: '100%',
154 marginTop: '2px',
155 '#google_signin_btn': {
156 color: '#fff',
157 backgroundColor: '#dd4b39',
158 borderColor: 'rgba(0,0,0,0.2)',
159 },
160 '#facebook_signin_btn': {
161 color: '#fff',
162 backgroundColor: '#3b5998',
163 borderColor: 'rgba(0,0,0,0.2)',
164 },
165};
166exports.Space = {
167 display: 'inline-block',
168 width: '20px',
169};
170exports.A = {
171 color: '#007bff',
172 cursor: 'pointer',
173};
174exports.Pre = {
175 overflow: 'auto',
176 fontFamily: "Menlo,\n Monaco,\n Consolas,\n \"Courier New\",\n monospace",
177 display: 'block',
178 padding: '9.5px',
179 margin: '0 0 10px',
180 fontSize: '13px',
181 lineHeight: '1.42857143',
182 color: '#333',
183 wordBreak: 'break-all',
184 wordWrap: 'break-word',
185 backgroundColor: '#f5f5f5',
186 border: '1px solid #ccc',
187 borderRadius: '4px',
188};
189exports.Col1 = {
190 display: 'inline-block',
191 width: '8.33333333%',
192};
193exports.Col2 = {
194 display: 'inline-block',
195 width: '16.66666667%',
196};
197exports.Col3 = {
198 display: 'inline-block',
199 width: '25%',
200};
201exports.Col4 = {
202 display: 'inline-block',
203 width: '33.33333333%',
204};
205exports.Col5 = {
206 display: 'inline-block',
207 width: '41.66666667%',
208};
209exports.Col6 = {
210 display: 'inline-block',
211 width: '50%',
212};
213exports.Col7 = {
214 display: 'inline-block',
215 width: '58.33333333%',
216};
217exports.Col8 = {
218 display: 'inline-block',
219 width: '66.66666667%',
220};
221exports.Col9 = {
222 display: 'inline-block',
223 width: '75%',
224};
225exports.Col10 = {
226 display: 'inline-block',
227 width: '83.33333333%',
228};
229exports.Col11 = {
230 display: 'inline-block',
231 width: '91.66666667%',
232};
233exports.Col12 = {
234 display: 'inline-block',
235 width: '100%',
236};
237exports.Hidden = {
238 display: 'none',
239};
240exports.Bootstrap = {
241 container: exports.Container,
242 navBar: exports.NavBar,
243 nav: exports.Nav,
244 navRight: exports.NavRight,
245 navItem: exports.NavItem,
246 navButton: exports.NavButton,
247 formContainer: exports.FormContainer,
248 formSection: exports.FormSection,
249 errorSection: exports.ErrorSection,
250 sectionHeader: exports.SectionHeader,
251 sectionBody: exports.SectionBody,
252 sectionFooter: exports.SectionFooter,
253 formRow: exports.FormRow,
254 actionRow: exports.ActionRow,
255 space: exports.Space,
256 signInButton: exports.SignInButton,
257 input: exports.Input,
258 button: exports.Button,
259 a: exports.A,
260 pre: exports.Pre,
261 col1: exports.Col1,
262 col2: exports.Col2,
263 col3: exports.Col3,
264 col4: exports.Col4,
265 col5: exports.Col5,
266 col6: exports.Col6,
267 col7: exports.Col7,
268 col8: exports.Col8,
269 col9: exports.Col9,
270 col10: exports.Col10,
271 col11: exports.Col11,
272 col12: exports.Col12,
273 hidden: exports.Hidden,
274};
275/**
276 * @deprecated use named import
277 */
278exports.default = exports.Bootstrap;
279//# sourceMappingURL=AmplifyTheme.js.map
\No newline at end of file