Skip to content

Commit

Permalink
Merge pull request nus-cs2103-AY2223S1#77 from yunruu/72-update-conta…
Browse files Browse the repository at this point in the history
…cts-ui

Fix: remove white background of cell labels
  • Loading branch information
Santosh3007 authored Oct 19, 2022
2 parents 2561def + 711cfc6 commit ef912da
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
7 changes: 6 additions & 1 deletion src/main/resources/view/DarkTheme.css
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@

.list-cell:filled:selected #cardPane {
-fx-border-color: #6D28D9;
-fx-border-width: 1;
}

.list-cell .label {
Expand All @@ -124,12 +123,14 @@
-fx-font-family: "Segoe UI Semibold";
-fx-font-size: 16px;
-fx-text-fill: black;
-fx-background-color: transparent;
}

.cell_small_label {
-fx-font-family: "Segoe UI";
-fx-font-size: 13px;
-fx-text-fill: #64748B;
-fx-background-color: transparent;
}

.sub_heading {
Expand All @@ -146,6 +147,10 @@
-fx-background-color: #AFB4FF;
}

.circle_icon {
-fx-background-color: transparent;
}

.tags_pane .label {
-fx-font-fill: #00FFFF;
-fx-background-color: #00FFFF;
Expand Down
8 changes: 4 additions & 4 deletions src/main/resources/view/PersonListCard.fxml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<Insets right="10.0" />
</padding>
<graphic>
<Label>
<Label styleClass="circle_icon">
<graphic>
<Circle fill="#6d28d9" radius="4.0" stroke="WHITE" strokeType="INSIDE" />
</graphic>
Expand All @@ -56,16 +56,16 @@
<Insets right="10.0" />
</padding>
<graphic>
<Label>
<Label styleClass="circle_icon">
<graphic>
<Circle fill="#6d28d9" radius="4.0" stroke="WHITE" strokeType="INSIDE" />
<Circle fill="#6d28d9" radius="4.0" stroke="WHITE" strokeType="INSIDE"/>
</graphic>
</Label>
</graphic>
</Label>
<Label fx:id="address" styleClass="cell_small_label" text="\$address">
<graphic>
<Label>
<Label styleClass="circle_icon">
<graphic>
<Circle fill="#6d28d9" radius="4.0" stroke="WHITE" strokeType="INSIDE" />
</graphic>
Expand Down

0 comments on commit ef912da

Please sign in to comment.