SceneEditor.css 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. .SceneEditor {
  2. padding: 5px;
  3. }
  4. .SceneEditor .SceneEditorContainer {
  5. width: 100%;
  6. height: 100%;
  7. }
  8. .SceneEditor canvas {
  9. border-radius: 3px;
  10. }
  11. .PropertyLockIcon:hover {
  12. cursor: pointer;
  13. }
  14. #InspectorView .PrefabLink {
  15. display: flex;
  16. flex-wrap: wrap;
  17. column-gap: 3px;
  18. width: 100%;
  19. padding: 3px;
  20. border-radius: 3px;
  21. }
  22. #InspectorView .UserComponentTitle_PrefabsPart {
  23. font-size: small;
  24. font-style: italic;
  25. opacity: 0.5;
  26. }
  27. #InspectorView label {
  28. min-width: unset;
  29. }
  30. #InspectorView .PrefabLink .IconButton {
  31. margin-left: auto;
  32. }
  33. /* light */
  34. .light .SceneEditor .SceneEditorContainer {
  35. background: #8e8e8e;
  36. }
  37. /* lightBlue*/
  38. .lightBlue .SceneEditor .SceneEditorContainer {
  39. background: #97AAC2;
  40. }
  41. /* dark */
  42. .dark .SceneEditor .SceneEditorContainer {
  43. background: #3f3f3f;
  44. border-radius: 3px;
  45. }
  46. /* dark plus */
  47. .dark .SceneEditor {
  48. padding: 0px !important;
  49. }
  50. .SceneEditor .LayoutPane {
  51. position: absolute;
  52. display: grid;
  53. grid-template-columns: auto;
  54. bottom: 5px;
  55. justify-content: left;
  56. padding-left: 5px;
  57. }
  58. .SceneEditor .LayoutPane input {
  59. max-width: 4em;
  60. }
  61. .light .SceneEditor .LayoutPane,
  62. .lightBlue .SceneEditor .LayoutPane {
  63. bottom: 10px;
  64. }
  65. .SceneEditor .LayoutPane .CenterPane {
  66. display: grid;
  67. border-radius: 5px;
  68. border-style: solid;
  69. border-width: 1px;
  70. border-color: rgba(255, 255, 255, 0.2);
  71. box-shadow: 3px 3px 3px #0003;
  72. }
  73. .SceneEditor .LayoutPane .Title {
  74. display: flex;
  75. justify-content: space-between;
  76. width: 100%;
  77. grid-column: 1 / span 4;
  78. }
  79. .SceneEditor .LayoutPane .Title label {
  80. font-size: small;
  81. opacity: 0.5;
  82. }
  83. .SceneEditor .LayoutPane .Title .Buttons {
  84. display: flex;
  85. justify-content: flex-end;
  86. }
  87. .SceneEditor .LayoutPane .Form {
  88. display: grid;
  89. grid-template-columns: auto 1fr auto 1fr;
  90. column-gap: 5px;
  91. row-gap: 5px;
  92. align-items: center;
  93. padding: 5px;
  94. }
  95. .SceneEditor .LayoutPane .Toolbar {
  96. display: flex;
  97. row-gap: 5px;
  98. padding: 5px;
  99. }
  100. .light .SceneEditor .ToolbarItem,
  101. .lightBlue .SceneEditor .ToolbarItem {
  102. border-style: none;
  103. }