Skip to content
Snippets Groups Projects
Commit 3a23c879 authored by Kevin Paxman's avatar Kevin Paxman
Browse files

Merge branch 'features/ISTWCMS-5876-m26lebla-remove-background-colour-from-banners' into '1.0.x'

ISTWCMS-5876: removed the css that assigned a background color for banner

See merge request !45
parents 96b91fb6 7fb58a01
No related branches found
No related tags found
1 merge request!45ISTWCMS-5876: removed the css that assigned a background color for banner
...@@ -226,7 +226,6 @@ ...@@ -226,7 +226,6 @@
} }
.card__banner--image { .card__banner--image {
background: var(--uw-black);
margin-bottom: 0; margin-bottom: 0;
padding: 0; padding: 0;
position: relative; position: relative;
...@@ -281,29 +280,29 @@ ...@@ -281,29 +280,29 @@
margin: 0; margin: 0;
} }
a { a {
background: var(--uw-black);
.card__banner--media { .card__banner--media {
margin-bottom: 0; margin-bottom: 0;
opacity: 1;
order: inherit; order: inherit;
transition-delay: 0s; transition-delay: 0s;
transition-duration: 0.2s; transition-duration: 0.2s;
transition-property: color, background-color, border-color, opacity; transition-property: color, border-color, filter;
transition-timing-function: linear; transition-timing-function: linear;
} }
&:hover { &:hover {
.card__banner--media { .card__banner--media {
opacity: 0.6; filter: brightness(50%);
transition-delay: 0s; transition-delay: 0s;
transition-duration: 0.2s; transition-duration: 0.2s;
transition-property: color, background-color, border-color, opacity; transition-property: color, border-color, filter;
transition-timing-function: linear; transition-timing-function: linear;
} }
} }
} }
.uw-picture__fallback{ .uw-picture__fallback{
background: var(--uw-black); //background: var(--uw-black);
display: block; display: block;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment