feat(dark mode): lineage and metadata

This commit is contained in:
Mihajlo Medjedovic 2024-05-29 16:21:28 +02:00
parent 31c90f3190
commit 27907ed00f
6 changed files with 100 additions and 29 deletions

View File

@ -185,13 +185,13 @@
<button <button
(click)="limitDotDepth = true" (click)="limitDotDepth = true"
type="button" type="button"
class="btn btn-outline" class="btn btn-outline mr-5"
> >
Limit depth Limit depth
</button> </button>
<!-- <button class="btn btn-outline" (click)='showSvg()'> Open in New Tab </button> --> <!-- <button class="btn btn-outline" (click)='showSvg()'> Open in New Tab </button> -->
<div class="btn-group d-block"> <div class="btn-group direction d-block">
<div <div
class="radio btn" class="radio btn"
(click)=" (click)="

View File

@ -41,6 +41,10 @@ clr-tree-node button {
white-space: nowrap; white-space: nowrap;
} }
.btn-group.direction {
margin-left: var(--cds-global-space-6);
}
.graph-render-spinner { .graph-render-spinner {
position: absolute; position: absolute;
top: 0; top: 0;

View File

@ -126,12 +126,15 @@
[class.object-header]="!entry.count" [class.object-header]="!entry.count"
class="full-width" class="full-width"
> >
<clr-icon <div>
*ngIf="!entry.count" <clr-icon
shape="rack-server" *ngIf="!entry.count"
></clr-icon> shape="rack-server"
<clr-icon *ngIf="entry.count" shape="block"></clr-icon> ></clr-icon>
{{ entry.display }} <clr-icon *ngIf="entry.count" shape="block"></clr-icon>
{{ entry.display }}
</div>
<p class="float-right object-uri" *ngIf="!entry.count"> <p class="float-right object-uri" *ngIf="!entry.count">
{{ entry.URI }} {{ entry.URI }}
</p> </p>
@ -166,12 +169,15 @@
[clrExpandable]="true" [clrExpandable]="true"
> >
<div [class.object-header]="!entry.count" class="full-width"> <div [class.object-header]="!entry.count" class="full-width">
<clr-icon *ngIf="!entry.count" shape="rack-server"></clr-icon> <div>
<clr-icon *ngIf="entry.count" shape="block"></clr-icon> <clr-icon *ngIf="!entry.count" shape="rack-server"></clr-icon>
{{ entry.display }} <clr-icon *ngIf="entry.count" shape="block"></clr-icon>
<p class="float-right object-uri" *ngIf="!entry.count"> {{ entry.display }}
{{ entry.URI }} </div>
</p>
<p class="float-right object-uri" *ngIf="!entry.count">
{{ entry.URI }}
</p>
</div> </div>
</clr-tree-node> </clr-tree-node>
</clr-tree> </clr-tree>

View File

@ -1,14 +1,27 @@
::ng-deep body[cds-theme="dark"] {
.object-header:hover {
background-color: #405560;
}
}
::ng-deep body[cds-theme="light"] {
.objects-col {
background: white;
}
.object-header:hover {
background-color: #d8e3e9;
}
}
.objects-col{ .objects-col{
height: 75vh; height: 75vh;
overflow: scroll; overflow: scroll;
border: 1px solid #cccccc; border: 1px solid #cccccc;
background: white;
border-radius: 4px; border-radius: 4px;
} }
.cols-head { .cols-head {
background: #fafafa;
border: 1px solid #cccccc; border: 1px solid #cccccc;
padding: 10px; padding: 10px;
display: flex; display: flex;
@ -40,11 +53,13 @@
margin-top: 5px; margin-top: 5px;
} }
.object-header{ .object-header{
display: flex;
align-items: center;
justify-content: space-between;
padding-left: 3px; padding-left: 3px;
padding-right: 3px; padding-right: 3px;
} }
.object-header:hover{ .object-header:hover{
background-color: #d8e3e9;
border-radius: 3px; border-radius: 3px;
} }
.datagrid-host{ .datagrid-host{

View File

@ -1,25 +1,59 @@
::ng-deep body[cds-theme="dark"] {
.role {
background-color: #314351;
border-color: #314351;
}
.role-data {
background-color: #314351;
border-color: #314351;
}
.member-table tbody{
tr:hover{
background-color: #29404b;
}
}
}
::ng-deep body[cds-theme="light"] {
.role-info{
background-color: #f9f9f9;
border-color: #a7a7a7;
box-shadow: 0px 2px 5px #dad7d7;
}
.role-data {
background-color: #f9f9f9;
border-color: #a7a7a7;
box-shadow: 0px 2px 5px #dad7d7;
}
.member-table tbody{
tr:hover{
background-color: #e6e6e6;
}
}
}
.sidebar-height{ .sidebar-height{
height: 100%; height: 100%;
} }
.role-info-text{ .role-info-text{
display: inline; display: inline;
font-size: 20px; font-size: 20px;
} }
.role-info{ .role-info{
background-color: #f9f9f9; border: 1px solid;
border: 1px solid #a7a7a7;
border-radius: 3px; border-radius: 3px;
box-shadow: 0px 2px 5px #dad7d7;
} }
.role-info td{ .role-info td{
text-align: center; text-align: center;
} }
.role-data{ .role-data{
background-color: #f9f9f9; border: 1px solid;
border: 1px solid #a7a7a7;
border-radius: 3px; border-radius: 3px;
box-shadow: 0px 2px 5px #dad7d7;
} }
.role-data{ .role-data{
min-height: unset; min-height: unset;
@ -28,15 +62,10 @@
} }
} }
.member-table{ .member-table{
background-color: #f9f9f9;
width: 100%; width: 100%;
} }
.member-table thead{
background-color: #dadada;
}
.member-table tbody{ .member-table tbody{
tr:hover{ tr:hover{
background-color: #e6e6e6;
cursor: pointer; cursor: pointer;
} }
} }

View File

@ -78,6 +78,23 @@ _webout=`{"SYSDATE" : "26SEP22"
"DC_RESTRICT_EDITRECORD": "NO" "DC_RESTRICT_EDITRECORD": "NO"
} }
] ]
,"xlmaps": [
[
"BASEL-CR2",
"",
"DC866788.MPE_XLMAP_DATA"
],
[
"BASEL-KM1",
"Basel 3 Key Metrics report",
"DC866788.MPE_XLMAP_DATA"
],
[
"SAMPLE",
"",
"DC866788.MPE_XLMAP_DATA"
]
]
,"_DEBUG" : "" ,"_DEBUG" : ""
,"_METAUSER": "sasdemo@SAS" ,"_METAUSER": "sasdemo@SAS"
,"_METAPERSON": "sasdemo" ,"_METAPERSON": "sasdemo"