From 9d4451f79ff341b8400d10a4ac4bbd77ffcac3d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niklas=20J=C3=A4ggi?= Date: Fri, 19 Jan 2024 16:34:07 +0100 Subject: [PATCH] set font correctly and use font awesome icons --- app/assets/stylesheets/hitobito/customizable/_variables.scss | 2 +- app/decorators/jubla/event_decorator.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/hitobito/customizable/_variables.scss b/app/assets/stylesheets/hitobito/customizable/_variables.scss index c7e5c711..426f4d93 100644 --- a/app/assets/stylesheets/hitobito/customizable/_variables.scss +++ b/app/assets/stylesheets/hitobito/customizable/_variables.scss @@ -56,7 +56,7 @@ $btn-border: #002357; // ------------------------- $sans-font-family: Helvetica, Arial, sans-serif !default; $heading-font-family: "Century Gothic", $sans-font-family; -$base-font-family: $sans-font-family !default; +$font-family-base: $sans-font-family !default; $headings-font-weight: normal !default; // instead of browser default, bold // Decoration diff --git a/app/decorators/jubla/event_decorator.rb b/app/decorators/jubla/event_decorator.rb index 47a55252..6d3f40e3 100644 --- a/app/decorators/jubla/event_decorator.rb +++ b/app/decorators/jubla/event_decorator.rb @@ -29,7 +29,7 @@ def bsv_field(key) end def warning(key) - content_tag(:i, '', class: 'icon icon-warning-sign', title: bsv_info.error(key)) + content_tag(:i, '', class: 'fas fa-exclamation-triangle', title: bsv_info.error(key)) end def bsv_info