Reworked parts of calendar block
Fixed missing CSS for li-tags of calendar
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
<dt style="width: 100%; padding-left: 0px; padding-bottom: 5px;">
|
||||
<!-- IF cur_events.EVENT_URL --><a href="{cur_events.EVENT_URL}" title="{cur_events.EVENT_TITLE}"><!-- ENDIF -->
|
||||
<span style="font-weight: bold;">{cur_events.EVENT_TITLE}:</span><br />
|
||||
<!-- IF not cur_events.ALL_DAY and not cur_events.END_TIME -->{L_EVENT_TIME}: {cur_events.START_TIME}<br />
|
||||
<!-- IF cur_events.ALL_DAY -->{L_EVENT_START}: {cur_events.START_TIME}<br />{L_EVENT_ALL_DAY}<br />
|
||||
<!-- ELSEIF not cur_events.ALL_DAY and cur_events.END_TIME -->{L_EVENT_START}: {cur_events.START_TIME}<br />{L_EVENT_END}: {cur_events.END_TIME}<br />
|
||||
<!-- ELSE -->{L_EVENT_ALL_DAY}<br />
|
||||
<!-- ENDIF -->
|
||||
@@ -48,7 +48,7 @@
|
||||
</dl>
|
||||
</li>
|
||||
<!-- BEGINELSE -->
|
||||
<li><span style="float:left;" class="gensmall"><strong>{L_NO_CUR_EVENTS}</strong></span><br /></li>
|
||||
<li class="calendar-info"><span style="float:left;" class="gensmall"><strong>{L_NO_CUR_EVENTS}</strong></span><br /></li>
|
||||
<!-- END cur_events -->
|
||||
</ul>
|
||||
<hr style="margin: 10px 0; border-top: 0;" />
|
||||
@@ -70,7 +70,7 @@
|
||||
</dl>
|
||||
</li>
|
||||
<!-- BEGINELSE -->
|
||||
<li><span style="float:left;" class="gensmall"><strong>{L_NO_UPCOMING_EVENTS}</strong></span><br /></li>
|
||||
<li class="calendar-info"><span style="float:left;" class="gensmall"><strong>{L_NO_UPCOMING_EVENTS}</strong></span><br /></li>
|
||||
<!-- END upcoming_events -->
|
||||
</ul>
|
||||
<!-- ENDIF -->
|
||||
|
||||
@@ -20,33 +20,37 @@ span.portal-corners-top-inner, span.portal-corners-bottom-inner{
|
||||
/* main menu, user menu and the links */
|
||||
|
||||
.portal-navigation{
|
||||
width: auto;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.portal-navigation ul{
|
||||
list-style-type: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
margin-bottom: 8px; /*bottom spacing between each UL and rest of content*/
|
||||
list-style-type: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
margin-bottom: 8px; /*bottom spacing between each UL and rest of content*/
|
||||
}
|
||||
|
||||
.portal-navigation ul li{
|
||||
padding-bottom: 2px; /*bottom spacing between menu items*/
|
||||
padding-bottom: 2px; /*bottom spacing between menu items*/
|
||||
}
|
||||
|
||||
.portal-navigation ul li a{
|
||||
background-image: url("{T_THEME_PATH}/images/portal/arrowbullet.gif");
|
||||
background-repeat: no-repeat;
|
||||
background-position: center left; /*custom bullet list image*/
|
||||
display: block;
|
||||
padding: 2px 0;
|
||||
padding-left: 19px; /*link text is indented 19px*/
|
||||
font-weight: bold;
|
||||
font-size: 90%;
|
||||
background-image: url("{T_THEME_PATH}/images/portal/arrowbullet.gif");
|
||||
background-repeat: no-repeat;
|
||||
background-position: center left; /*custom bullet list image*/
|
||||
display: block;
|
||||
padding: 2px 0;
|
||||
padding-left: 19px; /*link text is indented 19px*/
|
||||
font-weight: bold;
|
||||
font-size: 90%;
|
||||
}
|
||||
|
||||
.portal-navigation div.menutitle{
|
||||
padding: 1px 0;
|
||||
font: bold 90% 'Trebuchet MS', 'Lucida Grande', Arial, sans-serif;
|
||||
font-size: 12px;
|
||||
padding: 1px 0;
|
||||
font: bold 90% 'Trebuchet MS', 'Lucida Grande', Arial, sans-serif;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.calendar-info {
|
||||
list-style-type: none;
|
||||
}
|
||||
Reference in New Issue
Block a user