MaterialNodeView.graphElement.node.MaterialNode { margin-top: 0; margin-bottom: 0; margin-left: 0; margin-right: 0; } MaterialNodeView #collapsible-area { width: 0; height: 0; } MaterialNodeView #previewFiller.expanded { width: 200; padding-bottom: 200; } MaterialNodeView #previewFiller, MaterialNodeView #controls { background-color: rgba(63, 63, 63, 0.8); } MaterialNodeView #controls > #items { padding-top: 4; padding-bottom: 4; } MaterialNodeView > #previewContainer { position-type: absolute; position-bottom: 4; position-left: 4; border-radius: 6; padding-top: 6; } MaterialNodeView > #previewContainer > #preview { width: 200; height: 200; align-items:center; } MaterialNodeView > #previewContainer > #preview > #collapse { background-color: #000; border-color: #F0F0F0; width: 0; height: 0; opacity: 0; border-radius: 1; border-top-width: 1; border-bottom-width: 1; border-left-width: 1; border-right-width: 1; margin-top: 4; align-items:center; justify-content:center; } MaterialNodeView:hover > #previewContainer > #preview > #collapse { width: 20; height: 20; opacity: 0.6; } MaterialNodeView > #previewContainer > #preview > #collapse > #icon { background-image : resource("GraphView/Nodes/PreviewCollapse.png"); width: 16; height: 16; } MaterialNodeView > #previewContainer > #preview > #collapse:hover { opacity: 1.0; } MaterialNodeView #previewFiller > #expand { align-self: center; width: 56; height: 16; flex-direction: row; justify-content:center; } MaterialNodeView #previewFiller > #expand > #icon { align-self: center; background-image : resource("GraphView/Nodes/PreviewExpand.png"); width: 16; height: 16; } MaterialNodeView #previewFiller.collapsed > #expand:hover { background-color: #2B2B2B; } MaterialNodeView #previewFiller.expanded > #expand { height: 0; } MaterialNodeView > #resize { background-image : resource("GraphView/Nodes/NodeChevronLeft.png"); position-type: absolute; position-right: 5; position-bottom: 5; width: 10; height: 10; cursor: resize-up-left; } MaterialNodeView > #portInputContainer { position-type: absolute; width: 212; position-left: -200; position-top: 46; } MaterialNodeView > #settings-container { position-type : absolute; width : 200; background-color : rgb(245, 155, 225); position-left : 200; } MaterialNodeView > #node-border > #title > #button-container{ flex-direction: row; justify-content : space-between; } MaterialNodeView > #node-border > #title > #button-container > #settings-button{ align-self : center; width : 16; } MaterialNodeView > #node-border > #title > #button-container > #settings-button:hover{ background-color: #2B2B2B; } MaterialNodeView > #node-border > #title > #button-container > #settings-button.clicked{ background-color: #2B2B2B; } MaterialNodeView > #node-border > #title > #button-container > #settings-button > #icon{ align-self : center; background-image : resource("Icons/settingsbutton"); width : 16; height : 16; }