Skip to content

Commit

Permalink
DPIB-496: AI Feature integrations. (#11095)
Browse files Browse the repository at this point in the history
AI Feature integrations
  • Loading branch information
dmiseev authored Sep 12, 2024
1 parent 21b2bfd commit ebd24aa
Show file tree
Hide file tree
Showing 4 changed files with 86 additions and 0 deletions.
9 changes: 9 additions & 0 deletions assets/Zed/sass/_action-buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,12 @@
.btn-remove {
@include coloredButton(#ed5565, #ffffff);
}

.btn-naked {
background: none;
border: none;

&:is(:hover, :focus) {
opacity: 0.8;
}
}
22 changes: 22 additions & 0 deletions assets/Zed/sass/_custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1908,3 +1908,25 @@ a.label {
}
}
}

.form-wrapper-clickable-affix:has(.select2),
.form-wrapper-clickable-affix:has(.form-control) {
position: relative;

.form-control,
.select2-selection {
padding-right: 43px;
}

.form-wrapper-clickable-affix__trigger {
position: absolute;
right: 10px;
bottom: 6px;
width: 24px;
height: 24px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
}
}
54 changes: 54 additions & 0 deletions assets/Zed/sass/_popover.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
.modal-popover {
padding: 0;
border: none;
opacity: 0;
transition: all 0.3s allow-discrete;

.modal {
display: block;
}

&:popover-open {
opacity: 1;

@starting-style {
opacity: 0;
}

&::backdrop {
opacity: 0.5;

@starting-style {
opacity: 0;
}
}
}

&::backdrop {
opacity: 0;
background-color: $black;
transition: all 0.3s allow-discrete;
}

&:has(.modal-backdrop):popover-open::backdrop {
opacity: 0;
}

.modal-backdrop {
opacity: 0.5;
cursor: auto;
}
}

body:has(.modal-popover:popover-open) {
overflow: hidden;

* {
pointer-events: none;
}

.modal-popover,
.modal-popover * {
pointer-events: auto;
}
}
1 change: 1 addition & 0 deletions assets/Zed/sass/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,4 @@ $icon-font-path: '../../fonts/bootstrap/';
@import 'data-tables';
@import 'wave-loader';
@import 'product-item';
@import 'popover';

0 comments on commit ebd24aa

Please sign in to comment.