Commit 77bcbf15 authored by Evonne Cheung's avatar Evonne Cheung Committed by Nigel McNie
Browse files

Big pile of theme related cleanups thanks to Evonne.


Signed-off-by: default avatarNigel McNie <nigel@catalyst.net.nz>
parent b8019981
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
......@@ -4,8 +4,15 @@
* Copyright (C) 2006-2009 Catalyst IT
* This file is distributed under the same terms as Mahara itself
*/
#bloglist thead th {
border: 0 !important;
/* Blog list */
#bloglist .right a {
padding-left: 12px;
}
/* Post list */
#postlist th {
border-bottom: 1px dotted #d1d1d1;
}
#postlist input.delete {
......@@ -20,4 +27,8 @@
color: #4C711D;
padding-left: .8em;
border: 0;
}
\ No newline at end of file
}
#postlist td.postdetails {
color: #888;
}
/**
* CSS rules for the blog artefact plugin
*
* Copyright (C) 2006-2009 Catalyst IT
* This file is distributed under the same terms as Mahara itself
*/
#editpost_filebrowser_selectlist {
border: 1px solid #1C3740;
}
#editpost_filebrowser_selectlist th {
background: #10171A;
}
#editpost_filebrowser_open_upload_browse_container,
#editpost_filebrowser_upload_browse {
border-color: #1C3740;
}
\ No newline at end of file
......@@ -4,53 +4,40 @@
* Copyright (C) 2006-2009 Catalyst IT
* This file is distributed under the same terms as Mahara itself
*/
/* Blog list */
#bloglist .right a {
font-size: .9em;
margin-left: 1em;
}
#bloglist td .addicon {
margin: 0;
}
/* Post list */
#postlist th {
padding: 1em .5em .25em 0;
font-size: 1.3em;
border-bottom: 1px dotted #d1d1d1;
}
#postlist td {
padding: .25em 0;
}
#postlist td.postdetails {
padding-bottom: 1em;
#postlist input.delete,
#postlist input.edit {
font-size: .9em;
color: #888;
}
#postlist p {
margin: 0 0 1em 0;
}
#postlist td.postdetails {
padding-bottom: 2em;
font-size: .9em;
color: #888;
}
/* attachment files */
#postlist .attachments th {
padding: .25em .5em;
font-size: 1em;
border: 0;
}
#postlist input.delete,
#postlist input.edit {
font-size: .7em;
}
table#bloglist .right a {
.attachments .unselect {
font-size: .9em;
margin-left: 1em;
}
#bloglist td .addicon,
#editpost_filebrowser_empty_selectlist {
margin: 0;
}
#editpost_filebrowser_selectlist {
border: 1px solid #eee;
font-size: .9em;
* width: 98.5%;
}
#editpost_filebrowser_selectlist th {
background: #eee;
text-align: left;
}
#editpost_filebrowser_upload_browse {
border-right: 1px solid #eee;
border-bottom: 4px solid #eee;
border-left: 1px solid #eee;
padding: 1em;
}
\ No newline at end of file
......@@ -2,8 +2,8 @@
<div id="myblogs rel">
<div class="rbuttons">
<a href="{$WWWROOT}artefact/blog/settings/?id={$blog->get('id')}">{str section="artefact.blog" tag="settings"}</a>
<a href="{$WWWROOT}artefact/blog/new">{str tag=addblog section=artefact.blog}</a>
<a class="btn btn-settings" href="{$WWWROOT}artefact/blog/settings/?id={$blog->get('id')}">{str section="artefact.blog" tag="settings"}</a>
<a class="btn btn-new" href="{$WWWROOT}artefact/blog/new">{str tag=addblog section=artefact.blog}</a>
<a class="btn btn-add" href="{$WWWROOT}artefact/blog/post.php?blog={$blog->get('id')}">{str section="artefact.blog" tag="addpost"}</a>
</div>
......
/**
* CSS rules for the file artefact plugin
*
* Copyright (C) 2006-2009 Catalyst IT
* This file is distributed under the same terms as Mahara itself
*/
/* File upload box */
.fileupload {
background: #eee;
border: 1px solid #d1d1d1;
}
/* folder nav */
.foldernav {
background: url(../images/foldernav_small.png) no-repeat left top;
}
form#files .foldernav {
background: url(../images/foldernav.png) no-repeat left 3px;
}
/* File list */
.filelist th {
border-bottom: 1px solid #CCCCCC;
}
/* parent folder row */
tr.parentfolder td {
background-color: #ddd !important;
}
/* new row */
.filelist tr.highlight-file td {
background: #fffcd8 url(../images/highlight-bg.gif) repeat left top !important;
}
/* folder row */
tr.folder td {
background-color: #e7e7e7;
}
/* folder row being moved */
tr.folderhover td {
background-color: #ffc;
}
/* File list edit box */
#files_filebrowser_edit_row td {
border: 2px solid #eee;
}
/* Edit post File list */
#editpost_filebrowser_upload_browse,
#editpost_filebrowser_open_upload_browse_container {
border-top: 1px solid #eee;
border-right: 1px solid #eee;
border-bottom: 4px solid #eee;
border-left: 1px solid #eee;
}
/* Edit post selected file list */
.filelist .disabled {
color: #C3C3C3;
}
.filelist .tag-edit.submit {
border: 0;
background: transparent;
color: #6e8e00;
cursor: pointer;
border: 0;
background: transparent;
color: #6e8e00;
cursor: pointer;
}
tr.folder td {
background-color: #10171A !important;
}
filelist thead th {
border-bottom: 1px dotted #BEE3F1;
}
.filelist td {
border-bottom: 1px dotted #BEE3F1;
}
#files_filebrowser_edit_row td {
border: 4px solid #1A292F;
}
tr.folder td {
background-color:#10171A;
}
\ No newline at end of file
......@@ -38,7 +38,7 @@
<table id="{$prefix}_upload_container" class="fileupload{if $tabs && !$tabs.upload} hidden{/if}">
<tbody>
{if $config.upload}
<tr><td><input type="hidden" name="{$prefix}_uploadnumber" id="{$prefix}_uploadnumber" value="1" /></td></tr>
<input type="hidden" name="{$prefix}_uploadnumber" id="{$prefix}_uploadnumber" value="1" />
<tr><td colspan=2 id="{$prefix}_upload_messages"></td></tr>
{if $config.uploadagreement}
<tr id="{$prefix}_agreement" class="uploadform">
......@@ -76,7 +76,7 @@
</td>
</tr>
<tr>
<td colspan=2 id="{$prefix}_createfolder_messages"></td>
<td colspan="2" id="{$prefix}_createfolder_messages"></td>
</tr>
{/if}
</tbody>
......
......@@ -12,25 +12,30 @@
width: 97%;
}
/* File upload box */
.fileupload {
background: #eee;
border: 1px solid #d1d1d1;
}
.fileupload th {
text-align: left !important;
padding-left: 1em !important;
text-align: left;
padding-left: 1em;
}
.fileupload th label,
#editpost_filebrowser_upload_browse th label {
.uploadform th label {
white-space: nowrap !important;
font-weight: bold;
font-weight: bold !important;
}
#files_filebrowser_agreement td,
#editpost_filebrowser_agreement td {
.uploadform td {
font-size: .9em;
line-height: 1.4em;
}
.fileupload td#files_filebrowser_upload_messages,
.fileupload td#editpost_filebrowser_upload_messages {
padding: 0;
}
/* folder nav */
.foldernav {
font-weight: bold;
margin: 1em 0 0 0;
......@@ -48,81 +53,87 @@ form#files .foldernav {
background: url(../images/foldernav.png) no-repeat left 3px;
}
/* File list */
.filelist {
width: 100%;
* width: 96%;
}
#files_filebrowser_filelist_container {
margin-left: 2.5em;
margin-top: 0.2em;
.filelist th {
border-bottom: 1px solid #CCCCCC;
}
#files_filebrowser_edit_row td {
border: 4px solid #eee;
.filelist td.right input {
font-size: .9em;
}
#files_filebrowser_edit_row #files_filebrowser_edit_heading {
text-align: left;
font-size: 1.2em;
padding: 0.25em .25em 0.25em .15em;
/* parent folder row */
tr.parentfolder td {
background-color: #ddd !important;
font-style: italic;
}
#files_filebrowser_edit_row table th {
text-align: left;
padding: 0.25em;
/* new row */
.filelist tr.highlight-file td {
background: #fffcd8 url(../images/highlight-bg.gif) repeat left top !important;
}
#files_filebrowser_edit_row td td {
border: none;
/* folder row */
tr.folder td {
background-color: #e7e7e7;
}
tr.folder td.filename {
font-weight: bold;
}
/* folder row being moved */
tr.folderhover td {
background-color: #ffc;
}
tr.folderhover a {
color: #000;
text-decoration: none;
}
tr.folder td {
background: #e7e7e7;
.icon-drag {
cursor: move;
}
tr.folder td.filename {
font-weight: bold;
/* File list edit box */
#files_filebrowser_edit_row td {
border: 2px solid #eee;
}
.filelist tr.highlight-file td {
background: #fffcd8 url(../images/highlight-bg.gif) repeat left top !important;
font-weight: bold;
#files_filebrowser_edit_row #files_filebrowser_edit_heading {
font-size: 1.2em;
}
.filelist table table.editpermissions th,
.filelist table table.editpermissions td {
font-size: .9em;
#files_filebrowser_edit_row table th {
text-align: left;
border: 0;
}
.filelist .disabled {
color: #C3C3C3;
#files_filebrowser_edit_row table th label {
font-weight: bold;
}
.icon-drag {
cursor: move;
#files_filebrowser_edit_row td td {
border: none;
}
/* Edit post File list */
#editpost_filebrowser_upload_container {
margin-top: .5em;
}
#editpost_filebrowser_empty_selectlist {
border-bottom: 1px solid #eee;
margin-top: 1em;
}
#editpost_filebrowser_upload_browse,
#editpost_filebrowser_open_upload_browse_container {
padding: 1em;
border-top: 1px solid #eee;
border-right: 1px solid #eee;
border-bottom: 4px solid #eee;
border-left: 1px solid #eee;
}
#editpost_filebrowser_upload_browse .filelist {
.attachments th {
text-align: left !important;
}
/* Edit post selected file list */
#editpost_filebrowser_empty_selectlist {
margin: 0;
}
.filelist table table.editpermissions th,
.filelist table table.editpermissions td {
font-size: .9em;
margin-left: 1.8em;
width: 96%;
}
#editpost_filebrowser_upload_browse .filelist th {
text-align: left;
}
\ No newline at end of file
.filelist .disabled {
color: #C3C3C3;
}
......@@ -7,15 +7,16 @@
input#myfriends_addfriend_add {
font-weight: bold;
}
#userfriendstable a {
display: block;
}
#sendmessage input,
#invitetogroup #invitetogroup_submit_container input {
margin: 0;
}
#email_list {
line-height: 2em;
}
......@@ -28,11 +29,11 @@ input#myfriends_addfriend_add {
font-size: .9em;
}
.profile-fieldsets fieldset {
border: none;
padding: 0;
}
fieldset.safe-hidden .mceEditor {
display: none;
}
input.submit.btn-subscribe {
color: #1F97D5 !important;
}
#forumslist th,
#forumtopicstable th {
border-bottom: 1px solid #14436F;
padding: 2px 0;
}
.stickytopic {
#forumtopicstable td {
}
.stickytopic td {
background-color: #ceeafe;
}
.forumpost {
background-color: #f4f7f9;
border-top: 1px solid #14436F;
border-bottom: 1px solid #14436F;
}
.forumsubject {
}
.forumpostleft {
}
.forumpostleft h5 {
}
.posttime {
}
.postbtns {
}
.postbtns a {
}
.forumpostleft .author p.poster {
}
.deletedpost {
}
\ No newline at end of file
......@@ -4,38 +4,87 @@
* Copyright (C) 2006-2009 Catalyst IT
* This file is distributed under the same terms as Mahara itself
*/
.subscribetd #subscribe_forum_submit {
font-weight: bold !important;
border: none !important;
font-size: .9em !important;
margin: 0 !important;
padding: 0 !important;
font-family: Arial, Helvetica, sans-serif !important;
background: none !important;
color: #7f9d16 !important;
}
.subscribetd input.btn-subscribe {
font-weight: bold !important;
border: none !important;
font-size: 1em !important;
margin: 0 !important;
padding: 0 !important;
font-family: Arial, Helvetica, sans-serif !important;
background: none !important;
color: #7f9d16 !important;
}
.rbuttons #subscribe_topic_submit {
color: #FFF !important;
/* Edit and Delete in list */
.btn-spacer a {
padding-left: 12px;
}
.postbtns a {
padding-left: 1em;
/* Forum list */
#forumslist{
border-bottom: 1px solid #ccc;
}
#forumslist th{
border-bottom: 1px solid #ccc;
}
/* Topic list */
#viewforum {
border: 1px solid #eee;
}
#viewforum h3 {
}
#forumtopicstable {
border-bottom: 1px solid #ccc;
}
#forumtopicstable th {
border-bottom: 1px solid #ccc;
}
/* topic types */
.stickytopic td {
background-color: #fffcd8;
border-bottom: 1px solid #FFFFFF;
}
#subscribe_forum td {
font-size: 1.1em !important;
/* Forum Pagination */
#viewforum div.pagination {
}
#viewforum div.pagination a {
border: 1px solid #ccc;
}
#viewforum div.pagination .results {
}
/* admin & moderator */
.groupadmin {
color: #3366CC;
}
.moderator {
color: #993399;
}
#forumslist th, #forumtopicstable th {
background: none;
}
\ No newline at end of file
/* Posts */
.closed {
}
.forumpost {
border: 1px solid #eee;
}
.forumsubject {
border-bottom: 1px solid #eee;