mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
To increase the ease of development we are moving @angular/docs into the adev directory within this repo. While we are doing this to improve our development experience in the short term, efforts are also in place to maintain a division between this @angular/docs (shared) code and adev itself, so that it can be extracted back out in the future when components is ready to leverage it as well. PR Close #57132
40 lines
785 B
SCSS
40 lines
785 B
SCSS
:host {
|
|
position: fixed;
|
|
bottom: 0.5rem;
|
|
right: 0.5rem;
|
|
z-index: var(--z-index-cookie-consent);
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
animation: 1s linear forwards 0.5s fadeIn;
|
|
}
|
|
|
|
.docs-cookies-popup {
|
|
padding: 1rem;
|
|
background-color: var(--page-background);
|
|
border: 1px solid var(--senary-contrast);
|
|
border-radius: 0.25rem;
|
|
font-size: 0.875rem;
|
|
max-width: 265px;
|
|
transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
|
|
box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
|
|
|
|
> div {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
align-items: center;
|
|
width: 100%;
|
|
margin-block-start: 1rem;
|
|
}
|
|
|
|
p {
|
|
margin-block: 0;
|
|
color: var(--primary-contrast);
|
|
}
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
100% {
|
|
opacity: 100%;
|
|
visibility: visible;
|
|
}
|
|
}
|