Skip to content

Commit

Permalink
fix(demo): update styles on demos
Browse files Browse the repository at this point in the history
  • Loading branch information
paodb committed Jul 18, 2023
1 parent ef5835d commit 67a9cf1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@

.orgchart .node .content {
border-radius: 0 !important;
border-bottom-width: 0 !important;
}

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

fc-orgchart p {
max-width:calc(100% - 70px);
}

.orgchart {
padding: 0;
}

.image-title-demo .orgchart .title .symbol {
.image-title-demo .orgchart .title .parentNodeSymbol {
display:none
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
}

.hybrid-chart .orgchart .node .title {
height: 80px !important;
height: 95px !important;
width: 210px;
text-align: left;
line-height: 18px;
font-size: 11px;
Expand Down Expand Up @@ -57,30 +58,22 @@
margin-right: 4px;
}

.hybrid-chart .orgchart .title .symbol {
.hybrid-chart .orgchart .title .parentNodeSymbol {
display: none
}

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

.hybrid-chart .orgchart .lines .leftLine {
border-left-color: var(--lumo-body-text-color);
}

.hybrid-chart .orgchart .lines .topLine {
border-top-color: var(--lumo-body-text-color);
}

.hybrid-chart .orgchart .verticalNodes>td::before {
.hybrid-chart .orgchart .hierarchy::before {
border-color: var(--lumo-body-text-color);
}

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

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

0 comments on commit 67a9cf1

Please sign in to comment.