From 61c204366ff294c8596254406360dcd258d4067c Mon Sep 17 00:00:00 2001 From: Jermolene Date: Sun, 27 Apr 2014 19:28:30 +0100 Subject: [PATCH] Replace hamburger icon with double chevron MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #580 Seems much better, especially since the chevron gives us two clear visual states (left vs. right). The hamburger doesn’t really have a commonly accepted way of indicating whether the menu is currently open or not. --- core/images/chevron-left.tid | 9 +++++++++ core/images/chevron-right.tid | 9 +++++++++ core/ui/TopRightBar/menu.tid | 4 ++-- 3 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 core/images/chevron-left.tid create mode 100644 core/images/chevron-right.tid diff --git a/core/images/chevron-left.tid b/core/images/chevron-left.tid new file mode 100644 index 000000000..a0c04993c --- /dev/null +++ b/core/images/chevron-left.tid @@ -0,0 +1,9 @@ +title: $:/core/images/chevron-left +tags: $:/tags/Image + + + + + + + \ No newline at end of file diff --git a/core/images/chevron-right.tid b/core/images/chevron-right.tid new file mode 100644 index 000000000..477a1d889 --- /dev/null +++ b/core/images/chevron-right.tid @@ -0,0 +1,9 @@ +title: $:/core/images/chevron-right +tags: $:/tags/Image + + + + + + + \ No newline at end of file diff --git a/core/ui/TopRightBar/menu.tid b/core/ui/TopRightBar/menu.tid index aaef18ddf..324ba9190 100644 --- a/core/ui/TopRightBar/menu.tid +++ b/core/ui/TopRightBar/menu.tid @@ -2,8 +2,8 @@ title: $:/core/ui/TopBar/menu tags: $:/tags/TopRightBar <$reveal state="$:/state/sidebar" type="nomatch" text="no"> -<$button set="$:/state/sidebar" setTo="no" class="btn-invisible">{{$:/core/images/menu-button}} +<$button set="$:/state/sidebar" setTo="no" class="btn-invisible">{{$:/core/images/chevron-right}} <$reveal state="$:/state/sidebar" type="match" text="no"> -<$button set="$:/state/sidebar" setTo="yes" class="btn-invisible">{{$:/core/images/menu-button}} +<$button set="$:/state/sidebar" setTo="yes" class="btn-invisible">{{$:/core/images/chevron-left}}