Yet a better view display (cleaner and more solid)
This commit is contained in:
parent
0023fa0472
commit
5211383de2
|
@ -23,6 +23,20 @@
|
||||||
|
|
||||||
<div id="dmskeywords-navigation-middle">
|
<div id="dmskeywords-navigation-middle">
|
||||||
|
|
||||||
|
<h1 class="documentFirstHeading" tal:content="context/Title" />
|
||||||
|
<!-- p class="documentDescription" tal:content="context/Description" /-->
|
||||||
|
<div tal:replace="structure provider:plone.belowcontenttitle" />
|
||||||
|
|
||||||
|
<tal:equivs define="widget python:view.widgets.get('equivs')">
|
||||||
|
<div id="dmskeywords-navigation-equivs"
|
||||||
|
class="field"
|
||||||
|
tal:condition="python:widget.__name__ not in ('IBasic.title', 'IBasic.description', 'title', 'description',)">
|
||||||
|
<label tal:content="widget/label" />
|
||||||
|
<br />
|
||||||
|
<div tal:content="structure widget/render" />
|
||||||
|
</div>
|
||||||
|
</tal:equivs>
|
||||||
|
|
||||||
<tal:related define="widget python:view.widgets.get('related')">
|
<tal:related define="widget python:view.widgets.get('related')">
|
||||||
<div id="dmskeywords-navigation-related"
|
<div id="dmskeywords-navigation-related"
|
||||||
class="field"
|
class="field"
|
||||||
|
@ -33,21 +47,6 @@
|
||||||
</div>
|
</div>
|
||||||
</tal:related>
|
</tal:related>
|
||||||
|
|
||||||
<div id="dmskeywords-navigation-focus">
|
|
||||||
<h1 class="documentFirstHeading" tal:content="context/Title" />
|
|
||||||
<!-- p class="documentDescription" tal:content="context/Description" /-->
|
|
||||||
<div tal:replace="structure provider:plone.belowcontenttitle" />
|
|
||||||
|
|
||||||
<tal:equivs define="widget python:view.widgets.get('equivs')">
|
|
||||||
<div class="field"
|
|
||||||
tal:condition="python:widget.__name__ not in ('IBasic.title', 'IBasic.description', 'title', 'description',)">
|
|
||||||
<label tal:content="widget/label" />
|
|
||||||
<br />
|
|
||||||
<div tal:content="structure widget/render" />
|
|
||||||
</div>
|
|
||||||
</tal:equivs>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="field" id="dmskeywords-navigation-narrower">
|
<div class="field" id="dmskeywords-navigation-narrower">
|
||||||
|
|
|
@ -1,24 +1,31 @@
|
||||||
#dmskeywords-navigation {
|
/* @override http://localhost:9080/Plone/portal_css/Sunburst%20Theme/++resource++thesaurus_navigation.css */
|
||||||
margin-top: 1em;
|
|
||||||
|
#dmskeywords-navigation-middle {
|
||||||
|
margin: 0;
|
||||||
|
padding: 1em 0;
|
||||||
|
border-top: 1px solid black;
|
||||||
|
border-bottom: 1px solid black;
|
||||||
|
}
|
||||||
|
#dmskeywords-navigation-broader,
|
||||||
|
#dmskeywords-navigation-narrower,
|
||||||
|
#dmskeywords-navigation-equivs,
|
||||||
|
#dmskeywords-navigation-related {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
padding-top: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#dmskeywords-navigation-broader {
|
#dmskeywords-navigation-broader {
|
||||||
border-bottom: 1px solid black;
|
padding-bottom: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
#dmskeywords-navigation-narrower {
|
#dmskeywords-navigation-narrower {
|
||||||
border-top: 1px solid black;
|
padding-top: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
#dmskeywords-navigation-focus {
|
|
||||||
padding: 0, 1em, 0, 1em;
|
|
||||||
display: inline;
|
|
||||||
}
|
|
||||||
|
|
||||||
#dmskeywords-navigation-related {
|
|
||||||
float: right;
|
|
||||||
display: inline;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Reference in New Issue