Skip to content

Commit

Permalink
New: Adds locking icon to locked menu items (fixes: #389) (#390)
Browse files Browse the repository at this point in the history
  • Loading branch information
joe-replin authored Feb 10, 2023
1 parent 60a25e2 commit 4301511
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions less/_defaults/_spacing-config.less
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
@menu-item-body-margin: 1rem;
@menu-item-duration-margin: 1rem;
@menu-item-progress-margin: 1rem;
@menu-item-status-margin: 0.5rem;

// Page header text margin
// --------------------------------------------------
Expand Down
10 changes: 10 additions & 0 deletions less/plugins/adapt-contrib-boxmenu/boxMenuItem.less
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@
margin-bottom: @menu-item-progress-margin;
}

&__button-container {
display: flex;
align-items: center;
margin-bottom: @menu-item-progress-margin;
}

&__button {
background-color: @menu-item-btn-color;
color: @menu-item-btn-color-inverted;
Expand All @@ -52,6 +58,10 @@
color: @disabled-inverted;
}

&__status {
margin-left: @menu-item-status-margin;
}

&.has-img-zoom &__image-container {
.img-zoom();
}
Expand Down

0 comments on commit 4301511

Please sign in to comment.