Skip to content

Commit

Permalink
Cleaned up logo.scss.
Browse files Browse the repository at this point in the history
  • Loading branch information
bspeare committed May 22, 2024
1 parent 60b7da6 commit dfa57f5
Showing 1 changed file with 27 additions and 30 deletions.
57 changes: 27 additions & 30 deletions src/scss/components/logo.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@import '../abstracts/variables';
@import '../abstracts/utilities';


// === Logo === //
.logo {
display: block;
}
Expand All @@ -27,31 +27,10 @@
height: 90px;
padding: 23px 20px;
}

&.logo--healthcare {
padding: 20px 1.25rem;
@include breakpoint(md) {
height: 100px;
padding: 23px 22px;
}
@include breakpoint(page-container) {
height: 113px;
}
}

// @todo Move this to search or search-toggle?
.search-is-open & {
visibility: none;
opacity: 0;

@include breakpoint(md) {
display: block;
opacity: 1;
visibility: visible;
}
}
}
// === End: Logo === //

// === Logo SVG === //
.logo-icon {
fill: $uiowa-gold;
height: 20px;
Expand All @@ -68,7 +47,29 @@
height: 43px;
}

.logo--healthcare & {
&:hover,
&:focus {
opacity: 0.7;
}
}
// === End: Logo SVG === //

// === Logo Healthcare === //
.logo--tab {
&.logo--healthcare {
padding: 20px 1.25rem;
@include breakpoint(md) {
height: 100px;
padding: 23px 22px;
}
@include breakpoint(page-container) {
height: 113px;
}
}
}

.logo--healthcare {
.logo-icon {
height: 32px;
@include breakpoint(md) {
height: 47px;
Expand All @@ -78,9 +79,5 @@
height: 67px;
}
}

&:hover,
&:focus {
opacity: 0.7;
}
}
// === End: Logo Healthcare === //

0 comments on commit dfa57f5

Please sign in to comment.