From 87cbe96c3b7b13d2db4ebf7b5a84e655b38ed731 Mon Sep 17 00:00:00 2001 From: kalytka Date: Fri, 19 May 2023 15:07:25 +0300 Subject: [PATCH 1/3] rule node style improve --- .../home/components/details-panel.component.html | 2 +- .../home/components/details-panel.component.scss | 10 ++++++++++ .../relation/relation-filters.component.html | 10 +++++----- .../relation/relation-filters.component.scss | 1 + .../pages/rulechain/rule-node-details.component.html | 2 +- .../pages/rulechain/rule-node-details.component.scss | 6 +++++- 6 files changed, 23 insertions(+), 8 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/details-panel.component.html b/ui-ngx/src/app/modules/home/components/details-panel.component.html index 15df7e99e5..e82ee068d5 100644 --- a/ui-ngx/src/app/modules/home/components/details-panel.component.html +++ b/ui-ngx/src/app/modules/home/components/details-panel.component.html @@ -65,6 +65,6 @@ -
+
diff --git a/ui-ngx/src/app/modules/home/components/details-panel.component.scss b/ui-ngx/src/app/modules/home/components/details-panel.component.scss index 9002246841..b73eb5d58d 100644 --- a/ui-ngx/src/app/modules/home/components/details-panel.component.scss +++ b/ui-ngx/src/app/modules/home/components/details-panel.component.scss @@ -20,12 +20,22 @@ height: 100%; display: flex; flex-direction: column; + .mat-toolbar.details-toolbar { padding: 0; } } :host ::ng-deep { + + .reset-style { + color: rgba(0, 0, 0, 0.6);; + //font-family: "Arial"; + line-height: 24px; + //font-weight: 500; + letter-spacing: 0.5px; + } + .mat-toolbar-tools { height: 100%; min-height: 60px; diff --git a/ui-ngx/src/app/modules/home/components/relation/relation-filters.component.html b/ui-ngx/src/app/modules/home/components/relation/relation-filters.component.html index bfc639e6b4..71965c4ba1 100644 --- a/ui-ngx/src/app/modules/home/components/relation/relation-filters.component.html +++ b/ui-ngx/src/app/modules/home/components/relation/relation-filters.component.html @@ -22,13 +22,13 @@ fxLayoutAlign="start center" formArrayName="relationFilters" *ngFor="let relationFilterControl of relationFiltersFormArray.controls; let $index = index">
-
- + - @@ -49,7 +49,7 @@ relation.any-relation
-
+
diff --git a/ui-ngx/src/app/modules/home/pages/rulechain/rule-node-details.component.scss b/ui-ngx/src/app/modules/home/pages/rulechain/rule-node-details.component.scss index 4995d5c06d..a576472592 100644 --- a/ui-ngx/src/app/modules/home/pages/rulechain/rule-node-details.component.scss +++ b/ui-ngx/src/app/modules/home/pages/rulechain/rule-node-details.component.scss @@ -27,12 +27,16 @@ display: flex; flex-direction: column; gap: 8px; - margin-bottom: 5px; + + @media #{$mat-gt-sm} { + margin-bottom: 24px; + } } @media #{$mat-gt-sm} { flex-direction: row; gap: 8px; + align-items: center; .node-setting { margin-top: 5px; From e39e1d61ff537d165ace2ec7c8f3ff0a7201089c Mon Sep 17 00:00:00 2001 From: kalytka Date: Fri, 19 May 2023 15:11:15 +0300 Subject: [PATCH 2/3] Refactoring --- .../modules/home/components/details-panel.component.html | 2 +- .../modules/home/components/details-panel.component.scss | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/details-panel.component.html b/ui-ngx/src/app/modules/home/components/details-panel.component.html index e82ee068d5..720cdffd83 100644 --- a/ui-ngx/src/app/modules/home/components/details-panel.component.html +++ b/ui-ngx/src/app/modules/home/components/details-panel.component.html @@ -65,6 +65,6 @@ -
+
diff --git a/ui-ngx/src/app/modules/home/components/details-panel.component.scss b/ui-ngx/src/app/modules/home/components/details-panel.component.scss index b73eb5d58d..2a820b9f54 100644 --- a/ui-ngx/src/app/modules/home/components/details-panel.component.scss +++ b/ui-ngx/src/app/modules/home/components/details-panel.component.scss @@ -20,7 +20,6 @@ height: 100%; display: flex; flex-direction: column; - .mat-toolbar.details-toolbar { padding: 0; } @@ -28,11 +27,9 @@ :host ::ng-deep { - .reset-style { - color: rgba(0, 0, 0, 0.6);; - //font-family: "Arial"; + .details-panel-style { + color: rgba(0, 0, 0, 0.6); line-height: 24px; - //font-weight: 500; letter-spacing: 0.5px; } From dfbd8801887e3b37fa239393ace974010170e83c Mon Sep 17 00:00:00 2001 From: kalytka Date: Fri, 19 May 2023 16:10:29 +0300 Subject: [PATCH 3/3] Refactoring --- .../modules/home/components/details-panel.component.html | 2 +- .../modules/home/components/details-panel.component.scss | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/details-panel.component.html b/ui-ngx/src/app/modules/home/components/details-panel.component.html index 720cdffd83..15df7e99e5 100644 --- a/ui-ngx/src/app/modules/home/components/details-panel.component.html +++ b/ui-ngx/src/app/modules/home/components/details-panel.component.html @@ -65,6 +65,6 @@ -
+
diff --git a/ui-ngx/src/app/modules/home/components/details-panel.component.scss b/ui-ngx/src/app/modules/home/components/details-panel.component.scss index 2a820b9f54..9002246841 100644 --- a/ui-ngx/src/app/modules/home/components/details-panel.component.scss +++ b/ui-ngx/src/app/modules/home/components/details-panel.component.scss @@ -26,13 +26,6 @@ } :host ::ng-deep { - - .details-panel-style { - color: rgba(0, 0, 0, 0.6); - line-height: 24px; - letter-spacing: 0.5px; - } - .mat-toolbar-tools { height: 100%; min-height: 60px;