[gen] Some CSS changes.
This commit is contained in:
parent
b83f6d512d
commit
0a174098f1
|
@ -106,7 +106,7 @@ class Pod(Field):
|
|||
<!-- Show the specific template name only if there is more than one
|
||||
template. For a single template, the field label already does
|
||||
the job. -->
|
||||
<td if="len(field.template) > 1"
|
||||
<td if="len(field.template) > 1" style="padding-left: 3px"
|
||||
class="smaller">:field.getTemplateName(obj, info.template)</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -246,11 +246,11 @@ class Pod(Field):
|
|||
else:
|
||||
isManager = obj.user.has_role('Manager')
|
||||
for template in self.template:
|
||||
formats = isManager and self.getAllFormats(template) or \
|
||||
self.showTemplate(obj, template)
|
||||
if formats:
|
||||
res.append(Object(template=template, formats=formats,
|
||||
freezeFormats=self.getFreezeFormats(obj, template)))
|
||||
formats = self.showTemplate(obj, template)
|
||||
if not formats: continue
|
||||
formats = isManager and self.getAllFormats(template) or formats
|
||||
res.append(Object(template=template, formats=formats,
|
||||
freezeFormats=self.getFreezeFormats(obj, template)))
|
||||
return res
|
||||
|
||||
def getValue(self, obj, template=None, format=None, result=None,
|
||||
|
|
|
@ -57,9 +57,9 @@ img { border: 0; vertical-align: middle }
|
|||
.top { height: 89px; margin-left: 3em; vertical-align: top;
|
||||
background-color: white }
|
||||
.lang { margin-right: 6px }
|
||||
.userStrip { background-color: #6282B3; border-top: 3px solid #034984;
|
||||
border-bottom: 2px solid #034984; width: 100%; height: 100% }
|
||||
.userStripText { padding: 0 0.3em 0 0.3em; color: white }
|
||||
.userStrip { background-color: #A3A3C8; border-top: 3px solid #cbcbcb;
|
||||
border-bottom: 2px solid #e4e4e4; width: 100%; height: 100% }
|
||||
.userStripText { padding: 0 0.3em 0 0.3em; color: whitesmoke }
|
||||
.userStrip a { color: #e7e7e7 }
|
||||
.userStrip a:visited { color: #e7e7e7 }
|
||||
.breadcrumb { font-size: 11pt; padding-bottom: 6px }
|
||||
|
@ -84,17 +84,17 @@ input.buttonSmall { width: 100px !important; font-size: 85%; height: 18px;
|
|||
.title { color: #BA9440 }
|
||||
.lostPassword { font-size: 90%; color: white; padding-left: 1em }
|
||||
.current { font-weight: bold }
|
||||
.portlet { width: 150px; border-right: 1px solid #5F7983;
|
||||
background-color: #ededed }
|
||||
.portletContent { margin: 4px 9px }
|
||||
.portlet { width: 150px; border-right: 3px solid #e4e4e4;
|
||||
background-color: #f3f3f3 }
|
||||
.portletContent { padding: 4px 9px }
|
||||
.portletTitle { font-size: 110%; margin-bottom: 4px }
|
||||
.portletSep { border-top: 1px solid #5F7983; margin-top: 2px }
|
||||
.portletSep { border-top: 3px solid #e4e4e4 }
|
||||
.portletGroup { font-variant: small-caps; font-weight: bold; font-size: 110%;
|
||||
margin: 0.1em 0 0.3em ; border-bottom: 1px dashed grey }
|
||||
margin: 0.1em 0 0.3em ; border-bottom: 1px dashed #c0c0c0 }
|
||||
.portletSearch { font-size: 90%; font-style: italic }
|
||||
.inputSearch { height: 15px; width: 132px; margin: 3px 3px 2px 3px !important }
|
||||
td.search { padding-top: 8px }
|
||||
.content { padding: 9px; background-color: #f1f1f1 }
|
||||
.content { padding: 9px; background-color: whitesmoke }
|
||||
.popup { display: none; position: absolute; top: 30%; left: 35%;
|
||||
width: 350px; z-index : 100; background: white; padding: 8px;
|
||||
border: 1px solid grey; box-shadow: 2px 2px 2px #888888}
|
||||
|
@ -127,6 +127,7 @@ td.search { padding-top: 8px }
|
|||
color: white }
|
||||
.even { background-color: #f9f9f9 }
|
||||
.odd { background-color: #f4f4f4 }
|
||||
.odd2 { background-color: #f2f2f2 }
|
||||
.summary { margin-bottom: 5px; background-color: #f9f9f9;
|
||||
border: 2px solid #f9f9f9 }
|
||||
.by { padding: 5px; color: grey; font-size: 97% }
|
||||
|
@ -144,7 +145,7 @@ td.search { padding-top: 8px }
|
|||
.currentPage { background-color: #e6e6e6 }
|
||||
.pageLink { margin-right: 8px }
|
||||
.footer { font-size: 95%; height: 100% }
|
||||
.footer td { background-color: #CBCBC9; border-top: 1px solid grey;
|
||||
.footer td { background-color: #CBCBC9; border-top: 3px solid #e4e4e4;
|
||||
padding: 0.4em 1em 0.5em }
|
||||
.code { font-family: "Lucida Console","Courier New" }
|
||||
.codePara { background-color: #EEFFCC; border-color: grey;
|
||||
|
|
|
@ -2,7 +2,7 @@ ul { margin: 0 0.6em 0.2em 0 }
|
|||
ul li { background-image: url("ui/lirtl.gif");
|
||||
background-position: right center;
|
||||
padding-right: 15px; padding-left: 0px}
|
||||
.portlet { border-right: none; border-left: 1px solid #5F7983 }
|
||||
.portlet { border-right: none; border-left: 3px solid #e4e4e4 }
|
||||
.lang { margin-right: 0px; margin-left: 6px; }
|
||||
.cellGap { padding-left: 0.4em; padding-right: 0;}
|
||||
.pageLink { margin-right: 0px; margin-left: 8px }
|
||||
|
|
|
@ -212,7 +212,7 @@ class ToolWrapper(AbstractWrapper):
|
|||
(currentPage == 'search')"
|
||||
class=":highlighted and 'portletSearch current' or \
|
||||
'portletSearch'"
|
||||
align=":dright">
|
||||
align=":dright" style="margin-bottom: 4px">
|
||||
<a var="text=_('search_title')" style="font-size: 88%"
|
||||
href=":'%s/search?className=%s' % (toolUrl, className)"
|
||||
title=":text"><x>:text</x>...</a>
|
||||
|
|
Loading…
Reference in a new issue