-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(orb-ui): Rows actions context menu (#2765)
- Loading branch information
1 parent
9b08f98
commit d2d6f76
Showing
13 changed files
with
384 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
ui/src/app/shared/components/tableContexMenu/table-context-menu-component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<div class="floating-div" [style.left.px]="left" [style.top.px]="top"> | ||
<button *ngFor="let item of items" class="button-action {{item.action}}" (click)="handleClick(item)"> | ||
<nb-icon icon="{{item.icon}}"> | ||
</nb-icon> | ||
</button> | ||
</div> |
28 changes: 28 additions & 0 deletions
28
ui/src/app/shared/components/tableContexMenu/table-context-menu-component.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
.floating-div { | ||
position: absolute; | ||
transform: translate(3%, -90%); | ||
background-color: #171c30; | ||
padding: 7px 10px; | ||
border-radius: 30px; | ||
border-bottom-left-radius: 0; | ||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); | ||
z-index: 9999; | ||
} | ||
.button-action { | ||
border: none; | ||
background-color: transparent; | ||
color: #969fb9; | ||
outline: none; | ||
} | ||
.openview, .openedit, .openduplicate { | ||
transition: color 0.3s ease; | ||
&:hover { | ||
color: #3089fc; | ||
} | ||
} | ||
.opendelete { | ||
transition: color 0.3s ease; | ||
&:hover { | ||
color: #df316f; | ||
} | ||
} |
Oops, something went wrong.