From 79c25f480bc538fafad0a956c3acad3579272876 Mon Sep 17 00:00:00 2001 From: Henriette Dinger Date: Fri, 3 Mar 2017 13:40:56 +0100 Subject: [PATCH 1/7] Styling changes on WP page --- .../content/work_packages/_table_hierarchy.sass | 7 ++++++- app/assets/stylesheets/layout/_top_menu.sass | 4 ++-- app/assets/stylesheets/layout/_work_package.sass | 3 +++ .../moves/work_package_moves_new_copy.feature | 4 ++-- .../wp-create-button/wp-create-button.directive.html | 2 +- .../wp-fast-table/builders/rows/hierarchy-rows-builder.ts | 2 +- frontend/app/components/wp-table/wp-table.directive.html | 2 +- 7 files changed, 16 insertions(+), 8 deletions(-) diff --git a/app/assets/stylesheets/content/work_packages/_table_hierarchy.sass b/app/assets/stylesheets/content/work_packages/_table_hierarchy.sass index 40794d015d..988b7f98bd 100644 --- a/app/assets/stylesheets/content/work_packages/_table_hierarchy.sass +++ b/app/assets/stylesheets/content/work_packages/_table_hierarchy.sass @@ -20,8 +20,10 @@ display: inline .wp-table--hierarchy-span - text-align: center + text-align: end display: inline-block + margin-left: 5px + padding-right: 8px .wp-table--hierarchy-indicator-icon @include icon-common @@ -62,6 +64,9 @@ .wp-table--cell-td.subject:not(.-with-hierarchy) padding-left: 25px !important +.wp-table--cell-td.subject.-with-hierarchy .wp-table--cell-span + padding-left: 0 + .hierarchy-header--icon display: inline-block width: 20px diff --git a/app/assets/stylesheets/layout/_top_menu.sass b/app/assets/stylesheets/layout/_top_menu.sass index 6408f95ed7..b9467338f4 100644 --- a/app/assets/stylesheets/layout/_top_menu.sass +++ b/app/assets/stylesheets/layout/_top_menu.sass @@ -36,7 +36,7 @@ margin-top: 13px display: block background: $header-home-link-bg - background-size: 150px + background-size: 140px height: 42px text-indent: -9999em @@ -309,7 +309,7 @@ input.top-menu-search--input overflow: hidden text-overflow: ellipsis padding-right: 34px - font-size: 16px + font-size: 18px font-weight: bold &:after diff --git a/app/assets/stylesheets/layout/_work_package.sass b/app/assets/stylesheets/layout/_work_package.sass index 0902b45f8e..34212d3909 100644 --- a/app/assets/stylesheets/layout/_work_package.sass +++ b/app/assets/stylesheets/layout/_work_package.sass @@ -297,6 +297,9 @@ .form--field-container max-width: 400px + #breadcrumb + display: none + %flex-grow-shrink-zero flex-grow: 0 flex-shrink: 0 diff --git a/features/work_packages/moves/work_package_moves_new_copy.feature b/features/work_packages/moves/work_package_moves_new_copy.feature index d0eda5db0a..677d9af1e4 100644 --- a/features/work_packages/moves/work_package_moves_new_copy.feature +++ b/features/work_packages/moves/work_package_moves_new_copy.feature @@ -87,7 +87,7 @@ Feature: Copying a work package When I click "Copy and follow" Then I should see "Successful creation." Then I should see "issue1" within ".wp-edit-field.subject" - And I should see "project_2" within ".breadcrumb" + And I should see "project_2" within "#projects-menu" @javascript @selenium Scenario: Issue children are moved @@ -97,7 +97,7 @@ Feature: Copying a work package When I click "Move and follow" #Then I should see "Successful update." Then I should see "issue1" within ".wp-edit-field.subject" - And I should see "project_2" within ".breadcrumb" + And I should see "project_2" within "#projects-menu" Scenario: Move an issue to project with missing type diff --git a/frontend/app/components/wp-buttons/wp-create-button/wp-create-button.directive.html b/frontend/app/components/wp-buttons/wp-create-button/wp-create-button.directive.html index 3425d2714d..c9853cd8a2 100644 --- a/frontend/app/components/wp-buttons/wp-create-button/wp-create-button.directive.html +++ b/frontend/app/components/wp-buttons/wp-create-button/wp-create-button.directive.html @@ -12,7 +12,7 @@ - +