diff --git a/app/assets/stylesheets/application.scss b/app/assets/stylesheets/application.scss index 47fc5d7bb..38dadae41 100644 --- a/app/assets/stylesheets/application.scss +++ b/app/assets/stylesheets/application.scss @@ -21,6 +21,7 @@ @import "advanced_search"; @import "annotator_overrides"; @import "autocomplete_overrides"; +@import "banner"; @import "datepicker_overrides"; @import "layout"; @import "participation"; diff --git a/app/assets/stylesheets/banner.scss b/app/assets/stylesheets/banner.scss new file mode 100644 index 000000000..d0cc55a2b --- /dev/null +++ b/app/assets/stylesheets/banner.scss @@ -0,0 +1,23 @@ +.banner { + @include full-width-background; + + .debates-list &::before, + .proposals-list &::before, + .admin &::before { + content: none; + } + + a > * { + padding: 0 rem-calc(16); + + &:empty { + display: none; + } + } + + + .budget-header, + + .budgets-index > .budget-header, + + .jumbo { + margin-top: 0; + } +} diff --git a/app/assets/stylesheets/layout.scss b/app/assets/stylesheets/layout.scss index 46036acb7..6bd62a730 100644 --- a/app/assets/stylesheets/layout.scss +++ b/app/assets/stylesheets/layout.scss @@ -16,7 +16,6 @@ // 15. Comments // 16. Flags // 17. Activity -// 18. Banners // 19. Recommendations // 20. Documents // 21. Related content @@ -2135,33 +2134,6 @@ table { } } -// 18. Banners -// ----------- - -.banner { - @include full-width-background; - - .debates-list &::before, - .proposals-list &::before, - .admin &::before { - content: none; - } - - a > * { - padding: 0 rem-calc(16); - - &:empty { - display: none; - } - } - - + .budget-header, - + .budgets-index > .budget-header, - + .jumbo { - margin-top: 0; - } -} - // 19. Recommendations // -------------------