discourse/plugins/chat/assets/stylesheets/common/chat-selection-manager.scss
David Taylor d88ee33eb6
DEV: Introduce stylelint (#29852)
Stylelint is a css linter: https://stylelint.io/

As part of this change we have added two javascript scripts:

```
pnpm lint:css
pnpm lint:css:fix
```

Look at `.vscode/settings.json.sample` and `.vscode/extensions.json` for
configuration in VSCode.

---------

Co-authored-by: Joffrey JAFFEUX <j.jaffeux@gmail.com>
2025-01-20 15:27:42 +00:00

44 lines
834 B
SCSS

.chat-selection-management {
border-top: 1px solid var(--primary-low);
display: flex;
gap: 0.5rem;
padding: 0.5rem;
.chat-drawer-content & {
flex-direction: column;
}
&__buttons {
display: flex;
gap: 0.5rem;
.chat-drawer-content & {
flex-direction: column;
width: 100%;
}
}
&__copy-success {
animation: chat-quote-message-background-fade-highlight 2s ease-out 3s;
@media (prefers-reduced-motion) {
animation-duration: 0s;
}
animation-fill-mode: forwards;
background-color: var(--success-low);
color: var(--primary);
flex: 1;
line-height: normal;
padding: 0.5rem 0.65rem;
}
@keyframes chat-quote-message-background-fade-highlight {
0% {
}
100% {
background-color: transparent;
color: transparent;
}
}
}