vendor/assets/stylesheets/spectre/_popovers.scss in spectre_scss-0.5.2.0 vs vendor/assets/stylesheets/spectre/_popovers.scss in spectre_scss-0.5.3.0
- old
+ new
@@ -14,52 +14,48 @@
width: $control-width-sm;
z-index: $zindex-3;
}
*:focus + .popover-container,
- &:hover .popover-container,
- .popover-container:hover {
+ &:hover .popover-container {
display: block;
opacity: 1;
- transform: translate(-50%, -100%) scale(1);
+ transform: translate(-50%, -100%);
}
&.popover-right {
.popover-container {
left: 100%;
top: 50%;
}
- :focus + .popover-container,
- &:hover .popover-container,
- .popover-container:hover {
- transform: translate(0, -50%) scale(1);
+ *:focus + .popover-container,
+ &:hover .popover-container {
+ transform: translate(0, -50%);
}
}
&.popover-bottom {
.popover-container {
left: 50%;
top: 100%;
}
- :focus + .popover-container,
- &:hover .popover-container,
- .popover-container:hover {
- transform: translate(-50%, 0) scale(1);
+ *:focus + .popover-container,
+ &:hover .popover-container {
+ transform: translate(-50%, 0);
}
}
&.popover-left {
.popover-container {
left: 0;
top: 50%;
}
- :focus + .popover-container,
- &:hover .popover-container,
- .popover-container:hover {
- transform: translate(-100%, -50%) scale(1);
+ *:focus + .popover-container,
+ &:hover .popover-container {
+ transform: translate(-100%, -50%);
}
}
.card {
@include shadow-variant(.2rem);