Skip to content

Commit

Permalink
DROOP-1090: Fix bug when media background is not visible after removi…
Browse files Browse the repository at this point in the history
…ng color opacity
  • Loading branch information
kamil-ziora-droptica committed Apr 12, 2024
1 parent c88034a commit fdbd34e
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
// --product-teaser-box-shadow: 0 0 0.625rem -0.1875rem #{$color-aeneas};
// --product-teaser-border: 1px solid #{$color-hector};
// --product-slick-arrow-background-color: #{$color-odysseus};
// --media-overlay-background-color: #{$color-odysseus};
// --tiles-gallery-item-caption-background: #{$color-cassandra};
// --tiles-gallery-item-caption-text-color: #{$color-odysseus};
// --mobile-filter-icon-color: #828282;
Expand Down Expand Up @@ -137,7 +136,6 @@
// --product-teaser-box-shadow: 0 0 0.625rem -0.1875rem #{$color-aeneas};
// --product-teaser-border: 1px solid #{$color-hector};
// --product-slick-arrow-background-color: #{$color-odysseus};
// --media-overlay-background-color: #{$color-cassandra};
// --mobile-filter-icon-color: #828282;
// --mobile-filter-icon-color-hover: #{$color-cassandra};
// --mobile-filter-border: 2px solid #{$color-hector};
Expand Down Expand Up @@ -211,7 +209,6 @@
// --product-teaser-box-shadow: 0 0 0.625rem -0.1875rem #{$color-aeneas};
// --product-teaser-border: 1px solid #{$color-hector};
// --product-slick-arrow-background-color: #{$color-odysseus};
// --media-overlay-background-color: #{$color-agamemnon};
// --mobile-filter-icon-color: #828282;
// --mobile-filter-icon-color-hover: #{$color-odysseus};
// --mobile-filter-border: 2px solid #{$color-hector};
Expand Down Expand Up @@ -285,7 +282,6 @@
// --product-teaser-box-shadow: 0 0 0.625rem -0.1875rem #{$color-aeneas};
// --product-teaser-border: 1px solid #{$color-hector};
// --product-slick-arrow-background-color: #{$color-odysseus};
// --media-overlay-background-color: #{$color-odysseus};
// --tiles-gallery-item-caption-background: #{$color-cassandra};
// --tiles-gallery-item-caption-text-color: #{$color-odysseus};
// --tiles-gallery-background-color: #{$color-odysseus};
Expand Down Expand Up @@ -358,7 +354,6 @@
// --product-teaser-text-color: "inherit";
// --product-teaser-box-shadow: 0 0 0.625rem -0.1875rem #{$color-aeneas};
// --product-teaser-border: 1px solid #{$color-hector};
// --media-overlay-background-color: "inherit";
// --mobile-filter-icon-color: #828282;
// --mobile-filter-icon-color-hover: #{$color-odysseus};
// --mobile-filter-border: 2px solid #{$color-hector};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
// --media-img-display: block;
// --media-img-width: auto;
// --media-img-height: auto;
// --media-overlay-background-color: rgb(0 0 0 / 20%);
// --media-overlay-opacity: 0.2;

// // Base component: Media icon.
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion themes/custom/droopler_theme/build/css/main.style.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/custom/droopler_theme/build/css/main.style.css.map

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
--media-img-display: block;
--media-img-width: auto;
--media-img-height: auto;
--media-overlay-background-color: rgb(0 0 0 / 20%);
--media-overlay-opacity: 0.2;
}

Expand All @@ -29,7 +28,6 @@
@include filling-absolute;

content: "";
background-color: var(--media-overlay-background-color);
}
}

Expand Down
5 changes: 0 additions & 5 deletions themes/custom/droopler_theme/src/scss/base/_themes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
--product-teaser-box-shadow: 0 0 0.625rem -0.1875rem #{$color-aeneas};
--product-teaser-border: 1px solid #{$color-hector};
--product-slick-arrow-background-color: #{$color-odysseus};
--media-overlay-background-color: #{$color-odysseus};
--tiles-gallery-item-caption-background: #{$color-cassandra};
--tiles-gallery-item-caption-text-color: #{$color-odysseus};
--mobile-filter-icon-color: #828282;
Expand Down Expand Up @@ -137,7 +136,6 @@
--product-teaser-box-shadow: 0 0 0.625rem -0.1875rem #{$color-aeneas};
--product-teaser-border: 1px solid #{$color-hector};
--product-slick-arrow-background-color: #{$color-odysseus};
--media-overlay-background-color: #{$color-cassandra};
--mobile-filter-icon-color: #828282;
--mobile-filter-icon-color-hover: #{$color-cassandra};
--mobile-filter-border: 2px solid #{$color-hector};
Expand Down Expand Up @@ -211,7 +209,6 @@
--product-teaser-box-shadow: 0 0 0.625rem -0.1875rem #{$color-aeneas};
--product-teaser-border: 1px solid #{$color-hector};
--product-slick-arrow-background-color: #{$color-odysseus};
--media-overlay-background-color: #{$color-agamemnon};
--mobile-filter-icon-color: #828282;
--mobile-filter-icon-color-hover: #{$color-odysseus};
--mobile-filter-border: 2px solid #{$color-hector};
Expand Down Expand Up @@ -285,7 +282,6 @@
--product-teaser-box-shadow: 0 0 0.625rem -0.1875rem #{$color-aeneas};
--product-teaser-border: 1px solid #{$color-hector};
--product-slick-arrow-background-color: #{$color-odysseus};
--media-overlay-background-color: #{$color-odysseus};
--tiles-gallery-item-caption-background: #{$color-cassandra};
--tiles-gallery-item-caption-text-color: #{$color-odysseus};
--tiles-gallery-background-color: #{$color-odysseus};
Expand Down Expand Up @@ -358,7 +354,6 @@
--product-teaser-text-color: "inherit";
--product-teaser-box-shadow: 0 0 0.625rem -0.1875rem #{$color-aeneas};
--product-teaser-border: 1px solid #{$color-hector};
--media-overlay-background-color: "inherit";
--mobile-filter-icon-color: #828282;
--mobile-filter-icon-color-hover: #{$color-odysseus};
--mobile-filter-border: 2px solid #{$color-hector};
Expand Down

0 comments on commit fdbd34e

Please sign in to comment.