File tree 11 files changed +217
-79
lines changed
11 files changed +217
-79
lines changed Original file line number Diff line number Diff line change 73
73
border-radius: 5px;
74
74
}
75
75
76
- .mapael .zoomIn,
77
- .mapael .zoomOut {
78
- background-color: #dbdbdb ;
79
- border: 1px solid #cfcfcf ;
80
- color: #161616 ;
81
- width: 16px ;
82
- height: 18px ;
83
- line-height: 18px ;
76
+ /* For all zoom buttons */
77
+ .mapael .zoomButton {
78
+ background-color: #fff ;
79
+ border: 1px solid #ccc ;
80
+ color: #000 ;
81
+ width: 15px ;
82
+ height: 15px ;
83
+ line-height: 15px ;
84
84
text-align: center;
85
85
border-radius: 3px;
86
86
cursor: pointer;
87
87
position: absolute;
88
- top: 10px ;
88
+ top: 0 ;
89
89
font-weight: bold;
90
90
left: 10px;
91
91
92
92
-webkit-user-select: none;
93
- -khtml-user-select : none;
93
+ -khtml-user-select : none;
94
94
-moz-user-select: none;
95
- -o-user-select : none;
95
+ -o-user-select : none;
96
96
user-select: none;
97
97
}
98
98
99
+ /* Reset Zoom button first */
100
+ .mapael .zoomReset {
101
+ top: 10px;
102
+ }
103
+
104
+ /* Then Zoom In button */
105
+ .mapael .zoomIn {
106
+ top: 30px;
107
+ }
108
+
109
+ /* Then Zoom Out button */
99
110
.mapael .zoomOut {
100
- top: 35px ;
111
+ top: 50px ;
101
112
}
113
+
102
114
</style>
103
115
104
116
<script src="http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js" charset="utf-8"></script>
Original file line number Diff line number Diff line change 39
39
color : # 343434 ;
40
40
}
41
41
42
- . mapael . zoomIn ,
43
- .mapael .zoomOut {
42
+ /* For all zoom buttons */
43
+ .mapael .zoomButton {
44
44
background-color : # fff ;
45
45
border : 1px solid # ccc ;
46
46
color : # 000 ;
51
51
border-radius : 3px ;
52
52
cursor : pointer;
53
53
position : absolute;
54
- top : 10 px ;
54
+ top : 0 ;
55
55
font-weight : bold;
56
56
left : 10px ;
57
+
57
58
-webkit-user-select : none;
58
- -khtml-user-select : none;
59
+ -khtml-user-select : none;
59
60
-moz-user-select : none;
60
- -o-user-select : none;
61
+ -o-user-select : none;
61
62
user-select : none;
62
63
}
63
64
64
- .mapael .zoomOut {
65
+ /* Reset Zoom button first */
66
+ .mapael .zoomReset {
67
+ top : 10px ;
68
+ }
69
+
70
+ /* Then Zoom In button */
71
+ .mapael .zoomIn {
65
72
top : 30px ;
66
73
}
67
74
75
+ /* Then Zoom Out button */
76
+ .mapael .zoomOut {
77
+ top : 50px ;
78
+ }
79
+
68
80
.mapael .map {
69
81
position : relative;
70
82
}
Original file line number Diff line number Diff line change 42
42
color : # 343434 ;
43
43
}
44
44
45
- . mapael . zoomIn ,
46
- .mapael .zoomOut {
45
+ /* For all zoom buttons */
46
+ .mapael .zoomButton {
47
47
background-color : # fff ;
48
48
border : 1px solid # ccc ;
49
49
color : # 000 ;
54
54
border-radius : 3px ;
55
55
cursor : pointer;
56
56
position : absolute;
57
- top : 10 px ;
57
+ top : 0 ;
58
58
font-weight : bold;
59
59
left : 10px ;
60
60
61
61
-webkit-user-select : none;
62
- -khtml-user-select : none;
62
+ -khtml-user-select : none;
63
63
-moz-user-select : none;
64
- -o-user-select : none;
64
+ -o-user-select : none;
65
65
user-select : none;
66
66
}
67
67
68
- .mapael .zoomOut {
68
+ /* Reset Zoom button first */
69
+ .mapael .zoomReset {
70
+ top : 10px ;
71
+ }
72
+
73
+ /* Then Zoom In button */
74
+ .mapael .zoomIn {
69
75
top : 30px ;
70
76
}
71
77
78
+ /* Then Zoom Out button */
79
+ .mapael .zoomOut {
80
+ top : 50px ;
81
+ }
82
+
72
83
.mapael .map {
73
84
position : relative;
74
85
background-color : # cddee0 ;
Original file line number Diff line number Diff line change 49
49
color : # 343434 ;
50
50
}
51
51
52
- . mapael . zoomIn ,
53
- .mapael .zoomOut {
52
+ /* For all zoom buttons */
53
+ .mapael .zoomButton {
54
54
background-color : # fff ;
55
55
border : 1px solid # ccc ;
56
56
color : # 000 ;
61
61
border-radius : 3px ;
62
62
cursor : pointer;
63
63
position : absolute;
64
- top : 10 px ;
64
+ top : 0 ;
65
65
font-weight : bold;
66
66
left : 10px ;
67
67
68
68
-webkit-user-select : none;
69
- -khtml-user-select : none;
69
+ -khtml-user-select : none;
70
70
-moz-user-select : none;
71
- -o-user-select : none;
71
+ -o-user-select : none;
72
72
user-select : none;
73
73
}
74
74
75
- .mapael .zoomOut {
75
+ /* Reset Zoom button first */
76
+ .mapael .zoomReset {
77
+ top : 10px ;
78
+ }
79
+
80
+ /* Then Zoom In button */
81
+ .mapael .zoomIn {
76
82
top : 30px ;
77
83
}
78
84
85
+ /* Then Zoom Out button */
86
+ .mapael .zoomOut {
87
+ top : 50px ;
88
+ }
89
+
79
90
.mapael .map {
80
91
background-color : # cddee0 ;
81
92
margin : 10px ;
Original file line number Diff line number Diff line change 38
38
color : # 343434 ;
39
39
}
40
40
41
- . mapael . zoomIn ,
42
- .mapael .zoomOut {
41
+ /* For all zoom buttons */
42
+ .mapael .zoomButton {
43
43
background-color : # fff ;
44
44
border : 1px solid # ccc ;
45
45
color : # 000 ;
50
50
border-radius : 3px ;
51
51
cursor : pointer;
52
52
position : absolute;
53
- top : 10 px ;
53
+ top : 0 ;
54
54
font-weight : bold;
55
55
left : 10px ;
56
56
57
57
-webkit-user-select : none;
58
- -khtml-user-select : none;
58
+ -khtml-user-select : none;
59
59
-moz-user-select : none;
60
- -o-user-select : none;
60
+ -o-user-select : none;
61
61
user-select : none;
62
62
}
63
63
64
- .mapael .zoomOut {
64
+ /* Reset Zoom button first */
65
+ .mapael .zoomReset {
66
+ top : 10px ;
67
+ }
68
+
69
+ /* Then Zoom In button */
70
+ .mapael .zoomIn {
65
71
top : 30px ;
66
72
}
67
73
74
+ /* Then Zoom Out button */
75
+ .mapael .zoomOut {
76
+ top : 50px ;
77
+ }
78
+
68
79
.mapael .map {
69
80
background-color : # cddee0 ;
70
81
margin : 10px ;
Original file line number Diff line number Diff line change 42
42
color : # 343434 ;
43
43
}
44
44
45
- . mapael . zoomIn ,
46
- .mapael .zoomOut {
45
+ /* For all zoom buttons */
46
+ .mapael .zoomButton {
47
47
background-color : # fff ;
48
48
border : 1px solid # ccc ;
49
49
color : # 000 ;
54
54
border-radius : 3px ;
55
55
cursor : pointer;
56
56
position : absolute;
57
- top : 10 px ;
57
+ top : 0 ;
58
58
font-weight : bold;
59
59
left : 10px ;
60
60
61
61
-webkit-user-select : none;
62
- -khtml-user-select : none;
62
+ -khtml-user-select : none;
63
63
-moz-user-select : none;
64
- -o-user-select : none;
64
+ -o-user-select : none;
65
65
user-select : none;
66
66
}
67
67
68
- .mapael .zoomOut {
68
+ /* Reset Zoom button first */
69
+ .mapael .zoomReset {
70
+ top : 10px ;
71
+ }
72
+
73
+ /* Then Zoom In button */
74
+ .mapael .zoomIn {
69
75
top : 30px ;
70
76
}
77
+
78
+ /* Then Zoom Out button */
79
+ .mapael .zoomOut {
80
+ top : 50px ;
81
+ }
71
82
</ style >
72
83
73
84
< script src ="http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js " charset ="utf-8 "> </ script >
Original file line number Diff line number Diff line change 38
38
color : # 343434 ;
39
39
}
40
40
41
- . mapael . zoomIn ,
42
- .mapael .zoomOut {
41
+ /* For all zoom buttons */
42
+ .mapael .zoomButton {
43
43
background-color : # fff ;
44
44
border : 1px solid # ccc ;
45
45
color : # 000 ;
50
50
border-radius : 3px ;
51
51
cursor : pointer;
52
52
position : absolute;
53
- top : 10 px ;
53
+ top : 0 ;
54
54
font-weight : bold;
55
55
left : 10px ;
56
56
57
57
-webkit-user-select : none;
58
- -khtml-user-select : none;
58
+ -khtml-user-select : none;
59
59
-moz-user-select : none;
60
- -o-user-select : none;
60
+ -o-user-select : none;
61
61
user-select : none;
62
62
}
63
63
64
- .mapael .zoomOut {
64
+ /* Reset Zoom button first */
65
+ .mapael .zoomReset {
66
+ top : 10px ;
67
+ }
68
+
69
+ /* Then Zoom In button */
70
+ .mapael .zoomIn {
65
71
top : 30px ;
66
72
}
67
73
74
+ /* Then Zoom Out button */
75
+ .mapael .zoomOut {
76
+ top : 50px ;
77
+ }
78
+
68
79
.mapael .map {
69
80
position : relative;
70
81
}
Original file line number Diff line number Diff line change 28
28
position : relative;
29
29
}
30
30
31
- . mapael . zoomIn ,
32
- .mapael .zoomOut {
31
+ /* For all zoom buttons */
32
+ .mapael .zoomButton {
33
33
background-color : # fff ;
34
34
border : 1px solid # ccc ;
35
35
color : # 000 ;
40
40
border-radius : 3px ;
41
41
cursor : pointer;
42
42
position : absolute;
43
- top : 10 px ;
43
+ top : 0 ;
44
44
font-weight : bold;
45
45
left : 10px ;
46
46
47
47
-webkit-user-select : none;
48
- -khtml-user-select : none;
48
+ -khtml-user-select : none;
49
49
-moz-user-select : none;
50
- -o-user-select : none;
50
+ -o-user-select : none;
51
51
user-select : none;
52
52
}
53
53
54
- .mapael .zoomOut {
54
+ /* Reset Zoom button first */
55
+ .mapael .zoomReset {
56
+ top : 10px ;
57
+ }
58
+
59
+ /* Then Zoom In button */
60
+ .mapael .zoomIn {
55
61
top : 30px ;
56
62
}
57
63
64
+ /* Then Zoom Out button */
65
+ .mapael .zoomOut {
66
+ top : 50px ;
67
+ }
68
+
58
69
.mapael .mapTooltip {
59
70
position : absolute;
60
71
background-color : # 474c4b ;
You can’t perform that action at this time.
0 commit comments