fix margin for headers on community page, and feature list now styled the same
Project: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/commit/e3b40c43 Tree: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/tree/e3b40c43 Diff: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/diff/e3b40c43 Branch: refs/heads/master Commit: e3b40c43725574b67b80b7408c7e380905fc682b Parents: 48c6326 Author: Alex Heneveld <[email protected]> Authored: Tue Jan 20 15:16:13 2015 +0000 Committer: Alex Heneveld <[email protected]> Committed: Tue Jan 20 15:16:13 2015 +0000 ---------------------------------------------------------------------- docs/style/css/_basic.scss | 2 ++ docs/style/css/_feature_list.scss | 24 +++++++++++++++--------- 2 files changed, 17 insertions(+), 9 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/e3b40c43/docs/style/css/_basic.scss ---------------------------------------------------------------------- diff --git a/docs/style/css/_basic.scss b/docs/style/css/_basic.scss index ff0f060..05fe469 100644 --- a/docs/style/css/_basic.scss +++ b/docs/style/css/_basic.scss @@ -34,6 +34,8 @@ a:hover {text-decoration: none; color: $a_hover_color;} h4 { padding-bottom: 0px; margin-bottom: 0px; + padding-top: 8px; + margin-top: 0px; } } .panel-body { http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/e3b40c43/docs/style/css/_feature_list.scss ---------------------------------------------------------------------- diff --git a/docs/style/css/_feature_list.scss b/docs/style/css/_feature_list.scss index f21dc2a..32d3913 100644 --- a/docs/style/css/_feature_list.scss +++ b/docs/style/css/_feature_list.scss @@ -1,13 +1,19 @@ #content_container .feature-list { h3 { - border: 1px solid $gray_aa; + border: 1px solid $white_dd; margin-top: 48px; - padding: 16px 8px 12px 8px; + padding: 20px 12px 12px 12px; margin-bottom: 0; - background-color: $white_ee; - border-top-right-radius: 8px; - border-top-left-radius: 8px; + background-color: $white_f5; + border-top-right-radius: 5px; + border-top-left-radius: 5px; + +// from bootstrap for panel +background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%); +background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%); +filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0); +background-repeat: repeat-x; } } @@ -24,7 +30,7 @@ } img { max-width: 200px; - border: 1px solid #aaa; + border: 1px solid $white_dd; border-radius: 2px; } div.feature-title { @@ -43,12 +49,12 @@ } - border: 1px solid $gray_aa; + border: 1px solid $white_dd; margin-top: -1px; margin-bottom: 0; font-size: 90%; - padding: 8px; - padding-bottom: 12px; + padding: 12px; + padding-top: 8px; background-color: $white_fa; }
