Modified metadata styles on Exerpt page.

This commit is contained in:
Svetlana Rastegina 2021-03-23 12:21:53 +01:00 committed by Georgy Litvinov
parent 1bbef343d1
commit 9230a9963c
2 changed files with 44 additions and 16 deletions

View file

@ -2165,7 +2165,8 @@ p.address-line {
} }
/* EDITING DISPLAY------> */ /* EDITING DISPLAY------> */
.edit-individual { .edit-individual {
border-left: 1px dotted #B2D15A; border-left: 1px dotted #8B4513;
margin-left: 5px;
} }
/* -------------------------------------------------> */ /* -------------------------------------------------> */
/* SITE ADMIN DASHBOARD ----------------------------> */ /* SITE ADMIN DASHBOARD ----------------------------> */
@ -3125,6 +3126,27 @@ label.switch >#collapseTextControl >img {
font-size: 1.1rem; font-size: 1.1rem;
color: #4F4F4F; color: #4F4F4F;
} }
.wrapperExpandedKeywords {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: flex-start;
list-style: none;
border-top: 1px solid #dde4e3;
padding-top: 10px;
}
.wrapperExpandedKeywords >li {
border-right: 1px solid #8B4513;
font-size: 1.2rem;
font-family: "IPH Astra Serif";
padding-right: 8px;
padding-left: 8px;
margin-bottom: 5px;
margin-top: 5px;
}
.wrapperExpandedKeywords > li:last-child {
border-right: none;
}
/* -------------------------------------------------> */ /* -------------------------------------------------> */
/* FONTS --------------------------------> */ /* FONTS --------------------------------> */
/* -------------------------------------------------> */ /* -------------------------------------------------> */

View file

@ -116,11 +116,13 @@ ${scripts.add('<script type="text/javascript" src="${urls.base}/themes/iph/js/to
</#if> </#if>
<#if articles?has_content> <#if articles?has_content>
<div class="label">В составе статей: </div> <div class="collapsible collapsed">
<div> <div class="collapsibleLink" style="display:inline;">В составе статей:</div>
</div>
<div class="expandedArticles" style="display:none;">
<#list articles as article> <#list articles as article>
<#if article?has_content > <#if article?has_content >
<div style="list-style:none;border:none;width: 100%;text-align:left;" class="article"> <div class="articleList" style="list-style:none;">
<a href="${urls.base}/individual?uri=${article.articleUri?url}"">${article.articleName}</a> <a href="${urls.base}/individual?uri=${article.articleUri?url}"">${article.articleName}</a>
</div> </div>
</#if> </#if>
@ -140,12 +142,16 @@ ${scripts.add('<script type="text/javascript" src="${urls.base}/themes/iph/js/to
<#assign keywords = propertyGroups.pullProperty("https://litvinovg.pro/text_structures#keywords")!> <#assign keywords = propertyGroups.pullProperty("https://litvinovg.pro/text_structures#keywords")!>
<#if keywords?has_content > <#if keywords?has_content >
<div class="label">Ключевые слова: <@p.addLink keywords editable /> <@p.verboseDisplay keywords /> </div> <div class="collapsible collapsed">
<#if keywords.statements?has_content && keywords.type == "data"> <div class="collapsibleLink" style="display:inline;">Ключевые слова: <@p.addLink keywords editable /> <@p.verboseDisplay keywords /></div>
<div class="keywords" style="list-style:none;">
<@p.dataPropertyList keywords editable />
</div> </div>
<div class="expandedKeywords" style="display:none;">
<div class="wrapperExpandedKeywords">
<#if keywords.statements?has_content && keywords.type == "data">
<@p.dataPropertyList keywords editable />
</#if> </#if>
</div>
</div>
</#if> </#if>
<#assign htmlExcerpt = propertyGroups.pullProperty("https://litvinovg.pro/text_structures#htmlExcerpt")!> <#assign htmlExcerpt = propertyGroups.pullProperty("https://litvinovg.pro/text_structures#htmlExcerpt")!>