Skip to content

Commit d4ee6e6

Browse files
committed
Update gmap.less
1 parent 41fcf56 commit d4ee6e6

File tree

1 file changed

+60
-58
lines changed

1 file changed

+60
-58
lines changed

skin/public/css/src/less/plugins/gmap.less

Lines changed: 60 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -5,80 +5,80 @@
55
@alertH: 50px;
66

77
#gmap {
8-
.form-search {
8+
.form-search {
99
:is(input, button) {
1010
border-radius: 0;
1111
border-bottom: none;
1212
border-top: none;
1313
}
1414

1515
input {
16-
height: @formH;
17-
padding: 1rem;
18-
border: none;
19-
}
16+
height: @formH;
17+
padding: 1rem;
18+
border: none;
19+
}
2020

21-
.subdirection {
22-
.size(52px,@formH);
21+
.subdirection {
22+
.size(52px,@formH);
2323
border-color: #ddd;
24-
}
25-
}
26-
27-
.map {
28-
min-height: @mapH;
29-
position: relative;
30-
overflow: hidden;
31-
margin-bottom: 2rem;
32-
33-
> div:first-child {
34-
display: table;
35-
width: 100%;
36-
position: relative;
37-
}
38-
}
39-
40-
.gmap3 {
41-
height: @mapH;
42-
width: 100%;
43-
float: right;
44-
display: table-cell;
45-
transition: all .5s ease;
46-
border-right: 1px solid #ccc;
24+
}
25+
}
26+
27+
.map {
28+
min-height: @mapH;
29+
position: relative;
30+
overflow: hidden;
31+
margin-bottom: 2rem;
32+
33+
> div:first-child {
34+
display: table;
35+
width: 100%;
36+
position: relative;
37+
}
38+
}
39+
40+
.gmap3 {
41+
height: @mapH;
42+
width: 100%;
43+
float: right;
44+
display: table-cell;
45+
transition: all .5s ease;
46+
border-right: 1px solid #ccc;
4747

4848
img {
4949
max-width: inherit;
5050
}
51-
}
51+
}
5252

53-
.adp-directions {
54-
.table;
55-
.table-hover;
56-
}
53+
.adp-directions {
54+
.table;
55+
.table-hover;
56+
}
5757

58-
.adp-placemark {
59-
margin: 0 0 10px;
60-
border-left: none;
61-
border-right: none;
58+
.adp-placemark {
59+
margin: 0 0 10px;
60+
border-left: none;
61+
border-right: none;
6262
width: 100%;
63-
td {
64-
padding: .5rem 1rem;
65-
}
66-
}
67-
68-
:is(.adp-summary,.adp-legal) {
69-
padding: 0 .5rem .5rem;
70-
}
71-
72-
.map_loader {
73-
position: relative;
74-
margin-top: 25%;
75-
left: 48%;
76-
margin-left: -1rem;
77-
}
78-
79-
.gmap-content {
63+
td {
64+
padding: .5rem 1rem;
65+
}
66+
}
67+
68+
:is(.adp-summary,.adp-legal) {
69+
padding: 0 .5rem .5rem;
70+
}
71+
72+
.map_loader {
73+
position: relative;
74+
margin-top: 25%;
75+
left: 48%;
76+
margin-left: -1rem;
77+
}
78+
79+
.gmap-content {
8080
margin-bottom: 2rem;
81-
}
81+
}
8282
}
8383

8484
#r-directions {
@@ -146,11 +146,13 @@
146146
position: relative;
147147

148148
.btn:not(.hidepanel) {
149-
top: 5px;
149+
top: 50%;
150150
right: 5px;
151151
position: absolute;
152152
color: #f2f2f2;
153153
font-size: 18px;
154+
line-height: 1;
155+
transform: translateY(-50%);
154156
}
155157
}
156158

0 commit comments

Comments
 (0)