Added expand button for articles metadata.

This commit is contained in:
Svetlana Rastegina 2021-03-08 19:03:12 +01:00 committed by Georgy Litvinov
parent 69c5576aff
commit 5e74856b2b
2 changed files with 54 additions and 3 deletions

View file

@ -2324,6 +2324,7 @@ span.subclassExpandMinus {
font-size: 1.2rem;
font-weight: bold;
padding-bottom: 10px;
margin-top: 10px;
}
/* -------------------------------------------------> */
/* ARTICLESTYLES --------------------------------> */
@ -2356,6 +2357,11 @@ button.collapsible {
padding-left: 40px !important;
font-family: "IPH Astra Serif";
font-size: 1.4rem !important;
cursor: pointer;
padding: 18px;
width: 100%;
text-align: left;
border: none;
}
button.collapsible:visited {
-webkit-appearance: none;
@ -2703,6 +2709,7 @@ button.collapsible.active {
}
#individual-intro.person #individual-info {
width:87%;
margin-bottom: 0px;
}
#share-contact {
width: 11%;
@ -2773,6 +2780,47 @@ span.iconControlsNotEditable {
all: unset;
}
#tocPlaceHolder {
margin-top: 10px;
border: 1px solid #8B4513;
}
#tocName {
text-align: center;
font-family: "Roboto";
font-size: 1.2rem;
border-bottom: 1px solid #8B4513;
padding-top: 5px;
padding-bottom: 5px;
}
.tocElementName a {
}
.tocElement >div.tocElement {
padding-left: 20px;
background-color: #ffffff;
}
.tocElement >div.tocElement >div.tocElementName {
padding-left: 12px;
background-image: none;
margin-left: 0px;
}
#tocPlaceHolder >div {
background-color: #F6F6F6;
}
#tocPlaceHolder a {
font-family: "Roboto";
font-size: 1rem;
}
.tocElementName {
background-image: url(../images/arrow-down-small.png);
background-repeat: no-repeat;
background-position: left center;
padding-left: 25px;
margin-left: 8px;
padding-top: 5px;
padding-bottom: 5px;
}
/* -------------------------------------------------> */
/* FONTS --------------------------------> */
/* -------------------------------------------------> */

View file

@ -109,11 +109,14 @@ ${scripts.add('<script type="text/javascript" src="${urls.base}/themes/iph/js/to
<@p.dataPropertyList firstPub editable />
</div>
</#if>
<button type="button" class="collapsible metadataAuthors">Информация об авторах</button>
<div class="metadataAuthors" style="display:block;">
<@authors_metadata />
</div>
<button type="button" class="collapsible metadataRubrics">Относится к рубрикам</button>
<div class="metadataRubrics" style="display:block;">
<@documentRubrics />
</div>
<@arrangeDocumentParts />
<@authors_underline />