您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
172 行
3.7 KiB
172 行
3.7 KiB
MaterialNodeView.graphElement.node.MaterialNode {
|
|
margin-top: 0;
|
|
margin-bottom: 0;
|
|
margin-left: 0;
|
|
margin-right: 0;
|
|
}
|
|
|
|
MaterialNodeView.master {
|
|
min-width: 200px;
|
|
}
|
|
|
|
MaterialNodeView #collapsible-area {
|
|
width: 0;
|
|
height: 0;
|
|
}
|
|
|
|
MaterialNodeView #previewFiller.expanded {
|
|
width: 200px;
|
|
padding-bottom: 200px;
|
|
}
|
|
|
|
MaterialNodeView #previewFiller,
|
|
MaterialNodeView #controls {
|
|
background-color: rgba(63, 63, 63, 0.8);
|
|
}
|
|
|
|
MaterialNodeView #controls > #items {
|
|
padding-top: 4px;
|
|
padding-bottom: 4px;
|
|
}
|
|
|
|
MaterialNodeView #title {
|
|
padding-top: 8px;
|
|
border-bottom-width: 8px;
|
|
}
|
|
|
|
MaterialNodeView > #previewContainer {
|
|
position: absolute;
|
|
bottom: 4px;
|
|
left: 4px;
|
|
border-radius: 6px;
|
|
padding-top: 6px;
|
|
}
|
|
|
|
MaterialNodeView > #previewContainer > #preview {
|
|
width: 200px;
|
|
height: 200px;
|
|
align-items:center;
|
|
}
|
|
|
|
MaterialNodeView > #previewContainer > #preview > #collapse {
|
|
background-color: #000;
|
|
border-color: #F0F0F0;
|
|
width: 0;
|
|
height: 0;
|
|
opacity: 0;
|
|
border-radius: 1px;
|
|
border-top-width: 1px;
|
|
border-bottom-width: 1px;
|
|
border-left-width: 1px;
|
|
border-right-width: 1px;
|
|
margin-top: 4px;
|
|
align-items:center;
|
|
justify-content:center;
|
|
}
|
|
|
|
|
|
MaterialNodeView:hover > #previewContainer > #preview > #collapse {
|
|
width: 20px;
|
|
height: 20px;
|
|
opacity: 0.6;
|
|
}
|
|
|
|
MaterialNodeView > #previewContainer > #preview > #collapse > #icon {
|
|
background-image : resource("GraphView/Nodes/PreviewCollapse.png");
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
|
|
MaterialNodeView > #previewContainer > #preview > #collapse:hover {
|
|
opacity: 1.0;
|
|
}
|
|
|
|
MaterialNodeView #previewFiller > #expand {
|
|
align-self: center;
|
|
width: 56px;
|
|
height: 16px;
|
|
flex-direction: row;
|
|
justify-content:center;
|
|
}
|
|
|
|
MaterialNodeView #previewFiller > #expand > #icon {
|
|
background-image : resource("GraphView/Nodes/PreviewExpand.png");
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
|
|
MaterialNodeView #previewFiller.collapsed > #expand:hover {
|
|
background-color: #2B2B2B;
|
|
}
|
|
|
|
MaterialNodeView #previewFiller.expanded > #expand {
|
|
height: 0;
|
|
}
|
|
|
|
MaterialNodeView > #resize {
|
|
background-image : resource("GraphView/Nodes/NodeChevronLeft.png");
|
|
position: absolute;
|
|
right: 5px;
|
|
bottom: 5px;
|
|
width: 10px;
|
|
height: 10px;
|
|
cursor: resize-up-left;
|
|
}
|
|
|
|
MaterialNodeView > #portInputContainer {
|
|
position: absolute;
|
|
width: 232px;
|
|
left: -220px;
|
|
top: 42px;
|
|
}
|
|
|
|
MaterialNodeView > #settings-container {
|
|
background-color : rgb(63, 63, 63);
|
|
}
|
|
|
|
MaterialNodeView.hovered #selection-border{
|
|
background-color:rgba(68,192,255,0.4);
|
|
border-color:rgba(68,192,255,1);
|
|
border-left-width: 2px;
|
|
border-right-width: 2px;
|
|
border-top-width: 2px;
|
|
border-bottom-width: 2px;
|
|
}
|
|
|
|
#settings-button {
|
|
width: 16px;
|
|
justify-content: center;
|
|
padding-left: 8px;
|
|
}
|
|
|
|
#settings-button > #icon {
|
|
width : 12px;
|
|
height : 12px;
|
|
align-self: center;
|
|
visibility: hidden;
|
|
background-image : resource("Icons/SettingsIcons");
|
|
}
|
|
|
|
.node:hover #settings-button > #icon {
|
|
visibility: visible;
|
|
}
|
|
|
|
#settings-button:hover > #icon {
|
|
align-self: center;
|
|
background-color: #2B2B2B;
|
|
background-image : resource("Icons/SettingsIcons_hover");
|
|
}
|
|
|
|
#settings-button.clicked > #icon{
|
|
background-color: #2B2B2B;
|
|
background-image : resource("Icons/SettingsIcons_hover");
|
|
visibility: visible;
|
|
}
|
|
|
|
.node.collapsed > #node-border > #title > #button-container > #collapse-button > #icon {
|
|
background-image: resource("GraphView/Nodes/NodeChevronLeft.png");
|
|
}
|
|
|
|
.node.expanded > #node-border > #title > #button-container > #collapse-button > #icon {
|
|
background-image : resource("GraphView/Nodes/NodeChevronDown.png");
|
|
}
|