Skip to content

Commit

Permalink
Change button/link color to Palace dark blue. (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ray Lee authored Dec 16, 2021
1 parent d9d0db3 commit 3def790
Show file tree
Hide file tree
Showing 12 changed files with 59 additions and 58 deletions.
16 changes: 8 additions & 8 deletions src/stylesheets/announcements.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.announcements-section {
ul.announcements-ul {
border: 1px solid $blue-dark;
border: 1px solid $blue;
padding: 16px 16px 6px 16px;
list-style: none;
> h4 {
Expand All @@ -11,7 +11,7 @@
margin-bottom: 0;
}
> hr {
border-color: $blue-dark;
border-color: $blue;
margin-top: 1vh;
}
.announcement {
Expand All @@ -30,8 +30,8 @@
}
span {
padding: 16px 12px;
border-left: 1px solid $blue-dark;
border-right: 1px solid $blue-dark;
border-left: 1px solid $blue;
border-right: 1px solid $blue;
}
.dates {
display: block;
Expand All @@ -43,14 +43,14 @@
}
hr {
width: 96%;
border-color: $blue-dark;
border-color: $blue;
margin: 0 auto;
}
.buttons {
padding: 10px 8px 0 10px;
border-left: 1px solid $blue-dark;
border-right: 1px solid $blue-dark;
border-bottom: 1px solid $blue-dark;
border-left: 1px solid $blue;
border-right: 1px solid $blue;
border-bottom: 1px solid $blue;
}
}
}
Expand Down
12 changes: 6 additions & 6 deletions src/stylesheets/book_details_container.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
margin: 0 0 20px;

svg {
fill: $blue;
fill: $blue-dark;
}
}
.custom-list-for-book {
Expand All @@ -21,9 +21,9 @@
border-radius: .25em;
border: 1px solid darken($gray-tint, 5);
padding-left: 8px;
color: $blue;
color: $blue-dark;
&:hover {
color: $blue-dark;
color: $blue;
}
}
.add-list-item-container {
Expand All @@ -49,11 +49,11 @@
width: 100%;
padding-bottom: 6px;
margin-bottom: 8px;
border-bottom: 1px solid $blue;
border-bottom: 1px solid $blue-dark;
font-weight: bold;
color: $blue;
color: $blue-dark;
&:hover {
color: $blue-dark;
color: $blue;
}
}
p {
Expand Down
10 changes: 5 additions & 5 deletions src/stylesheets/book_details_tab_container.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.nav-tabs {
li {
a {
color: $blue;
color: $blue-dark;
&:active,
&:visited,
&:hover {
Expand Down Expand Up @@ -45,15 +45,15 @@
margin: auto;
.circulation-links {
padding-bottom: 1em;
border-bottom: 1px solid $blue;
border-bottom: 1px solid $blue-dark;
.btn {
color: $blue;
border-color: $blue;
color: $blue-dark;
border-color: $blue-dark;
background-color: $white;
margin: 5px 10px;
&:hover {
color: $white;
background-color: $blue;
background-color: $blue-dark;
}
}
}
Expand Down
14 changes: 7 additions & 7 deletions src/stylesheets/catalog_overrides.scss
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
.collection-container {
.book a {
color: $blue;
color: $blue-dark;
.item-icon svg {
fill: $blue;
fill: $blue-dark;
}
&:hover {
color: $blue-dark;
color: $blue;
.item-icon svg {
fill: $blue-dark;
}
Expand All @@ -15,14 +15,14 @@
}
}
.more-link div {
color: $blue;
color: $blue-dark;
svg {
fill: $blue;
fill: $blue-dark;
}
&:hover {
color: $blue-dark;
color: $blue;
svg {
fill: $blue-dark;
fill: $blue;
}
}
}
Expand Down
20 changes: 10 additions & 10 deletions src/stylesheets/custom_list_editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -113,31 +113,31 @@ fieldset.search-options.well {
width: unset;
padding-bottom: 20px;
legend {
background-color: $blue;
background-color: $blue-dark;
}
ul, section {
list-style: none;
width: 100%;
margin: auto;
padding: 15px;
border-radius: 4px 4px 0 0;
border-left: 1px solid $blue-dark;
border-right: 1px solid $blue-dark;
border-top: 1px solid $blue-dark;
border-left: 1px solid $blue;
border-right: 1px solid $blue;
border-top: 1px solid $blue;
li .form-group {
margin: 0;
}
}
section {
border-bottom: 1px solid $blue-dark;
border-bottom: 1px solid $blue;
border-radius: 4px;
}
p {
border-left: 1px solid $blue-dark;
border-right: 1px solid $blue-dark;
border-left: 1px solid $blue;
border-right: 1px solid $blue;
margin: 0 auto;
&:last-child {
border-bottom: 1px solid $blue-dark;
border-bottom: 1px solid $blue;
border-radius: 0 0 4px 4px;
}
font-size: 14px;
Expand Down Expand Up @@ -165,10 +165,10 @@ fieldset.search-options.well {
fill: $white;
}
&:not(:hover) {
background: $blue;
background: $blue-dark;
}
&:hover {
background: $blue-dark;
background: $blue;
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/stylesheets/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
color: $white;
}
&:hover {
background: $blue;
background: $blue-dark;
color: $white;
}
}
Expand Down
12 changes: 6 additions & 6 deletions src/stylesheets/entry_points_container.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@
padding: 0 15px;
.lane {
a.title {
color: $blue;
color: $blue-dark;
&:hover {
color: $blue-dark;
color: $blue;
}
}
.lane-books-container {
.scroll-button {
background: $blue;
background: $blue-dark;
&:hover {
background: $blue-dark;
background: $blue;
color: $white;
transition: background .5s;
}
Expand All @@ -37,9 +37,9 @@
.entry-points-list {
li {
a {
color: $blue;
color: $blue-dark;
svg {
fill: $blue;
fill: $blue-dark;
}
&:hover {
color: $blue-dark;
Expand Down
4 changes: 2 additions & 2 deletions src/stylesheets/facets.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
.facet-group {
a.facetLink {
color: $blue;
color: $blue-dark;
&:hover {
color: $blue-dark;
color: $blue;
}
}
}
13 changes: 7 additions & 6 deletions src/stylesheets/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,11 @@
}

.btn:not(.inverted), .btn.btn-default {
background: $blue;
background: $blue-dark;
color: $white;
&:hover {
color: $white;
background: $blue;
}
}

Expand All @@ -51,23 +52,23 @@
}

button.btn.inverted, a.btn.inverted {
color: $blue;
border-color: $blue;
color: $blue-dark;
border-color: $blue-dark;
&:hover {
color: $white;
}
svg {
fill: $blue;
fill: $blue-dark;
}
}

.breadcrumbs-or-search-wrapper {
a {
&:not(:hover) {
color: $blue;
color: $blue-dark;
}
&:hover {
color: $blue-dark;
color: $blue;
}
}
.search {
Expand Down
4 changes: 2 additions & 2 deletions src/stylesheets/header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
& > button {
color: $dark;

&:hover, &:focus {
color: $dark;
&:hover, &:active, &:focus {
@include headerNavLink;
}
}
}
Expand Down
8 changes: 4 additions & 4 deletions src/stylesheets/self_tests.scss
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
.tab-container {
.nav {
a {
color: $blue;
color: $blue-dark;
&:hover {
color: $blue-dark;
color: $blue;
}
}
}
Expand All @@ -15,9 +15,9 @@
}
}
a {
color: $blue;
color: $blue-dark;
&:hover {
color: $blue-dark;
color: $blue;
}
}
.integration-selftests {
Expand Down
2 changes: 1 addition & 1 deletion src/stylesheets/troubleshooting.scss
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@
}
&:hover:not(.active) {
a {
background: $blue;
background: $blue-dark;
color: $white;
}
}
Expand Down

0 comments on commit 3def790

Please sign in to comment.