diff --git a/changelog/8529.md b/changelog/8529.md new file mode 100644 index 0000000000..40aadd1955 --- /dev/null +++ b/changelog/8529.md @@ -0,0 +1,6 @@ +### Removed +- thumbs up/down icons in ratings because they are now in a4 + +### Added +- hover style for rating buttons +- active style for rating buttons diff --git a/meinberlin/assets/scss/components_user_facing/_rating.scss b/meinberlin/assets/scss/components_user_facing/_rating.scss index 9a8d50bee5..082d0633e0 100644 --- a/meinberlin/assets/scss/components_user_facing/_rating.scss +++ b/meinberlin/assets/scss/components_user_facing/_rating.scss @@ -9,7 +9,6 @@ .rating__label { word-break: normal; - margin-left: 0.4em; } .rating-button { @@ -18,22 +17,16 @@ padding: 0; i { - margin-right: 0.4em; - margin-bottom: 0.4em; display: inline; + font-weight: normal; } - &--active { + &--active, + &.is-selected { font-weight: bold; } - .fa-chevron-up:before { - content:"\f164"!important; // thumbs-up icon - font-weight: 400; - } - - .fa-chevron-down:before { - content:"\f165"!important; // thumbs-down icon - font-weight: 400; + &:hover { + text-decoration: underline; } }