mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 09:21:46 +00:00
fix highlighting for better visibility
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user