Skip to content

Commit

Permalink
Consolidating rules, adding shorthand
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonbarry committed Jan 28, 2018
1 parent cf72017 commit 26cae97
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions dist/mapbox-gl.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@
height: 100%;
}

.mapboxgl-missing-css {
display: none;
}

.mapboxgl-canvas-container.mapboxgl-interactive,
.mapboxgl-ctrl-nav-compass {
cursor: -webkit-grab;
Expand Down Expand Up @@ -111,7 +107,7 @@
display: block;
padding: 0;
outline: none;
border: none;
border: 0;
box-sizing: border-box;
background-color: transparent;
cursor: pointer;
Expand Down Expand Up @@ -243,7 +239,7 @@ a.mapboxgl-ctrl-logo {
.mapboxgl-ctrl-attrib.mapboxgl-compact {
padding-top: 2px;
padding-bottom: 2px;
margin: 0 10px 10px 10px;
margin: 0 10px 10px;
position: relative;
padding-right: 24px;
background-color: #fff;
Expand Down Expand Up @@ -285,10 +281,6 @@ a.mapboxgl-ctrl-logo {
margin-left: 2px;
}

.mapboxgl-attrib-empty {
display: none;
}

.mapboxgl-ctrl-scale {
background-color: rgba(255, 255, 255, 0.75);
font-size: 10px;
Expand Down Expand Up @@ -405,7 +397,7 @@ a.mapboxgl-ctrl-logo {
position: absolute;
right: 0;
top: 0;
border: none;
border: 0;
border-radius: 0 3px 0 0;
cursor: pointer;
background-color: transparent;
Expand Down Expand Up @@ -534,6 +526,8 @@ a.mapboxgl-ctrl-logo {
background-color: #aaa;
}

.mapboxgl-missing-css,
.mapboxgl-attrib-empty,
.mapboxgl-user-location-dot-stale::after {
display: none;
}
Expand Down

0 comments on commit 26cae97

Please sign in to comment.