1 @import '~@proton/styles/scss/lib';
4 --item-checkbox-background-color: var(--background-strong);
5 --item-checkbox-icon-text-color: inherit;
13 // hidden fake check by default
14 & + .item-icon > .item-icon-fakecheck {
18 @supports not selector(:focus-visible) {
19 &:focus + .item-icon {
20 box-shadow: 0 0 0 #{$focus-ring-size} var(--focus-ring);
24 @supports selector(:focus-visible) {
25 &:focus-visible + .item-icon {
26 box-shadow: 0 0 0 #{$focus-ring-size} var(--focus-ring);
31 // increase click area by default
34 margin-inline-start: -1em;
35 padding-inline-start: 1em;
38 background-color: var(--item-checkbox-background-color);
39 color: var(--item-checkbox-icon-text-color);
43 // hover state of checkbox
45 & + .item-icon:hover {
50 & > .item-icon-fakecheck {
57 &:checked + .item-icon {
58 background-color: var(--interaction-norm);
64 & > .item-icon-fakecheck {
66 animation: anime-conversation-icon-in easing(ease-out-quint) 0.15s;
69 @keyframes anime-conversation-icon-in {
79 .item-icon-fakecheck-icon {
80 fill: var(--interaction-norm-contrast);
86 .item-icon-compact:hover {
88 background-color: var(--email-item-unread-icon-background-color);
89 color: var(--email-item-unread-icon-text-color);
93 background-color: var(--email-item-read-icon-background-color);
94 color: var(--email-item-read-icon-text-color);
98 background-color: var(--email-item-selected-icon-background-color);
99 color: var(--email-item-selected-icon-text-color);
104 inline-size: rem($conversation-icon-size);
105 block-size: rem($conversation-icon-size);
108 transition: background-color 0.25s ease-out;
110 .item-container-column & {
111 margin-block-start: em(-5); // to align with first line
114 .item-container-row & {
118 .item-container--row & {
119 margin-inline-start: rem(-1);
123 .item-container--column & {
124 margin-inline-start: rem(-2);
125 margin-block: rem(-3);
128 // for allowing hovering larger than fake circle
132 inset-block: rem(-2);
133 inset-inline: rem(-6);
139 inset-block: em(-6) em(-12);
140 inset-inline: em(-12);
144 .checkbox-fakecheck {