Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ <h4 class="title-alternative-content me-auto">
[label]="'sedici.item.page.sedici.contributor.inscriber'">
</ds-generic-item-page-field>
</div>
<sedici-context [object]="object"></sedici-context>
<sedici-context class="sedici-context" [object]="object"></sedici-context>
<div class="flex-container">
<div class="item-identifiers">
<ng-container *ngFor="let idValue of itemIdentifiers">
Expand Down Expand Up @@ -108,7 +108,7 @@ <h4 class="title-alternative-content me-auto">
<div class="container">
<div class="row">
<div class="col-12">
<app-expandable-metadata>
<!-- <app-expandable-metadata> -->
<div class="d-flex flex-wrap responsive-columns">
<div class="metadata-column col-lg-4 col-md-12" [ngClass]="{'col-lg-12': !hasMetadata}">
<ds-generic-item-page-field [item]="object"
Expand Down Expand Up @@ -160,35 +160,39 @@ <h4 class="title-alternative-content me-auto">
[fields]="['dc.coverage.temporal']"
[label]="'sedici.item.page.dc.coverage.temporal'">
</ds-generic-item-page-field>
<sedici-truncatable-generic-item-page-field [item]="object"
<ds-generic-item-page-field [item]="object"
[fields]="['dc.coverage.spatial']"
[label]="'sedici.item.page.dc.coverage.spatial'">
</ds-generic-item-page-field>
<sedici-truncatable-generic-item-page-field [item]="object" class="no-print"
[fields]="['dc.subject']"
[label]="'sedici.item.page.dc.subject'"
[minLines]="3">
</sedici-truncatable-generic-item-page-field>
<ds-generic-item-page-field [item]="object"
<ds-generic-item-page-field [item]="object" class="no-print"
[fields]="['sedici.subject.materias']"
[separator]="'; '"
[label]="'sedici.item.page.sedici.subject.materias'">
</ds-generic-item-page-field>
<ds-generic-item-page-field [item]="object"
<ds-generic-item-page-field [item]="object" class="no-print"
[fields]="['dc.publisher']"
[label]="subtype === ('Discurso' || 'Entrevista') ? ('sedici.item.page.dc.publisher.production') : ('sedici.item.page.dc.publisher.editorial')">
</ds-generic-item-page-field>
<ds-generic-item-page-field [item]="object"
<ds-generic-item-page-field class="no-print" [item]="object"
[fields]="['dc.relation.ispartof']"
[label]="'sedici.item.page.dc.relation.ispartof'">
</ds-generic-item-page-field>
<ds-item-page-uri-field [item]="object"
<ds-item-page-uri-field class="no-print" [item]="object"
[fields]="['sedici.identifier.uri']"
[label]="'sedici.item.page.sedici.identifier.uri'">
</ds-item-page-uri-field>
<ds-item-page-uri-field [item]="object"
<ds-item-page-uri-field class="no-print"[item]="object"
[fields]="['sedici.relation.isRelatedWith']"
[label]="'sedici.item.page.sedici.relation.isRelatedWith'">
</ds-item-page-uri-field>
</div>
<div class="metadata-column col-lg-8 col-md-12" *ngIf="hasMetadata">
<ds-generic-item-page-field [item]="object"
<ds-generic-item-page-field class="no-print" [item]="object"
[fields]="['sedici.description.note']"
[separator]="'<br/>'"
[label]="'sedici.item.page.sedici.description.note'">
Expand All @@ -205,7 +209,7 @@ <h4 class="title-alternative-content me-auto">
</ds-generic-item-page-field>
</div>
</div>
</app-expandable-metadata>
<!-- </app-expandable-metadata> -->
</div>
</div>
<p class="texto-handler">Puede acceder a la obra a través del siguiente <a [href]="itemIdentifiers[0].url">enlace</a> o a través del qr a continuación:</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,21 @@

// Ajustes específicos para impresión
body, html {
// font-size: 1.2rem !important; // Reducir tamaño base
font-family: Verdana, Geneva, Tahoma, sans-serif !important;
font-size: 12px !important;
// font-size: 12px !important;
line-height: 1.4 !important;
}

.container {
font-size: 1rem !important; // Más pequeño que .75rem
font-size: 0.75em !important; // Más pequeño que .75rem
margin: 0 !important;
max-width: 100% !important;

.texto-imprimir{
margin-top: 0em !important;
margin-bottom: 0.4em;
font-size: 1.1em;
}
}

.jumbotron {
Expand Down Expand Up @@ -46,7 +51,7 @@


.title-content {
font-size: 1.4em !important; // Reducido de 1.75em
font-size: 1.2em !important; // Reducido de 1.75em
line-height: 1.2 !important;
//margin-bottom: 0.5rem !important;
font-weight: bold !important;
Expand All @@ -58,11 +63,10 @@
line-height: 1.2 !important;
}

.generic-item-page-field {
font-size: 1em !important; // Reducido de 1.25em
}

.author-container {
font-size: 1.25em !important; // Reducido de 1.2em

::ng-deep span, ::ng-deep a {
font-size: 0.9em !important; // Reducido de 1.33333em
line-height: 1.3 !important;
Expand All @@ -75,7 +79,7 @@
margin-bottom: 0rem !important; // Espacio entre campos
margin-top: 0rem !important;
padding: 0rem !important;
font-size: 0.9em !important; // Reducido de 1.2em
font-size: 0.8em !important; // Esto afecta a los autores
}

::ng-deep h6 {
Expand All @@ -90,37 +94,58 @@

.metadata-column{
padding-left: 0 !important;
font-size: 0.5em !important; // Reducido de 1.25em
font-size: 0.9em !important; // Reducido de 1.25em
}

// Esto afecta a los campos del item abajo del handle
.metadata-column {
::ng-deep ds-generic-item-page-field
::ng-deep ds-generic-item-page-field,
::ng-deep sedici-truncatable-generic-item-page-field,
::ng-deep ds-item-page-uri-field {

h6 {
font-size: 0.9em !important; // Labels más pequeños
font-size: 0.7rem !important;
font-weight: bold !important;
}

span, a {
font-size: 0.9em !important; // Contenido de metadatos más pequeño
font-size: 0.7rem !important; // Contenido de metadatos más pequeño
line-height: 1.3 !important;
font-weight: normal !important;
}

.no-print, .no-print * {
display: none !important;
}
}

}

.sedici-context{
display: none !important;
}

.item-identifiers {
margin: 0.25rem 0 !important;

font-size: 0.4rem !important; // Reducido de 1em

::ng-deep .badge {
font-size: 0.85em !important; // Badges más pequeños
// font-size: 0.85em !important; // Badges más pequeños
font-weight: normal !important;
}
}

.contenedor-qr{
text-align: center !important;


qrcode {
width: 75% !important; // Reduce QR size to 75% of original
height: auto !important;
transform: scale(0.8); // Alternative scaling approach
}
}

.texto-qr{
font-size: 0.85rem !important; // Reducido de 1em
}
Expand Down Expand Up @@ -237,7 +262,6 @@
}
}

sedici-context,
.author-container {
::ng-deep span, ::ng-deep a {
font-size: 1.2em;
Expand Down Expand Up @@ -280,16 +304,18 @@ sedici-context,
.metadata-column {
padding: 0 .5rem ;

// Esto afecta a los campos del item abajo del handle
::ng-deep ds-generic-item-page-field,
::ng-deep sedici-truncatable-generic-item-page-field,
::ng-deep ds-item-page-uri-field {

h6 {
font-size: 1.2em;
font-weight: var(--font-weight-bold);
}

span, a {
font-size: 1.25em;
font-size: 1.2em;
font-weight: var(--font-weight-regular);
}
}
Expand Down Expand Up @@ -366,4 +392,4 @@ app-expandable-metadata {
// Modifico todos los botones que están incluidos en el componente
:host ::ng-deep .btn:focus {
outline-style: none !important;
}
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
span {
line-height: 1.5;
font-size: 1.2em;
}

@media print{
span {
font-size: 1em;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[id]="label"
[minLines]="minLines"
[showCollapseButton]="false">
<h6 class="label">{{ label | translate }}</h6>
<h6>{{ label | translate }}</h6>
<span [innerHTML]="metadataTextValue"></span>
</sedici-truncatable-part>
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.label {
h6 {
display: inline;
margin-right: 0.5em;
font-weight: bold;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
.clamp-default-#{$i} {
margin-bottom: .5rem;

@media print{
margin-bottom: 0;
}

.content {
&:after {
background: linear-gradient(to right, rgba(255, 255, 255, 0), #f6f6f6 70%);
Expand Down
Loading