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
Move back to old styles in some instances
Benjamin Bädorf007f85c281eb
diff --git a/frontend/src/app/shared/components/project-include/project-include.component.html b/frontend/src/app/shared/components/project-include/project-include.component.htmlindex 929e5742560..d81eac6a54c 100644--- a/frontend/src/app/shared/components/project-include/project-include.component.html+++ b/frontend/src/app/shared/components/project-include/project-include.component.html@@ -22,10 +22,24 @@<ng-container slot="body"><div class="op-project-include--header"><h1 class="op-project-include--title">{{ text.title }}</h1>- <spot-toggle- [options]="displayModeOptions"- [(ngModel)]="displayMode"- ></spot-toggle>+ <div class="form--field-inline-buttons-container">+ <button+ class="button form--field-inline-button"+ [ngClass]="{ '-active': displayMode === 'all' }"+ type="button"+ (click)="displayMode = 'all'"+ >+ {{ text.filter_all }}+ </button>+ <button+ class="button form--field-inline-button"+ type="button"+ [ngClass]="{ '-active': displayMode === 'selected' }"+ (click)="displayMode = 'selected'"+ >+ {{ text.filter_selected }}+ </button>+ </div></div><form(submit)="onSubmit($event)"@@ -73,7 +87,7 @@<div class="spot-action-bar--right"><button[disabled]="(loading$ | async)"- class="spot-button spot-button_outlined spot-button_main"+ class="button"type="button"(click)="clearSelection()">@@ -81,7 +95,7 @@</button><button[disabled]="(loading$ | async)"- class="spot-button spot-button_main"+ class="button -highlight">{{ text.apply }}</button>diff --git a/frontend/src/app/shared/components/project-include/project-include.component.ts b/frontend/src/app/shared/components/project-include/project-include.component.tsindex a8b82fb0048..2026deb8632 100644--- a/frontend/src/app/shared/components/project-include/project-include.component.ts+++ b/frontend/src/app/shared/components/project-include/project-include.component.ts@@ -65,11 +65,6 @@ export class OpProjectIncludeComponent extends UntilDestroyedMixin implements Onpublic query$ = this.wpTableFilters.querySpace.query.values$();- public displayModeOptions = [- { value: 'all', title: this.text.filter_all },- { value: 'selected', title: this.text.filter_selected },- ];-private _displayMode = 'all';public get displayMode():string {diff --git a/frontend/src/app/spot/styles/sass/components/drop-modal.sass b/frontend/src/app/spot/styles/sass/components/drop-modal.sassindex 426d41f11ed..d7e927e3688 100644--- a/frontend/src/app/spot/styles/sass/components/drop-modal.sass+++ b/frontend/src/app/spot/styles/sass/components/drop-modal.sass@@ -3,7 +3,7 @@display: inline-flex&--body- $border-radius: 5px+ $border-radius: 2px@include spot-z-index("drop-modal", 1)pointer-events: alldiff --git a/frontend/src/app/spot/styles/sass/components/link.sass b/frontend/src/app/spot/styles/sass/components/link.sassindex 7d7a1765784..8b177e72cd5 100644--- a/frontend/src/app/spot/styles/sass/components/link.sass+++ b/frontend/src/app/spot/styles/sass/components/link.sass@@ -1,7 +1,7 @@.spot-link@include unset-button-stylesdisplay: inline- color: $spot-color-main+ color: var(--content-link-color)text-decoration: nonecursor: pointer@@ -11,7 +11,7 @@&:hover,&:active,&:focus- color: $spot-color-main-dark+ color: var(--content-link-hover-active-color)text-decoration: none&_dangerdiff --git a/frontend/src/global_styles/content/_buttons.sass b/frontend/src/global_styles/content/_buttons.sassindex 21eae57c947..92406721174 100644--- a/frontend/src/global_styles/content/_buttons.sass+++ b/frontend/src/global_styles/content/_buttons.sass@@ -146,6 +146,14 @@ html.-browser-windows.-browser-chrome&:beforemargin-right: var(--button--text-icon-spacing)+ // This is an override to be able to use these button styles in the new SPOT action-bar+ .spot-action-bar+ .button+ width: auto++ &:not(:last-child)+ margin-right: 1rem+// Button class to use as a link-like submit button.button--linkcolor: var(--content-link-color)