Skip to content
Snippets Groups Projects
Commit 98f7915b authored by Zakhar Pustovgarov's avatar Zakhar Pustovgarov
Browse files

Changed font changing on hover in TypTreeView to color change

parent c56b7a9b
Branches v0.8-dev
No related merge requests found
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" xsi="http://www.w3.org/2001/XMLSchema-instance" engine="UnityEngine.UIElements" editor="UnityEditor.UIElements" noNamespaceSchemaLocation="../../../../../../UIElementsSchema/UIElements.xsd" editor-extension-mode="True">
<Style src="project://database/Assets/Krem/AppCoreUnityAdapter/Editor/Resources/USS/CommonStyles.uss?fileID=7433441132597879392&amp;guid=5871033ab84ff024ba7af3720684ec95&amp;type=3#CommonStyles" />
<Style src="project://database/Assets/Krem/AppCoreUnityAdapter/Editor/Resources/USS/TypeTreeViewStyles.uss?fileID=7433441132597879392&amp;guid=3bac9086b644bbc4aaf977cbda0ab947&amp;type=3#TypeTreeViewStyles" />
<Krem.AppCore.Adapter.Unity.Views.SplitView fixed-pane-initial-dimension="300" name="MainGraph">
<ui:VisualElement name="Left" style="width: 300px; background-color: rgb(46, 46, 46); flex-grow: 1; min-width: 300px;">
<ui:Label text="Inspector" display-tooltip-when-elided="true" style="background-color: rgb(38, 38, 38);" />
<ui:ScrollView scroll-deceleration-rate="0,135" elasticity="0,1">
<Krem.AppCore.Adapter.Unity.Views.InspectorView style="align-items: stretch; flex-grow: 0; max-height: none; min-width: auto; width: auto;" />
</ui:ScrollView>
</ui:VisualElement>
<ui:VisualElement name="Right" style="flex-shrink: 1; min-width: auto; flex-direction: row;">
<ui:VisualElement name="Left" style="flex-shrink: 1; min-width: auto; flex-direction: row;">
<Krem.AppCore.Adapter.Unity.EntityAdapter.Views.EntityGraphView focusable="true" style="flex-grow: 1; align-items: stretch; justify-content: flex-start; flex-direction: column;">
<ui:Label text="Entity Graph" display-tooltip-when-elided="true" style="flex-grow: 0; flex-direction: column; right: 0; background-color: rgb(38, 38, 38);" />
<uie:Toolbar />
</Krem.AppCore.Adapter.Unity.EntityAdapter.Views.EntityGraphView>
</ui:VisualElement>
<ui:VisualElement name="Right" style="flex-grow: 1;">
<ui:VisualElement name="InnerRight" class="wrapper-background" style="flex-grow: 1; min-width: 200px; max-width: none; width: auto;">
<ui:Label text="Actions" display-tooltip-when-elided="true" class="title-label" />
<Krem.AppCore.Adapter.Unity.Views.SplitView orientation="Vertical" fixed-pane-initial-dimension="150" fixed-pane-index="1">
<ui:VisualElement name="TreeWrapper" class="tree-wrapper-element wrapper-background">
<ui:VisualElement name="Tabs" style="flex-grow: 0; background-color: rgb(38, 38, 38); flex-direction: row; align-self: auto; border-left-color: rgba(0, 0, 0, 0); border-right-color: rgba(0, 0, 0, 0); border-top-color: rgba(0, 0, 0, 0); border-bottom-color: rgba(0, 0, 0, 0); margin-left: 1px; min-width: 100%; min-height: 35px; display: none;">
<ui:Button text="Handles" display-tooltip-when-elided="true" name="HandleTabButton" class="tab-button tab-button-active" />
<ui:Button text="Systems" display-tooltip-when-elided="true" name="SystemTabButton" class="tab-button tab-button-inactive" />
</ui:VisualElement>
<ui:VisualElement name="HandlesTreeWrapper" class="tree-wrapper-element" style="display: none;" />
<ui:VisualElement name="SystemsTreeWrapper" style="flex-grow: 1; display: none;" />
</ui:VisualElement>
<ui:VisualElement name="ServiceInfoWrapper" style="flex-grow: 1; background-color: rgba(0, 0, 0, 0); min-height: 15%;">
<ui:Label tabindex="-1" text="Info" display-tooltip-when-elided="true" name="InfoTitle" class="title-label" style="border-left-color: rgba(38, 38, 38, 0); border-right-color: rgba(38, 38, 38, 0); border-top-color: rgba(38, 38, 38, 0); border-bottom-color: rgba(38, 38, 38, 0); color: rgb(255, 255, 255);" />
<ui:Label tabindex="-1" display-tooltip-when-elided="true" name="InfoText" style="flex-grow: 1; color: rgb(255, 255, 255); font-size: 13px; -unity-text-align: upper-left; padding-right: 2px; padding-left: 5px; margin-top: 6px; white-space: normal;" />
</ui:VisualElement>
</Krem.AppCore.Adapter.Unity.Views.SplitView>
</ui:VisualElement>
</ui:VisualElement>
</Krem.AppCore.Adapter.Unity.Views.SplitView>
<ui:VisualElement name="BrokenGraphCaption" tabindex="0" style="position: absolute; left: 0; top: 0; right: 0; bottom: 0; -unity-background-image-tint-color: rgb(0, 0, 0); flex-grow: 1; width: 100%; height: 100%; background-color: rgb(0, 0, 0); display: flex; visibility: hidden;">
<ui:Label text="Graph is Broken" display-tooltip-when-elided="true" style="top: 43%; align-items: center; color: rgb(253, 63, 69); font-size: 95px; -unity-text-align: upper-center;" />
......
......@@ -5,7 +5,7 @@ TypeTreeView ObjectLabel:hover
TypeTreeView ObjectLabel:hover Label.unity-text-element.unity-label
{
font-size: 13px;
color: rgba(152, 255, 105, 1);
}
TypeTreeView ObjectFoldout:hover
......@@ -15,5 +15,5 @@ TypeTreeView ObjectFoldout:hover
TypeTreeView .unity-base-field__input:hover > Label.unity-text-element.unity-label
{
font-size: 13px;
color: rgba(152, 255, 105, 1);
}
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment