Zabezpieczenie kodu tooltipa
This commit is contained in:
30
style.less
30
style.less
@@ -227,3 +227,33 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// WERSJE
|
||||
.idm__hotspot:has(.product__versions){
|
||||
.product__versions{
|
||||
display: grid;
|
||||
grid-template-columns: repeat(5, 1fr);
|
||||
gap: 1rem;
|
||||
z-index: 1;
|
||||
background: #fff;
|
||||
clip-path: inset(0% 0 100% 0);
|
||||
padding: 0.3rem 1rem;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
}
|
||||
.product__content_wrapper{
|
||||
position: relative;
|
||||
}
|
||||
.label_icons, .product__versions{
|
||||
transition: all 0.2s;
|
||||
}
|
||||
.product:hover{
|
||||
.product__versions, .label_icons{
|
||||
transform: translateY(-100%);
|
||||
}
|
||||
.product__versions{
|
||||
clip-path: inset(0 0 0 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user