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

Raw theme: my groups, buttons

parent 11d3ec22
......@@ -54,7 +54,7 @@ addLoadEvent(function() {
// last part is the submit buttons
appendChildNodes('profileform',
tabUL, DIV({'class': 'profile-fieldsets in-page-page'}, fieldsets), getFirstElementByTagAndClassName('td', null, 'profileform_submit_container').childNodes
tabUL, DIV({'class': 'profile-fieldsets subpage'}, fieldsets), getFirstElementByTagAndClassName('td', null, 'profileform_submit_container').childNodes
);
removeElement(
getFirstElementByTagAndClassName('table', null, 'profileform')
......
{if $USERGROUPS}
<table id="usergroupstable">
<table id="usergroupstable" class="fullwidth">
{foreach from=$USERGROUPS item=item}
<tr>
<td class="r{cycle values=0,1}">
......
......@@ -288,12 +288,12 @@ ul.in-page-tabs li a.current-tab {
ul.in-page-tabs li a {
padding: .4em 1em .3em 1em;
}
.in-page-page {
.subpage {
margin: 0 0 1em 0;
border: 1px solid #d1d1d1;
padding: 1.5em;
}
.in-page-page p:first-child {
.subpage p:first-child {
margin: 0;
}
......@@ -314,9 +314,9 @@ div.grippie {
cursor: s-resize;
height: 14px;
}
input.submit {
/* input.submit {
font-weight: bold;
}
}*/
.errmsg {
color: #cc0000;
font-size: .9em;
......@@ -341,6 +341,10 @@ div.sideblock h3 {
font-size: 1.3em;
margin: 0 0 .5em 0;
}
div.sideblock ul {
padding: 0 2em 0;
margin: 0;
}
/* Login sideblock */
#login_submit_container {
......@@ -435,21 +439,27 @@ div.sideblock h3 {
padding: .2em .5em;
text-decoration: none;
}
.btn-del, .btn-msg, .btn-req, .btn-edit, .btn-pending, .btn-reply, .btn-leavegroup, .btn-link {
div.btn-add input, div.btn-edit input, div.btn-del input,
a.btn-del, .btn-msg, .btn-req, a.btn-edit, .btn-pending, .btn-reply, .btn-leavegroup {
padding-left: 1em;
cursor: pointer;
border: none;
}
.btn-del, .btn-leavegroup {
a.btn-del, .btn-leavegroup, div.btn-del input {
color: #ca0000;
background: url(../images/icon-delete.gif) no-repeat left 50%;
}
div.btn-bold input {
font-weight: bold;
}
.btn-msg {
background: url(../images/icon-mail.gif) no-repeat left 4px;
font-weight: bold;
}
.btn-req {
.btn-req, div.btn-add input {
background: url(../images/icon-add.gif) no-repeat left 4px;
}
.btn-edit {
a.btn-edit, div.btn-edit input {
background: url(../images/icon-edit.gif) no-repeat left 4px;
}
.btn-pending {
......@@ -464,14 +474,14 @@ input#myfriends_addfriend_add {
border: 0;
margin: 0;
}
div.delete input {
background: url(../images/icon-delete.gif) no-repeat left 50%;
color: #dd0221;
}
div.add input {
background: url(../images/icon-add.gif) no-repeat left 4px;
color: #547c22;
div.btn-link input.submit {
border: none;
text-decoration: underline;
cursor: pointer;
}
/* div.btn-bold input.submit {
font-weight: bold;
}*/
div.rbuttons {
position: absolute;
right: 0;
......@@ -774,10 +784,6 @@ p.progress-text {
.group-info li span {
margin: 0 2em 0 0;
}
.group-controls li {
font-size: .9em;
font-weight: bold;
}
/* Group members */
......
......@@ -9,7 +9,7 @@
<div class="rel">
<strong>{$results.roles[$r.role]->display}</strong>
{if $caneditroles && $r.canchangerole} (<a href="{$WWWROOT}group/changerole.php?group={$group}&amp;user={$r.id}">{str tag=changerole section=group}</a>){/if}
<div class="rbuttons delete">{$r.removeform}</div>
<div class="rbuttons btn-del">{$r.removeform}</div>
<div>{$r.introduction|str_shorten_html:80:true}</div>
<label>{str tag="Joined" section="group"}:</label> {$r.jointime}
</div>
......@@ -17,7 +17,7 @@
<div>{str tag=hasrequestedmembership section=group}.{if $r.reason}
<label>{str tag=reason}:</label> {$r.reason|format_whitespace}{/if}
</div>
<div class="right add">{$r.addform}</div>
<div class="right btn-add">{$r.addform}</div>
{elseif $membershiptype == 'invite'}
<div>{str tag=hasbeeninvitedtojoin section=group}</div>
{/if}
......
......@@ -30,5 +30,5 @@
<li><a {if $item.selected}class="current-tab" {/if}href="{$WWWROOT}{$item.url|escape}">{$item.title|escape}</a></li>
{/foreach}
</ul>
<div class="in-page-page rel">
<div class="subpage rel">
{/if}
......@@ -20,7 +20,7 @@
{if $requestedlist} <div>{str tag=requestedmembershipin section=group}{$requestedlist}</div>
{/if}
{$addform}
{$togglepublic}
<div class="btn-bold btn-edit">{$togglepublic}</div>
</div>
{if $relationship == 'pending'}
<div class="message">
......
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