mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-12 14:33:28 +00:00
fix highlighting for better visibility
This commit is contained in:
@@ -502,9 +502,10 @@ footer p {
|
|||||||
|
|
||||||
|
|
||||||
/* Highlight row */
|
/* Highlight row */
|
||||||
:root.blender .gitemhighlight td {
|
:root.blender .gitemhighlight td,
|
||||||
background-color: var(--blender-panel-background);
|
:root.blender .gitemhighlight .gantt-inputtable {
|
||||||
color: var(--blender-text);
|
background-color: var(--blender-active-highlight) !important;
|
||||||
|
color: var(--blender-active-text-highlight) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Differentiate Group, Milestone and Ordinary task items (applied to row) */
|
/* Differentiate Group, Milestone and Ordinary task items (applied to row) */
|
||||||
@@ -553,8 +554,8 @@ footer p {
|
|||||||
|
|
||||||
:root.blender span.gformlabel:hover,
|
:root.blender span.gformlabel:hover,
|
||||||
:root.blender span.gselected {
|
:root.blender span.gselected {
|
||||||
background-color: var(--blender-panel-header);
|
background-color: var(--blender-active-highlight);
|
||||||
color: var(--blender-text-highlight);
|
color: var(--blender-active-text-highlight);
|
||||||
border-color: var(--blender-tab-outline);
|
border-color: var(--blender-tab-outline);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -278,13 +278,13 @@ footer p {
|
|||||||
|
|
||||||
|
|
||||||
:root.blender .tabulator-selected .tabulator-cell {
|
: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 {
|
:root.blender .tabulator-selected:hover .tabulator-cell {
|
||||||
background-color: var(--blender-active-object) !important;
|
filter: brightness(1.2)
|
||||||
filter: brightness(1)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.tabulator-menu-item {
|
.tabulator-menu-item {
|
||||||
|
|||||||
@@ -411,7 +411,8 @@ class Web(blenderbim.core.tool.Web):
|
|||||||
"info_warning": get_color(info, "info_warning"),
|
"info_warning": get_color(info, "info_warning"),
|
||||||
"odd_row": get_color(outliner.space, "back"),
|
"odd_row": get_color(outliner.space, "back"),
|
||||||
"even_row": mix_colors(get_color(outliner.space, "back"), get_color(outliner, "row_alternate")),
|
"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)
|
cls.send_webui_data(theme, "theme", "theme_data", use_web_data=False)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user