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
Add spot-link to the design system and replace old op-link with it
Henriette Darge3317fa1c2037
diff --git a/app/cells/projects/table_cell.rb b/app/cells/projects/table_cell.rbindex e367756ed56..b4037b518e9 100644--- a/app/cells/projects/table_cell.rb+++ b/app/cells/projects/table_cell.rb@@ -39,7 +39,7 @@ module Projectsdef deactivate_class_on_lft_sortif sorted_by_lft?- 'op-link_inactive'+ 'spot-link_inactive'endenddiff --git a/app/cells/views/projects/table/show.erb b/app/cells/views/projects/table/show.erbindex 856ac701101..8ed607552a3 100644--- a/app/cells/views/projects/table/show.erb+++ b/app/cells/views/projects/table/show.erb@@ -47,7 +47,7 @@ See COPYRIGHT and LICENSE files for more details.<%= content_tag :a,op_icon("icon-hierarchy"),href: href_only_when_not_sort_lft,- class: "op-link #{deactivate_class_on_lft_sort}",+ class: "spot-link #{deactivate_class_on_lft_sort}",title: t(:label_sort_by, value: %("#{t(:label_project_hierarchy)}")) %></div></div>diff --git a/frontend/src/app/features/admin/editable-query-props/editable-query-props.component.html b/frontend/src/app/features/admin/editable-query-props/editable-query-props.component.htmlindex f7759f13624..c9cbc7aa630 100644--- a/frontend/src/app/features/admin/editable-query-props/editable-query-props.component.html+++ b/frontend/src/app/features/admin/editable-query-props/editable-query-props.component.html@@ -4,7 +4,7 @@[value]="queryProps"/><buttontype="button"- class="op-link"+ class="spot-link"(click)="editQuery()"[textContent]="text.edit_query">diff --git a/frontend/src/app/features/boards/board/board-list/board-list.component.html b/frontend/src/app/features/boards/board/board-list/board-list.component.htmlindex 1b9ba5694da..0917eb8bd3e 100644--- a/frontend/src/app/features/boards/board/board-list/board-list.component.html+++ b/frontend/src/app/features/boards/board/board-list/board-list.component.html@@ -64,7 +64,7 @@&ngsp;<butontype="button"- class="op-link"+ class="spot-link"(click)="onRemove.emit()"><span [textContent]="text.click_to_remove"></span>diff --git a/frontend/src/app/features/boards/index-page/boards-index-page.component.html b/frontend/src/app/features/boards/index-page/boards-index-page.component.htmlindex 7eceecb7613..88e80f0bb5d 100644--- a/frontend/src/app/features/boards/index-page/boards-index-page.component.html+++ b/frontend/src/app/features/boards/index-page/boards-index-page.component.html@@ -94,7 +94,7 @@<op-date-time [dateTimeValue]="board.createdAt"></op-date-time></td><td class="buttons">- <button class="op-link"+ <button class="spot-link"type="button"(click)="destroyBoard(board)"[title]="text.delete"diff --git a/frontend/src/app/features/enterprise/enterprise-trial-waiting/ee-trial-waiting.component.html b/frontend/src/app/features/enterprise/enterprise-trial-waiting/ee-trial-waiting.component.htmlindex 67e1167865d..54efa8a0a96 100644--- a/frontend/src/app/features/enterprise/enterprise-trial-waiting/ee-trial-waiting.component.html+++ b/frontend/src/app/features/enterprise/enterprise-trial-waiting/ee-trial-waiting.component.html@@ -11,7 +11,7 @@<!-- <a id="op-ee-trial-waiting-resend-link"data-qa-selector='op-ee-trial-waiting-resend-link' (click)="resendMail()">{{ text.resend }}</a> --><button- class="op-link op-ee-trial-waiting-resend-link"+ class="spot-link op-ee-trial-waiting-resend-link"data-qa-selector='op-ee-trial-waiting-resend-link'(click)="resendMail()">{{ text.resend }}</button>@@ -23,4 +23,4 @@data-qa-selector="op-ee-trial-waiting-status--confirmed"> {{ text.status_confirmed }}</span></ng-template></p>-</div>\ No newline at end of file+</div>diff --git a/frontend/src/app/features/in-app-notifications/entry/in-app-notification-entry.component.html b/frontend/src/app/features/in-app-notifications/entry/in-app-notification-entry.component.htmlindex c88ba4c39c3..3f09250af40 100644--- a/frontend/src/app/features/in-app-notifications/entry/in-app-notification-entry.component.html+++ b/frontend/src/app/features/in-app-notifications/entry/in-app-notification-entry.component.html@@ -11,8 +11,8 @@</div><a- class="op-ian-item--work-package-id-link op-link"- [class.op-link_inactive]="isMobile()"+ class="op-ian-item--work-package-id-link spot-link"+ [class.spot-link_inactive]="isMobile()"[attr.title]="workPackage.subject"uiSref="work-packages.show"[uiParams]="{workPackageId: workPackage.id}"@@ -25,7 +25,7 @@>- <aclass="op-ian-item--project-link"- [class.op-link_inactive]="isMobile()"+ [class.spot-link_inactive]="isMobile()"[href]="project.showUrl"[textContent]="project.title"(click)="projectClicked($event)"diff --git a/frontend/src/app/features/invite-user-modal/principal/principal.component.html b/frontend/src/app/features/invite-user-modal/principal/principal.component.htmlindex 4ea7f30d922..08b0b9a010f 100644--- a/frontend/src/app/features/invite-user-modal/principal/principal.component.html+++ b/frontend/src/app/features/invite-user-modal/principal/principal.component.html@@ -25,7 +25,7 @@<b>{{ text.inviteUser }}</b> {{ principal.name }}<buttontype="button"- class="op-link"+ class="spot-link"(click)="principalControl?.setValue(null)">{{ text.change }}</button></p>@@ -37,7 +37,7 @@<b>{{ text.createNewPlaceholder }}</b> {{ principal.name }}<buttontype="button"- class="op-link"+ class="spot-link"(click)="principalControl?.setValue(null)">{{ text.change }}</button></p>diff --git a/frontend/src/app/features/user-preferences/notifications-settings/table/notification-settings-table.component.html b/frontend/src/app/features/user-preferences/notifications-settings/table/notification-settings-table.component.htmlindex f6602fb1aa2..3aa7ed212d2 100644--- a/frontend/src/app/features/user-preferences/notifications-settings/table/notification-settings-table.component.html+++ b/frontend/src/app/features/user-preferences/notifications-settings/table/notification-settings-table.component.html@@ -11,7 +11,7 @@<ng-container *ngFor="let item of settings.controls"><th class="op-table--cell op-table--cell_heading"><a- class="op-link"+ class="spot-link"[href]="projectLink(item.controls.project.value.href)">{{ item.controls.project.value.title }}</a></th>@@ -121,7 +121,7 @@<td class="op-table--cell"><buttontype="button"- class="op-link"+ class="spot-link"(click)="removeProjectSettings(index)">{{ text.remove_project_settings }}@@ -139,4 +139,4 @@[settings]="settings"(selected)="addProjectSettings($event)"data-qa-selector="notification-setting-inline-create"-></op-notification-setting-inline-create>\ No newline at end of file+></op-notification-setting-inline-create>diff --git a/frontend/src/app/features/user-preferences/reminder-settings/reminder-time/reminder-settings-daily-time.component.html b/frontend/src/app/features/user-preferences/reminder-settings/reminder-time/reminder-settings-daily-time.component.htmlindex 2a22f57eaa8..fa7539c4b0f 100644--- a/frontend/src/app/features/user-preferences/reminder-settings/reminder-time/reminder-settings-daily-time.component.html+++ b/frontend/src/app/features/user-preferences/reminder-settings/reminder-time/reminder-settings-daily-time.component.html@@ -50,7 +50,7 @@</option></select><button- class="op-link op-reminder-settings-daily-time--remove"+ class="spot-link op-reminder-settings-daily-time--remove"type="button"*ngIf="timeRemovable$ | async"(click)="removeTime(selectedTimes, i)"diff --git a/frontend/src/app/features/work-packages/components/filters/query-filter/query-filter.component.html b/frontend/src/app/features/work-packages/components/filters/query-filter/query-filter.component.htmlindex f55d1e5afde..4b77492b631 100644--- a/frontend/src/app/features/work-packages/components/filters/query-filter/query-filter.component.html+++ b/frontend/src/app/features/work-packages/components/filters/query-filter/query-filter.component.html@@ -120,7 +120,7 @@<div class="advanced-filters--remove-filter"><buttontype="button"- class="op-link"+ class="spot-link"[title]="text.button_delete"(click)="removeThisFilter()">diff --git a/frontend/src/app/features/work-packages/components/wp-activity/user/user-activity.component.html b/frontend/src/app/features/work-packages/components/wp-activity/user/user-activity.component.htmlindex 64daaa2fa10..bfc14252e7f 100644--- a/frontend/src/app/features/work-packages/components/wp-activity/user/user-activity.component.html+++ b/frontend/src/app/features/work-packages/components/wp-activity/user/user-activity.component.html@@ -39,7 +39,7 @@<buttontype="button"*ngIf="userCanQuote"- class="op-link"+ class="spot-link"[title]="text.quote_comment"(click)="quoteComment()">@@ -48,7 +48,7 @@<button*ngIf="userCanEdit"type="button"- class="op-link"+ class="spot-link"[ngClass]="'edit-activity--' + activityNo"[title]="text.edit_comment"(click)="activate()"diff --git a/frontend/src/app/features/work-packages/components/wp-breadcrumb/wp-breadcrumb-parent.html b/frontend/src/app/features/work-packages/components/wp-breadcrumb/wp-breadcrumb-parent.htmlindex 19b08736c6f..4c02d51f939 100644--- a/frontend/src/app/features/work-packages/components/wp-breadcrumb/wp-breadcrumb-parent.html+++ b/frontend/src/app/features/work-packages/components/wp-breadcrumb/wp-breadcrumb-parent.html@@ -10,7 +10,7 @@<button*ngIf="canModifyParent()"type="button"- class="op-link wp-relation--parent-change -no-decoration hide-when-print"+ class="spot-link wp-relation--parent-change -no-decoration hide-when-print"[title]="parent ? text.edit_parent : text.set_parent"(click)="open()">@@ -20,7 +20,7 @@<button*ngIf="canModifyParent() && parent"type="button"- class="op-link wp-relation--parent-remove hide-when-print -no-decoration"+ class="spot-link wp-relation--parent-remove hide-when-print -no-decoration"[title]="text.remove_parent"(click)="updateParent(null)">diff --git a/frontend/src/app/features/work-packages/components/wp-card-view/wp-single-card/wp-single-card.component.html b/frontend/src/app/features/work-packages/components/wp-card-view/wp-single-card/wp-single-card.component.htmlindex 3cf3a1c0e6d..9cef42a7c46 100644--- a/frontend/src/app/features/work-packages/components/wp-card-view/wp-single-card/wp-single-card.component.html+++ b/frontend/src/app/features/work-packages/components/wp-card-view/wp-single-card/wp-single-card.component.html@@ -18,7 +18,7 @@data-qa-selector="op-wp-single-card--inline-buttons"><buttontype="button"- class="op-link op-wp-single-card--details-button op-wp-single-card--card-action"+ class="spot-link op-wp-single-card--details-button op-wp-single-card--card-action"data-qa-selector="op-wp-single-card--details-button"*ngIf="!isNewResource(workPackage) && showInfoButton"[title]="text.detailsView"@@ -27,7 +27,7 @@</button><button- class="op-link op-wp-single-card--inline-cancel-button op-wp-single-card--card-action"+ class="spot-link op-wp-single-card--inline-cancel-button op-wp-single-card--card-action"data-qa-selector="op-wp-single-card--inline-cancel-button"*ngIf="isNewResource(workPackage) || showRemoveButton"[class.-show]="isNewResource(workPackage)"diff --git a/frontend/src/app/features/work-packages/components/wp-relations/embedded/inline/add-existing/wp-relation-inline-add-existing.component.html b/frontend/src/app/features/work-packages/components/wp-relations/embedded/inline/add-existing/wp-relation-inline-add-existing.component.htmlindex a8adbf26ac5..7e4fc72fc20 100644--- a/frontend/src/app/features/work-packages/components/wp-relations/embedded/inline/add-existing/wp-relation-inline-add-existing.component.html+++ b/frontend/src/app/features/work-packages/components/wp-relations/embedded/inline/add-existing/wp-relation-inline-add-existing.component.html@@ -13,7 +13,7 @@<div class="wp-relations-controls-section relation-row"><buttontype="button"- class="op-link wp-create-relation--cancel"+ class="spot-link wp-create-relation--cancel"(click)="cancel()"><op-icon icon-classes="icon-remove icon-no-color" [icon-title]="text.abort"></op-icon>diff --git a/frontend/src/app/features/work-packages/components/wp-relations/wp-relation-row/wp-relation-row.template.html b/frontend/src/app/features/work-packages/components/wp-relations/wp-relation-row/wp-relation-row.template.htmlindex d997a7c8c61..84b9fd04795 100644--- a/frontend/src/app/features/work-packages/components/wp-relations/wp-relation-row/wp-relation-row.template.html+++ b/frontend/src/app/features/work-packages/components/wp-relations/wp-relation-row/wp-relation-row.template.html@@ -52,7 +52,7 @@ng-class="{'-expanded': userInputs.showRelationInfo }"><buttontype="button"- class="op-link wp-relations--description-btn"+ class="spot-link wp-relations--description-btn"[ngClass]="{'-visible': showDescriptionInfo }"[title]="text.description_label"(click)="userInputs.showRelationInfo = !userInputs.showRelationInfo"@@ -63,7 +63,7 @@<button*ngIf="!!relation.delete"type="button"- class="op-link relation-row--remove-btn"+ class="spot-link relation-row--remove-btn"[ngClass]="{'-visible': showDescriptionInfo }"[title]="text.removeButton"(click)="removeRelation()"diff --git a/frontend/src/app/features/work-packages/components/wp-relations/wp-relations-create/wp-relation-create.template.html b/frontend/src/app/features/work-packages/components/wp-relations/wp-relations-create/wp-relation-create.template.htmlindex 4e5de787b3e..815cff0bf0d 100644--- a/frontend/src/app/features/work-packages/components/wp-relations/wp-relations-create/wp-relation-create.template.html+++ b/frontend/src/app/features/work-packages/components/wp-relations/wp-relations-create/wp-relation-create.template.html@@ -5,7 +5,7 @@<div class="grid-content collapse"><buttontype="button"- class="spot-button spot-button_basic spot-button_main"+ class="spot-link wp-inline-create--add-link"opAutofocus(click)="toggleRelationsCreateForm()"id="relation--add-relation"@@ -46,7 +46,7 @@<div class="grid-content medium-1 collapse wp-relations-controls-section relation-row"><buttontype="button"- class="op-link wp-create-relation--cancel"+ class="spot-link wp-create-relation--cancel"(click)="toggleRelationsCreateForm()"><op-icon icon-classes="icon-remove icon-no-color -padded" [icon-title]="text.abort"></op-icon>@@ -55,7 +55,3 @@</div></div></div>----diff --git a/frontend/src/app/features/work-packages/components/wp-single-view-tabs/watchers-tab/wp-watcher-entry.component.html b/frontend/src/app/features/work-packages/components/wp-single-view-tabs/watchers-tab/wp-watcher-entry.component.htmlindex 500518e244e..3220b91de3d 100644--- a/frontend/src/app/features/work-packages/components/wp-single-view-tabs/watchers-tab/wp-watcher-entry.component.html+++ b/frontend/src/app/features/work-packages/components/wp-single-view-tabs/watchers-tab/wp-watcher-entry.component.html@@ -9,7 +9,7 @@</span><buttontype="button"- class="op-link form--selected-value--remover"+ class="spot-link form--selected-value--remover"[title]="text.remove"(click)="remove()">diff --git a/frontend/src/app/features/work-packages/components/wp-table/config-menu/config-menu.template.html b/frontend/src/app/features/work-packages/components/wp-table/config-menu/config-menu.template.htmlindex aeb0a59d1b9..58de33732fb 100644--- a/frontend/src/app/features/work-packages/components/wp-table/config-menu/config-menu.template.html+++ b/frontend/src/app/features/work-packages/components/wp-table/config-menu/config-menu.template.html@@ -1,6 +1,6 @@<buttontype="button"- class="op-link wp-table--columns-selection"+ class="spot-link wp-table--columns-selection"[title]="text.configureTable"(click)="openTableConfigurationModal()">diff --git a/frontend/src/app/features/work-packages/components/wp-tabs/components/wp-tabs/wp-tabs.component.html b/frontend/src/app/features/work-packages/components/wp-tabs/components/wp-tabs/wp-tabs.component.htmlindex a98e2041765..6a0f82d5b4c 100644--- a/frontend/src/app/features/work-packages/components/wp-tabs/components/wp-tabs/wp-tabs.component.html+++ b/frontend/src/app/features/work-packages/components/wp-tabs/components/wp-tabs/wp-tabs.component.html@@ -6,7 +6,7 @@<li class="tab-icon"><buttontype="button"- class="op-link work-packages--details-fullscreen-icon"+ class="spot-link work-packages--details-fullscreen-icon"[title]="text.details.goToFullScreen"(click)="switchToFullscreen()">@@ -16,7 +16,7 @@<li class="tab-icon"><buttontype="button"- class="op-link work-packages--details-close-icon"+ class="spot-link work-packages--details-close-icon"[title]="text.details.close"(click)="close()">diff --git a/frontend/src/app/shared/components/attribute-help-texts/attribute-help-text.component.html b/frontend/src/app/shared/components/attribute-help-texts/attribute-help-text.component.htmlindex 6d4b564873f..9dfe5737a1a 100644--- a/frontend/src/app/shared/components/attribute-help-texts/attribute-help-text.component.html+++ b/frontend/src/app/shared/components/attribute-help-texts/attribute-help-text.component.html@@ -1,6 +1,6 @@<div*ngIf="exists"- class="op-link help-text--entry"+ class="spot-link help-text--entry"[attr.data-qa-help-text-for]="attribute"[title]="text.open_dialog"(click)="handleClick($event)"diff --git a/frontend/src/app/shared/components/editable-toolbar-title/editable-toolbar-title.html b/frontend/src/app/shared/components/editable-toolbar-title/editable-toolbar-title.htmlindex b235756580d..2adfde79526 100644--- a/frontend/src/app/shared/components/editable-toolbar-title/editable-toolbar-title.html+++ b/frontend/src/app/shared/components/editable-toolbar-title/editable-toolbar-title.html@@ -4,7 +4,7 @@<button*ngIf="showSave"type="button"- class="op-link editable-toolbar-title--save"+ class="spot-link editable-toolbar-title--save"(click)="save($event, true)"[attr.title]="text.query_has_changed_click_to_save"><op-icon icon-classes="icon icon-save icon-no-color"></op-icon>diff --git a/frontend/src/app/shared/components/hide-section/hide-section-link/hide-section-link.component.html b/frontend/src/app/shared/components/hide-section/hide-section-link/hide-section-link.component.htmlindex 9041c1292e4..e8fe605ed99 100644--- a/frontend/src/app/shared/components/hide-section/hide-section-link/hide-section-link.component.html+++ b/frontend/src/app/shared/components/hide-section/hide-section-link/hide-section-link.component.html@@ -1,8 +1,8 @@<buttontype="button"- class="op-link"+ class="spot-link"[title]="text.remove"(click)="hideSection()"><op-icon icon-classes="icon-close icon-small"></op-icon>-</button>\ No newline at end of file+</button>diff --git a/frontend/src/app/shared/components/resizer/resizer/main-menu-resizer.component.ts b/frontend/src/app/shared/components/resizer/resizer/main-menu-resizer.component.tsindex a376f8a6ade..daf3d7bb3fd 100644--- a/frontend/src/app/shared/components/resizer/resizer/main-menu-resizer.component.ts+++ b/frontend/src/app/shared/components/resizer/resizer/main-menu-resizer.component.ts@@ -47,7 +47,7 @@ export const mainMenuResizerSelector = 'main-menu-resizer';(move)="resizeMove($event)"><div class="resizer-toggle-container"><button- class="op-link main-menu--navigation-toggler"+ class="spot-link main-menu--navigation-toggler"[attr.title]="toggleTitle"[class.open]="toggleService.showNavigation"(click)="toggleService.toggleNavigation($event)">diff --git a/frontend/src/app/shared/components/toaster/toast.component.html b/frontend/src/app/shared/components/toaster/toast.component.htmlindex e73c8c69125..700a0fc3f55 100644--- a/frontend/src/app/shared/components/toaster/toast.component.html+++ b/frontend/src/app/shared/components/toaster/toast.component.html@@ -54,7 +54,7 @@<button*ngIf="removable"type="button"- class="op-link op-toast--close"+ class="spot-link op-toast--close"[title]="text.close_popup"(click)="remove()">diff --git a/frontend/src/app/spot/spot-docs.component.html b/frontend/src/app/spot/spot-docs.component.htmlindex 3ffd9871a1a..e0a1886bff0 100644--- a/frontend/src/app/spot/spot-docs.component.html+++ b/frontend/src/app/spot/spot-docs.component.html@@ -1,4 +1,4 @@-<h1>Buttons</h1>+<h1>Buttons & Links</h1><section class="space-children"><button class="spot-button">Default</button><button class="spot-button">@@ -53,11 +53,21 @@</section><section class="space-children">- <button class="spot-button spot-button_basic">Default</button>- <button class="spot-button spot-button_basic spot-button_main">Main</button>- <button class="spot-button spot-button_basic spot-button_accent">Accent</button>- <button class="spot-button spot-button_basic spot-button_danger">Danger</button>- <button class="spot-button spot-button_basic" disabled>Disabled</button>+ <button class="spot-link">Default link</button>+ <a class="spot-link" href="#">+ <span>Default Link</span>+ <span class="spot-icon spot-icon_bell"></span>+ </a>+ <button class="spot-link"><span class="spot-icon spot-icon_bell"></span></button>+</section>++<section class="space-children">+ <button class="spot-link spot-link_danger">Danger Link</button>+ <a class="spot-link spot-link_danger" href="#">+ <span>Danger Link</span>+ <span class="spot-icon spot-icon_bell"></span>+ </a>+ <button class="spot-link spot-link_danger"><span class="spot-icon spot-icon_bell"></span></button></section><h1>Toggles</h1>diff --git a/frontend/src/app/spot/styles/sass/components/index.sass b/frontend/src/app/spot/styles/sass/components/index.sassindex f128dd4601d..afd751e1241 100644--- a/frontend/src/app/spot/styles/sass/components/index.sass+++ b/frontend/src/app/spot/styles/sass/components/index.sass@@ -1,6 +1,7 @@// This directory will hold files that implement the styles for specific blocks and components// Import them here@import './button'+@import './link'@import './toggle'@import './checkbox'@import './text-field'diff --git a/frontend/src/app/spot/styles/sass/components/link.sass b/frontend/src/app/spot/styles/sass/components/link.sassnew file mode 100644index 00000000000..7d7a1765784--- /dev/null+++ b/frontend/src/app/spot/styles/sass/components/link.sass@@ -0,0 +1,51 @@+.spot-link+ @include unset-button-styles+ display: inline+ color: $spot-color-main+ text-decoration: none+ cursor: pointer++ &:focus+ @include spot-focus++ &:hover,+ &:active,+ &:focus+ color: $spot-color-main-dark+ text-decoration: none++ &_danger+ color: $spot-color-danger++ &:hover,+ &:active,+ &:focus+ color: $spot-color-danger-dark++ &_inactive+ pointer-events: none+ cursor: default++ .spot-icon+ width: $spot-spacing-1_5+ height: $spot-spacing-1_5++ &:first-child+ margin-left: -$spot-spacing-0_25++ &:not(:last-child)+ margin-right: $spot-spacing-0_25++ &:last-child+ margin-right: -$spot-spacing-0_25++ &:not(:first-child)+ margin-left: $spot-spacing-0_25++ &:first-child:last-child+ margin: 0 -$spot-spacing-0_5++ // Ensure op-icon within a link gets inline-block+ // to avoid it receiving any text-decoration on hover+ .op-icon--wrapper+ display: inline-blockdiff --git a/frontend/src/global_styles/common/link/link.sass b/frontend/src/global_styles/common/link/link.sassdeleted file mode 100644index e537abc48c9..00000000000--- a/frontend/src/global_styles/common/link/link.sass+++ /dev/null@@ -1,23 +0,0 @@-.op-link- @include unset-button-styles- display: inline- color: var(--content-link-color)- text-decoration: none- cursor: pointer-- &:hover,- &:active- color: var(--content-link-hover-active-color)- text-decoration: underline-- &:focus- color: var(--content-link-hover-active-color)-- &_inactive- pointer-events: none- cursor: default-- // Ensure op-icon within a link gets inline-block- // to avoid it receiving any text-decoration on hover- .op-icon--wrapper- display: inline-blockdiff --git a/frontend/src/global_styles/common/openproject-common.module.sass b/frontend/src/global_styles/common/openproject-common.module.sassindex 82ecd9b32cc..cd081b38ffb 100644--- a/frontend/src/global_styles/common/openproject-common.module.sass+++ b/frontend/src/global_styles/common/openproject-common.module.sass@@ -1,7 +1,6 @@@import 'header/index'@import 'menu/menu'@import 'input/input'-@import 'link/link'@import 'bubble/bubble'@import '../../app/shared/components/forms'@import '../../app/shared/components/option-list/option-list'diff --git a/frontend/src/global_styles/content/_table.sass b/frontend/src/global_styles/content/_table.sassindex 703500a440d..52bbcdb4ee4 100644--- a/frontend/src/global_styles/content/_table.sass+++ b/frontend/src/global_styles/content/_table.sass@@ -281,8 +281,6 @@ thead.-sticky thwidth: 100%font-weight: bold@include text-shortener- &.op-link_inactive- color: var(--button--active-font-color)& > op-iconflex: 0 0 0diff --git a/modules/team_planner/app/cells/team_planner/row_cell.rb b/modules/team_planner/app/cells/team_planner/row_cell.rbindex 8bc90d5b5ce..a97b8ecf5fc 100644--- a/modules/team_planner/app/cells/team_planner/row_cell.rb+++ b/modules/team_planner/app/cells/team_planner/row_cell.rb@@ -61,7 +61,7 @@ module TeamPlannerlink_to('',project_team_planner_path(project, query.id),- class: 'op-link icon icon-delete',+ class: 'spot-link icon icon-delete',method: :delete,data: {confirm: I18n.t(:text_are_you_sure),