Skip to content

Commit 1643b11

Browse files
paodbjavier-godoy
authored andcommitted
fix(demo): update styles on demos
1 parent 218bd4e commit 1643b11

File tree

2 files changed

+9
-21
lines changed

2 files changed

+9
-21
lines changed

src/test/resources/META-INF/resources/frontend/styles/orgchart/demo-styles.css

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636

3737
.orgchart .node .content {
3838
border-radius: 0 !important;
39-
border-bottom-width: 0 !important;
4039
}
4140

4241
.orgchart .node .content:first-of-type {
@@ -54,15 +53,11 @@ vaadin-checkbox.smallcheckbox {
5453
font-size: small;
5554
}
5655

57-
fc-orgchart p {
58-
max-width:calc(100% - 70px);
59-
}
60-
6156
.orgchart {
6257
padding: 0;
6358
}
6459

65-
.image-title-demo .orgchart .title .symbol {
60+
.image-title-demo .orgchart .title .parentNodeSymbol {
6661
display:none
6762
}
6863

src/test/resources/META-INF/resources/frontend/styles/orgchart/hybrid-demo-styles.css

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
}
2323

2424
.hybrid-chart .orgchart .node .title {
25-
height: 80px !important;
25+
height: 95px !important;
26+
width: 210px;
2627
text-align: left;
2728
line-height: 18px;
2829
font-size: 11px;
@@ -57,30 +58,22 @@
5758
margin-right: 4px;
5859
}
5960

60-
.hybrid-chart .orgchart .title .symbol {
61+
.hybrid-chart .orgchart .title .parentNodeSymbol {
6162
display: none
6263
}
6364

64-
.hybrid-chart .orgchart .lines .rightLine {
65-
border-right-color: var(--lumo-body-text-color);
65+
.hybrid-chart .orgchart .node:not(:only-child)::after{
66+
background-color: var(--lumo-body-text-color);
6667
}
6768

68-
.hybrid-chart .orgchart .lines .leftLine {
69-
border-left-color: var(--lumo-body-text-color);
70-
}
71-
72-
.hybrid-chart .orgchart .lines .topLine {
73-
border-top-color: var(--lumo-body-text-color);
74-
}
75-
76-
.hybrid-chart .orgchart .verticalNodes>td::before {
69+
.hybrid-chart .orgchart .hierarchy::before {
7770
border-color: var(--lumo-body-text-color);
7871
}
7972

80-
.hybrid-chart .orgchart .lines .downLine {
73+
.hybrid-chart .orgchart>ul>li>ul li>.node::before {
8174
background-color: var(--lumo-body-text-color);
8275
}
8376

84-
.hybrid-chart .orgchart .verticalNodes ul>li::after, .hybrid-chart .orgchart .verticalNodes ul>li::before {
77+
.hybrid-chart .orgchart .nodes.vertical .hierarchy::after, .hybrid-chart .orgchart .nodes.vertical .hierarchy::before {
8578
border-color: var(--lumo-body-text-color);
8679
}

0 commit comments

Comments
 (0)