mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-09 11:03:05 +00:00
Merge branch 'w2p-132350_minor-css-fixes_contribute-7.6' into bootstrap-issues_contribute-main
This commit is contained in:
@@ -1,12 +1,12 @@
|
|||||||
.nav-breadcrumb {
|
.nav-breadcrumb {
|
||||||
background-color: var(--ds-breadcrumb-bg);
|
background-color: var(--ds-breadcrumb-bg) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.breadcrumb {
|
.breadcrumb {
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
padding-bottom: calc(var(--ds-content-spacing) / 2);
|
padding-bottom: calc(var(--ds-content-spacing) / 2);
|
||||||
padding-top: calc(var(--ds-content-spacing) / 2);
|
padding-top: calc(var(--ds-content-spacing) / 2);
|
||||||
background-color: var(--ds-breadcrumb-bg);
|
background-color: var(--ds-breadcrumb-bg) !important;
|
||||||
padding-left: calc(var(--bs-spacer) *.75);
|
padding-left: calc(var(--bs-spacer) *.75);
|
||||||
padding-right: calc(var(--bs-spacer) *.75);
|
padding-right: calc(var(--bs-spacer) *.75);
|
||||||
}
|
}
|
||||||
|
@@ -24,38 +24,40 @@
|
|||||||
|
|
||||||
@if ((isHierarchicalVocabulary() | async) !== true) {
|
@if ((isHierarchicalVocabulary() | async) !== true) {
|
||||||
<div class="position-relative right-addon">
|
<div class="position-relative right-addon">
|
||||||
@if (searching || loadingInitialValue) {
|
<div class="authority-icons position-absolute d-flex align-items-center">
|
||||||
<i class="fas fa-circle-notch fa-spin fa-2x fa-fw text-primary position-absolute mt-1 p-0" aria-hidden="true"></i>
|
@if (searching || loadingInitialValue) {
|
||||||
}
|
<i class="fas fa-circle-notch fa-spin fa-2x fa-fw text-primary my-auto p-0" aria-hidden="true"></i>
|
||||||
@if (!searching && !loadingInitialValue) {
|
}
|
||||||
<i
|
@if (!searching && !loadingInitialValue) {
|
||||||
dsAuthorityConfidenceState
|
<i
|
||||||
class="far fa-circle fa-2x fa-fw position-absolute mt-1 p-0"
|
dsAuthorityConfidenceState
|
||||||
aria-hidden="true"
|
class="far fa-circle fa-2x fa-fw my-auto p-0"
|
||||||
[authorityValue]="currentValue"
|
aria-hidden="true"
|
||||||
(whenClickOnConfidenceNotAccepted)="whenClickOnConfidenceNotAccepted($event)"></i>
|
[authorityValue]="currentValue"
|
||||||
}
|
(whenClickOnConfidenceNotAccepted)="whenClickOnConfidenceNotAccepted($event)"></i>
|
||||||
|
}
|
||||||
|
</div>
|
||||||
<input #instance="ngbTypeahead"
|
<input #instance="ngbTypeahead"
|
||||||
class="form-control"
|
class="form-control"
|
||||||
[attr.aria-labelledby]="'label_' + model.id"
|
[attr.aria-labelledby]="'label_' + model.id"
|
||||||
[attr.autoComplete]="model.autoComplete"
|
[attr.autoComplete]="model.autoComplete"
|
||||||
[attr.aria-label]="model.label | translate"
|
[attr.aria-label]="model.label | translate"
|
||||||
[class.is-invalid]="showErrorMessages"
|
[class.is-invalid]="showErrorMessages"
|
||||||
[id]="model.id"
|
[id]="model.id"
|
||||||
[inputFormatter]="formatter"
|
[inputFormatter]="formatter"
|
||||||
[name]="model.name"
|
[name]="model.name"
|
||||||
[ngbTypeahead]="search"
|
[ngbTypeahead]="search"
|
||||||
[placeholder]="model.placeholder"
|
[placeholder]="model.placeholder"
|
||||||
[readonly]="model.readOnly"
|
[readonly]="model.readOnly"
|
||||||
[disabled]="model.readOnly"
|
[disabled]="model.readOnly"
|
||||||
[resultTemplate]="rt"
|
[resultTemplate]="rt"
|
||||||
[type]="model.inputType"
|
[type]="model.inputType"
|
||||||
[(ngModel)]="currentValue"
|
[(ngModel)]="currentValue"
|
||||||
(blur)="onBlur($event)"
|
(blur)="onBlur($event)"
|
||||||
(focus)="onFocus($event)"
|
(focus)="onFocus($event)"
|
||||||
(change)="onChange($event)"
|
(change)="onChange($event)"
|
||||||
(input)="onInput($event)"
|
(input)="onInput($event)"
|
||||||
(selectItem)="onSelectItem($event)">
|
(selectItem)="onSelectItem($event)">
|
||||||
@if (searchFailed) {
|
@if (searchFailed) {
|
||||||
<div class="invalid-feedback">Sorry, suggestions could not be loaded.</div>
|
<div class="invalid-feedback">Sorry, suggestions could not be loaded.</div>
|
||||||
}
|
}
|
||||||
@@ -65,25 +67,25 @@
|
|||||||
@if ((isHierarchicalVocabulary() | async)) {
|
@if ((isHierarchicalVocabulary() | async)) {
|
||||||
<div class="position-relative right-addon">
|
<div class="position-relative right-addon">
|
||||||
<i class="dropdown-toggle position-absolute tree-toggle" (click)="openTree($event)"
|
<i class="dropdown-toggle position-absolute tree-toggle" (click)="openTree($event)"
|
||||||
aria-hidden="true"></i>
|
aria-hidden="true"></i>
|
||||||
<input class="form-control"
|
<input class="form-control"
|
||||||
[attr.aria-labelledby]="'label_' + model.id"
|
[attr.aria-labelledby]="'label_' + model.id"
|
||||||
[attr.autoComplete]="model.autoComplete"
|
[attr.autoComplete]="model.autoComplete"
|
||||||
[attr.aria-label]="model.label | translate"
|
[attr.aria-label]="model.label | translate"
|
||||||
[class.is-invalid]="showErrorMessages"
|
[class.is-invalid]="showErrorMessages"
|
||||||
[class.tree-input]="!model.readOnly"
|
[class.tree-input]="!model.readOnly"
|
||||||
[id]="id"
|
[id]="id"
|
||||||
[name]="model.name"
|
[name]="model.name"
|
||||||
[placeholder]="model.placeholder"
|
[placeholder]="model.placeholder"
|
||||||
[readonly]="true"
|
[readonly]="true"
|
||||||
[disabled]="model.readOnly"
|
[disabled]="model.readOnly"
|
||||||
[type]="model.inputType"
|
[type]="model.inputType"
|
||||||
[value]="currentValue?.display"
|
[value]="currentValue?.display"
|
||||||
(focus)="onFocus($event)"
|
(focus)="onFocus($event)"
|
||||||
(change)="onChange($event)"
|
(change)="onChange($event)"
|
||||||
(click)="openTree($event)"
|
(click)="openTree($event)"
|
||||||
(keydown)="$event.preventDefault()"
|
(keydown)="$event.preventDefault()"
|
||||||
(keypress)="$event.preventDefault()"
|
(keypress)="$event.preventDefault()"
|
||||||
(keyup)="$event.preventDefault()">
|
(keyup)="$event.preventDefault()">
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
|
@@ -31,3 +31,9 @@
|
|||||||
.tree-input[readonly]{
|
.tree-input[readonly]{
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.authority-icons {
|
||||||
|
top: 50%;
|
||||||
|
right: 0;
|
||||||
|
transform: translateY(-50%)
|
||||||
|
}
|
||||||
|
@@ -105,7 +105,7 @@
|
|||||||
--ds-home-news-link-hover-color: #{darken($ds-home-news-link-color, 15%)};
|
--ds-home-news-link-hover-color: #{darken($ds-home-news-link-color, 15%)};
|
||||||
--ds-home-news-background-color: #{$gray-200};
|
--ds-home-news-background-color: #{$gray-200};
|
||||||
|
|
||||||
--ds-breadcrumb-bg: #{$gray-200} !important;
|
--ds-breadcrumb-bg: #{$gray-200};
|
||||||
--ds-breadcrumb-link-color: #{$ds-breadcrumb-link-color};
|
--ds-breadcrumb-link-color: #{$ds-breadcrumb-link-color};
|
||||||
--ds-breadcrumb-link-active-color: #{darken($ds-breadcrumb-link-color, 30%)};
|
--ds-breadcrumb-link-active-color: #{darken($ds-breadcrumb-link-color, 30%)};
|
||||||
--ds-breadcrumb-max-length: 200px;
|
--ds-breadcrumb-max-length: 200px;
|
||||||
|
Reference in New Issue
Block a user