@keyframes pulse { 0% { box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.2); } 100% { box-shadow: 0 0 0 35px rgba(0, 0, 0, 0); } } @keyframes darkmode-pulse { 0% { box-shadow: 0 0 0 0px rgb(126, 40, 40); } 100% { box-shadow: 0 0 0 35px rgba(0, 0, 0, 0); } } :host { width: 100%; height: 100%; display: block; } .devtools-wrapper { width: 100%; height: 100%; display: block; } :host-context(.dark-theme) { .devtools-wrapper { background: #202124; } .initializing { .loading { animation: darkmode-pulse 1s infinite; } } } .noselect { user-select: none; } .initializing { margin: auto; width: 125px; height: 100%; display: flex; align-items: center; .loading { background: url('./images/angular.svg'); border-radius: 50%; width: 125px; height: 125px; float: left; text-align: center; animation: pulse 1s infinite; } } .text-message { font-weight: 500; font-size: 1.2em; padding: 5px; text-align: center; cursor: help; .info-icon { display: inline-block; font-size: 0.8em; border-radius: 50%; border: solid 2px rgb(17, 17, 17); cursor: pointer; width: 16px; height: 16px; font-weight: bold; text-align: center; } } :host-context(.dark-theme) { .info-icon { border: solid 2px #bcc5ce; } a { color: #bcc5ce; } } :host { ::ng-deep { .link { stroke: #9b9b9b; stroke-width: 3px; fill: none; &.highlighted { stroke: #4da1ff; } } .node { cursor: pointer; &.highlighted { text { font-weight: 600; } circle { stroke: #4da1ff; fill: #fff; stroke-width: 5px; } } } .node-environment { stroke: #f05057; fill: #f9c2c5; stroke-width: 1px; } & .node-environment:hover, & .node-environment.selected { fill: #4da1ff; } .node-imported-module { stroke: #8838f7; fill: #f9c2c5; stroke-width: 3px; } & .node-element { stroke: #28ab2c; fill: #a7d5a9; stroke-width: 1px; } & .node-element:hover, & .node-element.selected { fill: #28ab2c; } text { fill: #000000; font-weight: 300; font-size: 18px; } } } :host-context(.dark-theme) ::ng-deep { .legend { background: #2f2c2c; } .link { stroke: #bcc5ce; fill: none; &.highlighted { stroke: #4da1ff; } } .node { &.highlighted { circle { stroke: #4da1ff; fill: #fff; stroke-width: 5px; } } } .arrow { fill: white; } text { fill: #bcc5ce; } }