Merge pull request #370 from marc1706/ticket/365

[ticket/365] Remove more inline CSS from prosilver files
This commit is contained in:
Marc Alexander
2014-09-09 20:58:29 +02:00
9 changed files with 34 additions and 13 deletions

View File

@@ -1,8 +1,8 @@
{$C_BLOCK_H_L}{$TITLE}{$C_BLOCK_H_R}
<div class="panel bg1" style="margin-bottom: 0px">
<div class="panel bg1 portal-no-margin">
<div class="inner">
<div class="postbody" style="width: 100%">
<div class="content" style="min-height: 1em;">{$CUSTOM_CODE}</div>
<div class="postbody portal-module-postbody">
<div class="content portal-module-content">{$CUSTOM_CODE}</div>
</div>
</div>
</div>

View File

@@ -1,7 +1,7 @@
{$LR_BLOCK_H_L}<!-- IF $S_BLOCK_ICON --><img src="{$IMAGE_SRC}" width="{$IMAGE_WIDTH}" height="{$IMAGE_HEIGHT}" alt="" />&nbsp;<!-- ENDIF -->{$TITLE}{$LR_BLOCK_H_R}
<div class="inner">
<div class="postbody" style="width: 100%">
<div class="content" style="min-height: 1em;">{$CUSTOM_CODE}</div>
<div class="postbody portal-module-postbody">
<div class="content portal-module-content">{$CUSTOM_CODE}</div>
</div>
</div>
{$LR_BLOCK_F_L}{$LR_BLOCK_F_R}

View File

@@ -4,7 +4,7 @@
<!-- BEGIN portallinks -->
<!-- IF $MODULE_ID eq portallinks.MODULE_ID --><li><a href="{portallinks.LINK_URL}" title="{portallinks.LINK_TITLE}" <!-- IF portallinks.NEW_WINDOW -->onclick="window.open('{portallinks.LINK_URL}'); return false;"<!-- ENDIF -->>{portallinks.LINK_TITLE}</a></li><!-- ENDIF -->
<!-- BEGINELSE -->
<span style="float:left;" class="gensmall"><strong>{L_LINKS_NO_LINKS}</strong></span><br />
<span class="portal-title-span gensmall"><strong>{L_LINKS_NO_LINKS}</strong></span><br />
<!-- END portallinks -->
</ul>
</div>

View File

@@ -12,7 +12,7 @@
<!-- ENDIF -->
<!-- BEGINELSE -->
<ul>
<span style="float:left;" class="gensmall"><strong>{L_MENU_NO_LINKS}</strong></span><br />
<span class="portal-title-span gensmall"><strong>{L_MENU_NO_LINKS}</strong></span><br />
</ul>
<!-- END portalmenu -->
</div>

View File

@@ -1,6 +1,6 @@
<!-- IF S_STYLE_OPTIONS -->
{$LR_BLOCK_H_L}<!-- IF $S_BLOCK_ICON --><img src="{$IMAGE_SRC}" width="{$IMAGE_WIDTH}" height="{$IMAGE_HEIGHT}" alt="" />&nbsp;<!-- ENDIF -->{$TITLE}{$LR_BLOCK_H_R}
<select style="width: 150px;" name="demo" id="demo" onchange="document.location.href = this.options[this.selectedIndex].value;">
<select class="portal-stylechanger-select" name="demo" id="demo" onchange="document.location.href = this.options[this.selectedIndex].value;">
{STYLE_SELECT}
</select>
<br />

View File

@@ -1,8 +1,8 @@
{$C_BLOCK_H_L}{$TITLE}{$C_BLOCK_H_R}
<div class="panel bg1 portal-no-margin">
<div class="inner">
<div class="postbody" style="width: 100%">
<div class="content" style="min-height: 1em;">{PORTAL_WELCOME_MSG}</div>
<div class="postbody portal-module-postbody">
<div class="content portal-module-content">{PORTAL_WELCOME_MSG}</div>
</div>
</div>
</div>

View File

@@ -1,8 +1,8 @@
{$C_BLOCK_H_L}<!-- IF U_VIEWONLINE --><a href="{U_VIEWONLINE}">{$TITLE}</a><!-- ELSE -->{$TITLE}<!-- ENDIF -->{$C_BLOCK_H_R}
<ul class="topiclist bg1">
<li><dl><dt></dt>
<dd class="portal-responsive-show" style="border-left:0px">
<p style="margin: 0 5px 0 5px;">{TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})<br />{RECORD_USERS}<br /> <br />{LOGGED_IN_USER_LIST}
<dd class="portal-whois-online-content portal-responsive-show">
<p>{TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})<br />{RECORD_USERS}<br /> <br />{LOGGED_IN_USER_LIST}
<!-- IF PORTAL_LEGEND --><br /><em>{L_LEGEND}{L_COLON} {PORTAL_LEGEND}</em><!-- ENDIF --></p>
</dd>
</dl></li>

View File

@@ -1,3 +1,5 @@
{$LR_BLOCK_H_L}<!-- IF $S_BLOCK_ICON --><img src="{$IMAGE_SRC}" width="{$IMAGE_WIDTH}" height="{$IMAGE_HEIGHT}" alt="" />&nbsp;<!-- ENDIF --><!-- IF U_VIEWONLINE --><a href="{U_VIEWONLINE}">{$TITLE}</a><!-- ELSE -->{$TITLE}<!-- ENDIF -->{$LR_BLOCK_H_R}
<p style="font-size: 90%; margin: 0 5px 0 5px;">{TOTAL_USERS_ONLINE}<br /> <br />{LOGGED_IN_USER_LIST}</p>
<div class="portal-whois-online-content">
<p>{TOTAL_USERS_ONLINE}<br /> <br />{LOGGED_IN_USER_LIST}</p>
</div>
{$LR_BLOCK_F_L}{$LR_BLOCK_F_R}

View File

@@ -118,6 +118,25 @@
padding-left: 10px;
}
.portal-module-postbody {
width: 100%;
}
.portal-module-content {
min-height: 1em;
}
.portal-stylechanger-select {
width: 150px;
}
.portal-whois-online-content {
border-left: 0 !important;
}
.portal-whois-online-content p {
margin: 0 5px 0 5px;
}
.portal-paypal-icon {
background-image: url("./images/portal/paypal.gif");
background-repeat: no-repeat;