SpriteEditor.uss 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. .unity-imgui-container {
  2. flex: 1 0 0;
  3. }
  4. .moduleWindow {
  5. position: absolute;
  6. }
  7. .bottomRight {
  8. bottom: 16px;
  9. right: 16px;
  10. }
  11. .bottomLeft {
  12. bottom: 16px;
  13. left: 0;
  14. }
  15. .topLeft {
  16. top: 0;
  17. left: 0;
  18. }
  19. .topRight {
  20. top: 0;
  21. right: 16px;
  22. }
  23. .bottomRightFloating {
  24. bottom: 24px;
  25. right: 24px;
  26. }
  27. .bottomLeftFloating {
  28. bottom: 24px;
  29. left: 8px;
  30. }
  31. .topLeftFloating {
  32. top: 8px;
  33. left: 8px;
  34. }
  35. .topRightFloating {
  36. top: 8px;
  37. right: 24px;
  38. }
  39. #moduleViewElement{
  40. position: absolute;
  41. top: 0;
  42. left: 0;
  43. right: 0;
  44. bottom: 0;
  45. }
  46. #spriteFrameInspector{
  47. min-width: 330px;
  48. min-height: 170px;
  49. flex: 1 0 0;
  50. }
  51. #spriteFrameModuleInspector {
  52. min-width: 330px;
  53. min-height: 170px;
  54. flex: 1 0 0;
  55. }
  56. #spriteFrameModuleInspector Label{
  57. -unity-text-align: upper-left;
  58. }
  59. #spriteFrameModuleInspector #unity-text-input{
  60. -unity-text-align: upper-left;
  61. min-height : 18px;
  62. }
  63. .spriteFrameModuleInspectorField {
  64. flex-direction: row;
  65. min-height: 18px;
  66. padding-bottom: 2px;
  67. }
  68. .spriteFrameModuleInspectorField > Label {
  69. width: 130px;
  70. }
  71. .spriteFrameModuleInspectorField > EnumField > .unity-label {
  72. width: 130px;
  73. min-width:0;
  74. }
  75. .spriteFrameModuleInspectorField > EnumField {
  76. flex: 1 0 0;
  77. margin-right: 4px;
  78. }
  79. .spriteFrameModuleInspectorField > #SpriteName {
  80. flex: 1 0 0;
  81. flex-direction : row;
  82. }
  83. #spriteName {
  84. flex : 1;
  85. }
  86. #spriteName > Label {
  87. width: 130px;
  88. min-width:0;
  89. }
  90. #spriteEditorWindowToolbar{
  91. height : 21px;
  92. flex: 0 0 auto;
  93. margin-top : 0;
  94. }
  95. #spriteEditorWindowMainView{
  96. flex: 1 0 0;
  97. overflow: hidden;
  98. }
  99. #polygonShapeWindow{
  100. width : 155px;
  101. min-height : 45px;
  102. }
  103. #polygonShapeWindowFrame{
  104. padding-top: 5px;
  105. padding-bottom: 5px;
  106. padding-left: 5px;
  107. padding-right: 5px;
  108. flex: 1 0 0;
  109. flex-direction : column;
  110. }
  111. #polygonShapeWindowFrame > .labelIntegerField{
  112. flex: 1 0 0;
  113. flex-direction: row;
  114. }
  115. #polygonShapeWindowFrame > .labelIntegerField > Label{
  116. margin-right: 0;
  117. margin-top: 4px;
  118. min-width:0;
  119. align-self:center;
  120. }
  121. #polygonShapeWindowFrame > .labelIntegerField > IntegerField{
  122. flex: 1 0 auto;
  123. margin-top: 4px;
  124. margin-bottom: 4px;
  125. }
  126. #polygonShapeWindowFrame > Button{
  127. height : 18px;
  128. align-self: flex-end;
  129. }
  130. #polygonShapeWindowFrame > #warning{
  131. flex-direction : row;
  132. border-color: #a2a2a2;
  133. border-left-width : 1px;
  134. border-right-width : 1px;
  135. border-top-width : 1px;
  136. border-bottom-width : 1px;
  137. margin-top: 4px;
  138. margin-left: 4px;
  139. margin-bottom: 4px;
  140. margin-right: 4px;
  141. }
  142. #polygonShapeWindowFrame > #warning > Image{
  143. background-image : resource("console.warnicon.png");
  144. width : 32px;
  145. height : 32px;
  146. }
  147. #polygonShapeWindowFrame > #warning > #warningLabel{
  148. white-space : normal;
  149. font-size : 9px;
  150. flex: 1 0 0;
  151. }