Skip to content

Commit

Permalink
colour updates
Browse files Browse the repository at this point in the history
Signed-off-by: James Milligan <[email protected]>
  • Loading branch information
james-milligan committed Apr 17, 2023
1 parent 0dbb78c commit 05eaa04
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
11 changes: 7 additions & 4 deletions bookinfo/product-page/pkg/template/html_product_page.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var productPageHTML = strings.Join(
text-align: center;
}
nav {
background-color: #222;
background-color: #950eba;
overflow: hidden;
padding: 14px 16px;
}
Expand All @@ -41,13 +41,15 @@ var productPageHTML = strings.Join(
text-decoration: none;
}
nav button {
background-color: #337ab7;
background-color: #fff;
color: #222 !important;
border: none;
color: white;
float: right;
font-size: 14px;
margin-top: 8px;
padding: 5px 16px;
border-radius: 5px;
}
main {
display: flex;
Expand All @@ -56,14 +58,14 @@ var productPageHTML = strings.Join(
}
h3 {
text-align: center;
color: #337ab7;
color: #950eba;
}
p {
text-align: justify;
}
h4 {
text-align: center;
color: #337ab7;
color: #950eba;
}
.book-details,
.book-reviews {
Expand Down Expand Up @@ -98,6 +100,7 @@ var productPageHTML = strings.Join(
margin-right: auto;
margin-left: auto;
width:1170px;
background-color:#950eba;
}
.container-fluid {
padding-right: 15px;
Expand Down
2 changes: 1 addition & 1 deletion bookinfo/product-page/pkg/template/html_reviews.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const (
reviewsStarsReplaceTarget = "{STARS}"
filledStar = `<span class="star" style=color:%s>&#9733;</span>`
emptyStar = `<span class="empty-star" style=color:%s>&#9734;</span>`
defaultStarColor = "gold"
defaultStarColor = "#950eba"
)

var reviewsHTML = fmt.Sprintf(
Expand Down

0 comments on commit 05eaa04

Please sign in to comment.