salix/front/core/components/popover/style.scss

44 lines
986 B
SCSS
Raw Normal View History

2019-02-08 16:49:51 +00:00
@import "variables";
.vn-popover {
2019-02-01 12:01:09 +00:00
z-index: 20;
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
2019-02-08 16:49:51 +00:00
color: $color-font;
opacity: 0;
2020-04-02 12:52:02 +00:00
transform: translateY(-9px);
transition-property: opacity, transform;
transition-duration: 200ms;
transition-timing-function: ease-in-out;
&.shown {
transform: translateY(0);
opacity: 1;
}
& > .window {
position: absolute;
2020-04-02 12:20:57 +00:00
box-shadow: 0 1px 6px $color-shadow;
2018-07-03 11:24:42 +00:00
z-index: 0;
& > .arrow {
2020-04-02 12:20:57 +00:00
width: 16px;
height: 16px;
2020-04-02 12:52:02 +00:00
margin: -8px;
2019-02-08 16:49:51 +00:00
background-color: $color-bg-panel;
2020-04-02 12:20:57 +00:00
box-shadow: 0 1px 6px $color-shadow;
position: absolute;
transform: rotate(45deg);
2018-07-03 11:24:42 +00:00
z-index: -1;
}
& > .content {
2020-04-02 12:20:57 +00:00
border-radius: 1px;
2019-02-08 16:49:51 +00:00
background-color: $color-bg-panel;
2018-07-03 11:24:42 +00:00
height: inherit;
overflow: auto;
}
}
}