UNPKG

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