Retrospring/app/assets/stylesheets/components/_inbox-entry.scss

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

67 lines
1.0 KiB
SCSS
Raw Normal View History

2023-02-05 10:49:06 -08:00
@use "sass:map";
.inbox-entry {
$this: &;
2023-02-05 10:49:06 -08:00
position: relative;
&--new {
box-shadow: 0 0.125rem 0.25rem var(--primary);
.card-header {
background-color: var(--primary);
color: RGB(var(--primary-text));
a {
color: RGB(var(--primary-text));
&.dropdown-item {
color: inherit;
}
}
.text-muted {
color: RGBA(var(--primary-text), 0.8) !important;
}
}
}
2023-02-05 10:49:06 -08:00
&__close {
position: absolute;
top: map.get($spacers, 3);
right: map.get($spacers, 3);
}
&__sharing {
position: absolute;
display: flex;
background-color: rgba(var(--raised-bg-rgb), 0.9);
backdrop-filter: blur(3px);
border-radius: var(--card-inner-border-radius);
top: 0;
bottom: 0;
left: 0;
right: 0;
}
.format-help {
opacity: .3;
}
&:focus-within .format-help,
&:hover .format-help {
opacity: 1;
}
2023-02-05 10:49:06 -08:00
2023-01-12 14:21:08 -08:00
.card-header {
position: relative;
}
}
body:not(.cap-web-share) {
2023-10-16 06:24:18 -07:00
[data-controller="share"] {
display: none;
}
}