Skip to content

Commit

Permalink
fix: slight changes for cyclebuttons
Browse files Browse the repository at this point in the history
  • Loading branch information
Grammostola committed Apr 24, 2024
1 parent 9fbdeed commit 81e1a2b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions scss/ui/_button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ button {
border: 2px solid $white;

&.active {
border: 2px solid $grey-light;
border: 2px solid $grey;
}

&.active:hover {
Expand Down Expand Up @@ -273,7 +273,7 @@ button:focus:not(:focus-visible),
}

&.icon-bg:focus:not(:focus-visible) {
border: 2px solid $grey-light;
border: 2px solid $grey;
}

&.icon-smaller:focus:not(:focus-visible) {
Expand Down Expand Up @@ -315,7 +315,7 @@ button.active,
}

.cycle {
background: linear-gradient(45deg, #8db2d7, #ddddee);
background: linear-gradient(45deg, #b8d6f3, #ddddee);
width: 37px;
height: 37px;
}
2 changes: 1 addition & 1 deletion src/controls/legend.js
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,7 @@ const Legend = function Legend(options = {}) {
addBackgroundButtons(backgroundLayers);
addCycleButtons(cycleGroups);
toggleGroup = ToggleGroup({
components: backgroundLayerButtons.concat(cycleButtons),
components: cycleButtons.concat(backgroundLayerButtons),
cls: 'spacing-horizontal-small'
});
this.render();
Expand Down

0 comments on commit 81e1a2b

Please sign in to comment.