CSS tweaks to group feed forms, a=chris

Chris Pollett [2015-01-03 04:Jan:rd]
CSS tweaks to group feed forms, a=chris
Filename
css/search.css
views/elements/groupfeed_element.php
diff --git a/css/search.css b/css/search.css
index c12e6cf8a..31e38f86b 100755
--- a/css/search.css
+++ b/css/search.css
@@ -415,26 +415,6 @@ a.echo-link:hover
     border:2px ridge #BBB;
     padding:5px;
 }
-.upload-gray-box
-{
-    background-color: gray;
-    border:1px solid black;
-    border-radius: 5px;
-    font-size:10pt;
-    padding: 2px;
-    width:100%
-}
-.media-upload-box
-{
-    background-color: #CCC;
-    border:1px solid black;
-    border-radius: 5px;
-    font-size:10pt;
-    margin-bottom: 4px;
-    min-height:1in;
-    padding: 2px;
-    width:100%
-}
 .slight-pad
 {
     padding: 0.1in;
@@ -1343,6 +1323,7 @@ div.group-result
     font-size: 12pt;
     width:7in;
 }
+.mobile div.button-group-result,
 .mobile div.group-result
 {
     margin: auto;
@@ -2445,6 +2426,35 @@ div.group-result
 {
     max-width:100%;
 }
+.wiki-resource-image
+{
+    max-width:100%;
+}
+.upload-gray-box
+{
+    background-color: gray;
+    border:1px solid black;
+    border-radius: 5px;
+    font-size:10pt;
+    padding: 2px;
+    width:100%;
+}
+.mobile .upload-gray-box
+{
+    width:90%;
+}
+.media-upload-box
+{
+    background-color: #CCC;
+    border:1px solid black;
+    border-radius: 5px;
+    font-size:10pt;
+    margin-bottom: 4px;
+    min-height:1in;
+    padding: 2px;
+    width:100%
+}
+
 /* Captcha settings styles */
 .captcha {
     padding: 5px;
@@ -2644,10 +2654,6 @@ table.wikitable > caption
     color:#333;
     padding:10px;
 }
-.wiki-resource-image
-{
-    max-width:100%;
-}
 .help-button
 {
     bottom: 50px;
diff --git a/views/elements/groupfeed_element.php b/views/elements/groupfeed_element.php
index cdab59b03..4c3a8713c 100644
--- a/views/elements/groupfeed_element.php
+++ b/views/elements/groupfeed_element.php
@@ -555,7 +555,7 @@ class GroupfeedElement extends Element implements CrawlConstants
         function comment_form(id, parent_id, group_id)
         {
             clearInterval(updateId);
-            tmp = '<div class="comment<?php e($clear); ?>"></div>';
+            tmp = '<div class="post<?php e($clear); ?>"></div>';
             start_elt = elt(id).innerHTML.substr(0, tmp.length);
             if(start_elt != tmp) {
                 elt(id).innerHTML =
@@ -604,7 +604,7 @@ class GroupfeedElement extends Element implements CrawlConstants
         function start_thread_form(id, group_id, group_name)
         {
             clearInterval(updateId);
-            tmp = '<div class="thread<?php e($clear); ?>"></div>';
+            tmp = '<div class="post<?php e($clear); ?>"></div>';
             start_elt = elt(id).innerHTML.substr(0, tmp.length)
             if(start_elt != tmp) {
                 var group_header = "";
@@ -665,7 +665,7 @@ class GroupfeedElement extends Element implements CrawlConstants
             clearInterval(updateId);
             var title = elt('title'+id).innerHTML;
             var description = elt('old-description'+id).innerHTML;
-            var tmp = '<div class="update<?php e($clear); ?>"></div>';
+            var tmp = '<div class="post<?php e($clear); ?>"></div>';
             start_elt = elt(id).innerHTML.substr(0, tmp.length)
             if(start_elt != tmp) {
                 setDisplay('result-'+id, false);
ViewGit