Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #419 from atmire/selectable-themes
Selectable themes
- Loading branch information
Showing
159 changed files
with
2,202 additions
and
793 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 |
---|---|---|
|
@@ -5,6 +5,8 @@ | |
/tsd_typings/ | ||
npm-debug.log | ||
|
||
/build/ | ||
|
||
/config/environment.dev.js | ||
/config/environment.prod.js | ||
|
||
|
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 |
---|---|---|
|
@@ -180,5 +180,8 @@ module.exports = { | |
edit: { | ||
undoTimeout: 10000 // 10 seconds | ||
} | ||
}, | ||
theme: { | ||
name: 'default', | ||
} | ||
}; |
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
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
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
const syncBuildDir = require('copyfiles'); | ||
const path = require('path'); | ||
const { | ||
projectRoot, | ||
theme, | ||
themePath, | ||
} = require('../webpack/helpers'); | ||
|
||
const projectDepth = projectRoot('./').split(path.sep).length; | ||
|
||
let callback; | ||
|
||
if (theme !== null && theme !== undefined) { | ||
callback = () => { | ||
syncBuildDir([path.join(themePath, '**/*'), 'build'], { up: projectDepth + 2 }, () => {}) | ||
} | ||
} | ||
else { | ||
callback = () => {}; | ||
} | ||
|
||
syncBuildDir([projectRoot('src/**/*'), 'build'], { up: projectDepth + 1 }, callback); |
File renamed without changes.
2 changes: 0 additions & 2 deletions
2
src/app/+admin/admin-registries/metadata-registry/metadata-registry.component.scss
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,5 +1,3 @@ | ||
@import '../../../../styles/variables.scss'; | ||
|
||
.selectable-row:hover { | ||
cursor: pointer; | ||
} |
2 changes: 0 additions & 2 deletions
2
src/app/+admin/admin-registries/metadata-schema/metadata-schema.component.scss
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,5 +1,3 @@ | ||
@import '../../../../styles/variables.scss'; | ||
|
||
.selectable-row:hover { | ||
cursor: pointer; | ||
} |
1 change: 0 additions & 1 deletion
1
src/app/+admin/admin-sidebar/admin-sidebar-section/admin-sidebar-section.component.scss
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 +0,0 @@ | ||
@import '../../../../styles/variables.scss'; | ||
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
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
2 changes: 0 additions & 2 deletions
2
...-sidebar/expandable-admin-sidebar-section/expandable-admin-sidebar-section.component.scss
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,5 +1,3 @@ | ||
@import '../../../../styles/variables.scss'; | ||
|
||
::ng-deep { | ||
.fa-chevron-right { | ||
padding-left: $spacer/2; | ||
|
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 +0,0 @@ | ||
@import '../../styles/variables.scss'; | ||
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 +0,0 @@ | ||
@import '../../styles/variables.scss'; | ||
1 change: 0 additions & 1 deletion
1
...app/+community-page/sub-collection-list/community-page-sub-collection-list.component.scss
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 +0,0 @@ | ||
@import '../../../styles/variables.scss'; | ||
1 change: 0 additions & 1 deletion
1
src/app/+community-page/sub-community-list/community-page-sub-community-list.component.scss
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 +0,0 @@ | ||
@import '../../../styles/variables.scss'; | ||
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,16 +1,14 @@ | ||
@import '../../../styles/variables.scss'; | ||
|
||
:host { | ||
display: block; | ||
margin-top: -$content-spacing; | ||
margin-bottom: -$content-spacing; | ||
display: block; | ||
margin-top: -$content-spacing; | ||
margin-bottom: -$content-spacing; | ||
} | ||
|
||
.display-3 { | ||
word-break: break-word; | ||
word-break: break-word; | ||
} | ||
|
||
.dspace-logo { | ||
height: 110px; | ||
width: 110px; | ||
} | ||
height: 110px; | ||
width: 110px; | ||
} |
Empty file.
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 +1,2 @@ | ||
@import '../../styles/variables.scss'; | ||
:host { | ||
} |
2 changes: 0 additions & 2 deletions
2
src/app/+item-page/edit-item-page/edit-item-page.component.scss
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,5 +1,3 @@ | ||
@import '../../../styles/variables.scss'; | ||
|
||
.btn { | ||
min-width: $edit-item-button-min-width; | ||
} |
1 change: 0 additions & 1 deletion
1
src/app/+item-page/edit-item-page/item-bitstreams/item-bitstreams.component.scss
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 +0,0 @@ | ||
@import '../../../../styles/variables.scss'; | ||
1 change: 0 additions & 1 deletion
1
...-page/edit-item-page/item-metadata/edit-in-place-field/edit-in-place-field.component.scss
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,4 +1,3 @@ | ||
@import '../../../../../styles/variables.scss'; | ||
.btn[disabled] { | ||
color: $gray-600; | ||
border-color: $gray-600; | ||
|
2 changes: 0 additions & 2 deletions
2
src/app/+item-page/edit-item-page/item-metadata/item-metadata.component.scss
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,5 +1,3 @@ | ||
@import '../../../../styles/variables.scss'; | ||
|
||
.button-row { | ||
.btn { | ||
margin-right: 0.5 * $spacer; | ||
|
2 changes: 0 additions & 2 deletions
2
.../+item-page/field-components/metadata-field-wrapper/metadata-field-wrapper.component.scss
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,5 +1,3 @@ | ||
@import '../../../../styles/variables.scss'; | ||
|
||
:host { | ||
.simple-view-element { | ||
margin-bottom: 15px; | ||
|
1 change: 0 additions & 1 deletion
1
src/app/+item-page/field-components/metadata-uri-values/metadata-uri-values.component.scss
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 +0,0 @@ | ||
@import '../../../../styles/variables.scss'; | ||
1 change: 0 additions & 1 deletion
1
src/app/+item-page/field-components/metadata-values/metadata-values.component.scss
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 +0,0 @@ | ||
@import '../../../../styles/variables.scss'; | ||
2 changes: 0 additions & 2 deletions
2
src/app/+item-page/full/field-components/file-section/full-file-section.component.scss
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
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,5 +1,3 @@ | ||
@import '../../../styles/variables.scss'; | ||
|
||
:host { | ||
div.simple-view-link { | ||
text-align: center; | ||
|
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,5 +1,3 @@ | ||
@import '../../styles/variables.scss'; | ||
|
||
.login-logo { | ||
height: $login-logo-height; | ||
width: $login-logo-width; | ||
|
2 changes: 0 additions & 2 deletions
2
...e/search-filters/search-filter/search-boolean-filter/search-boolean-filter.component.scss
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
12 changes: 6 additions & 6 deletions
12
...filter/search-facet-filter-options/search-facet-option/search-facet-option.component.html
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,9 +1,9 @@ | ||
<a *ngIf="isVisible | async" class="d-flex flex-row" | ||
[routerLink]="[getSearchLink()]" | ||
[queryParams]="addQueryParams" queryParamsHandling="merge"> | ||
<input type="checkbox" [checked]="false" class="my-1 align-self-stretch"/> | ||
<span class="filter-value px-1">{{filterValue.value}}</span> | ||
<span class="float-right filter-value-count ml-auto"> | ||
[routerLink]="[getSearchLink()]" | ||
[queryParams]="addQueryParams" queryParamsHandling="merge"> | ||
<input type="checkbox" [checked]="false" class="my-1 align-self-stretch"/> | ||
<span class="filter-value px-1">{{filterValue.value}}</span> | ||
<span class="float-right filter-value-count ml-auto"> | ||
<span class="badge badge-secondary badge-pill">{{filterValue.count}}</span> | ||
</span> | ||
</a> | ||
</a> |
2 changes: 0 additions & 2 deletions
2
...filter/search-facet-filter-options/search-facet-option/search-facet-option.component.scss
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,5 +1,3 @@ | ||
@import '../../../../../../styles/variables.scss'; | ||
|
||
a { | ||
color: $body-color; | ||
&:hover, &focus { | ||
|
4 changes: 2 additions & 2 deletions
4
...h-facet-filter-options/search-facet-range-option/search-facet-range-option.component.html
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,8 +1,8 @@ | ||
<a *ngIf="isVisible | async" class="d-flex flex-row" | ||
[routerLink]="[getSearchLink()]" | ||
[queryParams]="changeQueryParams" queryParamsHandling="merge"> | ||
<span class="filter-value px-1">{{filterValue.label}}</span> | ||
<span class="float-right filter-value-count ml-auto"> | ||
<span class="filter-value px-1">{{filterValue.label}}</span> | ||
<span class="float-right filter-value-count ml-auto"> | ||
<span class="badge badge-secondary badge-pill">{{filterValue.count}}</span> | ||
</span> | ||
</a> |
2 changes: 0 additions & 2 deletions
2
...h-facet-filter-options/search-facet-range-option/search-facet-range-option.component.scss
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,5 +1,3 @@ | ||
@import '../../../../../../styles/variables.scss'; | ||
|
||
a { | ||
color: $link-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
2 changes: 0 additions & 2 deletions
2
...t-filter-options/search-facet-selected-option/search-facet-selected-option.component.scss
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,5 +1,3 @@ | ||
@import '../../../../../../styles/variables.scss'; | ||
|
||
a { | ||
color: $body-color; | ||
&:hover, &focus { | ||
|
19 changes: 8 additions & 11 deletions
19
src/app/+search-page/search-filters/search-filter/search-filter.component.scss
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,13 +1,10 @@ | ||
@import '../../../../styles/variables.scss'; | ||
@import '../../../../styles/mixins.scss'; | ||
|
||
:host .facet-filter { | ||
border: 1px solid map-get($theme-colors, light); | ||
cursor: pointer; | ||
.search-filter-wrapper.closed { | ||
overflow: hidden; | ||
} | ||
.filter-toggle { | ||
line-height: $line-height-base; | ||
} | ||
border: 1px solid map-get($theme-colors, light); | ||
cursor: pointer; | ||
.search-filter-wrapper.closed { | ||
overflow: hidden; | ||
} | ||
.filter-toggle { | ||
line-height: $line-height-base; | ||
} | ||
} |
3 changes: 0 additions & 3 deletions
3
...arch-filters/search-filter/search-hierarchy-filter/search-hierarchy-filter.component.scss
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
Oops, something went wrong.