Skip to content

Commit

Permalink
Merge pull request #4787 from camptocamp/GSGMF-879
Browse files Browse the repository at this point in the history
Don't set background-color to input range
  • Loading branch information
fredj committed Apr 2, 2019
2 parents e9364fb + b84da45 commit 6fce286
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion contribs/gmf/src/map/mousepositionComponent.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="btn-group dropup">
<a type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
<a class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
<span class="gmf-mouseposition-control-target"></span>
</a>
<ul class="dropdown-menu dropdown-menu-right" role="menu">
Expand Down
5 changes: 3 additions & 2 deletions contribs/gmf/src/print/component.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,10 @@

<div
ng-if="attribute.type === 'checkbox'"
class="checkbox">
<label>
class="form-check">
<label class="form-check-label">
<input
class="form-check-input"
ng-model="attribute.value"
type="checkbox">
<span>{{attribute.name | translate}}</span>
Expand Down
2 changes: 1 addition & 1 deletion contribs/gmf/src/raster/widgetComponent.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
gmf-elevation-layer="ctrl.selectedElevationLayer"
gmf-elevation-layersconfig="ctrl.layersconfig"
gmf-elevation-map="::ctrl.map">
<a type="button" class="btn btn-default" aria-expanded="false"
<a class="btn btn-default" aria-expanded="false"
ng-class="::{'dropdown-toggle': ctrl.layers.length > 1}"
ng-attr-data-toggle="{{::(ctrl.layers.length > 1) ? 'dropdown' : ''}}"
>
Expand Down
8 changes: 3 additions & 5 deletions contribs/gmf/src/sass/input-range.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,12 @@ input[type=range] {
border: 0;
background-color: transparent;

&,
&:focus {
&:hover, &:focus {
outline: none;
box-shadow: none;
background-color: transparent;
}
}
input[type=range]:focus {
outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
width: 100%;
height: $gmf-input-range-track-height;
Expand Down
5 changes: 3 additions & 2 deletions src/editing/attributescomponent.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@

<div
ng-switch-when="boolean"
class="checkbox">
<label>
class="form-check">
<label class="form-check-label">
<input
name="{{::attribute.name}}"
class="form-check-input"
ng-model="attrCtrl.properties[attribute.name]"
ng-change="attrCtrl.handleInputChange(attribute.name);"
type="checkbox">
Expand Down

0 comments on commit 6fce286

Please sign in to comment.