浏览代码

Changed TitleBar.uss to use class names rather than naming

I think we need some proper guidelines on USS usage. I think a sensible
rule would be that names are reserved for the owning view, such that it
can be used for layouting etc.
/main
Peter Bay Bastian 8 年前
当前提交
6a436d82
共有 1 个文件被更改,包括 5 次插入5 次删除
  1. 10
      MaterialGraphProject/Assets/GraphFramework/SerializableGraph/Editor/Drawing/Styles/TitleBar.uss

10
MaterialGraphProject/Assets/GraphFramework/SerializableGraph/Editor/Drawing/Styles/TitleBar.uss


#TitleBar {
TitleBarDrawer {
flex-direction: row;
justify-content: space-between;
align-items: stretch;

}
#TitleBar #left,
#TitleBar #right {
TitleBarDrawer #left,
TitleBarDrawer #right {
flex: 1;
height: 16;
background-color: #3d3d3d;

#TitleBar #left {
TitleBarDrawer #left {
#TitleBar #right {
TitleBarDrawer #right {
justify-content: flex-end;
}

正在加载...
取消
保存