forked from alanorth/dspace-angular
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
src/themes/cgspace: import scss from dspace theme
Instead of copying the entire SCSS and having to keep it in sync with upstream changes, just import the styles and override what we need.
- Loading branch information
Showing
2 changed files
with
7 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,6 @@ | ||
@media screen and (min-width: map-get($grid-breakpoints, md)) { | ||
nav.navbar { | ||
display: none; | ||
} | ||
} | ||
@import '../../../dspace/app/header/header.component.scss'; | ||
|
||
/* always set header background, not only on medium size screens! */ | ||
// The dspace theme only sets the header background on medium screens and up | ||
.header { | ||
background-color: var(--ds-header-bg); | ||
} | ||
|
||
.navbar-brand img { | ||
@media screen and (max-width: map-get($grid-breakpoints, md)) { | ||
height: var(--ds-header-logo-height-xs); | ||
} | ||
} | ||
.navbar-toggler .navbar-toggler-icon { | ||
background-image: none !important; | ||
line-height: 1.5; | ||
} | ||
|
||
.navbar-toggler { | ||
color: var(--ds-header-icon-color); | ||
|
||
&:hover, &:focus { | ||
color: var(--ds-header-icon-color-hover); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters