Skip to content

Commit

Permalink
[FEATURE] Update selection panel component for the "Create detection …
Browse files Browse the repository at this point in the history
…rule" page opensearch-project#587

Signed-off-by: Jovan Cvetkovic <[email protected]>
  • Loading branch information
jovancvetkovic3006 committed May 22, 2023
1 parent 9831c8f commit 53c6447
Show file tree
Hide file tree
Showing 5 changed files with 240 additions and 163 deletions.
1 change: 1 addition & 0 deletions public/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ $euiTextColor: $euiColorDarkestShade !default;
@import "./pages/Correlations/Correlations.scss";
@import "./pages/Correlations/components/FindingCard.scss";
@import "./pages/Findings/components/CorrelationsTable/CorrelationsTable.scss";
@import "./pages/Rules/components/RuleEditor/DetectionVisualEditor.scss";

.selected-radio-panel {
background-color: tintOrShade($euiColorPrimary, 90%, 70%);
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@

.detection-visual-editor {
.euiAccordionForm:nth-of-type(1) {
border-top: 1px solid #D3DAE6;
}

.euiAccordionForm {
border-top: 0 !important;
}

.detection-visual-editor-accordion-wrapper {
width: 100%;
.detection-visual-editor-form-row {
max-width: 100%;
.detection-visual-editor-textarea {
max-width: 100%;
padding: 0;
min-height: 100px;
}
}

.detection-visual-editor-textarea-clear-btn {
align-items: flex-end;
}
}

.detection-visual-editor-name {
box-shadow: none;
background-color: transparent;
padding: 0;
}

.detection-visual-editor-delete-selection {
margin-top: 0 !important;
}

.euiButtonIcon--danger {
color: $ouiTextSubduedColor !important;

&:hover {
color: $ouiColorDanger !important;
background-color: transparent !important;
}
}
}
Loading

0 comments on commit 53c6447

Please sign in to comment.