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
[chore] new hover menu for spot-list
Eric Schubert06147b30e3a4
diff --git a/frontend/src/app/spot/spot-docs.component.html b/frontend/src/app/spot/spot-docs.component.htmlindex cf91e18f19a..5c50a384729 100644--- a/frontend/src/app/spot/spot-docs.component.html+++ b/frontend/src/app/spot/spot-docs.component.html@@ -132,6 +132,23 @@ Currently selected value is {{ toggleValue }}<div class="spot-list--item-title">Checkbox item</div></label></li>+ <li class="spot-list--item">+ <label class="spot-list--item-action">+ <spot-checkbox [(ngModel)]="listCheckboxValue"></spot-checkbox>+ <div class="spot-list--item-title">Checkbox item with hover menu</div>+ <div class="spot-list--item-hover">+ <button class="spot-link">+ <span class="spot-icon spot-icon_folder-open"></span>+ </button>+ <button class="spot-link">+ <span class="spot-icon spot-icon_external-link"></span>+ </button>+ <button class="spot-link">+ <span class="spot-icon spot-icon_file-doc"></span>+ </button>+ </div>+ </label>+ </li><li class="spot-list--item"><label class="spot-list--item-action"><spot-checkbox [(ngModel)]="listCheckboxValue"></spot-checkbox>@@ -180,6 +197,23 @@ Currently selected value is {{ toggleValue }}<div class="spot-list--item-title">Checkbox item</div></label></li>+ <li class="spot-list--item">+ <label class="spot-list--item-action">+ <spot-checkbox [(ngModel)]="listCheckboxValue"></spot-checkbox>+ <div class="spot-list--item-title">Checkbox item with hover menu</div>+ <div class="spot-list--item-hover">+ <button class="spot-link">+ <span class="spot-icon spot-icon_folder-open"></span>+ </button>+ <button class="spot-link">+ <span class="spot-icon spot-icon_external-link"></span>+ </button>+ <button class="spot-link">+ <span class="spot-icon spot-icon_file-doc"></span>+ </button>+ </div>+ </label>+ </li><li class="spot-list--item"><label class="spot-list--item-action"><spot-checkbox [(ngModel)]="listCheckboxValue"></spot-checkbox>diff --git a/frontend/src/app/spot/styles/sass/components/list.sass b/frontend/src/app/spot/styles/sass/components/list.sassindex 0ae9da5b97c..ed3f1c7f9d7 100644--- a/frontend/src/app/spot/styles/sass/components/list.sass+++ b/frontend/src/app/spot/styles/sass/components/list.sass@@ -13,6 +13,7 @@&-action@include spot-body-big+ position: relativedisplay: flexalign-items: centerjustify-content: flex-start@@ -25,10 +26,29 @@&:hoverbackground-color: $spot-color-basic-gray-6+ .spot-list--item-hover+ opacity: 1+&_disabledcolor: $spot-color-basic-gray-3cursor: default+ &-hover+ opacity: 0+ position: absolute+ right: 0+ padding: inherit+ background: linear-gradient(90deg, rgba(243, 243, 243, 0) 0%, $spot-color-basic-gray-6 11.98%)++ > .spot-link+ &:not(:first-child)+ margin-left: $spot-spacing-0_5++ > .spot-icon+ width: 1.125rem+ height: 1.125rem+ font-size: 0.75rem+&-titlemin-height: $spot-spacing-1_5