diff --git a/src/app/item-page/sedici-item-certificate/sedici-item-certificate.html b/src/app/item-page/sedici-item-certificate/sedici-item-certificate.html index fa56b905a53..61df9432e95 100644 --- a/src/app/item-page/sedici-item-certificate/sedici-item-certificate.html +++ b/src/app/item-page/sedici-item-certificate/sedici-item-certificate.html @@ -72,7 +72,7 @@
Puede acceder a la obra a través del siguiente enlace o a través del qr a continuación:
diff --git a/src/app/item-page/sedici-item-certificate/sedici-item-certificate.scss b/src/app/item-page/sedici-item-certificate/sedici-item-certificate.scss index 51debeb9b8d..7a904e5a569 100644 --- a/src/app/item-page/sedici-item-certificate/sedici-item-certificate.scss +++ b/src/app/item-page/sedici-item-certificate/sedici-item-certificate.scss @@ -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 { @@ -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; @@ -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; @@ -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 { @@ -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 } @@ -237,7 +262,6 @@ } } -sedici-context, .author-container { ::ng-deep span, ::ng-deep a { font-size: 1.2em; @@ -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); } } @@ -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; -} +} \ No newline at end of file diff --git a/src/themes/custom/app/item-page/simple/field-components/context/sedici-context.component.scss b/src/themes/custom/app/item-page/simple/field-components/context/sedici-context.component.scss index 8d5ada13018..9ec3dcd5151 100644 --- a/src/themes/custom/app/item-page/simple/field-components/context/sedici-context.component.scss +++ b/src/themes/custom/app/item-page/simple/field-components/context/sedici-context.component.scss @@ -1,3 +1,10 @@ span { line-height: 1.5; + font-size: 1.2em; +} + +@media print{ + span { + font-size: 1em; + } } \ No newline at end of file diff --git a/src/themes/custom/app/item-page/simple/item-types/untyped-item/sedici-truncatable-generic-item-page-field.html b/src/themes/custom/app/item-page/simple/item-types/untyped-item/sedici-truncatable-generic-item-page-field.html index f29b5a33be9..c8e5f317c87 100644 --- a/src/themes/custom/app/item-page/simple/item-types/untyped-item/sedici-truncatable-generic-item-page-field.html +++ b/src/themes/custom/app/item-page/simple/item-types/untyped-item/sedici-truncatable-generic-item-page-field.html @@ -4,7 +4,7 @@ [id]="label" [minLines]="minLines" [showCollapseButton]="false"> -