fix highlighting for better visibility

This commit is contained in:
Ziad-I
2024-08-04 13:58:53 +03:00
committed by Dion Moult
parent 242d91bc17
commit 72caf7525e
3 changed files with 11 additions and 9 deletions
@@ -502,9 +502,10 @@ footer p {
/* Highlight row */
:root.blender .gitemhighlight td {
background-color: var(--blender-panel-background);
color: var(--blender-text);
:root.blender .gitemhighlight td,
:root.blender .gitemhighlight .gantt-inputtable {
background-color: var(--blender-active-highlight) !important;
color: var(--blender-active-text-highlight) !important;
}
/* Differentiate Group, Milestone and Ordinary task items (applied to row) */
@@ -553,8 +554,8 @@ footer p {
:root.blender span.gformlabel:hover,
:root.blender span.gselected {
background-color: var(--blender-panel-header);
color: var(--blender-text-highlight);
background-color: var(--blender-active-highlight);
color: var(--blender-active-text-highlight);
border-color: var(--blender-tab-outline);
}
@@ -278,13 +278,13 @@ footer p {
:root.blender .tabulator-selected .tabulator-cell {
background-color: var(--blender-selected-object) !important;
background-color: var(--blender-active-highlight) !important;
color: var(--blender-active-text-highlight) !important;
}
:root.blender .tabulator-selected:hover .tabulator-cell {
background-color: var(--blender-active-object) !important;
filter: brightness(1)
filter: brightness(1.2)
}
.tabulator-menu-item {
+2 -1
View File
@@ -411,7 +411,8 @@ class Web(blenderbim.core.tool.Web):
"info_warning": get_color(info, "info_warning"),
"odd_row": get_color(outliner.space, "back"),
"even_row": mix_colors(get_color(outliner.space, "back"), get_color(outliner, "row_alternate")),
"text_highlight": get_color(outliner, "active"),
"active_highlight": get_color(outliner, "active"),
"active_text_highlight": get_color(outliner, "active_object"),
}
cls.send_webui_data(theme, "theme", "theme_data", use_web_data=False)