diff --git a/app/assets/stylesheets/admin.scss b/app/assets/stylesheets/admin.scss index 7b74b2697..caf81b40b 100644 --- a/app/assets/stylesheets/admin.scss +++ b/app/assets/stylesheets/admin.scss @@ -1194,17 +1194,6 @@ table { } } -.max-headings-label { - color: $text-medium; - font-size: $small-font-size; - margin-left: $line-height / 2; -} - -.current-of-max-headings { - color: #000; - font-weight: bold; -} - // 11. Newsletters // ----------------- diff --git a/app/assets/stylesheets/datepicker_overrides.scss b/app/assets/stylesheets/datepicker_overrides.scss index 190784d15..33c611d1c 100644 --- a/app/assets/stylesheets/datepicker_overrides.scss +++ b/app/assets/stylesheets/datepicker_overrides.scss @@ -23,7 +23,7 @@ thead { tr th { - color: $dark; + border: 1px solid $brand; } } } diff --git a/app/assets/stylesheets/layout.scss b/app/assets/stylesheets/layout.scss index 8172d13ab..d19ccd525 100644 --- a/app/assets/stylesheets/layout.scss +++ b/app/assets/stylesheets/layout.scss @@ -881,7 +881,6 @@ footer { a { color: #fff; display: block; - line-height: rem-calc(80); // Same as logo image height text-align: center; @include breakpoint(medium) { diff --git a/app/assets/stylesheets/mixins.scss b/app/assets/stylesheets/mixins.scss index ac3c0a923..902b090f4 100644 --- a/app/assets/stylesheets/mixins.scss +++ b/app/assets/stylesheets/mixins.scss @@ -19,18 +19,6 @@ line-height: $line-height * 2; margin-top: 0; } - - img { - height: 48px; - width: 48px; - - @include breakpoint(medium) { - height: 80px; - margin-right: $line-height / 2; - margin-top: 0; - width: 80px; - } - } } // 02. Orbit bullet diff --git a/app/assets/stylesheets/participation.scss b/app/assets/stylesheets/participation.scss index bb600ff83..112afe7d4 100644 --- a/app/assets/stylesheets/participation.scss +++ b/app/assets/stylesheets/participation.scss @@ -1094,7 +1094,7 @@ } } - .active { + .is-active { color: $brand; &::after { @@ -1831,10 +1831,6 @@ .orbit-slide { max-height: none !important; - - img { - image-rendering: pixelated; - } } .orbit-caption { diff --git a/app/views/admin/budgets/_group.html.erb b/app/views/admin/budgets/_group.html.erb index f38d34a9d..c3a1c07a8 100644 --- a/app/views/admin/budgets/_group.html.erb +++ b/app/views/admin/budgets/_group.html.erb @@ -4,7 +4,7 @@ <%= content_tag(:span, group.name, class:"group-toggle-#{group.id}", id:"group-name-#{group.id}") %> - <%= content_tag(:span, (render 'admin/budgets/max_headings_label', current: group.max_votable_headings, max: group.headings.count, group: group if group.max_votable_headings), class:"max-headings-label group-toggle-#{group.id}", id:"max-heading-label-#{group.id}") %> + <%= content_tag(:span, (render 'admin/budgets/max_headings_label', current: group.max_votable_headings, max: group.headings.count, group: group if group.max_votable_headings), class:"small group-toggle-#{group.id}", id:"max-heading-label-#{group.id}") %> <%= render 'admin/budgets/group_form', budget: @budget, group: group, id: "group-form-#{group.id}", button_title: t("admin.budgets.form.submit"), css_class: "group-toggle-#{group.id}" %> <%= link_to t("admin.budgets.form.edit_group"), "#", class: "button float-right js-toggle-link hollow", data: { "toggle-selector" => ".group-toggle-#{group.id}" } %> diff --git a/app/views/admin/budgets/_max_headings_label.html.erb b/app/views/admin/budgets/_max_headings_label.html.erb index 0bf1cbcbb..f2c438d4f 100644 --- a/app/views/admin/budgets/_max_headings_label.html.erb +++ b/app/views/admin/budgets/_max_headings_label.html.erb @@ -1,4 +1,2 @@ <%= t("admin.budgets.form.max_votable_headings")%> -<%= content_tag(:strong, - t("admin.budgets.form.current_of_max_headings", current: current, max: max), - class: "current-of-max-headings") %> +<%= t("admin.budgets.form.current_of_max_headings", current: current, max: max) %> diff --git a/app/views/budgets/investments/_view_mode.html.erb b/app/views/budgets/investments/_view_mode.html.erb index 4ec42fc45..bc6c5aff7 100644 --- a/app/views/budgets/investments/_view_mode.html.erb +++ b/app/views/budgets/investments/_view_mode.html.erb @@ -11,7 +11,7 @@