Skip to content

Commit 4feb246

Browse files
Change sass imports to standards
1 parent e95884a commit 4feb246

File tree

27 files changed

+44
-45
lines changed

27 files changed

+44
-45
lines changed

frontend/src/app/core/global_search/input/global-search-input-mobile.component.sass

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import "src/assets/sass/helpers"
1+
@import "helpers"
22

33
$search-input-height-mobile: 36px
44

frontend/src/app/core/global_search/input/global-search.component.sass

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import "src/assets/sass/helpers"
1+
@import "helpers"
22

33
.global-search
44
flex-grow: 1

frontend/src/app/features/bim/ifc_models/bcf/list/bcf-list.component.sass

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import "src/assets/sass/helpers"
1+
@import "helpers"
22

33
.op-bcf-list
44
&--result-overlay

frontend/src/app/features/bim/ifc_models/ifc-viewer/ifc-viewer.component.sass

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import "src/assets/sass/helpers"
1+
@import "helpers"
22

33
.op-ifc-viewer
44
display: flex

frontend/src/app/features/bim/ifc_models/pages/viewer/styles/generic.sass

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Global helpers
2-
@import "src/assets/sass/helpers"
2+
@import "helpers"
33

44
// Need to import the icon mixins
55
@import "../../../../../../../global_styles/fonts/openproject_icon_definitions"
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import 'src/assets/sass/helpers'
1+
@import 'helpers'
22

33
.op-assignee-board-header
44
display: flex
@@ -8,4 +8,4 @@
88
padding-right: 5px
99

1010
.editable-toolbar-title--fixed
11-
@include board-header-editable-toolbar-title
11+
@include board-header-editable-toolbar-title
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
@import 'src/assets/sass/helpers'
1+
@import 'helpers'
22

33
.op-status-board-header
44

55
.editable-toolbar-title--fixed
6-
@include board-header-editable-toolbar-title
6+
@include board-header-editable-toolbar-title
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
@import 'src/assets/sass/helpers'
1+
@import 'helpers'
22

33
.op-subproject-board-header
44

55
.editable-toolbar-title--fixed
6-
@include board-header-editable-toolbar-title
6+
@include board-header-editable-toolbar-title
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
@import 'src/assets/sass/helpers'
1+
@import 'helpers'
22

33
.op-subtask-board-header
44

55
&--work-package-type
66
padding-right: 0.5rem
7-
7+
88
.editable-toolbar-title--fixed
9-
@include board-header-editable-toolbar-title
9+
@include board-header-editable-toolbar-title
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
@import 'src/assets/sass/helpers'
1+
@import 'helpers'
22

33
.op-version-board-header
44
display: flex
55
flex-direction: column
66

77
.editable-toolbar-title--fixed
8-
@include board-header-editable-toolbar-title
8+
@include board-header-editable-toolbar-title

frontend/src/app/features/boards/board/board-list/board-list.component.sass

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import 'src/assets/sass/helpers'
1+
@import 'helpers'
22

33
$board-list-max-width: 300px
44

frontend/src/app/features/boards/board/board-partitioned-page/board-list-container.component.sass

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import 'src/assets/sass/helpers'
1+
@import 'helpers'
22

33
$board-list-max-width: 300px
44
$board-list-top-offset: 18px

frontend/src/app/features/in-app-notifications/bell/in-app-notification-bell.component.sass

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import "src/assets/sass/helpers"
1+
@import "helpers"
22

33
.op-ian-bell
44
position: relative

frontend/src/app/features/in-app-notifications/entry/actors-line/in-app-notification-actors-line.component.sass

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import "src/assets/sass/helpers"
1+
@import "helpers"
22

33
.op-ian-actors
44
display: grid

frontend/src/app/features/in-app-notifications/entry/in-app-notification-entry.component.sass

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import "src/assets/sass/helpers"
1+
@import "helpers"
22

33
$ian-bg-color: #FFFFFF
44
$ian-bg-hover-color: var(--gray-light)

frontend/src/app/features/team-planner/team-planner/add-work-packages/add-existing-pane.component.sass

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import "src/assets/sass/helpers"
1+
@import "helpers"
22

33
\:host
44
display: grid

frontend/src/app/features/work-packages/components/wp-activity/user/user-activity.component.sass

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import "src/assets/sass/helpers"
1+
@import "helpers"
22

33
.op-user-activity
44
&--user-line

frontend/src/app/features/work-packages/components/wp-baseline/baseline/baseline.component.sass

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import "src/assets/sass/helpers"
1+
@import "helpers"
22

33
.op-baseline
44
&--header
@@ -39,7 +39,7 @@
3939
width: 600px
4040

4141
&--time
42-
42+
4343
&-input
4444
width: 65%
4545

@@ -58,7 +58,7 @@
5858
display: block
5959

6060
&--filter
61-
61+
6262
&-description
6363
font-size: $spot-spacing-0_75
6464
font-style: italic

frontend/src/app/features/work-packages/components/wp-breadcrumb/wp-breadcrumb.sass

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import "src/assets/sass/helpers"
1+
@import "helpers"
22

33
.op-wp-breadcrumb
44
@include global-breadcrumb-styles

frontend/src/app/features/work-packages/components/wp-form-group/wp-attribute-group.component.sass

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import "src/assets/sass/helpers"
1+
@import "helpers"
22

33
// The attribute groups for work packages are a bit different thant on other pages:
44
//
@@ -8,7 +8,7 @@
88
// Parent > 800px: 2 Column view where all fields have left-right labels, and long text fields span both columns
99
//
1010
// More specifically:
11-
//
11+
//
1212
// Requirements for the attribute sections in the WP view
1313
// * Number of columns: min 1, max 2.
1414
// * Min-width: 400px, max-width: not wider than the parent.
@@ -25,14 +25,14 @@
2525
flex-wrap: wrap
2626

2727
// We want a margin between items, but not between items and the parent box.
28-
//
28+
//
2929
// We don't know if any one item is on the right,
3030
// the left, or spanning both columns. The easy way to get a gutter is to give
3131
// *all* elements margins on both sides, and then negating this margin on the parent.
3232
// This also explains all of the + and - xrem calc() values below.
3333
margin: 0 -1 * $spot-spacing-1_5
3434
width: calc(100% + #{$spot-spacing-3})
35-
35+
3636
&--attribute
3737
flex-basis: 400px
3838
flex-grow: 1

frontend/src/app/features/work-packages/routing/partitioned-query-space-page/partitioned-query-space-page.component.sass

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import "src/assets/sass/helpers"
1+
@import "helpers"
22

33
.work-packages-partitioned-query-space--container
44
position: relative
@@ -52,7 +52,7 @@
5252
min-width: initial
5353
max-width: 100vw
5454
max-height: 100%
55-
55+
5656
@media only screen and (max-width: $breakpoint-md)
5757
.toolbar
5858
display: grid

frontend/src/app/features/work-packages/routing/wp-list-view/wp-list-view.component.sass

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import "src/assets/sass/helpers"
1+
@import "helpers"
22

33
.op-wp-list-view
44
&--result-overlay
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import 'src/assets/sass/helpers'
1+
@import 'helpers'
22

33
\:host
4-
@include macro--text-style
4+
@include macro--text-style
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import 'src/assets/sass/helpers'
1+
@import 'helpers'
22

33
\:host
44
@include macro--text-style
@@ -7,4 +7,4 @@ display-field
77
padding-right: 2px
88

99
display-field[fieldName="status"]
10-
padding-right: 6px
10+
padding-right: 6px
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
@import "src/assets/sass/helpers"
1+
@import "helpers"
22
.op-principal--timer
33
@include indicator-bubble
44
position: absolute
55
top: 10px
66
right: 3px
7-
background: darkred
7+
background: darkred

frontend/src/app/shared/components/tabs/tab-badges/tab-count.component.sass

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import "src/assets/sass/helpers"
1+
@import "helpers"
22

33
.op-tab-count
44
@include indicator-bubble
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
1-
@import "src/assets/sass/helpers"
1+
@import "helpers"
22
.op-timer-account-menu
33
max-width: 270px
44
display: block
55
@include spot-body-small
6-
6+
77
&--timer
88
display: flex
99
align-items: center
1010
padding: 0 10px
1111
@include spot-body-small (bold)
1212
line-height: $spot-spacing-2
13-
13+
1414
&-icon
1515
margin-left: auto
1616
&--wp-details
1717
padding: 0 10px
1818
display: inline-block
1919
width: 270px
2020
@include text-shortener
21-

0 commit comments

Comments
 (0)