improved title bars layout

and fixed flag icon formating in user stats
This commit is contained in:
following
2013-08-04 14:39:16 +02:00
parent 9b844ed546
commit 4ba33b9156
9 changed files with 17 additions and 13 deletions

View File

@ -187,7 +187,7 @@ div#bg2 {display: none;}
/*----------------------------*/
/* 2.5 - Navigation - Level 3 */
/*----------------------------*/
.nav3 {overflow: hidden; clear: both; float: left; width: 160px; min-height: 500px; margin: 0px; padding: 0px; color: rgb(75,75,75); font-size: 1.0em;}
.nav3 {overflow: hidden; clear: both; float: left; width: 160px; min-height: 500px; margin: 0px; padding: 0px; color: rgb(75,75,75); font-size: 1.0em; }
.nav3 ul {width: 160px; margin: 0px 0px 20px 0px; padding: 0px; border-bottom: solid 1px rgb(216,206,159); background-color: rgb(219,230,241);}
.nav3 li {list-style: none; margin: 0px; padding: 0px;}
.nav3 li.title {margin: 0px 0px 0px 0px; padding: 3px 5px 2px 15px; background-color: rgb(156,186,214); color: rgb(255,255,255); text-transform: uppercase; font-weight: bold; font-size: 120%;}
@ -343,12 +343,10 @@ ol.col4 { column-count:4; -moz-column-count:4; -webkit-column-count:4; line-heig
.narrowtable-caption {margin: 0.5em 0px 1.0em 30px; padding: 0px; clear: both; text-align: left; font-size: 120%;}
.stattable { font-size:10px; line-height:1.4em; padding:0; background-color: white; }
.stattable th { background-color: #deebcd; color: #404040; border:0; min-width: 1.8em; line-height:1.4em; }
.stattable th { background-color: #deebcd; color: #404040; border:0; width: 3.2em; line-height:1.4em; padding:0}
.stattable th.h1 { background-color: #fff; }
span.percent { font-size: 11px; }
td.listicon {
width:1%;
margin-right:0 !important;
@ -543,7 +541,13 @@ a.nooutline:focus { outline: 0; }
.bg-yellow10 {background-color: rgb(247,224,23);}
.bg-blue01 {background-color: rgb(238,237,249);}
.bg-blue02 {background-color: rgb(219,230,241); padding: 2px;}
.bg-blue02 {background-color: rgb(219,230,241);
padding:2px 0px 2px 4px;
border-radius: 5px; -webkit-border-radius: 5px; -moz-border-radius: 5px;
box-shadow: 1px 1px 2px #676767;
-moz-box-shadow: 1px 1px 2px #676767;
-webkit-box-shadow: 1px 1px 2px #676767;
}
.bg-blue03 {background-color: rgb(205,202,236);}
.bg-blue04 {background-color: rgb(189,185,229);}
.bg-blue05 {background-color: rgb(172,167,223);}

Binary file not shown.

After

Width:  |  Height:  |  Size: 529 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@ -120,7 +120,7 @@ function myHomeLoad()
{* Geocaches hidden *}
<div class="content2-container bg-blue02" id="mycaches" style="margin-top:5px;">
<p class="content-title-noshade-size3">
<img src="resource2/{$opt.template.style}/images/misc/22x22-traditional.gif" width="22" height="22" style="margin-right: 10px;" />&nbsp;
<img src="resource2/{$opt.template.style}/images/cacheicon/22x20-traditional.png" width="22" height="20" style="margin-right: 10px;" />&nbsp;
{t 1=$hidden}Geocaches hidden: %1{/t} &nbsp;
{* Ocprop: (find|us|own)erid=([0-9]+) *}
<span class="content-title-link">[<a href="search.php?showresult=1&amp;expert=0&amp;output=HTML&amp;sort=byname&amp;ownerid={$login.userid}&amp;searchbyowner=&amp;f_inactive=0&calledbysearch=0">{t}Show details{/t}</a>]&nbsp; [<a href="search.php?showresult=1&amp;expert=0&amp;output=HTML&amp;sort=byname&amp;ownerid={$login.userid}&amp;searchbyowner=&amp;f_inactive=1&calledbysearch=0">... {t}only active caches{/t}</a>]</span>

View File

@ -18,7 +18,7 @@
<div class="content2-container bg-blue02">
<p class="content-title-noshade-size2">
<img src="resource2/{$opt.template.style}/images/profile/32x32-profile.png" style="align: left; margin-right: 10px;" width="32" height="32" />
<img src="resource2/{$opt.template.style}/images/profile/32x22-profile.png" style="align: left; margin-right: 10px;" width="32" height="22" />
{t}Participants{/t}
</p>
</div>
@ -37,7 +37,7 @@
<div class="content2-container bg-blue02">
<p class="content-title-noshade-size2">
<img src="resource2/{$opt.template.style}/images/cacheicon/traditional.gif" style="align: left; margin-right: 10px;" width="32" height="32" />
<img src="resource2/{$opt.template.style}/images/cacheicon/22x20-traditional.png" style="align: left; margin-right: 10px;" width="22" height="20" />
{t}Statistics{/t}
</p>
</div>

View File

@ -26,7 +26,7 @@
{if $smarty.foreach.difficulty.first}
<th class="h1" rowspan="9">{t}Difficulty{/t}&nbsp;&nbsp;&nbsp;</th>
{/if}
<th>&nbsp;{$difficulty/2}</th>
<th>&nbsp;&nbsp;{$difficulty/2}</th>
{assign var=dsum value=0}
{foreach from=$terrains key=terrain item=count}
<td style="text-align:center; background-color:{if $count}rgb({$count/$stat81_maxcount*-242+242.5|floor},{$count/$stat81_maxcount*-242+242.5|floor},242){else}#f2f2f2{/if}" {if $count}onclick='location.href="search.php?showresult=1&amp;expert=0&amp;output=HTML&amp;sort=byname&amp;{if $userid>0}f_inactive=0&amp;f_disabled=0&amp;finderid={$userid}&amp;searchbyfinder={else}f_inactive=1&amp;f_disabled=1&amp;searchall={/if}&amp;logtype=1,7&amp;calledbysearch=0&amp;cache_attribs=6&amp;terrainmin={$terrain}&amp;terrainmax={$terrain}&amp;difficultymin={$difficulty}&amp;difficultymax={$difficulty}"'{/if}>

View File

@ -7,7 +7,7 @@
<tr>
<td valign="middle" class="header-small" style="padding-top:5px;padding-bottom:5px;white-space:nowrap" width="1%">
<img src="resource2/{$opt.template.style}/images/cacheicon/22x22-traditional.gif" width="22" height="22" align="middle" border="0" style="padding-right:2px" />&nbsp;<b>{t}Hidden caches{/t}:</b></td>
<img src="resource2/{$opt.template.style}/images/cacheicon/22x20-traditional.png" width="22" height="20" align="middle" border="0" style="padding-right:2px" />&nbsp;<b>{t}Hidden caches{/t}:</b></td>
<td class="header-small">{$hidden}
{if $hidden>0}&nbsp;[<a href="search.php?showresult=1&amp;expert=0&amp;f_inactive=0&amp;output=HTML&amp;sort=byname&amp;ownerid={$userid}&amp;searchbyowner=&amp;calledbysearch=0{if $oconly}&amp;cache_attribs=6{/if}">{t}Show{/t}</a>]{if $hidden_active<$hidden}, &nbsp;{t 1=$hidden_active}%1 of these are active{/t} {if $hidden_active>0}&nbsp;[<a href="search.php?showresult=1&amp;expert=0&amp;f_inactive=1&amp;output=HTML&amp;sort=byname&amp;ownerid={$userid}&amp;searchbyowner=&amp;calledbysearch=0{if $oconly}&amp;cache_attribs=6{/if}">{t}Show{/t}</a>]{/if}{/if}{/if}
</td>
@ -60,7 +60,7 @@
<td class="default" style="padding:0">
{if !$region.state}<a href="search.php?showresult=1&amp;expert=0&amp;f_inactive=0&amp;output=HTML&amp;sort=byname&amp;finderid={$userid}&amp;searchbyfinder=&amp;logtype=1,7&amp;country={$region.countrycode}&amp;calledbysearch=0{if $oconly}&amp;cache_attribs=6{/if}">{$region.country}</a>{else}{$region.country}{/if}
{if $region.state}&gt; <a href="search.php?showresult=1&amp;expert=0&amp;f_inactive=0&amp;output=HTML&amp;sort=byname&amp;finderid={$userid}&amp;searchbyfinder=&amp;logtype=1,7&amp;adm2={$region.adm2code}&amp;calledbysearch=0{if $oconly}&amp;cache_attribs=6{/if}">{$region.state}</a>{/if}
&nbsp;<img src="images/flags/{$region.countrycode|lower}.gif" width="16" height="11">
&nbsp;<img src="images/flags/{$region.countrycode|lower}.gif" />
</td>
</tr>
{/foreach}

View File

@ -20,7 +20,7 @@
{* profile data *}
<div class="content2-container bg-blue02">
<p class="content-title-noshade-size2">
<img src="resource2/{$opt.template.style}/images/profile/32x32-profile.png" style="align: left; margin-right: 10px;" width="32" height="32" />
<img src="resource2/{$opt.template.style}/images/profile/32x22-profile.png" style="align: left; margin-right: 10px;" width="32" height="22" />
{t}User data{/t}
</p>
</div>
@ -125,7 +125,7 @@
{* OConly statistics *}
<div class="content2-container bg-blue02">
<p class="content-title-noshade-size2">
<img src="resource2/{$opt.template.style}/images/misc/is_oconly_small.png" style="align: left; margin-right: 10px;" />
<img src="resource2/{$opt.template.style}/images/misc/40x22-oconly.png" style="align: left; margin-right: 10px;" />
{t}OConly statistics{/t}
</p>
</div>