mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Rename internal CSS class prefix for the register to 'register-'
This commit is contained in:
parent
549b07ae66
commit
df1953a44a
@ -28,39 +28,39 @@ cursor button {
|
|||||||
@define-color register_split_bg_color #EDE7D3;
|
@define-color register_split_bg_color #EDE7D3;
|
||||||
@define-color register_cursor_bg_color #FFEF98;
|
@define-color register_cursor_bg_color #FFEF98;
|
||||||
|
|
||||||
.app-header {
|
.register-header {
|
||||||
background-color: @register_header_bg_color;
|
background-color: @register_header_bg_color;
|
||||||
}
|
}
|
||||||
|
|
||||||
*.app-primary {
|
*.register-primary {
|
||||||
background-color: @register_primary_bg_color;
|
background-color: @register_primary_bg_color;
|
||||||
}
|
}
|
||||||
|
|
||||||
*.app-primary:insensitive {
|
*.register-primary:insensitive {
|
||||||
background-color: mix (@register_primary_bg_color, grey, 0.2);
|
background-color: mix (@register_primary_bg_color, grey, 0.2);
|
||||||
}
|
}
|
||||||
|
|
||||||
*.app-secondary {
|
*.register-secondary {
|
||||||
background-color: @register_secondary_bg_color;
|
background-color: @register_secondary_bg_color;
|
||||||
}
|
}
|
||||||
|
|
||||||
*.app-secondary:insensitive {
|
*.register-secondary:insensitive {
|
||||||
background-color: mix (@register_secondary_bg_color, grey, 0.2);
|
background-color: mix (@register_secondary_bg_color, grey, 0.2);
|
||||||
}
|
}
|
||||||
|
|
||||||
*.app-split {
|
*.register-split {
|
||||||
background-color: @register_split_bg_color;
|
background-color: @register_split_bg_color;
|
||||||
}
|
}
|
||||||
|
|
||||||
*.app-split:insensitive {
|
*.register-split:insensitive {
|
||||||
background-color: mix (@register_split_bg_color, grey, 0.2);
|
background-color: mix (@register_split_bg_color, grey, 0.2);
|
||||||
}
|
}
|
||||||
|
|
||||||
*.app-cursor {
|
*.register-cursor {
|
||||||
background-color: @register_cursor_bg_color;
|
background-color: @register_cursor_bg_color;
|
||||||
}
|
}
|
||||||
|
|
||||||
*.app-cursor:insensitive {
|
*.register-cursor:insensitive {
|
||||||
background-color: mix (@register_cursor_bg_color, grey, 0.2);
|
background-color: mix (@register_cursor_bg_color, grey, 0.2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2462,7 +2462,7 @@ gnucash_get_style_classes (GnucashSheet *sheet, GtkStyleContext *stylectxt,
|
|||||||
full_class = g_strconcat (style_class, "-color", NULL);
|
full_class = g_strconcat (style_class, "-color", NULL);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
full_class = g_strconcat ("app-", style_class, NULL);
|
full_class = g_strconcat ("register-", style_class, NULL);
|
||||||
|
|
||||||
gtk_style_context_add_class (stylectxt, full_class);
|
gtk_style_context_add_class (stylectxt, full_class);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user