Added list style for literature lists.

This commit is contained in:
Svetlana Rastegina 2021-02-17 22:43:33 +01:00 committed by Georgy Litvinov
parent a093574bb8
commit 03dc422757
2 changed files with 5 additions and 4 deletions

View file

@ -171,11 +171,11 @@ ${scripts.add('<script async type="text/javascript" src="${urls.base}/themes/iph
<div class="htmlExcerpt" style="list-style:none; display:none;"> <div class="htmlExcerpt" style="list-style:none; display:none;">
${excerptText} ${excerptText}
<#if works?? && works?has_content && worksCounter?number &gt; 0 > <#if works?? && works?has_content && worksCounter?number &gt; 0 >
<button type="button" class="collapsible" style="background-color:white;border:none;padding: 18px;width: 100%;text-align:left;">Работы</button> <button type="button" class="collapsible" style="background-color:white;border:none;padding: 18px;width: 100%;text-align:left; background-image: url(${urls.base}/themes/iph/images/book_icon.png); background-repeat: no-repeat; background-position: left center;">Работы</button>
<div class="works" style="display:none;"> <div class="works" style="display:none;">
<#list works as work> <#list works as work>
<#if work.elenphExcerpt == order.elenphExcerpt > <#if work.elenphExcerpt == order.elenphExcerpt >
<div class="work" style="list-style:none;"> <div class="work" style="display:list-item;list-style-image:url(${urls.base}/themes/iph/images/bullet_icon.png); font-style: italic; font-family: PT Serif;">
<p> ${work.works} </p> <p> ${work.works} </p>
</div> </div>
</#if> </#if>
@ -184,11 +184,11 @@ ${scripts.add('<script async type="text/javascript" src="${urls.base}/themes/iph
</#if> </#if>
<#if bibliography?? && bibliography?has_content && bibliographyCounter?number &gt; 0> <#if bibliography?? && bibliography?has_content && bibliographyCounter?number &gt; 0>
<button type="button" class="collapsible" style="background-color:white;border:none;padding: 18px;width: 100%; text-align: left;">Литература</button> <button type="button" class="collapsible" style="background-color:white;border:none;padding: 18px;width: 100%; text-align: left; background-image: url(${urls.base}/themes/iph/images/book_icon.png); background-repeat: no-repeat; background-position: left center;">Литература</button>
<div class="bibliography" style="display:none;"> <div class="bibliography" style="display:none;">
<#list bibliography as one_bibliography> <#list bibliography as one_bibliography>
<#if one_bibliography.elenphExcerpt == order.elenphExcerpt > <#if one_bibliography.elenphExcerpt == order.elenphExcerpt >
<div class="bibliography_entry" style="list-style:none;"> <div class="bibliography_entry" style="display:list-item;list-style-image:url(${urls.base}/themes/iph/images/bullet_icon.png); font-style: italic; font-family: PT Serif;">
<p> ${one_bibliography.bibliography} </p> <p> ${one_bibliography.bibliography} </p>
</div> </div>
</#if> </#if>

View file

@ -1735,6 +1735,7 @@ ul#browse-classes {
outline-color: #efe9d9; outline-color: #efe9d9;
outline-style: solid; outline-style: solid;
outline-width: 1px; outline-width: 1px;
height: 78px;
} }
ul#browse-classes li, ul#browse-classes li,
ul#vgraph-classes li { ul#vgraph-classes li {