Skip to content

Commit

Permalink
Add a few more CSS classes for labels
Browse files Browse the repository at this point in the history
  • Loading branch information
fellen committed Nov 10, 2020
1 parent 6a6396e commit 1aba062
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
2 changes: 1 addition & 1 deletion gnucash/gnome-utils/dialog-account.c
Expand Up @@ -699,7 +699,7 @@ verify_children_compatible (AccountWindow *aw)
gnc_label_set_alignment (label, 0.0, 0.0);

/* make label large */
gnc_widget_style_context_add_class (GTK_WIDGET(label), "gnc-class-emphasize-label");
gnc_widget_style_context_add_class (GTK_WIDGET(label), "gnc-class-title");

gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 0);

Expand Down
19 changes: 15 additions & 4 deletions gnucash/gnucash-fallback.css
Expand Up @@ -41,10 +41,21 @@
border-color: black;
}

/* Make label more important */
.gnc-class-emphasize-label {
font-size: large;
font-weight: bold;
/* Make some labels more important */
.gnc-class-underline-title {
font-size: large;
font-weight: bold;
text-decoration-line: underline;
}
.gnc-class-title {
font-size: large;
font-weight: bold;
}
.gnc-class-strong {
font-weight: bold;
}
.gnc-class-emphasis {
font-style: italic;
}

/* The Dense Calendar defaults */
Expand Down

0 comments on commit 1aba062

Please sign in to comment.