-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Gabriele Panico
committed
Oct 24, 2023
1 parent
049ee45
commit 8d7ed19
Showing
17 changed files
with
132 additions
and
144 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
3 changes: 2 additions & 1 deletion
3
src/app/chatbot-design-studio/cds-base-element/select/select.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
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
34 changes: 6 additions & 28 deletions
34
...actions/shared/cds-action-controls/cds-action-controls/cds-action-controls.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 |
---|---|---|
@@ -1,32 +1,10 @@ | ||
<div class="action-controls"> | ||
<div class="action-control-btns-wpr"> | ||
<span class="action-control-btn" (click)="onClickAction('delete', $event)"> | ||
<svg xmlns="http://www.w3.org/2000/svg" height="16px" viewBox="0 0 24 24" width="16px" fill="#8E98A8"> | ||
<path d="M0 0h24v24H0V0z" fill="none" /> | ||
<path | ||
d="M16 9v10H8V9h8m-1.5-6h-5l-1 1H5v2h14V4h-3.5l-1-1zM18 7H6v12c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7z" /> | ||
</svg> | ||
</span> | ||
<span class="action-control-btn" (click)="onClickAction('edit', $event)"> | ||
<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="16px" | ||
viewBox="0 0 24 24" width="16px" fill="#8E98A8"> | ||
<g> | ||
<rect fill="none" height="24" width="24" /> | ||
</g> | ||
<g> | ||
<g> | ||
<g> | ||
<path | ||
d="M3,21l3.75,0L17.81,9.94l-3.75-3.75L3,17.25L3,21z M5,18.08l9.06-9.06l0.92,0.92L5.92,19L5,19L5,18.08z" /> | ||
</g> | ||
<g> | ||
<path | ||
d="M18.37,3.29c-0.39-0.39-1.02-0.39-1.41,0l-1.83,1.83l3.75,3.75l1.83-1.83c0.39-0.39,0.39-1.02,0-1.41L18.37,3.29z" /> | ||
</g> | ||
</g> | ||
</g> | ||
</svg> | ||
</span> | ||
|
||
<div class="action-control-btn icon" (click)="onClickAction('delete', $event)"> | ||
<img src="/assets/images/icons/bin.svg"> | ||
</div> | ||
<div class="action-control-btn icon" (click)="onClickAction('edit', $event)"> | ||
<img src="/assets/images/icons/edit.svg"> | ||
</div> | ||
</div> | ||
</div> |
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,49 @@ | ||
@import "./src/assets/sass/cds/_variables.scss"; | ||
|
||
// .action-controls { | ||
// opacity: 0; | ||
// pointer-events: none; | ||
// position: absolute; | ||
// right: calc(100% - 10px); | ||
// // top: -5px; | ||
// top: -4px; | ||
// transition: opacity 0.2s, -webkit-transform 0.2s; | ||
// transition: opacity 0.2s, transform 0.2s; | ||
// transition: opacity 0.2s, transform 0.2s, -webkit-transform 0.2s; | ||
// z-index: 1; | ||
// } | ||
|
||
.action-control-btns-wpr { | ||
z-index: 10; | ||
// background-color: #ebe2c6; | ||
background-color: rgb(255, 255, 255); | ||
box-shadow: rgba(0, 27, 71, 0.08) 0px 3px 8px; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
padding: 3px 0px; | ||
border-radius: 14px; | ||
height: 25px; | ||
// gap: 8px; | ||
} | ||
|
||
.action-control-btn:first-child { | ||
border-left: unset; | ||
} | ||
.action-control-btn { | ||
cursor: pointer; | ||
border-left: solid 1px $border-light; | ||
padding: 2px 8px; | ||
display: flex; | ||
height: 20px | ||
|
||
} | ||
|
||
.icon img { | ||
filter: brightness(0) saturate(100%) invert(46%) sepia(0%) saturate(0%) hue-rotate(216deg) brightness(94%) contrast(91%); | ||
} | ||
.icon:hover { | ||
img { | ||
filter: brightness(0) saturate(100%) invert(39%) sepia(19%) saturate(1139%) hue-rotate(184deg) brightness(91%) contrast(85%); | ||
} | ||
} |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.