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.
@@ -152,20 +152,20 @@
152
152
 
153
153
  /* https://bugzilla.mozilla.org/show_bug.cgi?id=140562 */
154
154
 
155
- .mapboxgl-ctrl > button {
156
- &::-moz-focus-inner {
157
- border: 0;
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
- &:disabled {
225
- 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='M10 4C9 4 9 5 9 5L9 5.1A5 5 0 0 0 5.1 9L5 9C5 9 4 9 4 10 4 11 5 11 5 11L5.1 11A5 5 0 0 0 9 14.9L9 15C9 15 9 16 10 16 11 16 11 15 11 15L11 14.9A5 5 0 0 0 14.9 11L15 11C15 11 16 11 16 10 16 9 15 9 15 9L14.9 9A5 5 0 0 0 11 5.1L11 5C11 5 11 4 10 4zM10 6.5A3.5 3.5 0 0 1 13.5 10 3.5 3.5 0 0 1 10 13.5 3.5 3.5 0 0 1 6.5 10 3.5 3.5 0 0 1 10 6.5zM10 8.3A1.8 1.8 0 0 0 8.3 10 1.8 1.8 0 0 0 10 11.8 1.8 1.8 0 0 0 11.8 10 1.8 1.8 0 0 0 10 8.3z'/%3E %3C/svg%3E");
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 {
@@ -14,7 +14,7 @@ module MapboxGl
14
14
  # Major version number
15
15
  MAJOR = 1
16
16
  # Minor version number
17
- MINOR = 4
17
+ MINOR = 5
18
18
  # Smallest version number
19
19
  TINY = 0
20
20
 
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.0
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-02 00:00:00.000000000 Z
11
+ date: 2019-10-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties