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 unnused file from Foundation

Henriette Darge3768a312d05c
diff --git a/frontend/src/global_styles/layout/_print.sass b/frontend/src/global_styles/layout/_print.sass
index 6dba99f7c11..fa183e59834 100644
--- a/frontend/src/global_styles/layout/_print.sass
+++ b/frontend/src/global_styles/layout/_print.sass
@@ -11,7 +11,6 @@
.other-formats,
.toolbar-items,
.ui-helper-hidden-accessible,
- .tabs,
#wiki_add_attachment
display: none !important
diff --git a/frontend/src/global_styles/vendor/foundation-apps/scss/components/_tabs.scss b/frontend/src/global_styles/vendor/foundation-apps/scss/components/_tabs.scss
deleted file mode 100644
index 8d61927bd94..00000000000
--- a/frontend/src/global_styles/vendor/foundation-apps/scss/components/_tabs.scss
+++ /dev/null
@@ -1,100 +0,0 @@
-/*
- TABS
- ----
-*/
-
-/// @Foundation.settings
-// Tabs
-$tabstrip-background: transparent !default;
-
-$tab-title-background: $gray-light !default;
-$tab-title-background-hover: smartscale($tab-title-background, 5%) !default;
-$tab-title-background-active: smartscale($tab-title-background, 3%) !default;
-$tab-title-color: isitlight($tab-title-background) !default;
-$tab-title-color-active: $tab-title-color !default;
-
-$tab-title-padding: $global-padding !default;
-$tab-content-padding: $global-padding !default;
-///
-
-@mixin tabstrip(
- $orientation: horizontal,
- $background: $tabstrip-background
-) {
- /*
- Container styles
- */
- display: flex;
- background: $background;
-
- @if $orientation == vertical {
- flex-flow: column nowrap;
- }
- @else {
- flex-flow: row wrap;
- }
-}
-
-@mixin tabstrip-item(
- $background: $tab-title-background,
- $background-hover: $tab-title-background-hover,
- $background-active: $tab-title-background-active,
- $color: $tab-title-color,
- $color-active: $tab-title-color-active,
- $padding: $tab-title-padding
-) {
- background: $background;
- padding: $padding;
- line-height: 1;
- margin: 0;
- flex: 0 1 auto;
- cursor: pointer;
- color: $color;
-
- &.is-active {
- background: $background-active;
- color: $color-active;
-
- &:hover {
- background: $background-hover;
- }
- }
- &:hover {
- background: $background-hover;
- }
-}
-
-@mixin tab-content(
- $padding: $tab-content-padding
-) {
- padding: $padding;
-}
-
-@mixin tab-content-item {
- display: none;
- &.is-active {
- display: block;
- }
-}
-
-@include exports(tabs) {
- .tabs {
- @include tabstrip(horizontal);
-
- &.vertical {
- @include tabstrip(vertical);
- }
-
- .tab-item {
- @include tabstrip-item;
- }
- }
-
- .tab-contents {
- @include tab-content;
-
- .tab-content {
- @include tab-content-item;
- }
- }
-}
diff --git a/frontend/src/global_styles/vendor/foundation-apps/scss/foundation.scss b/frontend/src/global_styles/vendor/foundation-apps/scss/foundation.scss
index 55899774322..9c03447d636 100755
--- a/frontend/src/global_styles/vendor/foundation-apps/scss/foundation.scss
+++ b/frontend/src/global_styles/vendor/foundation-apps/scss/foundation.scss
@@ -24,6 +24,5 @@ $foundation-version: '1.1.0';
@import "components/button",
"components/forms",
"components/grid",
-"components/tabs",
"components/typography",
"components/utilities";