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
Change styling of new splitView to have rounded corners and add rounded box around the notification center content as well
Henriette Darge67742c53d4e4
diff --git a/app/components/work_packages/details/tab_component.html.erb b/app/components/work_packages/details/tab_component.html.erbindex 3ee5de0932c..dbe0306c5cd 100644--- a/app/components/work_packages/details/tab_component.html.erb+++ b/app/components/work_packages/details/tab_component.html.erb@@ -1,7 +1,7 @@<%=flex_layout(classes: "op-work-package-details-tab-component") do |flex|flex.with_column(flex: 1, classes: "op-work-package-details-tab-component--tabs") do- render(Primer::Alpha::UnderlineNav.new(align: :left, label: "Tabs")) do |component|+ render(Primer::Alpha::UnderlineNav.new(align: :left, label: "Tabs", classes: "op-primer-adjustment--UnderlineNav_spaciousLeft")) do |component|menu_items.each do |node|component.with_tab(selected: @tab == node.name,href: url_for(node.url),diff --git a/app/components/work_packages/details/tab_component.sass b/app/components/work_packages/details/tab_component.sassindex a6ca5d70f90..b824867ad16 100644--- a/app/components/work_packages/details/tab_component.sass+++ b/app/components/work_packages/details/tab_component.sass@@ -11,3 +11,6 @@// This is one of the ugliest hacks I ever had to write. Please remove that as soon as the actions are part of the Splitscreen headerpadding-bottom: 7pxborder-bottom: 1px solid var(--borderColor-muted)++ &:last-of-type+ padding-right: 8pxdiff --git a/app/components/work_packages/split_view_component.sass b/app/components/work_packages/split_view_component.sassindex 7ba29b5b211..fe30fe1317e 100644--- a/app/components/work_packages/split_view_component.sass+++ b/app/components/work_packages/split_view_component.sass@@ -1,10 +1,10 @@.op-work-package-split-viewheight: 100%+ width: 580pxjustify-content: space-aroundborder-left: 1px solid var(--borderColor-muted)border-top: 1px solid var(--borderColor-muted)+ border-right: 1px solid var(--borderColor-muted)- // border-top-left-radius: 8px- // border-top-right-radius: 8px- // border-right: 1px solid var(--borderColor-muted)- // margin-right: 20px+ border-top-left-radius: var(--borderRadius-medium)+ border-top-right-radius: var(--borderRadius-medium)diff --git a/frontend/src/app/features/in-app-notifications/center/in-app-notification-center.component.sass b/frontend/src/app/features/in-app-notifications/center/in-app-notification-center.component.sassindex 0b6c9471b47..ec266dfd20e 100644--- a/frontend/src/app/features/in-app-notifications/center/in-app-notification-center.component.sass+++ b/frontend/src/app/features/in-app-notifications/center/in-app-notification-center.component.sass@@ -7,6 +7,12 @@&--contentheight: 100%+ border: 1px solid var(--borderColor-muted)+ border-radius: var(--borderRadius-medium)+ border-bottom-left-radius: 0+ border-bottom-right-radius: 0+ // Do not remove easily. Otherwise the children will overlap the rounded corners+ overflow: hidden&_emptydisplay: flexdiff --git a/frontend/src/app/features/in-app-notifications/entry/in-app-notification-entry.component.sass b/frontend/src/app/features/in-app-notifications/entry/in-app-notification-entry.component.sassindex 34597722e1e..1460d7b26be 100644--- a/frontend/src/app/features/in-app-notifications/entry/in-app-notification-entry.component.sass+++ b/frontend/src/app/features/in-app-notifications/entry/in-app-notification-entry.component.sass@@ -18,7 +18,6 @@ $subject-font-size: 14pxpadding: 15px 10pxfont-size: 0.9remborder-top: 1px solid var(--borderColor-default)- border-radius: 2pxheight: $ian-height&:hoverdiff --git a/frontend/src/global_styles/layout/_base.sass b/frontend/src/global_styles/layout/_base.sassindex de5029c31be..b91fe9cc225 100644--- a/frontend/src/global_styles/layout/_base.sass+++ b/frontend/src/global_styles/layout/_base.sass@@ -119,7 +119,7 @@ $left-space: 20pxoverflow-x: hidden// Special rules for pages that still follow the old layout and render everything inside the content-body- .accessibility-helper ~ &+ .accessibility-helper + &padding-top: $top-space&:last-childpadding-right: $right-space@@ -130,7 +130,7 @@ $left-space: 20px#content-bodyRightgrid-area: bodyRight- padding: 0+ padding: 0 $right-space 0 0overflow: auto@include styled-scroll-bardiff --git a/frontend/src/global_styles/layout/work_packages/_details_view.sass b/frontend/src/global_styles/layout/work_packages/_details_view.sassindex 8d7ae4f7a69..8c5f3c1965c 100644--- a/frontend/src/global_styles/layout/work_packages/_details_view.sass+++ b/frontend/src/global_styles/layout/work_packages/_details_view.sass@@ -62,7 +62,7 @@ body.router--work-packages-partitioned-split-view-newheight: 55pxwidth: 100%background: var(--bgColor-muted)- border: 1px solid var(--borderColor-default)+ border-top: 1px solid var(--borderColor-muted)padding: 0 1rem 10px@media printdiff --git a/frontend/src/global_styles/openproject/_mixins.sass b/frontend/src/global_styles/openproject/_mixins.sassindex bda4f37d773..53d7629fa71 100644--- a/frontend/src/global_styles/openproject/_mixins.sass+++ b/frontend/src/global_styles/openproject/_mixins.sass@@ -262,6 +262,7 @@ $scrollbar-size: 10pxmargin-left: 20px@mixin extended-content--right+ #content-bodyRight,#content-body,#content-headerpadding-right: 0@@ -271,6 +272,10 @@ $scrollbar-size: 10px.work-packages--filters-optional-containermargin-right: 15px+@mixin space-between-content-and-split-screen+ #content-bodyRight > *+ margin-left: 12px+@mixin modifying--placeholderborder: 1px dashed var(--accent-color)pointer-events: nonediff --git a/frontend/src/global_styles/openproject/_notifications.sass b/frontend/src/global_styles/openproject/_notifications.sassindex 5e2917c9094..6dac88f6cbd 100644--- a/frontend/src/global_styles/openproject/_notifications.sass+++ b/frontend/src/global_styles/openproject/_notifications.sass@@ -27,5 +27,8 @@//++.controller-notifications+ @include extended-content--bottom+ @include space-between-content-and-split-screen+#contentheight: 100%diff --git a/frontend/src/global_styles/primer/_overrides.sass b/frontend/src/global_styles/primer/_overrides.sassindex aad9e52b401..724edda0c42 100644--- a/frontend/src/global_styles/primer/_overrides.sass+++ b/frontend/src/global_styles/primer/_overrides.sass@@ -52,6 +52,9 @@ action-menu&-bodymargin-left: 12px+ &.op-primer-adjustment--UnderlineNav_spaciousLeft+ padding-left: 12px+/* Remove margin-left: 2rem from Breadcrumbs */#breadcrumb,page-header,