Commit 4de48631 authored by Evonne Cheung's avatar Evonne Cheung Committed by Richard Mansfield
Browse files

Raw theme

parent 6d693c57
......@@ -16,7 +16,7 @@
<div>{$blog->description|clean_html}</div>
</td>
<td class="right">
<a href="{$WWWROOT}artefact/blog/settings/?id={$blog->id}" class="btn-edit">{str tag=settings}</a>
<a href="{$WWWROOT}artefact/blog/settings/?id={$blog->id}" class="btn-settings">{str tag=settings}</a>
<a href="{$WWWROOT}artefact/blog/index.php?delete={$blog->id}" class="btn-del">{str tag=delete}</a>
<a href="{$WWWROOT}artefact/blog/post.php?blog={$blog->id}" class="btn-add">{str tag=addpost section=artefact.blog}</a>
</td>
......
......@@ -5,8 +5,15 @@
* This file is distributed under the same terms as Mahara itself
*/
#postlist td.postdetails {
padding-bottom: 2em;
padding-bottom: 1em;
font-style: italic;
font-size: .9em;
color: #888;
}
#postlist th {
padding: 1em .4em .25em .4em;
font-size: 1.3em;
border-top: 1px dotted #d1d1d1;
}
#postlist p {
margin: 0 0 1em 0;
......@@ -15,3 +22,31 @@
#bloglist td .addicon {
margin: 0;
}
#editpost_filebrowser_empty_selectlist {
margin: 0;
}
#postlist .attachments {
margin-top: 1em;
}
#postlist .attachments th {
padding: .25em .5em;
font-size: 1em;
border-top: none;
}
#postlist input.delete,
#postlist input.edit {
font-size: .7em;
font-family: Arial, Helvetica, sans-serif;
color: blue;
}
input.delete {
background: url(../images/icon-delete.gif) no-repeat center left;
padding-left: .7em;
border: none;
}
input.edit {
background: url(../images/icon-edit.gif) no-repeat center left;
padding-left: .7em;
border: none;
}
\ No newline at end of file
......@@ -2,18 +2,18 @@
<div id="myblogs rel">
<div class="rbuttons">
<div><a class="btn-add" href="{$WWWROOT}artefact/blog/post.php?blog={$blog->get('id')}">{str section="artefact.blog" tag="addpost"}</a></div>
<div><a class="btn-edit" href="{$WWWROOT}artefact/blog/settings/?id={$blog->get('id')}">{str section="artefact.blog" tag="settings"}</a></div>
<a class="btn-add" href="{$WWWROOT}artefact/blog/post.php?blog={$blog->get('id')}">{str section="artefact.blog" tag="addpost"}</a>
<a class="btn-edit" href="{$WWWROOT}artefact/blog/settings/?id={$blog->get('id')}">{str section="artefact.blog" tag="settings"}</a>
</div>
<p>{$blog->get('description')}</p>
{if $blog->count_children() > 0}
<div><table id="postlist" class="hidden tablerenderer fullwidth nohead">
<table id="postlist" class="hidden tablerenderer fullwidth nohead">
<tbody>
<tr><td></td><td></td><td></td></tr>
</tbody>
</table></div>
</table>
{else}
<div class="message">{$strnopostsaddone}</div>
{/if}
......
......@@ -21,11 +21,33 @@
form#files .foldernav {
padding: 0 0 0 2em;
font-size: 1.2em;
font-size: 1.4em;
line-height: 1.6em;
height: 1.7em;
background: url(../images/foldernav.gif) no-repeat left 2px;
}
#files_filebrowser_filelist_container {
margin-left: 2.5em;
}
#files_filebrowser_agreement td {
font-size: .9em;
}
#files_filebrowser_edit_row td {
border-top: 0;
border-left: 1px solid #eee;
border-right: 1px solid #eee;
border-bottom: 1px solid #eee;
}
#files_filebrowser_edit_row td td {
border: none;
}
#files_filebrowser_edit_row #files_filebrowser_edit_heading {
text-align: left;
font-size: 1.2em;
}
#files_filebrowser_edit_row table td #files_filebrowser_edit_artefact {
margin-left: 65px;
}
tr.folderhover.directory-item td {
background-color: #ffc !important;
......@@ -34,8 +56,13 @@ tr.folderhover.directory-item a {
color: #000;
text-decoration: none;
}
tr.folder td {
background-color: #d3e4f2;
tr.folder.r0 td {
background: #e7e7e7;
}
tr.folder.r1 td {
background: #eee;
}
tr.folder td.filename {
font-weight: bold;
}
......@@ -45,7 +72,6 @@ tr.folder td {
}
.filelist thead th {
padding: 0.125em 0.25em;
border-bottom: 1px dotted #d1d1d1;
}
form#files .filelist thead th {
padding: 0.25em 0.5em;
......@@ -53,7 +79,6 @@ form#files .filelist thead th {
.filelist td {
padding: 0.125em 0.25em;
line-height: 2em;
border-bottom: 1px dotted #d1d1d1;
}
form#files .filelist td {
padding: 0.25em 0.5em;
......
......@@ -17,13 +17,16 @@ input#myfriends_addfriend_add {
#email_list {
line-height: 2em;
line-height: 2em;
}
#email_list a {
color: #ca0000;
font-size: .9em;
text-decoration: none;
margin-left: .5em;
}
#profileform_email_container a {
font-size: .9em;
}
.profile-fieldsets fieldset {
......
......@@ -14,25 +14,43 @@
#resumewrap table {
width: 100%;
}
#resumewrap form table td,
#resumewrap form table tbody th {
#resumewrap table td {
padding: 0;
}
#resumewrap form table td,
#resumewrap form table tbody th {
padding: .25em;
#resumewrap #addemploymenthistory table td,
#resumewrap #addeducationhistory table td,
#resumewrap #addcertification table td,
#resumewrap #addbook table td,
#resumewrap #addmembership table td {
padding: 0.25em;
}
#resumewrap table table {
width: auto;
}
#resumewrap form {
margin: 0;
}
#resumewrap form .resumecontactinfo td,
#resumewrap form .resumecontactinfo tbody th,
#personalinformation table table td,
#personalinformation table table tbody th {
padding: 0.25em;
}
fieldset legend.resumeh3 a {
background: none;
padding: 0;
}
#resumewrap fieldset table {
float: left;
}
tr#contactinformation_contactinformation_container th {
display: none;
}
tr#contactinformation_contactinformation_container td .resumecontactinfo th {
width: 30%;
display: table-cell;
display: block;
width: 170px;
line-height: 1.6em;
}
#personalinformation fieldset th label {
......
......@@ -6,10 +6,10 @@
<a href="{$WWWROOT}interaction/edit.php?group={$groupid|escape}&amp;plugin=forum" class="btn-add s">{str tag="newforum" section=interaction.forum}</a>
</div>
{/if}
<div>
<div class="forummods">
<label>{str tag="groupadminlist" section="interaction.forum"}</label>
{foreach from=$groupadmins item=groupadmin}
<span class="s inlinelist">
<span class="inlinelist">
<a href="{$WWWROOT}user/view.php?id={$groupadmin}"><img src="{$WWWROOT}thumb.php?type=profileicon&amp;maxsize=20&amp;id={$groupadmin}" alt=""></a>
<a href="{$WWWROOT}user/view.php?id={$groupadmin}" class="groupadmin">{$groupadmin|display_name|escape}</a>
</span>
......@@ -36,7 +36,7 @@
</div>
<div class="s">{$forum->description|str_shorten_html:1000:true}</div>
{if $forum->moderators}
<div class="s inlinelist">
<div class="inlinelist">
<span>{str tag="Moderators" section="interaction.forum"}:</span>
{foreach from=$forum->moderators item=mod}
<a href="{$WWWROOT}user/view.php?id={$mod}"><img src="{$WWWROOT}thumb.php?type=profileicon&amp;maxsize=20&amp;id={$mod}" alt=""></a>
......@@ -45,8 +45,8 @@
</div>
{/if}
</td>
<td class="center">{$forum->topiccount}</td>
<td class="nowrap s">{if $forum->subscribe}{$forum->subscribe}{/if}</td>
<td class="center" width="15%">{$forum->topiccount}</td>
<td class="nowrap s subscribetd">{if $forum->subscribe}{$forum->subscribe}{/if}</td>
</tr>
{/foreach}
</table>
......
......@@ -11,9 +11,9 @@
<td class="forumpostleft">
<div class="posttime">{$post->ctime}</div>
<div class="author">
<img src="{$WWWROOT}thumb.php?type=profileicon&amp;maxsize=40&amp;id={$post->poster}" alt="" class="fl">
<p><a href="{$WWWROOT}user/view.php?id={$post->poster}"{if in_array($post->poster, $groupadmins)} class="groupadmin"{elseif $post->moderator} class="moderator"{/if}>{$post->poster|display_name|escape}</a></p>
<p>{$post->postcount}</p>
<img src="{$WWWROOT}thumb.php?type=profileicon&amp;maxsize=40&amp;id={$post->poster}" alt="" class="center">
<p class="poster"><a href="{$WWWROOT}user/view.php?id={$post->poster}"{if in_array($post->poster, $groupadmins)} class="groupadmin"{elseif $post->moderator} class="moderator"{/if}>{$post->poster|display_name|escape}</a></p>
<p class="postcount">{$post->postcount}</p>
</div>
</td>
<td class="postedits">{$post->body|clean_html}
......
......@@ -5,10 +5,10 @@
* This file is distributed under the same terms as Mahara itself
*/
.groupadmin{
color: #d32a8a;
color: blue;
}
.moderator {
color: #2a8bd3;
color: blue;
}
.forumuser {
vertical-align: top;
......@@ -19,35 +19,121 @@
#forumdescription {
margin: 1em 0;
}
div.pagetabs a.btn-add {
font-weight: bold !important;
border: none;
margin: 0;
padding: 0 0 0 1.7em;
text-decoration: none;
background: url(../images/icon-newforum.gif) no-repeat center left;
}
div.pagetabs a.btn-edit {
font-weight: bold !important;
border: none;
margin: 0 1em 0 0;
padding: 0 0 0 1.8em;
text-decoration: none;
background: url(../images/icon-editforum.gif) no-repeat center left;
}
div.pagetabs a.btn-del {
font-weight: bold !important;
border: none;
margin: 0 1em 0 0;
padding: 0 0 0 1.6em;
text-decoration: none;
background: url(../images/icon-deleteforum.gif) no-repeat center left;
}
div.pagetabs #subscribe_forum_submit {
font-weight: bold !important;
border: none;
font-size: .9em;
margin: 0;
padding: 0 0 0 1.4em;
font-family: Arial, Helvetica, sans-serif;
background: url(../images/icon-subscribeforum.gif) no-repeat center left;
color: blue;
}
.btn-subscribe input.submit {
font-size: 1em;
* width: 1;
* overflow: visible;
font-family: Arial, Helvetica, sans-serif;
}
.subscribetd {
width: 150px;
}
.forummods {
font-size: .9em;
padding: 1em .5em;
}
#viewforum {
padding: 0 .25em;
margin: 0;
}
#viewforum h3 {
margin: 0;
font-size: 1.4em;
}
.btn-subscribe input.submit {
background: url(../images/icon-subscribe.gif) no-repeat center left;
font-weight: bold;
font-size: 0.9em;
height: 1.8em;
padding-left: 1em;
cursor: pointer;
#viewforum .rbuttons {
top: -3px;
}
#viewforum .rbuttons .btn-add {
font-weight: bold !important;
font-size: .9em !important;
border: none;
* width: 1;
* overflow: visible;
margin: 0;
padding: 0 0 0 1.7em;
text-decoration: none;
background: url(../images/icon-newforum.gif) no-repeat center left;
}
.rbuttons #subscribe_topic_submit {
font-weight: bold !important;
border: none;
font-size: .9em;
margin: 0;
padding: 0 0 0 1.4em;
font-family: Arial, Helvetica, sans-serif;
background: url(../images/icon-subscribeforum.gif) no-repeat center left;
color: blue;
}
#forumslist .btn-spacer a,
#forumtopicstable .btn-spacer a {
padding-left: 1em;
margin-left: 1em;
}
#forumslist th,
#forumtopicstable th {
background: #eee;
}
#forumslist table th,
#forumslist table td {
background: none;
padding-top: 0;
}
#forumtopicstable td {
border-bottom: 1px solid #fff;
}
.nowrap {
white-space: nowrap;
}
.forumselectwrap {
padding: .5em 0;
padding: 1em 0;
}
.stickytopic td {
background-color: #fffaea;
border-top: 1px solid #fff;
}
.stickytopic {
background-color: #e0e0e0;
.forumfooter {
margin: 0 .5em 1em .5em;
}
/* FORUM > ADD TOPIC */
......@@ -57,42 +143,48 @@
border: 1px solid #d1d1d1;
}
.forumsubject {
border-bottom: 1px solid #f1f1f1;
border-bottom: 1px solid #d1d1d1;
}
.forumsubject h3 {
margin-bottom: 0;
margin: 0 !important;
font-size: 1.2em;
}
.forumpostleft {
width: 160px;
border-right: 1px solid #f1f1f1;
background-color: #FFF;
border-right: 1px solid #eee;
text-align: center;
}
.forumpostleft .author p {
color: #999999;
font-weight: bold;
margin: 0;
.forumpostleft .author p a {
font-size: .9em;
}
.forumpostleft .author img {
margin: .25em .5em .25em .25em;
}
.posttime {
font-size: .9em;
color: #999999;
}
.postedits {
padding: .5em;
color: #888;
}
.postbtns {
font-size: .9em;
font-weight: bold;
text-align: right;
padding: 0 0 .1em 0;
background-color: #f1f1f1;
margin: 0;
padding: 0;
margin: 0 0 1em 0;
border: none;
color: #d1d1d1;
}
.postbtns a {
margin: 0 1em;
margin: 0 .5em;
padding-left: 1em;
}
.forumpostleft .author p.poster {
color: #888;
font-weight: bold;
margin: 0;
}
.forumpostleft .author p.postcount {
font-size: .9em;
font-weight: normal;
margin: 0;
}
.deletedpost {
color: gray;
......@@ -100,7 +192,6 @@
}
.postreply {
padding: 0 0 0 1em;
background-color: #f1f1f1;
}
......@@ -15,7 +15,7 @@
</td>
<td>
{if $moderator}
<div class="s fr">
<div class="s btn-spacer fr">
<a href="{$WWWROOT}interaction/forum/edittopic.php?id={$topic->id|escape}&amp;returnto=view" class="btn-edit">{str tag="edit"}</a>
<a href="{$WWWROOT}interaction/forum/deletetopic.php?id={$topic->id|escape}&amp;returnto=view" class="btn-del">{str tag="delete"}</a>
</div>
......
......@@ -19,13 +19,13 @@
{if $stickytopics || $regulartopics}
<form action="" method="post">
<table id="forumtopicstable" class="fullwidth nohead">
<tr>
<tr>
<th></th>
<th></th>
<th>{str tag="Topic" section="interaction.forum"}</th>
<th>{str tag="Poster" section="interaction.forum"}</th>
<th class="postscount">{str tag="Posts" section="interaction.forum"}</th>
<th>{str tag="lastpost" section="interaction.forum"}</th>
<th class="postscount center">{str tag="Posts" section="interaction.forum"}</th>
<th class="lastpost">{str tag="lastpost" section="interaction.forum"}</th>
{if $moderator}<th></th>{/if}
</tr>
{if $stickytopics}
......@@ -36,10 +36,10 @@
{/if}
</table>
{if $regulartopics}
<div class="fr">{$pagination}</div>
<div class="right">{$pagination}</div>
{/if}
{if $membership && (!$forum->subscribed || $moderator)}
<div class="forumselectwrap fl"><select name="type">
<div class="forumselectwrap"><select name="type">
<option value="default" selected="selected">{str tag="chooseanaction" section="interaction.forum"}</option>
{if !$forum->subscribed}
<option value="subscribe">{str tag="Subscribe" section="interaction.forum"}</option>
......@@ -63,7 +63,7 @@
</form>
</div>
<div class="cr">
<div class="forumfooter">
<label>{str tag="groupadminlist" section="interaction.forum"}</label>
{foreach from=$groupadmins item=groupadmin}
<span class="s inlinelist">
......
......@@ -10,6 +10,10 @@ body {
background: url(../images/background.gif) repeat;
color: #474220;
}
#container, #containerX {
width: 90%;
min-width: 950px;
}
acronym {
color: #474220;
border-bottom: 1px dotted #d4d1c0;
......@@ -296,6 +300,7 @@ a.btn-link:hover {
#sub-nav ul {
padding: 0 0 0 1em;
height: 25px;
background: none;
}
#sub-nav li {
height: 25px;
......@@ -472,15 +477,15 @@ div.sideblock {
/* FOOTER */
#footer-wrap {
background-color: #717277;
color: #bdb582;
background-color: #b1b1b1;
color: #fff9d4;
}
#footer-wrap a {
color: #FFFFFF;
text-decoration: underline;
}
#footer-wrap a:hover {
color: #bdb582;
color: #fff9d4;
}
......