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-size: 1.2rem;
font-weight: bold; font-weight: bold;
padding-bottom: 10px; padding-bottom: 10px;
margin-top: 10px;
} }
/* -------------------------------------------------> */ /* -------------------------------------------------> */
/* ARTICLESTYLES --------------------------------> */ /* ARTICLESTYLES --------------------------------> */
@ -2356,6 +2357,11 @@ button.collapsible {
padding-left: 40px !important; padding-left: 40px !important;
font-family: "IPH Astra Serif"; font-family: "IPH Astra Serif";
font-size: 1.4rem !important; font-size: 1.4rem !important;
cursor: pointer;
padding: 18px;
width: 100%;
text-align: left;
border: none;
} }
button.collapsible:visited { button.collapsible:visited {
-webkit-appearance: none; -webkit-appearance: none;
@ -2703,6 +2709,7 @@ button.collapsible.active {
} }
#individual-intro.person #individual-info { #individual-intro.person #individual-info {
width:87%; width:87%;
margin-bottom: 0px;
} }
#share-contact { #share-contact {
width: 11%; width: 11%;
@ -2773,6 +2780,47 @@ span.iconControlsNotEditable {
all: unset; 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 --------------------------------> */ /* FONTS --------------------------------> */
/* -------------------------------------------------> */ /* -------------------------------------------------> */

View file

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