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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
rafactoring board headers styles
bsatarnejad21cd8bdd1ac1
diff --git a/frontend/src/app/features/boards/board/board-actions/assignee/assignee-board-header.html b/frontend/src/app/features/boards/board/board-actions/assignee/assignee-board-header.htmlindex bba3a39a75b..1a11a90eca9 100644--- a/frontend/src/app/features/boards/board/board-actions/assignee/assignee-board-header.html+++ b/frontend/src/app/features/boards/board/board-actions/assignee/assignee-board-header.html@@ -1,11 +1,11 @@-<div class="assignee-board-header" *ngIf="user">+<div class="op-assignee-board-header" *ngIf="user"><op-principal*ngIf="user.id"[principal]="user"[hide-name]="true"size="mini"></op-principal>- <h2 class="editable-toolbar-title--fixed">+ <h2 class="op-assignee-board-header--editable-toolbar-title--fixed"><small [textContent]="text.assignee"></small><br/><a *ngIf="user.id"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.sassindex fafa5833bf0..0df9ddda859 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,9 +1,9 @@-.assignee-board-header+.op-assignee-board-headerdisplay: flexop-principalalign-self: centerpadding-right: 5px-.editable-toolbar-title--fixed- line-height: 1 !important\ No newline at end of file+ &--editable-toolbar-title--fixed+ line-height: 1 !important\ No newline at end of filediff --git a/frontend/src/app/features/boards/board/board-actions/status/status-board-header.html b/frontend/src/app/features/boards/board/board-actions/status/status-board-header.htmlindex f2d64c8c46f..91489bba079 100644--- a/frontend/src/app/features/boards/board/board-actions/status/status-board-header.html+++ b/frontend/src/app/features/boards/board/board-actions/status/status-board-header.html@@ -1,5 +1,5 @@-<div class="status-board-header" *ngIf="status">- <h2 class="editable-toolbar-title--fixed">+<div class="op-status-board-header" *ngIf="status">+ <h2 class="op-status-board-header--editable-toolbar-title--fixed"><small [textContent]="text.status"></small><br/>{{ status.name }}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.sassindex b37579485d2..122226a7c1c 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,2 +1,3 @@-.editable-toolbar-title--fixed- line-height: 1 !important\ No newline at end of file+.op-status-board-header+ &--editable-toolbar-title--fixed+ line-height: 1 !important\ No newline at end of filediff --git a/frontend/src/app/features/boards/board/board-actions/subproject/subproject-board-header.html b/frontend/src/app/features/boards/board/board-actions/subproject/subproject-board-header.htmlindex 7da2dad3502..fdd3f10941f 100644--- a/frontend/src/app/features/boards/board/board-actions/subproject/subproject-board-header.html+++ b/frontend/src/app/features/boards/board/board-actions/subproject/subproject-board-header.html@@ -1,5 +1,5 @@-<div class="subproject-board-header" *ngIf="resource">- <h2 class="editable-toolbar-title--fixed">+<div class="op-subproject-board-header" *ngIf="resource">+ <h2 class="op-subproject-board-header--editable-toolbar-title--fixed"><small [textContent]="text.project"></small><br/><a [href]="pathHelper.projectPath(resource.idFromLink)"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.sassindex f48f5f33960..16458224588 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,4 +1,5 @@// Override line-height for proper// display of the h2 + small-.editable-toolbar-title--fixed- line-height: 1 !important\ No newline at end of file+.op-subproject-board-header+ &--editable-toolbar-title--fixed+ line-height: 1 !important\ No newline at end of filediff --git a/frontend/src/app/features/boards/board/board-actions/subtasks/subtasks-board-header.html b/frontend/src/app/features/boards/board/board-actions/subtasks/subtasks-board-header.htmlindex 47aa1824407..3da4cba113c 100644--- a/frontend/src/app/features/boards/board/board-actions/subtasks/subtasks-board-header.html+++ b/frontend/src/app/features/boards/board/board-actions/subtasks/subtasks-board-header.html@@ -1,8 +1,8 @@-<div class="subtask-board-header" *ngIf="resource">- <h2 class="editable-toolbar-title--fixed">+<div class="op-subtask-board-header" *ngIf="resource">+ <h2 class="op-subtask-board-header--editable-toolbar-title--fixed"><small [textContent]="text.workPackage"></small><br/>- <span class="work-package-type"+ <span class="op-subtask-board-header--work-package-type"[ngClass]="typeHighlightingClass"[textContent]="resource.type.name"></span>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.sassindex 3fb7e635b5f..6ca5784995a 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,7 +1,8 @@// Override line-height for proper// display of the h2 + small-.editable-toolbar-title--fixed- line-height: 1 !important+.op-subtask-board-header+ &--editable-toolbar-title--fixed+ line-height: 1 !important-.work-package-type- padding-right: 0.5rem\ No newline at end of file+ &--work-package-type+ padding-right: 0.5rem\ No newline at end of filediff --git a/frontend/src/app/features/boards/board/board-actions/version/version-board-header.html b/frontend/src/app/features/boards/board/board-actions/version/version-board-header.htmlindex 9e86958dfa9..e15524c659b 100644--- a/frontend/src/app/features/boards/board/board-actions/version/version-board-header.html+++ b/frontend/src/app/features/boards/board/board-actions/version/version-board-header.html@@ -1,7 +1,7 @@-<div class="version-board-header"+<div class="op-version-board-header"[ngClass]="{ '-closed': version.isClosed(), '-locked': version.isLocked() }"*ngIf="version">- <h2 class="editable-toolbar-title--fixed">+ <h2 class="op-version-board-header--editable-toolbar-title--fixed"><small [textContent]="text.version"></small><br/><a [href]="pathHelper.versionShowPath(version.id)"@@ -10,5 +10,5 @@</a></h2>- <span class="version-board-header--info-row -italic -small-font"> {{version.endDate}} </span>+ <span class="op-version-board-header--info-row -italic -small-font"> {{version.endDate}} </span></div>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.sassindex 512c4f35a3e..b0a47354419 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,6 +1,6 @@-.version-board-header+.op-version-board-headerdisplay: flexflex-direction: column-.editable-toolbar-title--fixed- line-height: 1 !important\ No newline at end of file+ &--editable-toolbar-title--fixed+ line-height: 1 !important\ No newline at end of file