-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[feature] Add the editing mode of "complex rule nesting" to support "…
…threshold rules" (#2315) Co-authored-by: tomsun28 <[email protected]>
- Loading branch information
Showing
6 changed files
with
12,465 additions
and
12,256 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
49 changes: 49 additions & 0 deletions
49
web-app/src/app/routes/alert/alert-setting/alert-setting.component.less
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 @@ | ||
::ng-deep { | ||
|
||
.row { | ||
margin-top: 6px; | ||
|
||
.ruleset { | ||
border: 1px solid #CCC; | ||
} | ||
} | ||
|
||
.ruleset-invalid { | ||
border: none!important; | ||
|
||
.ruleset { | ||
border: 1px solid #ff4d4f !important; | ||
} | ||
|
||
>p { | ||
margin: 0!important; | ||
color: #ff4d4f !important; | ||
} | ||
} | ||
|
||
.ruleset { | ||
min-width: 400px; | ||
overflow-x: auto; | ||
padding: 6px 8px; | ||
} | ||
|
||
.rule { | ||
display: flex; | ||
gap: 10px; | ||
min-width: 300px; | ||
overflow-x: auto; | ||
padding: 6px 8px; | ||
border: 1px solid #CCC; | ||
|
||
.q-rule-content { | ||
flex: 1; | ||
display: flex; | ||
flex-wrap: wrap; | ||
gap: 10px; | ||
} | ||
|
||
.q-rule-actions { | ||
flex-shrink: 0; | ||
} | ||
} | ||
} |
Oops, something went wrong.