Box shadow fix

This commit is contained in:
Minesh Mitha 2018-10-23 22:01:28 +01:00
parent 7e51a56388
commit bb19e4bb3a

View file

@ -60,9 +60,12 @@
width: 100%; width: 100%;
margin: 0; margin: 0;
padding-bottom: 30px; padding-bottom: 30px;
box-shadow: 0 1px 3px 2px rgba(169, 173, 186, 0.2); position: relative;
&.closed { &.closed {
box-shadow: none; box-shadow: none;
&:after {
box-shadow: none;
}
} }
&:before{ &:before{
content: ''; content: '';
@ -70,8 +73,18 @@
height: 100px; height: 100px;
position: absolute; position: absolute;
z-index: 100; z-index: 100;
box-shadow: inset 0px 2px 3px 2px rgba(169, 173, 186, 0.2); box-shadow: inset 2px 3px 3px 2px rgba(169, 173, 186, 0.2);
} }
&:after {
content: '';
width: 100%;
height: 0;
top: 100%;
position: absolute;
z-index: 100;
box-shadow: 0px 2px 3px 2px rgba(169, 173, 186, 0.2);
}
} }
.asset-information-wrap { .asset-information-wrap {