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 @@ ...@@ -4,8 +4,15 @@
* Copyright (C) 2006-2009 Catalyst IT * Copyright (C) 2006-2009 Catalyst IT
* This file is distributed under the same terms as Mahara itself * 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 { #postlist input.delete {
...@@ -20,4 +27,8 @@ ...@@ -20,4 +27,8 @@
color: #4C711D; color: #4C711D;
padding-left: .8em; padding-left: .8em;
border: 0; 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 @@ ...@@ -4,53 +4,40 @@
* Copyright (C) 2006-2009 Catalyst IT * Copyright (C) 2006-2009 Catalyst IT
* This file is distributed under the same terms as Mahara itself * 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 { #postlist th {
padding: 1em .5em .25em 0;
font-size: 1.3em;
border-bottom: 1px dotted #d1d1d1; border-bottom: 1px dotted #d1d1d1;
} }
#postlist td { #postlist input.delete,
padding: .25em 0; #postlist input.edit {
}
#postlist td.postdetails {
padding-bottom: 1em;
font-size: .9em; font-size: .9em;
color: #888;
} }
#postlist p { #postlist p {
margin: 0 0 1em 0; margin: 0 0 1em 0;
} }
#postlist td.postdetails {
padding-bottom: 2em;
font-size: .9em;
color: #888;
}
/* attachment files */
#postlist .attachments th { #postlist .attachments th {
padding: .25em .5em; padding: .25em .5em;
font-size: 1em; font-size: 1em;
border: 0; border: 0;
} }
#postlist input.delete, .attachments .unselect {
#postlist input.edit {
font-size: .7em;
}
table#bloglist .right a {
font-size: .9em; 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 @@ ...@@ -2,8 +2,8 @@
<div id="myblogs rel"> <div id="myblogs rel">
<div class="rbuttons"> <div class="rbuttons">
<a href="{$WWWROOT}artefact/blog/settings/?id={$blog->get('id')}">{str section="artefact.blog" tag="settings"}</a> <a class="btn btn-settings" 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-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> <a class="btn btn-add" href="{$WWWROOT}artefact/blog/post.php?blog={$blog->get('id')}">{str section="artefact.blog" tag="addpost"}</a>
</div> </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 { .filelist .tag-edit.submit {
border: 0; border: 0;
background: transparent; background: transparent;
color: #6e8e00; color: #6e8e00;
cursor: pointer; cursor: pointer;
} }
tr.folder td {
background-color: #10171A !important;
}
filelist thead th { filelist thead th {
border-bottom: 1px dotted #BEE3F1; border-bottom: 1px dotted #BEE3F1;
} }
.filelist td { .filelist td {
border-bottom: 1px dotted #BEE3F1; 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 @@ ...@@ -38,7 +38,7 @@
<table id="{$prefix}_upload_container" class="fileupload{if $tabs && !$tabs.upload} hidden{/if}"> <table id="{$prefix}_upload_container" class="fileupload{if $tabs && !$tabs.upload} hidden{/if}">
<tbody> <tbody>
{if $config.upload} {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> <tr><td colspan=2 id="{$prefix}_upload_messages"></td></tr>
{if $config.uploadagreement} {if $config.uploadagreement}
<tr id="{$prefix}_agreement" class="uploadform"> <tr id="{$prefix}_agreement" class="uploadform">
...@@ -76,7 +76,7 @@ ...@@ -76,7 +76,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td colspan=2 id="{$prefix}_createfolder_messages"></td> <td colspan="2" id="{$prefix}_createfolder_messages"></td>
</tr> </tr>
{/if} {/if}
</tbody> </tbody>
......
...@@ -12,25 +12,30 @@ ...@@ -12,25 +12,30 @@
width: 97%; width: 97%;
} }
/* File upload box */
.fileupload { .fileupload {
background: #eee; background: #eee;
border: 1px solid #d1d1d1; border: 1px solid #d1d1d1;
} }
.fileupload th { .fileupload th {
text-align: left !important; text-align: left;
padding-left: 1em !important; padding-left: 1em;
} }
.fileupload th label, .fileupload th label,
#editpost_filebrowser_upload_browse th label { .uploadform th label {
white-space: nowrap !important; white-space: nowrap !important;
font-weight: bold; font-weight: bold !important;
} }
#files_filebrowser_agreement td, .uploadform td {
#editpost_filebrowser_agreement td {
font-size: .9em; font-size: .9em;
line-height: 1.4em;
}
.fileupload td#files_filebrowser_upload_messages,
.fileupload td#editpost_filebrowser_upload_messages {
padding: 0;
} }
/* folder nav */
.foldernav { .foldernav {
font-weight: bold; font-weight: bold;
margin: 1em 0 0 0; margin: 1em 0 0 0;
...@@ -48,81 +53,87 @@ form#files .foldernav { ...@@ -48,81 +53,87 @@ form#files .foldernav {
background: url(../images/foldernav.png) no-repeat left 3px; background: url(../images/foldernav.png) no-repeat left 3px;
} }
/* File list */
.filelist { .filelist {
width: 100%; width: 100%;
* width: 96%; * width: 96%;
} }
#files_filebrowser_filelist_container { .filelist th {
margin-left: 2.5em; border-bottom: 1px solid #CCCCCC;
margin-top: 0.2em;
} }
#files_filebrowser_edit_row td { .filelist td.right input {
border: 4px solid #eee; font-size: .9em;
} }
#files_filebrowser_edit_row #files_filebrowser_edit_heading { /* parent folder row */
text-align: left; tr.parentfolder td {
font-size: 1.2em; background-color: #ddd !important;
padding: 0.25em .25em 0.25em .15em; font-style: italic;
} }
#files_filebrowser_edit_row table th { /* new row */
text-align: left; .filelist tr.highlight-file td {
padding: 0.25em; background: #fffcd8 url(../images/highlight-bg.gif) repeat left top !important;
} }
#files_filebrowser_edit_row td td { /* folder row */
border: none; tr.folder td {
background-color: #e7e7e7;
} }
tr.folder td.filename {
font-weight: bold;
}
/* folder row being moved */
tr.folderhover td { tr.folderhover td {
background-color: #ffc; background-color: #ffc;
} }
tr.folderhover a { tr.folderhover a {
color: #000;
text-decoration: none; text-decoration: none;
} }
tr.folder td { .icon-drag {
background: #e7e7e7; cursor: move;
} }
tr.folder td.filename { /* File list edit box */
font-weight: bold; #files_filebrowser_edit_row td {
border: 2px solid #eee;
} }
#files_filebrowser_edit_row #files_filebrowser_edit_heading {
.filelist tr.highlight-file td { font-size: 1.2em;
background: #fffcd8 url(../images/highlight-bg.gif) repeat left top !important;
font-weight: bold;
} }
#files_filebrowser_edit_row table th {
.filelist table table.editpermissions th, text-align: left;
.filelist table table.editpermissions td { border: 0;
font-size: .9em;
} }
#files_filebrowser_edit_row table th label {
.filelist .disabled { font-weight: bold;
color: #C3C3C3;
} }
#files_filebrowser_edit_row td td {
.icon-drag { border: none;
cursor: move;
} }
/* Edit post File list */
#editpost_filebrowser_upload_container { #editpost_filebrowser_upload_container {
margin-top: .5em; margin-top: 1em;
}
#editpost_filebrowser_empty_selectlist {
border-bottom: 1px solid #eee;
} }
#editpost_filebrowser_upload_browse,
#editpost_filebrowser_open_upload_browse_container { #editpost_filebrowser_open_upload_browse_container {
padding: 1em; padding: 1em;
border-top: 1px solid #eee;
border-right: 1px solid #eee; border-right: 1px solid #eee;
border-bottom: 4px solid #eee; border-bottom: 4px solid #eee;
border-left: 1px 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; font-size: .9em;
margin-left: 1.8em;
width: 96%;
} }
#editpost_filebrowser_upload_browse .filelist th {
text-align: left; .filelist .disabled {
} color: #C3C3C3;
\ No newline at end of file }
...@@ -7,15 +7,16 @@ ...@@ -7,15 +7,16 @@
input#myfriends_addfriend_add { input#myfriends_addfriend_add {
font-weight: bold; font-weight: bold;
} }
#userfriendstable a { #userfriendstable a {
display: block; display: block;
} }
#sendmessage input, #sendmessage input,
#invitetogroup #invitetogroup_submit_container input { #invitetogroup #invitetogroup_submit_container input {
margin: 0; margin: 0;
} }
#email_list { #email_list {
line-height: 2em; line-height: 2em;
} }
...@@ -28,11 +29,11 @@ input#myfriends_addfriend_add { ...@@ -28,11 +29,11 @@ input#myfriends_addfriend_add {
font-size: .9em; font-size: .9em;
} }
.profile-fieldsets fieldset { .profile-fieldsets fieldset {
border: none; border: none;
padding: 0; padding: 0;
} }
fieldset.safe-hidden .mceEditor { fieldset.safe-hidden .mceEditor {
display: none; display: none;
} }
input.submit.btn-subscribe { #forumslist th,
color: #1F97D5 !important;
}
#forumtopicstable th { #forumtopicstable th {
border-bottom: 1px solid #14436F; border-bottom: 1px solid #14436F;
padding: 2px 0;
} }
.stickytopic { #forumtopicstable td {
}
.stickytopic td {
background-color: #ceeafe; background-color: #ceeafe;
} }
.forumpost { .forumpost {
background-color: #f4f7f9; background-color: #f4f7f9;
border-top: 1px solid #14436F;
border-bottom: 1px solid #14436F;
} }
.forumsubject {
}
.forumpostleft {
}
.forumpostleft h5 {
}
.posttime {
}
.postbtns {