Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Change sass imports to standards

Oliver Günther4feb246c6a03
diff --git a/frontend/src/app/core/global_search/input/global-search-input-mobile.component.sass b/frontend/src/app/core/global_search/input/global-search-input-mobile.component.sass
index cd405c37c52..70825c6fbc5 100644
--- a/frontend/src/app/core/global_search/input/global-search-input-mobile.component.sass
+++ b/frontend/src/app/core/global_search/input/global-search-input-mobile.component.sass
@@ -1,4 +1,4 @@
-@import "src/assets/sass/helpers"
+@import "helpers"
$search-input-height-mobile: 36px
diff --git a/frontend/src/app/core/global_search/input/global-search.component.sass b/frontend/src/app/core/global_search/input/global-search.component.sass
index 1f792759e1e..f7657455b52 100644
--- a/frontend/src/app/core/global_search/input/global-search.component.sass
+++ b/frontend/src/app/core/global_search/input/global-search.component.sass
@@ -1,4 +1,4 @@
-@import "src/assets/sass/helpers"
+@import "helpers"
.global-search
flex-grow: 1
diff --git a/frontend/src/app/features/bim/ifc_models/bcf/list/bcf-list.component.sass b/frontend/src/app/features/bim/ifc_models/bcf/list/bcf-list.component.sass
index 1ef1768c2d4..edb6730591b 100644
--- a/frontend/src/app/features/bim/ifc_models/bcf/list/bcf-list.component.sass
+++ b/frontend/src/app/features/bim/ifc_models/bcf/list/bcf-list.component.sass
@@ -1,4 +1,4 @@
-@import "src/assets/sass/helpers"
+@import "helpers"
.op-bcf-list
&--result-overlay
diff --git a/frontend/src/app/features/bim/ifc_models/ifc-viewer/ifc-viewer.component.sass b/frontend/src/app/features/bim/ifc_models/ifc-viewer/ifc-viewer.component.sass
index ba16686f0cc..c7e17b2ac33 100644
--- a/frontend/src/app/features/bim/ifc_models/ifc-viewer/ifc-viewer.component.sass
+++ b/frontend/src/app/features/bim/ifc_models/ifc-viewer/ifc-viewer.component.sass
@@ -1,4 +1,4 @@
-@import "src/assets/sass/helpers"
+@import "helpers"
.op-ifc-viewer
display: flex
diff --git a/frontend/src/app/features/bim/ifc_models/pages/viewer/styles/generic.sass b/frontend/src/app/features/bim/ifc_models/pages/viewer/styles/generic.sass
index 7e639730003..311296ed1c7 100644
--- a/frontend/src/app/features/bim/ifc_models/pages/viewer/styles/generic.sass
+++ b/frontend/src/app/features/bim/ifc_models/pages/viewer/styles/generic.sass
@@ -1,5 +1,5 @@
// Global helpers
-@import "src/assets/sass/helpers"
+@import "helpers"
// Need to import the icon mixins
@import "../../../../../../../global_styles/fonts/openproject_icon_definitions"
diff --git a/frontend/src/app/features/boards/board/board-actions/assignee/assignee-board-header.sass b/frontend/src/app/features/boards/board/board-actions/assignee/assignee-board-header.sass
index 4f89b849f05..4c89452d5dd 100644
--- a/frontend/src/app/features/boards/board/board-actions/assignee/assignee-board-header.sass
+++ b/frontend/src/app/features/boards/board/board-actions/assignee/assignee-board-header.sass
@@ -1,4 +1,4 @@
-@import 'src/assets/sass/helpers'
+@import 'helpers'
.op-assignee-board-header
display: flex
@@ -8,4 +8,4 @@
padding-right: 5px
.editable-toolbar-title--fixed
- @include board-header-editable-toolbar-title
\ No newline at end of file
+ @include board-header-editable-toolbar-title
diff --git a/frontend/src/app/features/boards/board/board-actions/status/status-board-header.sass b/frontend/src/app/features/boards/board/board-actions/status/status-board-header.sass
index 1a535843eef..4e7a360db72 100644
--- a/frontend/src/app/features/boards/board/board-actions/status/status-board-header.sass
+++ b/frontend/src/app/features/boards/board/board-actions/status/status-board-header.sass
@@ -1,6 +1,6 @@
-@import 'src/assets/sass/helpers'
+@import 'helpers'
.op-status-board-header
.editable-toolbar-title--fixed
- @include board-header-editable-toolbar-title
\ No newline at end of file
+ @include board-header-editable-toolbar-title
diff --git a/frontend/src/app/features/boards/board/board-actions/subproject/subproject-board-header.sass b/frontend/src/app/features/boards/board/board-actions/subproject/subproject-board-header.sass
index ae890f8f739..0708c7c7ce9 100644
--- a/frontend/src/app/features/boards/board/board-actions/subproject/subproject-board-header.sass
+++ b/frontend/src/app/features/boards/board/board-actions/subproject/subproject-board-header.sass
@@ -1,6 +1,6 @@
-@import 'src/assets/sass/helpers'
+@import 'helpers'
.op-subproject-board-header
.editable-toolbar-title--fixed
- @include board-header-editable-toolbar-title
\ No newline at end of file
+ @include board-header-editable-toolbar-title
diff --git a/frontend/src/app/features/boards/board/board-actions/subtasks/subtasks-board-header.sass b/frontend/src/app/features/boards/board/board-actions/subtasks/subtasks-board-header.sass
index 03a9cf467c4..cda308cab0c 100644
--- a/frontend/src/app/features/boards/board/board-actions/subtasks/subtasks-board-header.sass
+++ b/frontend/src/app/features/boards/board/board-actions/subtasks/subtasks-board-header.sass
@@ -1,9 +1,9 @@
-@import 'src/assets/sass/helpers'
+@import 'helpers'
.op-subtask-board-header
&--work-package-type
padding-right: 0.5rem
-
+
.editable-toolbar-title--fixed
- @include board-header-editable-toolbar-title
\ No newline at end of file
+ @include board-header-editable-toolbar-title
diff --git a/frontend/src/app/features/boards/board/board-actions/version/version-board-header.sass b/frontend/src/app/features/boards/board/board-actions/version/version-board-header.sass
index 7c7556a5c72..c15ec603a63 100644
--- a/frontend/src/app/features/boards/board/board-actions/version/version-board-header.sass
+++ b/frontend/src/app/features/boards/board/board-actions/version/version-board-header.sass
@@ -1,8 +1,8 @@
-@import 'src/assets/sass/helpers'
+@import 'helpers'
.op-version-board-header
display: flex
flex-direction: column
.editable-toolbar-title--fixed
- @include board-header-editable-toolbar-title
\ No newline at end of file
+ @include board-header-editable-toolbar-title
diff --git a/frontend/src/app/features/boards/board/board-list/board-list.component.sass b/frontend/src/app/features/boards/board/board-list/board-list.component.sass
index cafea608b1f..97f640a91b8 100644
--- a/frontend/src/app/features/boards/board/board-list/board-list.component.sass
+++ b/frontend/src/app/features/boards/board/board-list/board-list.component.sass
@@ -1,4 +1,4 @@
-@import 'src/assets/sass/helpers'
+@import 'helpers'
$board-list-max-width: 300px
diff --git a/frontend/src/app/features/boards/board/board-partitioned-page/board-list-container.component.sass b/frontend/src/app/features/boards/board/board-partitioned-page/board-list-container.component.sass
index 4acceed10a3..9a0a6d0ebbf 100644
--- a/frontend/src/app/features/boards/board/board-partitioned-page/board-list-container.component.sass
+++ b/frontend/src/app/features/boards/board/board-partitioned-page/board-list-container.component.sass
@@ -1,4 +1,4 @@
-@import 'src/assets/sass/helpers'
+@import 'helpers'
$board-list-max-width: 300px
$board-list-top-offset: 18px
diff --git a/frontend/src/app/features/in-app-notifications/bell/in-app-notification-bell.component.sass b/frontend/src/app/features/in-app-notifications/bell/in-app-notification-bell.component.sass
index 46ef9eb4078..89b14b4dcc6 100644
--- a/frontend/src/app/features/in-app-notifications/bell/in-app-notification-bell.component.sass
+++ b/frontend/src/app/features/in-app-notifications/bell/in-app-notification-bell.component.sass
@@ -1,4 +1,4 @@
-@import "src/assets/sass/helpers"
+@import "helpers"
.op-ian-bell
position: relative
diff --git a/frontend/src/app/features/in-app-notifications/entry/actors-line/in-app-notification-actors-line.component.sass b/frontend/src/app/features/in-app-notifications/entry/actors-line/in-app-notification-actors-line.component.sass
index d11094a721d..98e890e4fcf 100644
--- a/frontend/src/app/features/in-app-notifications/entry/actors-line/in-app-notification-actors-line.component.sass
+++ b/frontend/src/app/features/in-app-notifications/entry/actors-line/in-app-notification-actors-line.component.sass
@@ -1,4 +1,4 @@
-@import "src/assets/sass/helpers"
+@import "helpers"
.op-ian-actors
display: grid
diff --git a/frontend/src/app/features/in-app-notifications/entry/in-app-notification-entry.component.sass b/frontend/src/app/features/in-app-notifications/entry/in-app-notification-entry.component.sass
index e92c8339ca4..e65bb9d87d8 100644
--- a/frontend/src/app/features/in-app-notifications/entry/in-app-notification-entry.component.sass
+++ b/frontend/src/app/features/in-app-notifications/entry/in-app-notification-entry.component.sass
@@ -1,4 +1,4 @@
-@import "src/assets/sass/helpers"
+@import "helpers"
$ian-bg-color: #FFFFFF
$ian-bg-hover-color: var(--gray-light)
diff --git a/frontend/src/app/features/team-planner/team-planner/add-work-packages/add-existing-pane.component.sass b/frontend/src/app/features/team-planner/team-planner/add-work-packages/add-existing-pane.component.sass
index 52b2426608e..6c653e5ce87 100644
--- a/frontend/src/app/features/team-planner/team-planner/add-work-packages/add-existing-pane.component.sass
+++ b/frontend/src/app/features/team-planner/team-planner/add-work-packages/add-existing-pane.component.sass
@@ -1,4 +1,4 @@
-@import "src/assets/sass/helpers"
+@import "helpers"
\:host
display: grid
diff --git a/frontend/src/app/features/work-packages/components/wp-activity/user/user-activity.component.sass b/frontend/src/app/features/work-packages/components/wp-activity/user/user-activity.component.sass
index 174ccb754f8..24356f8c7d5 100644
--- a/frontend/src/app/features/work-packages/components/wp-activity/user/user-activity.component.sass
+++ b/frontend/src/app/features/work-packages/components/wp-activity/user/user-activity.component.sass
@@ -1,4 +1,4 @@
-@import "src/assets/sass/helpers"
+@import "helpers"
.op-user-activity
&--user-line
diff --git a/frontend/src/app/features/work-packages/components/wp-baseline/baseline/baseline.component.sass b/frontend/src/app/features/work-packages/components/wp-baseline/baseline/baseline.component.sass
index 8fa92b6ce1c..275c7cddbb7 100644
--- a/frontend/src/app/features/work-packages/components/wp-baseline/baseline/baseline.component.sass
+++ b/frontend/src/app/features/work-packages/components/wp-baseline/baseline/baseline.component.sass
@@ -1,4 +1,4 @@
-@import "src/assets/sass/helpers"
+@import "helpers"
.op-baseline
&--header
@@ -39,7 +39,7 @@
width: 600px
&--time
-
+
&-input
width: 65%
@@ -58,7 +58,7 @@
display: block
&--filter
-
+
&-description
font-size: $spot-spacing-0_75
font-style: italic
diff --git a/frontend/src/app/features/work-packages/components/wp-breadcrumb/wp-breadcrumb.sass b/frontend/src/app/features/work-packages/components/wp-breadcrumb/wp-breadcrumb.sass
index 165bd14d049..2c92544764d 100644
--- a/frontend/src/app/features/work-packages/components/wp-breadcrumb/wp-breadcrumb.sass
+++ b/frontend/src/app/features/work-packages/components/wp-breadcrumb/wp-breadcrumb.sass
@@ -1,4 +1,4 @@
-@import "src/assets/sass/helpers"
+@import "helpers"
.op-wp-breadcrumb
@include global-breadcrumb-styles
diff --git a/frontend/src/app/features/work-packages/components/wp-form-group/wp-attribute-group.component.sass b/frontend/src/app/features/work-packages/components/wp-form-group/wp-attribute-group.component.sass
index 6be5d8599dd..97d4cd4e91d 100644
--- a/frontend/src/app/features/work-packages/components/wp-form-group/wp-attribute-group.component.sass
+++ b/frontend/src/app/features/work-packages/components/wp-form-group/wp-attribute-group.component.sass
@@ -1,4 +1,4 @@
-@import "src/assets/sass/helpers"
+@import "helpers"
// The attribute groups for work packages are a bit different thant on other pages:
//
@@ -8,7 +8,7 @@
// Parent > 800px: 2 Column view where all fields have left-right labels, and long text fields span both columns
//
// More specifically:
-//
+//
// Requirements for the attribute sections in the WP view
// * Number of columns: min 1, max 2.
// * Min-width: 400px, max-width: not wider than the parent.
@@ -25,14 +25,14 @@
flex-wrap: wrap
// We want a margin between items, but not between items and the parent box.
- //
+ //
// We don't know if any one item is on the right,
// the left, or spanning both columns. The easy way to get a gutter is to give
// *all* elements margins on both sides, and then negating this margin on the parent.
// This also explains all of the + and - xrem calc() values below.
margin: 0 -1 * $spot-spacing-1_5
width: calc(100% + #{$spot-spacing-3})
-
+
&--attribute
flex-basis: 400px
flex-grow: 1
diff --git a/frontend/src/app/features/work-packages/routing/partitioned-query-space-page/partitioned-query-space-page.component.sass b/frontend/src/app/features/work-packages/routing/partitioned-query-space-page/partitioned-query-space-page.component.sass
index 9b5691ca56c..b4661621c06 100644
--- a/frontend/src/app/features/work-packages/routing/partitioned-query-space-page/partitioned-query-space-page.component.sass
+++ b/frontend/src/app/features/work-packages/routing/partitioned-query-space-page/partitioned-query-space-page.component.sass
@@ -1,4 +1,4 @@
-@import "src/assets/sass/helpers"
+@import "helpers"
.work-packages-partitioned-query-space--container
position: relative
@@ -52,7 +52,7 @@
min-width: initial
max-width: 100vw
max-height: 100%
-
+
@media only screen and (max-width: $breakpoint-md)
.toolbar
display: grid
diff --git a/frontend/src/app/features/work-packages/routing/wp-list-view/wp-list-view.component.sass b/frontend/src/app/features/work-packages/routing/wp-list-view/wp-list-view.component.sass
index c1503e59589..c2552a0c472 100644
--- a/frontend/src/app/features/work-packages/routing/wp-list-view/wp-list-view.component.sass
+++ b/frontend/src/app/features/work-packages/routing/wp-list-view/wp-list-view.component.sass
@@ -1,4 +1,4 @@
-@import "src/assets/sass/helpers"
+@import "helpers"
.op-wp-list-view
&--result-overlay
diff --git a/frontend/src/app/shared/components/fields/macros/attribute-macro.sass b/frontend/src/app/shared/components/fields/macros/attribute-macro.sass
index 21f5bfce867..601493d022d 100644
--- a/frontend/src/app/shared/components/fields/macros/attribute-macro.sass
+++ b/frontend/src/app/shared/components/fields/macros/attribute-macro.sass
@@ -1,4 +1,4 @@
-@import 'src/assets/sass/helpers'
+@import 'helpers'
\:host
- @include macro--text-style
\ No newline at end of file
+ @include macro--text-style
diff --git a/frontend/src/app/shared/components/fields/macros/work-package-quickinfo-macro.sass b/frontend/src/app/shared/components/fields/macros/work-package-quickinfo-macro.sass
index 31a07b7c78e..456ad8b3c8d 100644
--- a/frontend/src/app/shared/components/fields/macros/work-package-quickinfo-macro.sass
+++ b/frontend/src/app/shared/components/fields/macros/work-package-quickinfo-macro.sass
@@ -1,4 +1,4 @@
-@import 'src/assets/sass/helpers'
+@import 'helpers'
\:host
@include macro--text-style
@@ -7,4 +7,4 @@ display-field
padding-right: 2px
display-field[fieldName="status"]
- padding-right: 6px
\ No newline at end of file
+ padding-right: 6px
diff --git a/frontend/src/app/shared/components/principal/principal.component.sass b/frontend/src/app/shared/components/principal/principal.component.sass
index 729f1d3e8a2..eddf505afb6 100644
--- a/frontend/src/app/shared/components/principal/principal.component.sass
+++ b/frontend/src/app/shared/components/principal/principal.component.sass
@@ -1,7 +1,7 @@
-@import "src/assets/sass/helpers"
+@import "helpers"
.op-principal--timer
@include indicator-bubble
position: absolute
top: 10px
right: 3px
- background: darkred
\ No newline at end of file
+ background: darkred
diff --git a/frontend/src/app/shared/components/tabs/tab-badges/tab-count.component.sass b/frontend/src/app/shared/components/tabs/tab-badges/tab-count.component.sass
index 74adccd4631..9ccf843533c 100644
--- a/frontend/src/app/shared/components/tabs/tab-badges/tab-count.component.sass
+++ b/frontend/src/app/shared/components/tabs/tab-badges/tab-count.component.sass
@@ -1,4 +1,4 @@
-@import "src/assets/sass/helpers"
+@import "helpers"
.op-tab-count
@include indicator-bubble
diff --git a/frontend/src/app/shared/components/time_entries/timer/timer-account-menu.component.sass b/frontend/src/app/shared/components/time_entries/timer/timer-account-menu.component.sass
index a37f21882b9..9ccf98e03e0 100644
--- a/frontend/src/app/shared/components/time_entries/timer/timer-account-menu.component.sass
+++ b/frontend/src/app/shared/components/time_entries/timer/timer-account-menu.component.sass
@@ -1,16 +1,16 @@
-@import "src/assets/sass/helpers"
+@import "helpers"
.op-timer-account-menu
max-width: 270px
display: block
@include spot-body-small
-
+
&--timer
display: flex
align-items: center
padding: 0 10px
@include spot-body-small (bold)
line-height: $spot-spacing-2
-
+
&-icon
margin-left: auto
&--wp-details
@@ -18,4 +18,3 @@
display: inline-block
width: 270px
@include text-shortener
-
\ No newline at end of file