CSS cleanup; fixes #191

This commit is contained in:
following
2013-08-10 14:26:35 +02:00
parent e50ae0e4a0
commit e1ac91ea67
15 changed files with 432 additions and 787 deletions

View File

@@ -235,6 +235,7 @@ Other resources
Path : htdocs/resource2/ocstyle/css/
URI : http://www.openwebdesign.org/design/2876/MultiFlex21/
License : Public Domain
Author : G. Wolfgang
Data content

View File

@@ -214,13 +214,6 @@
*/
$opt['page']['max_logins_per_hour'] = 25;
/* Sponsoring advertisements
* (plain HTML)
*/
// example: $opt['page']['sponsor']['topright'] = '<div class="site-slogan" style="background-image: url(resource2/ocstyle/images/darkbluetransparent.png);"><div style="width: 100%; text-align: left;"><p class="search"><a href="http://www.wanderjugend.de" target="_blank"><img border="0" align="right" style="margin-left: 10px;" src="resource2/ocstyle/images/dwj.gif" width="40px" height="20px" alt="... die outdoororientierte Jugendorganisation des Deutschen Wanderverbandes" /></a> Unterst&uuml;tzt und gef&ouml;rdert durch<br />die Deutsche Wanderjugend</p> </div></div>';
$opt['page']['sponsor']['topright'] = '';
// sponsor link on e.g. print preview and garmin-plugin
$opt['page']['sponsor']['popup'] = '';
$opt['page']['sponsor']['bottom'] = 'Driven by the Opencaching Community';

View File

@@ -270,14 +270,14 @@
<div style="margin-top: 10px; margin-bottom: 14px; margin-left: auto; margin-right: auto; text-align: center">
<table style="margin-left: auto; margin-right: auto;">
<tr>
<td class="smalltext2">{t}Follow us:{/t}</td>
<td class="mediumsmalltext">{t}Follow us:{/t}</td>
<td><a href="http://blog.opencaching.de/feed"><img src="resource2/{style}/images/media/16x16-feed.png" width="16" height="16" /></a></td>
<td><a href="https://twitter.com/opencaching"><img src="resource2/{style}/images/media/16x16-twitter.png" width="16" height="16" /></a></td>
<td><a href="https://plus.google.com/104950249357104618315"><img src="resource2/{style}/images/media/16x16-google+.png" width="16" height="16" /></a></td>
<td><a href="https://www.facebook.com/opencaching.de"><img src="resource2/{style}/images/media/16x16-facebook.png" width="16" height="16" /></a></td>
</tr>
<tr>
<td class="smalltext2" colspan="5" style="padding-top:0.6em; text-align:left">{t}Join discussions:{/t}</td>
<td class="mediumsmalltext" colspan="5" style="padding-top:0.6em; text-align:left">{t}Join discussions:{/t}</td>
</tr>
</table>
<table style="margin-left: auto; margin-right: auto;">

View File

@@ -54,7 +54,7 @@
<td rowspan="1" style="vertical-align:top; width:300px">{pages}</td>
<td style="text-align:right;">{t}Download{/t}:&nbsp;</td>
<td><nobr>
<select name="wpdownload-page" class="wpdownload" onChange="location.href=this.options[this.selectedIndex].value">
<select name="wpdownload-page" class="exportlist" onChange="location.href=this.options[this.selectedIndex].value">
<option value="#">{t}Results on this page{/t}</option>
<option value="search1.php?queryid={queryid}&output=gpx&startat={startat}">GPX</option>
<option value="search1.php?queryid={queryid}&output=loc&startat={startat}">LOC</option>
@@ -63,7 +63,7 @@
<option value="search1.php?queryid={queryid}&output=ovl&startat={startat}">OVL</option>
<option value="search1.php?queryid={queryid}&output=txt&startat={startat}">TXT</option>
</select>
<select name="wpdownload-all" class="wpdownload" onChange="location.href=this.options[this.selectedIndex].value">
<select name="wpdownload-all" class="exportlist" onChange="location.href=this.options[this.selectedIndex].value">
<option value="#">{t}Result {startatp1} to {endat} (as zip){/t}</option>
<option value="search1.php?queryid={queryid}&output=gpx&startat={startat}&count=max&zip=1">GPX</option>
<option value="search1.php?queryid={queryid}&output=loc&startat={startat}&count=max&zip=1">LOC</option>

View File

@@ -161,8 +161,6 @@
/* Sponsoring advertisements
* (plain HTML)
*/
//$opt['page']['sponsor']['topright'] = '<div class="site-slogan" style="background-image: url(resource2/ocstyle/images/darkbluetransparent.png);"><div style="width: 100%; text-align: left;"><p class="search"><a href="http://www.wanderjugend.de" target="_blank"><img border="0" align="right" style="margin-left: 10px;" src="resource2/ocstyle/images/dwj.gif" width="40px" height="20px" alt="... die outdoororientierte Jugendorganisation des Deutschen Wanderverbandes" /></a> Unterst&uuml;tzt und gef&ouml;rdert durch<br />die Deutsche Wanderjugend</p> </div></div>';
//$opt['page']['sponsor']['bottom'] = 'Hosting by <a target="_blank" href="http://www.schwarzwald.de">www.schwarzwald.de</a>';
$opt['page']['sponsor']['topright'] = '';
$opt['page']['sponsor']['bottom'] = '';

View File

@@ -167,9 +167,6 @@
* (plain HTML)
*/
// example: $opt['page']['sponsor']['topright'] = '<div class="site-slogan" style="background-image: url(resource2/ocstyle/images/darkbluetransparent.png);"><div style="width: 100%; text-align: left;"><p class="search"><a href="http://www.wanderjugend.de" target="_blank"><img border="0" align="right" style="margin-left: 10px;" src="resource2/ocstyle/images/dwj.gif" width="40px" height="20px" alt="... die outdoororientierte Jugendorganisation des Deutschen Wanderverbandes" /></a> Unterst&uuml;tzt und gef&ouml;rdert durch<br />die Deutsche Wanderjugend</p> </div></div>';
$opt['page']['sponsor']['topright'] = '<div class="site-slogan" style="border-width:0px;"><div style="width: 100%; text-align: left;"><p class="search">&nbsp;<br />&nbsp;</p></div></div>';
$opt['page']['sponsor']['bottom'] = 'Driven by the Opencaching Community';
/* multi-domain settings

View File

@@ -1,12 +1,13 @@
/*************************************************************/
/* Style sheet for printing */
/* */
/* Sets text colors from dark grey to black, which will */
/* produce nicer output on many printers. */
/*************************************************************/
@import "style_screen.css";
/* Set text colors from dark grey to black.
* This will produce nicer output on many printers. */
.nav3 { color: black !important; }
.nav3 li.group1 a { color: black !important; }
.nav3 li.group2 a { color: black !important; }

File diff suppressed because it is too large Load Diff

View File

@@ -11,7 +11,7 @@
{include file="res_logpictures.tpl" logdate=true loguser=true}
<p class="smalltext2"><img src="resource2/{$opt.template.style}/images/misc/hint.gif" border="0" width="15" height="11" alt="" align="middle" />{t}Dates show the date of picture upload, wich can differ from the log date.{/t} {t}Maximum one picture per day and user is displayed here. The small gallery on the start page is additionally limited to one picture per cache and day.{/t}</p>
<p class="mediumsmalltext"><img src="resource2/{$opt.template.style}/images/misc/hint.gif" border="0" width="15" height="11" alt="" align="middle" />{t}Dates show the date of picture upload, wich can differ from the log date.{/t} {t}Maximum one picture per day and user is displayed here. The small gallery on the start page is additionally limited to one picture per cache and day.{/t}</p>
<p class="smalltext2">{t}All pictures are copyrighted and subject to the <a href="articles.php?page=impressum#datalicense">Opencaching.de data license</a>.{/t}</p>
<p class="mediumsmalltext">{t}All pictures are copyrighted and subject to the <a href="articles.php?page=impressum#datalicense">Opencaching.de data license</a>.{/t}</p>
<p>&nbsp;</p>

View File

@@ -10,7 +10,7 @@
</div>
<div class="content-txtbox-noshade" style="padding-right: 25px;">
<p>
<p class="article">
{t}<b>OConly-81</b> is a new challenge about finding OConly caches under varying conditions, i.e. with different difficulty and terrain ratings. To participate, you can enable the OConly-81 statistics in your <a href="mydetails.php">user profile settings</a>.{/t}<br />
</p>

View File

@@ -46,7 +46,7 @@
<td rowspan="1" style="width:300px; padding:0; margin:0">{include file="res_pager.tpl"}</td>
<td style="text-align:right; padding:0; margin:0">{t}Download{/t}:&nbsp;</td>
<td><nobr>
<select name="wpdownload-page" class="wpdownload" onChange="location.href=this.options[this.selectedIndex].value">
<select class="exportlist" onChange="location.href=this.options[this.selectedIndex].value">
<option value="#">{t}Results on this page{/t}</option>
<option value="search.php?queryid={$queryid}&output=gpx&startat={$startat}">GPX</option>
<option value="search.php?queryid={$queryid}&output=loc&startat={$startat}">LOC</option>
@@ -55,7 +55,7 @@
<option value="search.php?queryid={$queryid}&output=ovl&startat={$startat}">OVL</option>
<option value="search.php?queryid={$queryid}&output=txt&startat={$startat}">TXT</option>
</select>
<select name="wpdownload-all" class="wpdownload" onChange="location.href=this.options[this.selectedIndex].value">
<select class="exportlist" onChange="location.href=this.options[this.selectedIndex].value">
<option value="#">{t 1=$startatp1 2=$endat}Result %1 to %2 (as zip){/t}</option>
<option value="search.php?queryid={$queryid}&output=gpx&startat={$startat}&count=max&zip=1">GPX</option>
<option value="search.php?queryid={$queryid}&output=loc&startat={$startat}&count=max&zip=1">LOC</option>

View File

@@ -24,7 +24,7 @@
// search.php -> selectlocid.tpl
$locline = '<tr><td width="50px"><p>{nr}.&nbsp;</p></td><td><p><b><a href="search.php?{urlparams}">{locationname}</a>{secondlocationname}</b></p></td></tr>
<tr><td width="50px">&nbsp;</td><td><p style="margin-bottom:4px">{coords}</p></td></tr>
<tr><td width="50px">&nbsp;</td><td style="padding-bottom:8px; vertical-align:top"><span style="color:#001BBC">{parentlocations}</span></td></tr>';
<tr><td width="50px">&nbsp;</td><td style="padding-bottom:8px; vertical-align:top"><span class="content-subtitle">{parentlocations}</span></td></tr>';
$secondlocationname = '&nbsp;<font size="1">({secondlocationname})</font>';
$no_location_coords = _('no coordinates available');

View File

@@ -254,14 +254,14 @@
<div style="margin-top: 10px; margin-bottom: 14px; margin-left: auto; margin-right: auto; text-align: center">
<table style="margin-left: auto; margin-right: auto;">
<tr>
<td class="smalltext2">{t}Follow us:{/t}</td>
<td class="mediumsmalltext">{t}Follow us:{/t}</td>
<td><a href="http://blog.opencaching.de/feed"><img src="resource2/{$opt.template.style}/images/media/16x16-feed.png" width="16" height="16" /></a></td>
<td><a href="https://twitter.com/opencaching"><img src="resource2/{$opt.template.style}/images/media/16x16-twitter.png" width="16" height="16" /></a></td>
<td><a href="https://plus.google.com/104950249357104618315"><img src="resource2/{$opt.template.style}/images/media/16x16-google+.png" width="16" height="16" /></a></td>
<td><a href="https://www.facebook.com/opencaching.de"><img src="resource2/{$opt.template.style}/images/media/16x16-facebook.png" width="16" height="16" /></a></td>
</tr>
<tr>
<td class="smalltext2" colspan="5" style="padding-top:0.6em; text-align:left">{t}Join discussions:{/t}</td>
<td class="mediumsmalltext" colspan="5" style="padding-top:0.6em; text-align:left">{t}Join discussions:{/t}</td>
</tr>
</table>
<table style="margin-left: auto; margin-right: auto;">

View File

@@ -8,7 +8,7 @@
{foreach name=submenu from=$items item=menuitem}
{if $menuitem.href == ''}
{* separator headline *}
<li class="bgcolor1" style="line-height:1em">&nbsp;</li>
<li style="background-color:white; line-height:1em">&nbsp;</li>
<li class="title">{$menuitem.menustring|escape}</li>
{else}
{* selectable menu option *}

View File

@@ -254,7 +254,7 @@
<tr>
<td colspan="2"><p>
<img src="resource2/{$opt.template.style}/images/viewcache/print-18.png" class="icon16" alt="" />
<select class="wpdownload" onchange="location.href=this.options[this.selectedIndex].value+'&nocrypt='+bNoCrypt" class="formselect">
<select class="exportlist" onchange="location.href=this.options[this.selectedIndex].value+'&nocrypt='+bNoCrypt">
<option value="#">{t}Print{/t} …</option>
<option value="viewcache.php?cacheid={$cache.cacheid}&print=y&log=N">{t}without logs{/t}</option>
<option value="viewcache.php?cacheid={$cache.cacheid}&print=y&log=5">{t}with 5 logs{/t}</option>
@@ -262,7 +262,7 @@
<option value="viewcache.php?cacheid={$cache.cacheid}&print=y&log=A">{t}with all logs{/t}</option>
</select>&nbsp;
<img src="resource2/{$opt.template.style}/images/viewcache/16x16-save.png" class="icon16" alt="" />
<select name="wpdownload" class="wpdownload" onchange="location.href=this.options[this.selectedIndex].value">
<select class="exportlist" onchange="location.href=this.options[this.selectedIndex].value">
<option value="#">{t}Download as...{/t}</option>
<option value="search.php?searchto=searchbycacheid&showresult=1&f_inactive=0&f_ignored=0&startat=0&cacheid={$cache.cacheid}&output=gpx">GPX</option>
<option value="search.php?searchto=searchbycacheid&showresult=1&f_inactive=0&f_ignored=0&startat=0&cacheid={$cache.cacheid}&output=loc">LOC</option>
@@ -272,7 +272,7 @@
<option value="search.php?searchto=searchbycacheid&showresult=1&f_inactive=0&f_ignored=0&startat=0&cacheid={$cache.cacheid}&output=txt">TXT</option>
</select>&nbsp;
<img src="resource2/{$opt.template.style}/images/viewcache/14x19-gps-device.png" class="icon16" alt="" />
<a class="send-to-gps" href="#" onclick="window.open('garmin.php?lat={$cache.latitude}&lon={$cache.longitude}&wp={$cache.wpoc}','{t escape=js}Send{/t}','width=640,height=320,resizable=no,scrollbars=1')"><input name="SendToGPS" value="{t}Send to GPS device{/t}" id="SendToGPS" type="button" /></a>
<a href="#" onclick="window.open('garmin.php?lat={$cache.latitude}&lon={$cache.longitude}&wp={$cache.wpoc}','{t escape=js}Send{/t}','width=640,height=320,resizable=no,scrollbars=1')"><input class="exportbutton" value="{t}Send to GPS device{/t}" type="button" /></a>
</p></td>
</tr>
</table>