2021-06-20 07:12:06 +00:00
|
|
|
.node-card {
|
|
|
|
background: white;
|
|
|
|
stroke: 1px solid var(--gray-200);
|
|
|
|
box-shadow: var(--shadow-base);
|
|
|
|
border-radius: 0.5rem;
|
|
|
|
padding: 0.75rem;
|
|
|
|
margin-left: 3rem;
|
|
|
|
width: 18rem;
|
2021-06-21 16:25:50 +00:00
|
|
|
overflow: hidden;
|
2021-06-20 07:12:06 +00:00
|
|
|
|
|
|
|
.btn-edit-node {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.edit-chart-node {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.node-edit-icon {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-07-25 14:58:01 +00:00
|
|
|
.node-card.exported {
|
|
|
|
box-shadow: none
|
|
|
|
}
|
|
|
|
|
2021-06-20 07:12:06 +00:00
|
|
|
.node-image {
|
|
|
|
width: 3.0rem;
|
|
|
|
height: 3.0rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.node-name {
|
|
|
|
font-size: 1rem;
|
|
|
|
line-height: 1.72;
|
|
|
|
}
|
|
|
|
|
|
|
|
.node-title {
|
|
|
|
font-size: 0.75rem;
|
|
|
|
line-height: 1.35;
|
|
|
|
}
|
|
|
|
|
2021-07-25 15:09:51 +00:00
|
|
|
.node-info {
|
|
|
|
width: 12.7rem;
|
|
|
|
}
|
|
|
|
|
2021-06-20 07:12:06 +00:00
|
|
|
.node-connections {
|
|
|
|
font-size: 0.75rem;
|
|
|
|
line-height: 1.35;
|
|
|
|
}
|
|
|
|
|
|
|
|
.node-card.active {
|
|
|
|
background: var(--blue-50);
|
|
|
|
border: 1px solid var(--blue-500);
|
|
|
|
box-shadow: var(--shadow-md);
|
|
|
|
border-radius: 0.5rem;
|
|
|
|
padding: 0.75rem;
|
|
|
|
width: 18rem;
|
|
|
|
|
|
|
|
.btn-edit-node {
|
|
|
|
display: flex;
|
|
|
|
background: var(--blue-100);
|
|
|
|
color: var(--blue-500);
|
|
|
|
padding: .25rem .5rem;
|
|
|
|
font-size: .75rem;
|
|
|
|
justify-content: center;
|
|
|
|
box-shadow: var(--shadow-sm);
|
2021-06-29 20:59:16 +00:00
|
|
|
margin-left: auto;
|
2021-06-20 07:12:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.edit-chart-node {
|
|
|
|
display: block;
|
2021-07-02 12:45:18 +00:00
|
|
|
margin-right: 0.25rem;
|
2021-06-20 07:12:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.node-edit-icon {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.node-edit-icon > .icon{
|
|
|
|
stroke: var(--blue-500);
|
|
|
|
}
|
|
|
|
|
|
|
|
.node-name {
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
margin-bottom: 2px;
|
2021-06-29 20:59:16 +00:00
|
|
|
width: 12.2rem;
|
2021-06-20 07:12:06 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.node-card.active-path {
|
|
|
|
background: var(--blue-100);
|
|
|
|
border: 1px solid var(--blue-300);
|
|
|
|
box-shadow: var(--shadow-sm);
|
|
|
|
border-radius: 0.5rem;
|
|
|
|
padding: 0.75rem;
|
|
|
|
width: 15rem;
|
|
|
|
height: 3.0rem;
|
|
|
|
|
|
|
|
.btn-edit-node {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.edit-chart-node {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.node-edit-icon {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.node-info {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.node-title {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.node-connections {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.node-name {
|
|
|
|
font-size: 0.85rem;
|
|
|
|
line-height: 1.35;
|
|
|
|
}
|
|
|
|
|
|
|
|
.node-image {
|
|
|
|
width: 1.5rem;
|
|
|
|
height: 1.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.node-meta {
|
|
|
|
align-items: baseline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.node-card.collapsed {
|
|
|
|
background: white;
|
|
|
|
stroke: 1px solid var(--gray-200);
|
|
|
|
box-shadow: var(--shadow-sm);
|
|
|
|
border-radius: 0.5rem;
|
|
|
|
padding: 0.75rem;
|
|
|
|
width: 15rem;
|
|
|
|
height: 3.0rem;
|
|
|
|
|
|
|
|
.btn-edit-node {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.edit-chart-node {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.node-edit-icon {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.node-info {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.node-title {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.node-connections {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.node-name {
|
|
|
|
font-size: 0.85rem;
|
|
|
|
line-height: 1.35;
|
|
|
|
}
|
|
|
|
|
|
|
|
.node-image {
|
|
|
|
width: 1.5rem;
|
|
|
|
height: 1.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.node-meta {
|
|
|
|
align-items: baseline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// horizontal hierarchy tree view
|
2021-07-25 14:58:01 +00:00
|
|
|
#hierarchy-chart-wrapper {
|
|
|
|
padding-top: 30px;
|
|
|
|
}
|
|
|
|
|
2021-06-20 07:12:06 +00:00
|
|
|
.hierarchy {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hierarchy li {
|
|
|
|
list-style-type: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.child-node {
|
|
|
|
margin: 0px 0px 16px 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.level {
|
|
|
|
margin-right: 8px;
|
2021-06-29 20:16:10 +00:00
|
|
|
align-items: flex-start;
|
2021-07-21 17:49:47 +00:00
|
|
|
flex-direction: column;
|
2021-06-20 07:12:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#arrows {
|
|
|
|
position: absolute;
|
2021-06-29 12:18:44 +00:00
|
|
|
overflow: visible;
|
2021-07-25 14:58:01 +00:00
|
|
|
margin-top: -80px;
|
2021-06-20 07:12:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.active-connector {
|
|
|
|
stroke: var(--blue-500);
|
|
|
|
}
|
|
|
|
|
|
|
|
.collapsed-connector {
|
|
|
|
stroke: var(--blue-300);
|
|
|
|
}
|
2021-06-21 16:25:50 +00:00
|
|
|
|
|
|
|
// mobile
|
|
|
|
|
|
|
|
.hierarchy-mobile {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
2021-06-29 09:36:09 +00:00
|
|
|
padding-top: 10px;
|
2021-06-21 16:25:50 +00:00
|
|
|
padding-left: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hierarchy-mobile li {
|
|
|
|
list-style-type: none;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: flex-end;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mobile-node {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mobile-node.active-path {
|
|
|
|
width: 12.25rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.active-child {
|
|
|
|
width: 15.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mobile-node .node-connections {
|
|
|
|
max-width: 80px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hierarchy-mobile .node-children {
|
|
|
|
margin-top: 16px;
|
|
|
|
}
|
|
|
|
|
2021-07-07 06:35:50 +00:00
|
|
|
.root-level .node-card {
|
|
|
|
margin: 0 0 16px;
|
|
|
|
}
|
|
|
|
|
2021-06-21 16:25:50 +00:00
|
|
|
// node group
|
|
|
|
|
|
|
|
.collapsed-level {
|
|
|
|
margin-bottom: 16px;
|
2021-06-29 09:36:09 +00:00
|
|
|
width: 18rem;
|
2021-06-21 16:25:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.node-group {
|
|
|
|
background: white;
|
|
|
|
border: 1px solid var(--gray-300);
|
|
|
|
box-shadow: var(--shadow-sm);
|
|
|
|
border-radius: 0.5rem;
|
|
|
|
padding: 0.75rem;
|
2021-06-29 05:42:47 +00:00
|
|
|
width: 18rem;
|
2021-06-21 16:25:50 +00:00
|
|
|
height: 3rem;
|
|
|
|
overflow: hidden;
|
2021-06-29 05:42:47 +00:00
|
|
|
align-items: center;
|
2021-06-21 16:25:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.node-group .avatar-group {
|
|
|
|
margin-left: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.node-group .avatar-extra-count {
|
|
|
|
background-color: var(--blue-100);
|
|
|
|
color: var(--blue-500);
|
|
|
|
}
|
|
|
|
|
|
|
|
.node-group .avatar-frame {
|
|
|
|
width: 1.5rem;
|
|
|
|
height: 1.5rem;
|
2021-06-29 05:42:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.node-group.collapsed {
|
|
|
|
width: 5rem;
|
|
|
|
margin-left: 12px;
|
2021-06-29 09:36:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.sibling-group {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
2021-06-21 16:25:50 +00:00
|
|
|
}
|