discourse/plugins/chat/assets/stylesheets/common/chat-selection-manager.scss
Jarek Radosz 7ec9885454
DEV: Enable and fix more stylelint rules (#31200)
* `color-no-invalid-hex`
* `unit-no-unknown`
* `declaration-block-no-duplicate-custom-properties`
* `block-no-empty`
* `selector-type-no-unknown`
* `selector-pseudo-element-no-unknown`
* `scss/double-slash-comment-whitespace-inside`
* `font-family-no-missing-generic-family-keyword`
* `function-linear-gradient-no-nonstandard-direction`
2025-02-05 20:03:56 +01:00

42 lines
839 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;
flex-wrap: wrap;
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 {
100% {
background-color: transparent;
color: transparent;
}
}
}