Editor.qss 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. /*
  2. * Copyright (c) Contributors to the Open 3D Engine Project.
  3. * For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. *
  5. * SPDX-License-Identifier: Apache-2.0 OR MIT
  6. *
  7. */
  8. ActionWidget #LinkButton
  9. {
  10. qproperty-flat: true;
  11. }
  12. AzAssetBrowserWindow #previewWidgetWrapper
  13. {
  14. background-color: #323232;
  15. border: 0 none;
  16. }
  17. AzAssetBrowserWindow #searchButtonContainer
  18. {
  19. background-color: #141414;
  20. border: 0 none;
  21. }
  22. AzAssetBrowserWindow #m_separator
  23. {
  24. background-color: #222222;
  25. }
  26. /* Component Palette Widget */
  27. AzToolsFramework--ComponentPaletteWidget
  28. {
  29. border: 1px solid #4E4E4E;
  30. background-color: #383A3B;
  31. }
  32. AzToolsFramework--ComponentPaletteWidget > QTreeView
  33. {
  34. background-color: #222222;
  35. }
  36. AzToolsFramework--PropertyRowWidget[canBeReordered="true"] QLabel#Name
  37. {
  38. font-weight: bold;
  39. }
  40. /* Style for visualizing property values overridden from their prefab values */
  41. AzToolsFramework--PropertyRowWidget[IsOverridden=true] #Name QLabel,
  42. AzToolsFramework--ComponentEditorHeader #Title[IsOverridden="true"]
  43. {
  44. font-weight: bold;
  45. color: #F5A623;
  46. }
  47. /* Asset Editor */
  48. Ui--AssetEditorHeader
  49. {
  50. margin: 0px;
  51. padding: 0px;
  52. }
  53. Ui--AssetEditorHeader *
  54. {
  55. height: 16px;
  56. background-color: #272727;
  57. }
  58. Ui--AssetEditorHeader #Background
  59. {
  60. margin: 0px;
  61. padding: 2px 7px 3px 7px;
  62. border: 1px solid transparent;
  63. border-bottom: none;
  64. background-image: none;
  65. background-color: #272727;
  66. }
  67. Ui--AssetEditorHeader #Name
  68. {
  69. height: 16px;
  70. font: italic;
  71. background-color: transparent;
  72. }
  73. Ui--AssetEditorHeader #Location
  74. {
  75. height: 16px;
  76. font: italic;
  77. background-color: transparent;
  78. }
  79. #AssetEditorWidgetPropertyEditor AzToolsFramework--PropertyRowWidget[isTopLevel="true"]
  80. {
  81. qproperty-appendDefaultLabelToName:1;
  82. }
  83. #AssetEditorWidgetPropertyEditor AzToolsFramework--PropertyRowWidget[isTopLevel="false"]
  84. {
  85. qproperty-appendDefaultLabelToName:0;
  86. }
  87. #AssetEditorWidgetPropertyEditor AzToolsFramework--PropertyRowWidget[getLevel="1"][hasChildRows="true"]
  88. , #AssetEditorWidgetPropertyEditor AzToolsFramework--DPERowWidget[getLevel="2"][hasChildRows="true"]
  89. {
  90. border-top: 1px solid rgba(255, 255, 255, 0.2);
  91. }
  92. /* Set the Script Canvas search highlight color */
  93. GraphCanvas--NodePaletteTreeView
  94. {
  95. selection-background-color: rgba(255, 255, 255, 41);
  96. }
  97. AzQtComponents--TabWidget#ScriptCanvasTabs
  98. {
  99. height: 32px;
  100. margin: 0 2px;
  101. max-height: 32px;
  102. }
  103. /* Save Slice Override Window */
  104. AzToolsFramework--SlicePushWidget QTreeView QLabel
  105. {
  106. min-height: 14px;
  107. }
  108. AzToolsFramework--SlicePushWidget QWidget#WarningTopLine
  109. {
  110. background-color: #F5A623
  111. }
  112. AzToolsFramework--SlicePushWidget QWidget#WarningBottomLine
  113. {
  114. background-color: #646464
  115. }
  116. AzToolsFramework--SlicePushWidget QTreeWidget#WarningTreeWidget::item:pressed
  117. , AzToolsFramework--SlicePushWidget QTreeWidget#WarningTreeWidget::item:selected
  118. {
  119. background-color: #2D2D2D;
  120. }
  121. /* Toolbar borders (Editor UI Window) */
  122. EditorWindow QToolBar
  123. {
  124. border-bottom: 2px solid #111111;
  125. }
  126. DockWidgetTitleBar #DockWidgetContextMenu
  127. {
  128. qproperty-icon: url(:/Cards/img/UI20/Cards/menu_ico.svg);
  129. qproperty-iconSize: 24px 16px;
  130. qproperty-flat: true;
  131. margin: 0px;
  132. max-width: 24px;
  133. max-height: 16px;
  134. }
  135. #EMFX_Menu
  136. {
  137. border-bottom-width: 2px;
  138. border-bottom-color: #111111;
  139. border-bottom-style: solid;
  140. }
  141. #EMFX_Menu QComboBox
  142. {
  143. margin-right: 4px;
  144. margin-bottom: 2px;
  145. }
  146. PanelTitleBar
  147. {
  148. border-top: 1px solid #111111;
  149. }
  150. /* Asset Editor */
  151. #AssetEditorStatusBar
  152. {
  153. border-top: 2px solid #111111;
  154. }
  155. /* Console and Python Console */
  156. ConsoleTextEdit,
  157. ConsoleTextEdit:hover,
  158. ConsoleTextEdit:focus,
  159. #SCRIPT_OUTPUT,
  160. #SCRIPT_OUTPUT:hover,
  161. #SCRIPT_OUTPUT:focus
  162. {
  163. margin: 0;
  164. margin-top: 6px;
  165. background-color: #222222;
  166. border-radius: 0px;
  167. border-width: 0px;
  168. border-color: #e9e9e9;
  169. border-style: solid;
  170. }