mapbox-gl-rails 1.4.0 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/mapbox-gl.js +1324 -311
- data/app/assets/stylesheets/mapbox-gl.scss +12 -12
- data/lib/mapbox-gl/rails/version.rb +1 -1
- metadata +2 -2
@@ -152,20 +152,20 @@
|
|
152
152
|
|
153
153
|
/* https://bugzilla.mozilla.org/show_bug.cgi?id=140562 */
|
154
154
|
|
155
|
-
.mapboxgl-ctrl > button {
|
156
|
-
|
157
|
-
|
158
|
-
padding: 0;
|
159
|
-
}
|
160
|
-
|
161
|
-
&:hover {
|
162
|
-
background-color: rgba(0, 0, 0, 0.05);
|
163
|
-
}
|
155
|
+
.mapboxgl-ctrl > button::-moz-focus-inner {
|
156
|
+
border: 0;
|
157
|
+
padding: 0;
|
164
158
|
}
|
165
159
|
|
166
160
|
.mapboxgl-ctrl-group > button:focus {
|
167
161
|
box-shadow: 0 0 2px 2px rgba(0, 150, 255, 1);
|
162
|
+
}
|
163
|
+
|
164
|
+
.mapboxgl-ctrl > button:not(:disabled):hover {
|
165
|
+
background-color: rgba(0, 0, 0, 0.05);
|
166
|
+
}
|
168
167
|
|
168
|
+
.mapboxgl-ctrl-group > button:focus {
|
169
169
|
&:focus-visible {
|
170
170
|
box-shadow: 0 0 2px 2px rgba(0, 150, 255, 1);
|
171
171
|
}
|
@@ -220,10 +220,10 @@
|
|
220
220
|
display: block;
|
221
221
|
width: 100%;
|
222
222
|
height: 100%;
|
223
|
+
}
|
223
224
|
|
224
|
-
|
225
|
-
|
226
|
-
}
|
225
|
+
&:disabled::before {
|
226
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23aaa'%3E %3Cpath d='M14.434,7.688c0.213,0.407 0.371,0.848 0.466,1.312l0.1,0c0,0 1,0 1,1c0,1 -1,1 -1,1l-0.1,0c-0.4,1.96 -1.94,3.5 -3.9,3.9l0,0.1c0,0 0,1 -1,1c-1,0 -1,-1 -1,-1l0,-0.1c-0.477,-0.097 -0.93,-0.262 -1.347,-0.484c0.383,-0.377 0.767,-0.753 1.151,-1.129c0.374,0.138 0.777,0.213 1.196,0.213c1.92,0 3.5,-1.58 3.5,-3.5c0,-0.403 -0.07,-0.791 -0.197,-1.153c0.379,-0.384 0.756,-0.77 1.131,-1.159Zm-9.334,1.312c0.4,-1.961 1.94,-3.5 3.9,-3.9l0,-0.1c0,0 0,-1 1,-1c1,0 1,1 1,1l0,0.1c0.477,0.097 0.93,0.262 1.347,0.484c-0.383,0.377 -0.767,0.753 -1.151,1.129c-0.374,-0.138 -0.777,-0.213 -1.196,-0.213c-1.92,0 -3.5,1.58 -3.5,3.5c0,0.403 0.07,0.791 0.197,1.153c-0.379,0.384 -0.756,0.77 -1.131,1.159c-0.213,-0.407 -0.371,-0.848 -0.466,-1.312l-0.1,0c-0.005,0 -1,-0.003 -1,-1c0,-0.997 0.995,-1 1,-1l0.1,0Z'/%3E %3Cpath d='M14,5l1,1l-9,9l-1,-1l9,-9Z'/%3E %3C/svg%3E");
|
227
227
|
}
|
228
228
|
|
229
229
|
&.mapboxgl-ctrl-geolocate-active::before {
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mapbox-gl-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nikita Bulai
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-10-
|
11
|
+
date: 2019-10-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|