From ff013bb54204410f95c4d1c70864d9a0c367e136 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20G=C3=BCnther?= Date: Tue, 14 Mar 2017 16:07:02 +0100 Subject: [PATCH 1/4] Restyle details icon in table --- .../content/work_packages/_table_content.sass | 1 + config/locales/js-en.yml | 1 + .../components/routing/wp-list/wp.list.html | 27 +++-------- .../wp-details-view-button.directive.ts | 47 +++++++++++++++---- .../builders/details-link-builder.ts | 2 +- 5 files changed, 48 insertions(+), 30 deletions(-) diff --git a/app/assets/stylesheets/content/work_packages/_table_content.sass b/app/assets/stylesheets/content/work_packages/_table_content.sass index 946140c0b7..f905b81615 100644 --- a/app/assets/stylesheets/content/work_packages/_table_content.sass +++ b/app/assets/stylesheets/content/work_packages/_table_content.sass @@ -61,6 +61,7 @@ // Show details view button when hovering .wp-table--details-link .issue:hover &, + .issue.-checked &, &:focus position: relative left: 0 diff --git a/config/locales/js-en.yml b/config/locales/js-en.yml index d4a2ea37bb..f6d9293cb1 100644 --- a/config/locales/js-en.yml +++ b/config/locales/js-en.yml @@ -57,6 +57,7 @@ en: button_more: "More" button_move: "Move" button_open_details: "Open details view" + button_close_details: "Close details view" button_open_fullscreen: "Open fullscreen view" button_quote: "Quote" button_save: "Save" diff --git a/frontend/app/components/routing/wp-list/wp.list.html b/frontend/app/components/routing/wp-list/wp.list.html index 388e894140..a3c09ded77 100644 --- a/frontend/app/components/routing/wp-list/wp.list.html +++ b/frontend/app/components/routing/wp-list/wp.list.html @@ -22,28 +22,13 @@
  • - + + +
  • +
  • + +
  • -
  • - - -
  • +
  • + + +
  • @@ -45,4 +56,4 @@ >
    - +
    +
    + + +
    • -
    • -
        -
      • - -
      • -
      • - -
      • -
      • - -
      • -
      -