diff --git a/developer_manual/design/navigation.rst b/developer_manual/design/navigation.rst index 42f910713..f040ae5a0 100644 --- a/developer_manual/design/navigation.rst +++ b/developer_manual/design/navigation.rst @@ -226,7 +226,7 @@ Do not change the alignment of the text. If you're using
  • 1
  • -The count should be limitted to 999 and turn to 999+ if any higher number is given. If AngularJS is used the following filter can be used to get the correct behavior: +The counter should be limited to 999 and turn to 999+ if any higher number is given. If AngularJS is used the following filter can be used to get the correct behavior: .. code-block:: js @@ -246,6 +246,19 @@ Use it like this:
  • {{ count | counterFormatter }}
  • +Highlighted counter +""""""""""""""""""" + +The counter can also be highlighted to attract some focus, e.g. for unread chat messages + +.. figure:: ../images/navigation-counter-highlighted.png + :alt: Navigation entry with highlighted counter + :figclass: figure-with-code + +.. code-block:: html + +
  • 1
  • + .. _navigation_buttons: Buttons diff --git a/developer_manual/images/navigation-counter-highlighted.png b/developer_manual/images/navigation-counter-highlighted.png new file mode 100644 index 000000000..0aa4b7eeb Binary files /dev/null and b/developer_manual/images/navigation-counter-highlighted.png differ