You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2016/07/13 19:30:08 UTC

[11/18] allura git commit: [#8088] Updated style for meta_posts

[#8088] Updated style for meta_posts


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/3ebe0fed
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/3ebe0fed
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/3ebe0fed

Branch: refs/heads/master
Commit: 3ebe0fedf11e6e788435520ae92b00519988127c
Parents: 6e49813
Author: Rohan Verma <ro...@gmail.com>
Authored: Thu Jun 23 22:58:41 2016 +0530
Committer: Dave Brondsema <da...@brondsema.net>
Committed: Wed Jul 13 15:03:29 2016 -0400

----------------------------------------------------------------------
 Allura/allura/nf/allura/css/site_style.css       | 14 ++++++++++++++
 Allura/allura/templates/widgets/post_widget.html |  2 +-
 2 files changed, 15 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/3ebe0fed/Allura/allura/nf/allura/css/site_style.css
----------------------------------------------------------------------
diff --git a/Allura/allura/nf/allura/css/site_style.css b/Allura/allura/nf/allura/css/site_style.css
index 4fee5f7..ad2ad2c 100644
--- a/Allura/allura/nf/allura/css/site_style.css
+++ b/Allura/allura/nf/allura/css/site_style.css
@@ -3516,6 +3516,20 @@ fieldset.preferences legend {
     border-radius: 10%;
 }
 
+.meta_post .bubble .header{
+    background-color: #ffffff;
+    font-size: 0.7em;
+}
+
+.meta_post .bubble::before{
+    border-right-color: #efefef;
+}
+
+.meta_post .bubble .markdown_content{
+    padding-left: 5px;
+    font-size: 0.7em;
+}
+
 @media print{
   body{ 
   	background-color: #FFFFFF; 

http://git-wip-us.apache.org/repos/asf/allura/blob/3ebe0fed/Allura/allura/templates/widgets/post_widget.html
----------------------------------------------------------------------
diff --git a/Allura/allura/templates/widgets/post_widget.html b/Allura/allura/templates/widgets/post_widget.html
index bec9ecd..b79e989 100644
--- a/Allura/allura/templates/widgets/post_widget.html
+++ b/Allura/allura/templates/widgets/post_widget.html
@@ -28,7 +28,7 @@
   + '#' + value.slug %}
 
 <div>
-  <div id="{{value.slug}}" class="discussion-post">
+  <div id="{{value.slug}}" class="discussion-post {%if value.is_meta %}meta_post{% endif %}">
     {% if h.has_access(value, 'moderate')() %}
     <div class="info grid-15 spam-present">
       <span class="spam-text">Comment has been marked as spam.&nbsp;</span>