Stylesheets: Fix property editor headers

This commit is contained in:
Kacper Donat
2025-07-12 23:49:49 +02:00
parent 6d69c10403
commit f5c9277f8f
3 changed files with 4 additions and 2 deletions

View File

@@ -121,6 +121,7 @@
<FCText Name="GeneralBorderHoverColor">@PrimaryColorLighten6</FCText>
<FCText Name="GeneralDisabledBackgroundColor">@PrimaryColorDarken3</FCText>
<FCText Name="GeneralGridLinesColor">@PrimaryColorLighten3</FCText>
<FCText Name="GeneralHeaderBackgroundColor">@PrimaryColor</FCText>
<FCText Name="GroupboxBackgroundColor">@PrimaryColorLighten4</FCText>
<FCText Name="GroupboxBorderColor">lighten(@GroupboxBackgroundColor,20)</FCText>
<FCText Name="IconsLocationFolderName">images_classic</FCText>

View File

@@ -136,6 +136,7 @@
<FCText Name="GeneralBorderHoverColor">@PrimaryColorDarken5</FCText>
<FCText Name="GeneralDisabledBackgroundColor">@PrimaryColorDarken3</FCText>
<FCText Name="GeneralGridLinesColor">@PrimaryColorDarken4</FCText>
<FCText Name="GeneralHeaderBackgroundColor">@PrimaryColorDarken2</FCText>
<FCText Name="GroupboxBackgroundColor">@PrimaryColorLighten2</FCText>
<FCText Name="GroupboxBorderColor">darken(@GroupboxBackgroundColor,20)</FCText>
<FCText Name="IconsLocationFolderName">images_classic</FCText>

View File

@@ -91,7 +91,7 @@ Gui--PropertyEditor--PropertyEditor > QWidget > QFrame:focus {
background-color: @AccentColor;/* same as focused background color */}
/* hack to hide weird redundant information inside cells with links and no editable data (but editable via "..." button) */
Gui--PropertyEditor--PropertyEditor > QWidget > QWidget > QLabel {
background-color: @TextUrlColor;/* same as focused background color */
background-color: @TextUrlColor;/* same as focused background color */
border-radius: @InputFieldBorderRadius;
}
@@ -1437,7 +1437,7 @@ Tasks panel (custom FreeCAD class)
==================================================================================================*/
Gui--PropertyEditor--PropertyEditor {
qproperty-groupTextColor: @TextForegroundColor;
qproperty-groupBackground: @GeneralAlternateBackgroundColor;
qproperty-groupBackground: @GeneralHeaderBackgroundColor;
}
/* Action group */