1
1
body {
2
- background : blue;
2
+ background : # fff ;
3
+ background : -webkit-gradient (linear, 100% 0% , 0% 0% , from (# C8C8C8 ), color-stop (0.47 , white), to (# C8C8C8 ));
3
4
margin : 0 ;
4
5
font : 18px Helvetica;
5
6
text-align : center;
6
7
}
7
8
8
9
# title_bar {
9
- background : black;
10
- color : white;
11
- height : 25px ;
12
- padding : 10px 5% ;
13
- width : 90% ;
10
+ /* need a position set to something for z-index to take effect */
11
+ position : relative;
12
+ z-index : 1 ;
13
+ background : # ccc ;
14
+ background : -webkit-gradient (linear, 0 0 , 0 70% , from (# fff ), to (# ccc ));
15
+ background : linear-gradient (# fff, # ccc 70% );
16
+ color : # 444 ;
17
+ text-shadow : 0 1px 0 # fff ;
18
+ border-bottom : 1px solid # 999 ;
19
+ height : 44px ;
20
+ line-height : 44px ;
21
+ padding : 0 ;
22
+ -webkit-box-shadow : 0 0 3px rgba (0 , 0 , 0 , 0.3 );
23
+ box-shadow : 0 0 3px rgba (0 , 0 , 0 , 0.3 );
14
24
}
15
25
16
- .app_button {
17
- background : gold;
18
- border : khaki;
19
- margin : 15px auto;
20
- padding : 5px ;
26
+ .app_button , button {
27
+ -webkit-border-radius : 20px ;
28
+ border-radius : 20px ;
29
+ display : inline-block;
30
+ padding : 0 20px ;
31
+ margin-bottom : 20px ;
32
+ cursor : pointer;
21
33
width : 200px ;
22
- -webkit-border-radius : 5px ;
34
+ background : # F7941E ;
35
+ background : -webkit-gradient (linear, 0 0 , 0 70% , from (# F7941E ), to (# D37F18 ));
36
+ background : linear-gradient (# F7941E, # D37F18 70% );
37
+ border : 1px solid # C97917 ;
38
+ font-weight : 200 ;
39
+ text-shadow : 0 -1px 0 # 7E4B0D ;
40
+ height : 40px ;
41
+ line-height : 40px ;
42
+ color : # fff ;
43
+ text-align : center;
23
44
}
24
45
25
46
# back_button {
26
47
background : grey;
27
48
}
28
-
29
- /**
30
- * Since all of the views are the same, we'll set them to static widths and heights to match our device.
31
- **/
32
49
33
50
.view {
34
- width : 320px ;
35
- /* on the iPhone, we have to account for the 20px status bar at the top */
36
- /* 480 - 20 = 460 */
37
- /* then 460 - 40 to account for our title bar */
38
- height : 420px ;
39
-
51
+ padding : 35px ;
40
52
/* only one view is displayed at a time
41
53
so we'll set the views to default to be un-displayed
42
54
and then override this based on the element id */
@@ -46,29 +58,32 @@ body {
46
58
# welcome {
47
59
display : block;
48
60
}
49
- # settings {
50
- background : white;
51
- }
52
- # map {
53
- background : black;
54
- color : white;
55
- }
56
61
57
- .map_image {
58
- margin : auto;
59
- height : 250px ;
60
- padding-top : 35px ;
61
- width : 250px ;
62
+ # map {
63
+ text-shadow : 0 1px 0 # fff ;
62
64
}
63
65
64
- # settings_form {
65
- display : block;
66
- padding : 20px ;
67
- }
66
+ .map_image {
67
+ margin : auto;
68
+ height : 250px ;
69
+ width : 250px ;
70
+ border : 1px solid # aaa ;
71
+ }
68
72
69
- button {
70
- font : 18px Helvetica;
71
- height : 30px ;
72
- width : 100px ;
73
- -webkit-appearance : push-button;
73
+ # settings {
74
74
}
75
+
76
+ legend {
77
+ font-weight : bold;
78
+ text-shadow : 0 1px 0 # fff ;
79
+ }
80
+
81
+ fieldset {
82
+ margin-bottom : 20px ;
83
+ border : 1px solid # ccc ;
84
+ border-radius : 8px ;
85
+ }
86
+
87
+ input {
88
+ margin-bottom : 8px ;
89
+ }
0 commit comments