Skip to content

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

Remove unused and cleanup styles

Oliver Günthere760f8b96a23
diff --git a/app/components/enterprise_edition/banner_component.sass b/app/components/enterprise_edition/banner_component.sass
index e72e701123c..38cdf67fbde 100644
--- a/app/components/enterprise_edition/banner_component.sass
+++ b/app/components/enterprise_edition/banner_component.sass
@@ -47,7 +47,7 @@
&--icon
color: var(--enterprise-upsale-color)
- margin-block: calc(var(--base-size-4) / 2)
+ margin-block: var(--base-size-2)
&--close-icon .Button-visual
color: var(--enterprise-upsale-color)
diff --git a/app/components/enterprise_edition/upsale_page_component.html.erb b/app/components/enterprise_edition/upsale_page_component.html.erb
index 4b578b81528..da2f3b8e114 100644
--- a/app/components/enterprise_edition/upsale_page_component.html.erb
+++ b/app/components/enterprise_edition/upsale_page_component.html.erb
@@ -37,9 +37,9 @@
<% if @video.present? %>
<%= video_tag @video, controls: false, class: "widget-box--teaser-video", autoplay: true, loop: true, muted: true %>
<% elsif @image.present? %>
- <%= image_tag @image, class: "widget-box--teaser-image" %>
+ <%= image_tag @image, class: "widget-box--teaser-image widget-box--teaser-image_default" %>
<% else %>
- <%= image_tag "enterprise-add-on.svg", class: "widget-box--teaser-image_default" %>
+ <%= image_tag "enterprise-add-on.svg", class: "widget-box--teaser-image widget-box--teaser-image_default" %>
<% end %>
<%= render EnterpriseEdition::UpsaleButtonsComponent.new(feature_key, justify_content: :center) %>
diff --git a/app/components/enterprise_edition/upsale_page_component.sass b/app/components/enterprise_edition/upsale_page_component.sass
index d6406cadaef..4d5a8db0340 100644
--- a/app/components/enterprise_edition/upsale_page_component.sass
+++ b/app/components/enterprise_edition/upsale_page_component.sass
@@ -38,7 +38,7 @@
width: 100%
height: auto
margin-bottom: 20px
- box-shadow: 4px 4px 10px rgb(0 0 0 / 15%)
+ box-shadow: var(--shadow-floating-small)
border-radius: 25px
border: 1px solid var(--borderColor-default)
@@ -46,8 +46,3 @@
width: 30%
margin-bottom: 20px
box-shadow: 4px 4px 10px rgb(0 0 0 / 15%)
- border-radius: 25px
-
- a.button,
- a.button--link
- text-decoration: none
diff --git a/frontend/src/global_styles/content/_toast.sass b/frontend/src/global_styles/content/_toast.sass
index e11ee068748..baf8b0994af 100644
--- a/frontend/src/global_styles/content/_toast.sass
+++ b/frontend/src/global_styles/content/_toast.sass
@@ -134,10 +134,6 @@ $nm-upload-box-padding: rem-calc(15) rem-calc(25)
&.-loading
padding: $nm-box-padding
- &.-ee-upsale
- z-index: 1
- padding: 1rem
-
&.-left-margin
margin-left: 20px
@@ -191,9 +187,6 @@ $nm-upload-box-padding: rem-calc(15) rem-calc(25)
&.-loading
@extend %info-placeholder
- &.-ee-upsale
- @extend %info-placeholder
-
&::before
@include messages-icon