forked from FriedWishes/OfflineForm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
267 lines (226 loc) · 5.38 KB
/
styles.css
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
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
/*
*
* Find more about this app by visiting
* http://miniapps.co.uk/
*
* Copyright (c) 2010 Alex Gibson, http://miniapps.co.uk/
* Released under MIT license
* http://miniapps.co.uk/license/
*
*/
/* Begin HTML5 Reset */
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
margin:0;
padding:0;
border:0;
outline:0;
font-size:100%;
vertical-align:baseline;
background:transparent;
}
body {
line-height:1;
}
article,aside,canvas,details,figcaption,figure,
footer,header,hgroup,menu,nav,section,summary {
display:block;
}
nav ul {
list-style:none;
}
blockquote, q {
quotes:none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content:'';
content:none;
}
a {
margin:0;
padding:0;
font-size:100%;
vertical-align:baseline;
background:transparent;
}
ins {
background-color:#ff9;
color:#000;
text-decoration:none;
}
mark {
background-color:#ff9;
color:#000;
font-style:italic;
font-weight:bold;
}
del {
text-decoration: line-through;
}
abbr[title], dfn[title] {
border-bottom:1px dotted #000;
cursor:help;
}
table {
border-collapse:collapse;
border-spacing:0;
}
hr {
display:block;
height:1px;
border:0;
border-top:1px solid #cccccc;
margin:1em 0;
padding:0;
}
input, select {
vertical-align:middle;
}
* {
-webkit-user-select: none;
-webkit-tap-highlight-color: rgba(0,0,0,0);
-webkit-text-size-adjust: none;
-webkit-touch-callout: none;
}
/* End HTML5 Reset */
body {
background: rgb(197,204,211);
color:rgb(76,86,108);
font:17px/22px Helvetica, Arial, Verdana, sans-serif;
}
article {
width: 100%;
margin: 0 auto;
text-align: center;
}
section {
width: 320px;
margin: 0 auto;
}
footer {
width: 320px;
margin: 0 auto;
text-align: center;
}
/* Begin App header styles */
header {
width:100%;
height:43px;
background: #73839c;
background: -webkit-gradient(linear, 0 0, 0 100%, from(#b0bccd), color-stop(.5,#889bb3), color-stop(.5,#8195af), to(#6d84a2));
background: -moz-linear-gradient(top, #b0bccd, #889bb3 50%, #8195af 50%, #6d84a2);
border-bottom: 1px solid rgb(0,0,0);
position:relative;
}
h1 {
font:21px Helvetica, Arial, Verdana, sans-serif;
color: rgb(255,255,255);
font-weight:bold;
text-align: center;
padding: 11px 0;
text-shadow: rgba(0, 0, 0, 0.6) 0px -1px 0;
line-height: 21px;
}
header button {
background: #8EA4C1;
background: -webkit-gradient(linear, left top, left bottom, from(#8EA4C1), color-stop(.5,#5877A2), color-stop(.5,#476999), to(#4A6C9B));
background: -moz-linear-gradient(top, #8EA4C1, #5877A2 50%, #476999 50%, #4A6C9B);
-webkit-border-radius: 7px;
-moz-border-radius: 7px;
border-radius: 7px;
border: 1px solid #2B3942;
height: 28px;
font-size: 12px;
font-weight:bold;
color: #ffffff;
text-shadow: rgba(0, 0, 0, 0.6) 0px -1px 0;
cursor: pointer;
}
header button:active {
border: 1px solid #2B3942;
background: -webkit-gradient(linear, left top, left bottom, from(#4A6C9B), color-stop(.5,#476999), color-stop(.5,#5877A2), to(#8EA4C1));
background: -moz-linear-gradient(top, #4A6C9B, #476999 50%, #5877A2 50%, #8EA4C1);
-moz-box-shadow: inset 0 2px 3px rgba(0,0,0,0.2);
-webkit-box-shadow: inset 0 2px 3px rgba(0,0,0,0.2);
box-shadow: inset 0 2px 3px rgba(0,0,0,0.2);
}
.left-header-button {
position: absolute;
top: 7px;
left: 0.5em;
}
.right-header-button {
position: absolute;
top: 7px;
right: 0.5em;
}
/* End App header styles */
/* Begin App Main styles */
p {
width: 300px;
margin: 1em auto;
}
#status {
color: #fff;
padding: 5px;
-webkit-border-radius: 7px;
-moz-border-radius: 7px;
border-radius: 7px;
}
.online {
background-color: #66CC00;
}
.offline {
background-color: red;
}
/* End App Main styles */
/* Begin App form element styles */
label {
display: block;
width: 300px;
margin: 1em auto 0 auto;
font-size: 0.875em; /* 14px */
line-height: 1.5em; /* 21px */
}
input[type=text] {
display: block;
width: 280px;
margin: 1em auto;
font:17px Helvetica, Arial, Verdana, sans-serif;
-webkit-user-select: text;
}
button.oneup {
width: 300px;
height: 44px;
margin: 7px 8px;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
font-size: 18px;
font-weight: bold;
color: #fff;
text-shadow: #32835A 0 -1px 0;
background: #8EA4C1;
background: -webkit-gradient(linear, left top, left bottom, from(#8EA4C1), color-stop(.5,#5877A2), color-stop(.5,#476999), to(#4A6C9B));
background: -moz-linear-gradient(top, #8EA4C1, #5877A2 50%, #476999 50%, #4A6C9B);
border: 1px solid #2B3942;
}
button.oneup:active {
background: -webkit-gradient(linear, left top, left bottom, from(#4A6C9B), color-stop(.5,#476999), color-stop(.5,#5877A2), to(#8EA4C1));
background: -moz-linear-gradient(top, #4A6C9B, #476999 50%, #5877A2 50%, #8EA4C1);
-moz-box-shadow: inset 0 2px 3px rgba(0,0,0,0.2);
-webkit-box-shadow: inset 0 2px 3px rgba(0,0,0,0.2);
box-shadow: inset 0 2px 3px rgba(0,0,0,0.2);
}
/* End App form element styles */