aboutsummaryrefslogtreecommitdiff
path: root/mod/messageboard/views
diff options
context:
space:
mode:
Diffstat (limited to 'mod/messageboard/views')
-rw-r--r--mod/messageboard/views/default/forms/messageboard/add.php3
-rw-r--r--mod/messageboard/views/default/messageboard/css.php89
2 files changed, 8 insertions, 84 deletions
diff --git a/mod/messageboard/views/default/forms/messageboard/add.php b/mod/messageboard/views/default/forms/messageboard/add.php
index 2bca4e1dc..87bec9b20 100644
--- a/mod/messageboard/views/default/forms/messageboard/add.php
+++ b/mod/messageboard/views/default/forms/messageboard/add.php
@@ -6,7 +6,8 @@
*/
echo elgg_view('input/plaintext', array(
- 'name' => 'message_content'
+ 'name' => 'message_content',
+ 'class' => 'messageboard-input'
));
echo elgg_view('input/hidden', array(
diff --git a/mod/messageboard/views/default/messageboard/css.php b/mod/messageboard/views/default/messageboard/css.php
index b7782e8e3..b3cfab957 100644
--- a/mod/messageboard/views/default/messageboard/css.php
+++ b/mod/messageboard/views/default/messageboard/css.php
@@ -1,87 +1,10 @@
<?php
-
- /**
- * Elgg Messageboard CSS extender
- *
- * @package ElggMessageBoard
- */
-
+/**
+ * Elgg Messageboard CSS view
+ *
+ */
?>
-/* input msg area */
-#mb_input_wrapper {
- margin:0 10px 5px 10px;
- padding:5px;
- background: white;
- -webkit-border-radius: 8px;
- -moz-border-radius: 8px;
-}
-
-#mb_input_wrapper .input_textarea {
- width:675px;
-}
-.collapsable_box_content #mb_input_wrapper .input_textarea {
- width:259px;
-}
-.message_item_timestamp {
- font-size:90%;
- padding:10px 0 0 0;
-}
-p.message_item_timestamp {
- margin-bottom: 10px;
-}
-/* wraps each message */
-.messageboard {
- margin:0 10px 5px 10px;
- padding:0;
- background: white;
- -webkit-border-radius: 8px;
- -moz-border-radius: 8px;
-}
-.messageboard .message_sender {
- float:left;
- margin: 5px 10px 0 5px;
+.messageboard-input {
+ height: 100px;
}
-/* IE6 */
-* html .messageboard { width: 280px; }
-* html #two_column_left_sidebar_maincontent .messageboard { width: 667px; }
-* html .messageboard .message_sender { margin: 5px 10px 0 2px; }
-* html #mb_input_wrapper .input_textarea { width:645px; }
-/* IE7 */
-*:first-child+html .messageboard { width: 280px; }
-*:first-child+html #two_column_left_sidebar_maincontent .messageboard { width: 698px; }
-*:first-child+html .messageboard .message_sender { margin: 5px 10px 0 2px; }
-
-.messageboard .message p {
- line-height: 1.2em;
- background:#dedede;
- margin:0 6px 4px 6px;
- padding:4px;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- overflow-y:hidden;
- overflow-x:auto;
- color:#333333;
-}
-
-.message_buttons {
- padding:0 0 3px 4px;
- margin:0;
- font-size: 90%;
- color:#666666;
-}
-
-.messageboard .delete_message a {
- display:block;
- float:right;
- cursor: pointer;
- width:14px;
- height:14px;
- margin:0 3px 3px 0;
- background: url("<?php echo elgg_get_site_url(); ?>_graphics/icon_customise_remove.png") no-repeat 0 0;
- text-indent: -9000px;
-}
-.messageboard .delete_message a:hover {
- background-position: 0 -16px;
-}
-