renamed theme to Mantis

This commit is contained in:
lotte
2019-04-04 11:38:36 +02:00
parent 4b7f0bd017
commit c9494c32ec
29 changed files with 21 additions and 21 deletions

View File

@@ -4,7 +4,7 @@ import { Component } from '@angular/core';
selector: 'ds-home-news',
styleUrls: ['./home-news.component.scss'],
// templateUrl: './home-news.component.html',
templateUrl: './themes/home-news.component.preview-release.html'
templateUrl: './themes/home-news.component.mantis.html'
})
/**

View File

@@ -1,4 +1,4 @@
:host-context(.preview-release) {
:host-context(.mantis) {
.jumbotron {
background-color: transparent;
}

View File

@@ -4,7 +4,7 @@ import { Component } from '@angular/core';
selector: 'ds-home-page',
styleUrls: ['./home-page.component.scss'],
// templateUrl: './home-page.component.html'
templateUrl: './themes/home-page.component.preview-release.html'
templateUrl: './themes/home-page.component.mantis.html'
})
export class HomePageComponent {
}

View File

@@ -1,6 +1,6 @@
@import '../../../styles/variables.scss';
:host-context(.preview-release) {
:host-context(.mantis) {
div.background-image {
color: white;
background-color: $info;

View File

@@ -14,7 +14,7 @@ import { FilterType } from '../../../../search-service/filter-type.model';
selector: 'ds-search-facet-option',
styleUrls: ['./search-facet-option.component.scss'],
// templateUrl: './search-facet-option.component.html',
templateUrl: './themes/search-facet-option.component.preview-release.html',
templateUrl: './themes/search-facet-option.component.mantis.html',
})
/**

View File

@@ -19,7 +19,7 @@ const rangeDelimiter = '-';
selector: 'ds-search-facet-range-option',
styleUrls: ['./search-facet-range-option.component.scss'],
// templateUrl: './search-facet-range-option.component.html',
templateUrl: './themes/search-facet-range-option.component.preview-release.html',
templateUrl: './themes/search-facet-range-option.component.mantis.html',
})
/**

View File

@@ -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="filter-value px-1">{{filterValue.value}}</span>
<span class="float-right filter-value-count ml-auto">
<span class="badge badge-primary badge-pill">{{filterValue.count}}</span>
</span>
</a>
</a>

View File

@@ -15,7 +15,7 @@ import { SEARCH_CONFIG_SERVICE } from '../../../+my-dspace-page/my-dspace-page.c
selector: 'ds-search-filter',
styleUrls: ['./search-filter.component.scss'],
// templateUrl: './search-filter.component.html',
templateUrl: './themes/search-filter.component.preview-release.html',
templateUrl: './themes/search-filter.component.mantis.html',
animations: [slide],
})

View File

@@ -1,6 +1,6 @@
@import '../../../../../../styles/variables.scss';
:host-context(.preview-release) {
:host-context(.mantis) {
::ng-deep .noUi-connect {
background: $info;
}

View File

@@ -1,7 +1,7 @@
@import '../../../../../styles/variables.scss';
@import '../../../../../styles/mixins.scss';
:host-context(.preview-release) .facet-filter {
:host-context(.mantis) .facet-filter {
background-color: map-get($theme-colors, light);
border-radius: $border-radius;

View File

@@ -14,7 +14,7 @@ import { SEARCH_CONFIG_SERVICE } from '../../+my-dspace-page/my-dspace-page.comp
@Component({
selector: 'ds-search-filters',
styleUrls: ['./search-filters.component.scss'],
templateUrl: './themes/search-filters.component.preview-release.html',
templateUrl: './themes/search-filters.component.mantis.html',
})
/**

View File

@@ -11,7 +11,7 @@ import { SEARCH_CONFIG_SERVICE } from '../../+my-dspace-page/my-dspace-page.comp
selector: 'ds-search-settings',
styleUrls: ['./search-settings.component.scss'],
// templateUrl: './search-settings.component.html'
templateUrl: './themes/search-settings.component.preview-release.html'
templateUrl: './themes/search-settings.component.mantis.html'
})
/**

View File

@@ -1,6 +1,6 @@
@import '../../../../styles/variables.scss';
:host-context(.preview-release) .setting-option {
:host-context(.mantis) .setting-option {
background-color: map-get($theme-colors, light);
border-radius: $border-radius;

View File

@@ -1,4 +1,4 @@
<div class="outer-wrapper preview-release">
<div class="outer-wrapper mantis">
<ds-admin-sidebar></ds-admin-sidebar>
<div class="inner-wrapper" [@slideSidebarPadding]="{
value: (!(sidebarVisible | async) ? 'hidden' : (slideSidebarOver | async) ? 'shown' : 'expanded'),

View File

@@ -1,6 +1,6 @@
@import '../../../styles/variables.scss';
:host-context(.preview-release) {
:host-context(.mantis) {
::ng-deep a {
//color: $dark;
}

View File

@@ -14,7 +14,7 @@ import { HostWindowService } from '../shared/host-window.service';
selector: 'ds-navbar',
styleUrls: ['navbar.component.scss'],
// templateUrl: './navbar.component.html',
templateUrl: './themes/navbar.component.preview-release.html',
templateUrl: './themes/navbar.component.mantis.html',
animations: [slideMobileNav]
})
export class NavbarComponent extends MenuComponent implements OnInit {

View File

@@ -1,6 +1,6 @@
@import '../../../styles/variables.scss';
:host-context(.preview-release) {
:host-context(.mantis) {
nav.navbar {
border-bottom: 5px $green solid;
}

View File

@@ -15,7 +15,7 @@ import { MYDSPACE_ROUTE } from '../../+my-dspace-page/my-dspace-page.component';
selector: 'ds-search-form',
styleUrls: ['./search-form.component.scss'],
// templateUrl: './search-form.component.html',
templateUrl: './themes/search-form.component.preview-release.html'
templateUrl: './themes/search-form.component.mantis.html'
})
/**

View File

@@ -1,7 +1,7 @@
@import '_functions.scss';
@import '../../node_modules/bootstrap/scss/functions.scss';
@import 'themes/bootstrap_variables.preview-release.scss';
@import 'themes/bootstrap_variables.mantis.scss';
@import 'bootstrap_variables.scss';
@import '../../node_modules/bootstrap/scss/variables.scss';
@import 'themes/custom_variables.preview-release.scss';
@import 'themes/custom_variables.mantis.scss';
@import 'custom_variables.scss';