diff --git a/app/assets/stylesheets/budgets/executions/investment.scss b/app/assets/stylesheets/budgets/executions/investment.scss new file mode 100644 index 000000000..bd8176af1 --- /dev/null +++ b/app/assets/stylesheets/budgets/executions/investment.scss @@ -0,0 +1,54 @@ +.budget-executions-investment { + @include card; + border: 1px solid $border; + overflow: hidden; + position: relative; + + a { + color: inherit; + display: block; + + img { + height: $line-height * 9; + max-width: none; + min-width: 100%; + transition-duration: 0.3s; + transition-property: transform; + } + + &:hover { + text-decoration: none; + + img { + transform: scale(1.05); + } + } + } + + h5 { + font-size: $base-font-size; + margin-bottom: 0; + } + + .budget-execution-info { + padding: calc(#{$line-height} / 2); + } + + .author { + color: $text-medium; + font-size: $small-font-size; + } + + .budget-execution-content { + min-height: $line-height * 3; + } + + .price { + color: $budget; + font-size: rem-calc(24); + } + + &:hover:not(:focus-within) { + box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.2); + } +} diff --git a/app/assets/stylesheets/participation.scss b/app/assets/stylesheets/participation.scss index 407b94077..2dd68776b 100644 --- a/app/assets/stylesheets/participation.scss +++ b/app/assets/stylesheets/participation.scss @@ -1290,61 +1290,6 @@ } } -.budget-execution { - @include card; - border: 1px solid $border; - overflow: hidden; - position: relative; - - a { - color: inherit; - display: block; - - img { - height: $line-height * 9; - max-width: none; - min-width: 100%; - transition-duration: 0.3s; - transition-property: transform; - } - - &:hover { - text-decoration: none; - - img { - transform: scale(1.05); - } - } - } - - h5 { - font-size: $base-font-size; - margin-bottom: 0; - } - - .budget-execution-info { - padding: calc(#{$line-height} / 2); - } - - .author { - color: $text-medium; - font-size: $small-font-size; - } - - .budget-execution-content { - min-height: $line-height * 3; - } - - .price { - color: $budget; - font-size: rem-calc(24); - } - - &:hover:not(:focus-within) { - box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.2); - } -} - // 07. Proposals successful // ------------------------- diff --git a/app/components/budgets/executions/heading_component.html.erb b/app/components/budgets/executions/heading_component.html.erb index 812d3c0bc..6a1599527 100644 --- a/app/components/budgets/executions/heading_component.html.erb +++ b/app/components/budgets/executions/heading_component.html.erb @@ -5,21 +5,7 @@
- <%= investment.formatted_price %> -
-+ <%= investment.formatted_price %> +
+