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 last styles for spot icons

Henriette Darge699ccbdbd32b
diff --git a/app/components/open_project/common/submenu_component.sass b/app/components/open_project/common/submenu_component.sass
index d83c25d626a..dcfeeeb6aba 100644
--- a/app/components/open_project/common/submenu_component.sass
+++ b/app/components/open_project/common/submenu_component.sass
@@ -39,9 +39,6 @@
@supports (-webkit-touch-callout: none)
padding: 1rem 1rem 5rem
- .button .spot-icon
- margin-right: 0.5rem
-
&--title
display: flex
justify-content: space-between
diff --git a/frontend/src/app/spot/styles/sass/components/breadcrumbs.sass b/frontend/src/app/spot/styles/sass/components/breadcrumbs.sass
index 3d5d9399b4b..74d7952885c 100644
--- a/frontend/src/app/spot/styles/sass/components/breadcrumbs.sass
+++ b/frontend/src/app/spot/styles/sass/components/breadcrumbs.sass
@@ -10,14 +10,6 @@
flex-shrink: 0
min-width: 0
- > .spot-icon
- width: $spot-spacing-1_5
- height: $spot-spacing-1_5
-
- &:not(.spot-breadcrumbs--crumb-divider)
- color: var(--accent-color)
- margin-right: $spot-spacing-0_25
-
&_collapsed:before
content: '...'
diff --git a/frontend/src/app/spot/styles/sass/components/button.sass b/frontend/src/app/spot/styles/sass/components/button.sass
index 06e07255093..69ed5cb29cc 100644
--- a/frontend/src/app/spot/styles/sass/components/button.sass
+++ b/frontend/src/app/spot/styles/sass/components/button.sass
@@ -188,26 +188,5 @@
&:active
color: $spot-color-danger
- .spot-icon
- width: $spot-spacing-1_5
- height: $spot-spacing-1_5
-
- &:first-child
- margin-left: calc(-1 * #{$spot-spacing-0_25} - 1px) // The border needs to be removed from this
-
- &:not(:last-child)
- margin-right: $spot-spacing-0_25
-
- &:last-child
- margin-right: calc(-1 * #{$spot-spacing-0_25} - 1px) // The border needs to be removed from this
-
- &:not(:first-child)
- margin-left: $spot-spacing-0_25
-
- &:first-child:last-child
- margin: 0 calc(-1 * #{$spot-spacing-0_5} - 1px) // The border needs to be removed from this
-
-
.spot-checkbox
margin-right: $spot-spacing-0_75
-
diff --git a/frontend/src/app/spot/styles/sass/components/link.sass b/frontend/src/app/spot/styles/sass/components/link.sass
index 9949dd68066..429c55bb7a0 100644
--- a/frontend/src/app/spot/styles/sass/components/link.sass
+++ b/frontend/src/app/spot/styles/sass/components/link.sass
@@ -26,7 +26,6 @@
cursor: default
color: var(--muted-color)
- .spot-icon,
.octicon
&:first-child:not(:last-child)
margin-right: $spot-spacing-0_25
diff --git a/frontend/src/app/spot/styles/sass/components/modal.sass b/frontend/src/app/spot/styles/sass/components/modal.sass
index 1d70c693480..3a9af2a6779 100644
--- a/frontend/src/app/spot/styles/sass/components/modal.sass
+++ b/frontend/src/app/spot/styles/sass/components/modal.sass
@@ -46,9 +46,6 @@
+ .spot-divider
margin-top: $spot-spacing-1
- > .spot-icon
- margin-right: $spot-spacing-0-5
-
&-title
flex-grow: 1
diff --git a/frontend/src/app/spot/styles/sass/components/text-field.sass b/frontend/src/app/spot/styles/sass/components/text-field.sass
index 7c353c7f102..199f9d7dacc 100644
--- a/frontend/src/app/spot/styles/sass/components/text-field.sass
+++ b/frontend/src/app/spot/styles/sass/components/text-field.sass
@@ -29,9 +29,6 @@
&:hover
background-color: var(--bgColor-default)
- .spot-icon
- color: var(--body-font-color)
-
&--input
background: transparent
border: 0
@@ -68,7 +65,3 @@
&:not(:last-child)
margin-right: $spot-spacing-0_5
-
- > .spot-icon
- font-size: $spot-spacing-0_75
- color: var(--body-font-color)
diff --git a/frontend/src/global_styles/content/work_packages/shared/_file_list.sass b/frontend/src/global_styles/content/work_packages/shared/_file_list.sass
index 31bc1ebd7c5..9d1217773d4 100644
--- a/frontend/src/global_styles/content/work_packages/shared/_file_list.sass
+++ b/frontend/src/global_styles/content/work_packages/shared/_file_list.sass
@@ -35,7 +35,7 @@
pointer-events: none
&:not(&_disabled):hover
- .op-file-list--item-title > :not(.spot-icon)
+ .op-file-list--item-title > *
text-decoration: underline
&-action_faulty-status &-title