2 @import '~@proton/styles/scss/lib';
6 z-index: map.get($z-indexes, 'floating-frames');
10 background: var(--background-norm);
11 color: var(--text-norm);
12 animation: eventpopoverIn ease 0.15s;
13 animation-fill-mode: both;
14 border: 1px solid var(--border-weak);
16 @include media('<=small') {
22 @include media('>small') {
23 inline-size: rem(500);
24 max-inline-size: rem(368);
26 border-radius: var(--border-radius-lg);
27 box-shadow: var(--shadow-lifted);
30 @include media('<=small') {
31 padding-inline: rem(16);
34 @include media('print') {
35 inline-size: rem(368);
36 block-size: fit-content;
37 border: 1px solid var(--border-norm);
42 &:focus:focus-visible {
46 // transition: all .25s ease; should be applied only when opened and end of animation <-- this is solved by react-transition-group
49 padding-block: rem(5);
50 padding-inline: rem(8);
51 margin-block: rem(-24) rem(24);
52 margin-inline: rem(-24);
54 background-color: var(--background-weak);
55 border-block-end: 1px solid var(--border-weak);
65 margin-inline-start: rem(8);
69 background-color: var(--border-norm);
80 min-block-size: rem(32);
93 margin-block-start: em(12); // from design
97 border-color: var(--border-norm);
101 border-radius: var(--border-radius-md);
109 transform: translate3d(50%, 50%, 0);
113 min-block-size: 12em;
116 // special fix when no select for calendar ------------------
117 &-calendar-select:has(.field--frozen) {
129 // special fix for popover line with fullday checkbox + recurrency (DE) ------------------
130 &-fullday-recurrency {
131 @include media('>=#{em(350, 16)}') {
132 flex-flow: row nowrap;
134 .eventpopover-recurrency {
135 margin-block-start: 0;
136 margin-inline-start: auto;
139 @include media('<#{em(350, 16)}') {
141 flex-direction: row-reverse;
142 justify-content: flex-end;
147 // special fixes for recurring frequency ------------------
152 .onpopover-flex-column {
153 flex-direction: column;
161 // --------------------------------------------------------
164 @keyframes eventpopoverIn {