Commit 83020505 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Raw theme: Fix IE width problems on group/profile pages

parent f36085ab
......@@ -84,11 +84,11 @@ foreach ( $element_list as $element => $type ) {
if ($type == 'wysiwyg') {
$items[$element]['rows'] = 10;
$items[$element]['cols'] = 60;
$items[$element]['cols'] = 50;
}
if ($type == 'textarea') {
$items[$element]['rows'] = 4;
$items[$element]['cols'] = 60;
$items[$element]['cols'] = 50;
}
if ($element == 'country') {
$items[$element]['options'] = getoptions_country();
......
......@@ -51,6 +51,7 @@ input#myfriends_addfriend_add {
.profile-fieldsets fieldset {
border: none;
padding: 0;
}
fieldset.safe-hidden .mceEditor {
display: none;
......
......@@ -110,9 +110,11 @@ table {
th {
padding: .25em 0;
text-align: left;
white-space: nowrap;
vertical-align: top;
}
thead th {
white-space: nowrap;
}
td {
padding: .25em .5em;
vertical-align: top;
......@@ -231,10 +233,16 @@ pre, tt {
}
#main-column {
padding: 0 1.5em 1em;
overflow: scroll;
overflow: auto;
}
#main-column-container, div.rel {
#main-column-container {
position: relative;
min-height: 0;
padding-top: .2em;
}
div.rel {
position: relative;
min-height: 0;
}
.listing {
font-size: .9em;
......@@ -242,6 +250,9 @@ pre, tt {
.listing h3, .listing h5 {
margin: 0;
}
div.listing {
padding: .5em 1em;
}
/* Informational messages */
#messages {
......@@ -307,11 +318,10 @@ ul.in-page-tabs li a {
}
.subpage {
border: 1px solid #d1d1d1;
padding: 1.5em;
overflow: auto;
padding: 1em;
}
.subpage p:first-child {
margin: 0;
margin: .5em 0;
}
......@@ -319,6 +329,9 @@ ul.in-page-tabs li a {
.required th, div.required label, .requiredmarker {
color: #cc6600;
}
.pieform tbody tr th label {
white-space: normal;
}
.pieform td label {
font-weight: normal;
font-size: .9em;
......@@ -710,11 +723,7 @@ fieldset.collapsed legend a {
/* My Groups */
ul.groupuserstatus {
margin: .5em 1em;
width: 200px;
position: absolute;
top: 0;
right: 0;
width: 200px;
}
ul.groupuserstatus li {
list-style: none;
......@@ -914,17 +923,23 @@ p.progress-text {
}
/* Group about */
.subpage .group-info {
margin-top: 1em;
}
.group-info {
list-style: none;
background-color: #eee;
padding: 1em;
border: 10px solid #ddd;
margin: 0 0 1em 0;
}
.group-info li {
.group-info ul {
margin: 0;
list-style: none;
}
.group-info ul li {
margin: 0;
}
.group-info li span {
.group-info ul li span {
margin: 0 2em 0 0;
}
......@@ -943,11 +958,6 @@ p.progress-text {
line-height: .9em;
}
/* SETTINGS > PREFERENCES */
#accountprefs_addremovecolumns_container th {
white-space: normal;
}
/* SETTINGS > NOTIFICATIONS */
#activitylist th {
line-height: 1.2em;
......@@ -959,7 +969,3 @@ p.progress-text {
font-weight: normal;
}
/* Interaction settings */
tr#edit_interaction_autosubscribe_container th {
white-space: normal;
}
{include file="header.tpl"}
{$form}
{if $groups}
<table id="findgroups" class="fullwidth listing">
{foreach from=$groups item=group name=groups}
<tbody>
<tr class="r{cycle values=0,1}">
<td><div class="rel">
{include file="group/group.tpl" group=$group returnto='find'}
</div></td>
</tr>
{foreach from=$groups item=group}
<div class="r{cycle values=0,1} listing">
<div class="fr">
{include file="group/groupuserstatus.tpl" group=$group returnto='find'}
</div>
<div>
{include file="group/group.tpl" group=$group returnto='mygroups'}
</div>
</div>
{/foreach}
</tbody>
</table>
{$pagination}
{else}
<div class="message">{str tag="nogroupsfound" section="group"}</div>
......
<h3><a href="{$WWWROOT}group/view.php?id={$group->id|escape}">{$group->name|escape}</a></h3>
{include file="group/groupuserstatus.tpl" group=$group returnto='find'}
<h5>{foreach name=admins from=$group->admins item=id}<a href="{$WWWROOT}user/view.php?id={$id|escape}">{$id|display_name|escape}</a>{if !$smarty.foreach.admins.last}, {/if}{/foreach}</h5>
{$group->description}
<div id="groupmembers">{str tag="memberslist" section="group"}
<div>{str tag="memberslist" section="group"}
{foreach name=members from=$group->members item=member}
<a href="{$WWWROOT}user/view.php?id={$member->id|escape}" class="links-members">{$member->name|escape}</a>{if !$smarty.foreach.members.last}, {/if}
<a href="{$WWWROOT}user/view.php?id={$member->id|escape}">{$member->name|escape}</a>{if !$smarty.foreach.members.last}, {/if}
{/foreach}
{if $group->membercount > 3}<a href="{$WWWROOT}group/members.php?id={$group->id|escape}" class="links-members">...</a>{/if}
{if $group->membercount > 3}<a href="{$WWWROOT}group/members.php?id={$group->id|escape}">...</a>{/if}
</div>
<div class="preview-group">
<h3>{$group->name|escape}</h3>
{if $group->description}<p id="group-description">{$group->description|escape}</p> {/if}
{include file="group/info.tpl"}
<div class="group-info">{include file="group/info.tpl"}</div>
</div>
<ul class="group-info">
<ul>
<li><label>{str tag=groupadmins section=group}:</label> {foreach name=admins from=$group->admins item=id}
<img src="{$WWWROOT}thumb.php?type=profileicon&amp;maxsize=20&amp;id={$id|escape}" alt="">
<a href="{$WWWROOT}user/view.php?id={$id|escape}">{$id|display_name|escape}</a>{if !$smarty.foreach.admins.last}, {/if}
......
......@@ -4,17 +4,16 @@
</div>
{$form}
{if $groups}
<table class="fullwidth listing">
<tbody>
{foreach from=$groups item=group}
<tr class="r{cycle values=0,1}">
<td><div class="rel">
{include file="group/group.tpl" group=$group returnto='mygroups'}
</div></td>
</tr>
<div class="r{cycle values=0,1} listing">
<div class="fr">
{include file="group/groupuserstatus.tpl" group=$group returnto='find'}
</div>
<div>
{include file="group/group.tpl" group=$group returnto='mygroups'}
</div>
</div>
{/foreach}
</tbody>
</table>
{$pagination}
{else}
<div class="message">{str tag="trysearchingforgroups" section="group" args=$searchingforgroups}</div>
......
......@@ -4,21 +4,17 @@
<p>{$GROUP->description}</p>
{/if}
<p>
<div class="rel">
{include file="group/info.tpl"}
<div class="rbuttons pagetabs">
<ul class="group-controls">
{include file="group/groupuserstatus.tpl" group=$group returnto='view'}
</ul><br class="cl"/>
</div>
<div class="group-info">
<div class="fr">
{include file="group/groupuserstatus.tpl" group=$group returnto='view'}
</div>
</p>
{include file="group/info.tpl"}
</div>
{if $group->public || $role}
<h3>{str tag=latestforumposts section=interaction.forum}</h3>
{if $foruminfo}
<table id="latestforumpost" class="fullwidth s">
<table class="fullwidth s">
{foreach from=$foruminfo item=postinfo}
<tr class="r{cycle values=0,1}">
<td><strong><a href="{$WWWROOT}interaction/forum/topic.php?id={$postinfo->topic|escape}#post{$postinfo->id|escape}">{$postinfo->topicname|escape}</a></strong></td>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment