mapbox-gl-rails 1.2.0 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -125,7 +125,6 @@
125
125
 
126
126
  .mapboxgl-ctrl-group {
127
127
  border-radius: 4px;
128
- overflow: hidden;
129
128
  background: #fff;
130
129
 
131
130
  &:not(:empty) {
@@ -164,6 +163,30 @@
164
163
  }
165
164
  }
166
165
 
166
+ .mapboxgl-ctrl-group > button:focus {
167
+ box-shadow: 0 0 2px 2px rgba(0, 150, 255, 1);
168
+
169
+ &:focus-visible {
170
+ box-shadow: 0 0 2px 2px rgba(0, 150, 255, 1);
171
+ }
172
+
173
+ &:not(:focus-visible) {
174
+ box-shadow: none;
175
+ }
176
+
177
+ &:first-child {
178
+ border-radius: 4px 4px 0 0;
179
+ }
180
+
181
+ &:last-child {
182
+ border-radius: 0 0 4px 4px;
183
+ }
184
+
185
+ &:only-child {
186
+ border-radius: inherit;
187
+ }
188
+ }
189
+
167
190
  .mapboxgl-ctrl-icon {
168
191
  speak: none;
169
192
  -webkit-font-smoothing: antialiased;
@@ -14,7 +14,7 @@ module MapboxGl
14
14
  # Major version number
15
15
  MAJOR = 1
16
16
  # Minor version number
17
- MINOR = 2
17
+ MINOR = 3
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.2.0
4
+ version: 1.3.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-07-30 00:00:00.000000000 Z
11
+ date: 2019-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties