diff --git a/app/assets/stylesheets/budgets/subheader.scss b/app/assets/stylesheets/budgets/subheader.scss new file mode 100644 index 000000000..ba51bd3bc --- /dev/null +++ b/app/assets/stylesheets/budgets/subheader.scss @@ -0,0 +1,17 @@ +.budget-subheader { + @include grid-row; + margin-bottom: $line-height; + margin-top: $line-height; + + .current-phase { + text-transform: uppercase; + } + + .button { + margin-top: $line-height / 2; + } + + .callout { + margin-bottom: 0; + } +} diff --git a/app/assets/stylesheets/participation.scss b/app/assets/stylesheets/participation.scss index 0faa8ecc1..764d4592c 100644 --- a/app/assets/stylesheets/participation.scss +++ b/app/assets/stylesheets/participation.scss @@ -1171,24 +1171,6 @@ } } -.budget-subheader { - @include grid-row; - margin-bottom: $line-height; - margin-top: $line-height; - - .current-phase { - text-transform: uppercase; - } - - .button { - margin-top: $line-height / 2; - } - - .callout { - margin-bottom: 0; - } -} - .jumbo-budget { background: $budget; border-bottom: 1px solid $budget; diff --git a/app/components/budgets/subheader_component.html.erb b/app/components/budgets/subheader_component.html.erb new file mode 100644 index 000000000..1f69d1d59 --- /dev/null +++ b/app/components/budgets/subheader_component.html.erb @@ -0,0 +1,38 @@ +