diff --git a/css/global.styles.css b/css/global.styles.css
index 77962991be4d05f7ebedc1d91c9b6ae91fd28285..373cb001c6c361efc8fd723b6605ba5d4dd3b88f 100644
--- a/css/global.styles.css
+++ b/css/global.styles.css
@@ -347,9 +347,6 @@ var {
display: none;
}
}
-.node .field-name-body {
- margin-bottom: 20px;
-}
.node-actions {
float: right;
@@ -370,14 +367,6 @@ var {
}
}
-.node-teaser {
- border-bottom: 1px solid #ccc;
- padding-bottom: 20px;
- margin-bottom: 10px;
-}
-.views-row-last .node-teaser {
- margin-bottom: 0;
-}
.node-teaser.node-promoted {
background-image: url('../images/node-promoted-star.png?1363371593');
background-position: top right;
@@ -2134,9 +2123,11 @@ h1.node-title a:hover {
}
.field-name-body {
- clear: both;
margin-top: 1.7em;
}
+.node-event .field-name-body {
+ clear: both;
+}
.field-name-field-date {
font-weight: bold;
@@ -2147,6 +2138,10 @@ h1.node-title a:hover {
padding: 0;
}
+ul.node-action-links {
+ display: inline-block;
+ margin-top: 1.4em;
+}
ul.node-action-links li {
padding: 0;
vertical-align: baseline;
@@ -3297,9 +3292,6 @@ ul.action-links {
#quicktabs-container-commons_bw .quicktabs-tabpage .view-empty {
clear: both;
}
-#quicktabs-container-commons_bw .quicktabs-tabpage article {
- margin-bottom: 25px;
-}
#quicktabs-container-commons_bw .quicktabs-tabpage .form-submit {
margin-top: 0;
}
@@ -3408,9 +3400,6 @@ ul.action-links {
display: block;
}
-.node {
- margin-bottom: 20px;
-}
.node .node-title {
margin: 0;
}
@@ -3785,14 +3774,11 @@ body.front.not-logged-in #block-system-main .pane-1 .pane-title {
}
body.front.logged-in .view-commons-homepage-content > .view-content {
- padding: 10px 10px 20px 10px;
+ padding: 10px;
}
body.front.logged-in .view-commons-homepage-content > .view-content > .views-row {
position: relative;
}
-body.front.logged-in .view-commons-homepage-content .article.node .node-header a, body.front.logged-in .view-commons-homepage-content .node-teaser.node-group .node-header a {
- float: left;
-}
body.front.logged-in .view-commons-homepage-content .article.node .author-datetime, body.front.logged-in .view-commons-homepage-content .node-teaser.node-group .author-datetime {
margin-bottom: 1.5em;
clear: both;
diff --git a/sass/global.styles.scss b/sass/global.styles.scss
index cd1c2f978952d6966555ff08bd1bcb66fdb0cca9..2b0eda90b20c7fa011e9f2ab17bcb0134aa637e3 100755
--- a/sass/global.styles.scss
+++ b/sass/global.styles.scss
@@ -326,10 +326,6 @@ var {
&.node-question {
@extend %node-space-right;
}
-
- .field-name-body {
- margin-bottom: 20px;
- }
}
.node-actions {
@@ -353,14 +349,6 @@ var {
}
.node-teaser {
- border-bottom: 1px solid #ccc;
- padding-bottom: 20px;
- margin-bottom: 10px;
-
- .views-row-last & {
- margin-bottom: 0;
- }
-
&.node-promoted {
background-image: image-url('node-promoted-star.png');
background-position: top right;
@@ -1663,8 +1651,11 @@ h1.node-title {
}
.field-name-body {
- clear: both;
margin-top: 1.7em;
+
+ .node-event & {
+ clear: both;
+ }
}
.field-name-field-date {
@@ -1683,6 +1674,9 @@ h1.node-title {
}
ul.node-action-links {
+ display: inline-block;
+ margin-top: 1.4em;
+
li {
padding: 0;
vertical-align: baseline;
@@ -3009,10 +3003,6 @@ body.page-node .pane-views-panes {
clear: both;
}
- article {
- margin-bottom: 25px;
- }
-
.form-submit {
margin-top: 0;
}
@@ -3119,8 +3109,6 @@ body.page-node .pane-views-panes {
}
.node {
- margin-bottom: 20px;
-
.node-title {
margin: 0;
}
@@ -3549,7 +3537,7 @@ body.front.logged-in {
.view-commons-homepage-content {
> .view-content {
@extend %pod;
- padding: 10px 10px 20px 10px;
+ padding: $gutter-width;
> .views-row {
position: relative;
@@ -3557,12 +3545,6 @@ body.front.logged-in {
}
.article.node, .node-teaser.node-group {
- .node-header {
- a {
- float: left;
- }
- }
-
.node-content {
form {
diff --git a/template.php b/template.php
index 1d7d0e60399e2cfb51387debbf21a2d4f959e9b5..2e098261f0cd7d708093bb38c68dff85da53451e 100755
--- a/template.php
+++ b/template.php
@@ -415,16 +415,9 @@ function commons_origins_preprocess_views_view(&$variables, $hook) {
// Style some views without bottom borders and padding.
$plain = array(
- 'commons_bw_all' => array('default'),
- 'commons_bw_polls' => array('default'),
- 'commons_bw_posts' => array('default'),
- 'commons_bw_q_a' => array('default'),
- 'commons_bw_wikis' => array('default'),
- 'commons_events_upcoming' => array('panel_pane_2'),
'commons_groups_directory' => array('panel_pane_1'),
'commons_groups_recent_content' => array('block'),
'commons_groups_user_groups' => array('panel_pane_1'),
- 'commons_homepage_content' => array('panel_pane_1'),
'commons_radioactivity_groups_active_in_group' => array('panel_pane_1'),
);
if (isset($plain[$variables['name']]) && in_array($variables['display_id'], $plain[$variables['name']])) {
diff --git a/templates/node/node.tpl.php b/templates/node/node.tpl.php
index 815c129405285e270b536cee49ca4b5cb6b014e2..99e5a38ec297c2e4494cc5a0825b859289045276 100755
--- a/templates/node/node.tpl.php
+++ b/templates/node/node.tpl.php
@@ -106,29 +106,27 @@
*/
hide($content['comments']);
hide($content['links']);
-hide($content['report_link'])
+hide($content['report_link']);
?>
>
-
-
+