Skip to content

Commit

Permalink
[prmr#540] Add CSS file that was missing in PR for issue prmr#531.
Browse files Browse the repository at this point in the history
  • Loading branch information
jkcoding7 committed May 6, 2024
1 parent 7f16ab4 commit 6ed875a
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/user-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,9 @@ This page contains the complete list of "tips" available through JetUML's "Tip o
<p>Use the menu command File | Export Image to save the current diagram as an image file. The image type is determined by the file extension selected from the Save as Type field.</p>
<img src="../tipdata/tip_images/tip34.png">
</div>
<button class="collapsible">Changing the Font Size</button>
<button class="collapsible">Changing the Font</button>
<div class="content">
<p>Use the menu command View | Set Font Size to change the size of the font used in the diagram. This setting only affects how the diagram looks visually.</p>
<p>Use the menu command View | Change Font to change the font and size of the font used in the diagram. This setting only affects how the diagram looks visually.</p>
<img src="../tipdata/tip_images/tip35.png">
</div>
<button class="collapsible">Inserting Stereotype Delimiters</button>
Expand Down
54 changes: 54 additions & 0 deletions src/org/jetuml/gui/FontDialog.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
.font-button
{
-fx-body-color: linear-gradient(snow, lightgray);
-fx-background-color:
-fx-outer-border,
-fx-inner-border,
-fx-body-color;
-fx-background-insets: 0, 1, 2;
-fx-border-color: lightgray;
-fx-border-width: 1;
-fx-border-radius: 3;
}

.font-button:focused
{
-fx-border-color: lightskyblue;
-fx-border-width: 1;
-fx-border-radius: 3;
}

.font-button:hover
{
-fx-background-color: lightgray;
}

.font-combobox
{
-fx-background-color:
-fx-shadow-highlight-color,
-fx-outer-border,
-fx-inner-border,
-fx-body-color;
-fx-background-insets: 0 0 0 0, 0, 1, 2;
-fx-border-color: lightgray;
-fx-border-width: 1;
-fx-border-radius: 3;
}

.font-combobox:focused
{
-fx-border-color: lightskyblue;
-fx-border-width: 1;
-fx-border-radius: 3;
}

.font-combobox:hover
{
-fx-background-color: lightgray;
}

.font-preview
{
-fx-background-color: white;
}

0 comments on commit 6ed875a

Please sign in to comment.