Skip to content

Commit

Permalink
Update vip flag visual
Browse files Browse the repository at this point in the history
  • Loading branch information
Judy1x4 committed Oct 24, 2024
1 parent 89cacb1 commit 0cc87f5
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 5 deletions.
4 changes: 4 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ repositories {
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
}

run {
enableAssertions = true
}

checkstyle {
toolVersion = '10.2'
}
Expand Down
11 changes: 11 additions & 0 deletions src/main/resources/view/DarkTheme.css
Original file line number Diff line number Diff line change
Expand Up @@ -350,3 +350,14 @@
-fx-background-radius: 2;
-fx-font-size: 11;
}

#vip {
-fx-text-fill: white;
-fx-background-color: #913e3e;
-fx-padding: 1 3 1 3;
-fx-border-radius: 8;
-fx-background-radius: 8;
-fx-font-size: 11;
-fx-border-insets: 0px 3px 0px 3px;
-fx-background-insets: 0px 3px 0px 3px;
}
10 changes: 5 additions & 5 deletions src/main/resources/view/PersonListCard.fxml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,16 @@
</minWidth>
</Label>
<Label fx:id="name" styleClass="cell_big_label" text="\$first" />
<Label fx:id="vip" styleClass="cell_big_label" text=" VIP ">
<font>
<Font name="System Bold" size="12.0" />
</font>
</Label>
</HBox>
<FlowPane fx:id="tags" />
<Label fx:id="phone" styleClass="cell_small_label" text="\$phone" />
<Label fx:id="address" styleClass="cell_small_label" text="\$address" />
<Label fx:id="email" styleClass="cell_small_label" text="\$email" />
<Label fx:id="vip" text="VIP">
<font>
<Font name="System Bold" size="12.0" />
</font>
</Label>
<Label fx:id="comment" styleClass="cell_small_label" text="\$comment" />
</VBox>
<rowConstraints>
Expand Down

0 comments on commit 0cc87f5

Please sign in to comment.