您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 

86 行
1.9 KiB

MasterPreviewView {
flex-direction: column;
position-type: absolute;
position-right: 10;
position-bottom: 10;
background-color: rgb(79, 79, 79);
justify-content: flex-start;
border-radius: 6;
border-top-width: 1;
border-bottom-width: 1;
border-left-width: 1;
border-right-width: 1;
border-color: rgb(25,25,25);
}
MasterPreviewView > #top {
flex-direction: row;
justify-content: space-between;
background-color: rgb(64, 64, 64);
padding-top: 8;
padding-bottom: 8;
padding-left: 8;
padding-right: 8;
border-top-left-radius: 6;
border-top-right-radius: 6;
}
MasterPreviewView > #top > #title {
font-size: 12;
text-color: rgb(180, 180, 180);
padding-top: 1;
padding-bottom: 2;
padding-left: 2;
padding-right: 2;
}
MasterPreviewView > #top > #collapse-container {
align-self : center;
width : 12;
}
MasterPreviewView > #top > #collapse-container > #icon{
align-self: center;
background-image : resource("GraphView/Nodes/NodeChevronDown");
width: 12;
height: 12;
margin-right: 10;
margin-left: 10;
}
MasterPreviewView > #top > #collapse-container > #icon.collapsed {
align-self: center;
background-image : resource("GraphView/Nodes/NodeChevronLeft");
width: 12;
height: 12;
}
MasterPreviewView > #top > #collapse-container > #icon.expanded {
align-self: center;
background-image : resource("GraphView/Nodes/NodeChevronDown");
width: 12;
height: 12;
}
MasterPreviewView > #middle {
flex-grow: 1;
border-width: 10;
flex-direction: row;
border-color: rgb(0,10,190);
}
MasterPreviewView > #middle > #preview {
flex-grow: 1;
border-width: 10;
border-color: rgb(200,10,190);
width: 200;
height: 200;
}
MasterPreviewView.collapsed{
background-color: rgb(206, 53, 185);
}
MasterPreviewView.expanded{
background-color: rgb(206, 53, 185);
}