Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IQSS/11053 - Metadata Style fixes #11106

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open
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
1 change: 1 addition & 0 deletions doc/release-notes/11053-Metadata Styling fixes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Minor styling fixes for the Related Publication Field and fields using ORCID or ROR have been made (see #11053, #10964, #1106)
14 changes: 12 additions & 2 deletions src/main/webapp/resources/css/structure.css
Original file line number Diff line number Diff line change
Expand Up @@ -600,6 +600,11 @@ div[id$='roleDisplay'] span.label, div[id$='roleDetails'] span.label {display:in
#title {font-size:36px !important;line-height:1.1;font-weight:bold;margin-top:0px;margin-bottom:0px;}
#author, #contact {display:block; margin-bottom:.5em;}

/* #11053 */
#publication span {
margin: 0px 5px 0px 5px;
}

/* RESPONSIVE ORDER HACK BOOTSTRAP 3 https://stackoverflow.com/a/24834574 */
#dataset-colorder-block {height: 50px;}
@media(min-width:992px){
Expand Down Expand Up @@ -671,15 +676,20 @@ div.edit-field div.ui-message {margin:6px 0;}
white-space: pre-wrap !important;
}

#metadata_author img {

img[alt='ORCID logo'], img[alt='ROR logo'] {
vertical-align: text-top;
margin-right:1px;
margin-left: 3px;
}

#metadata_author img.ror {
img.ror {
vertical-align: middle;
}
.expanded[data-cvoc-protocol='ror'] span {
margin: 0px 5px 0px 5px;
}

/* TRUNCATION */
div.more-block {text-align:center; padding-top:250px; width:100%; position:absolute; bottom:0; background:linear-gradient(180deg,hsla(0,0%,100%,0),#fff 80%);}
button.desc-more-link {margin:0; padding:0;}
Expand Down