mirror of
https://github.com/fromchat-messenger/web.git
synced 2026-09-24 20:15:06 +03:00
101 lines
1.8 KiB
SCSS
101 lines
1.8 KiB
SCSS
@use "material" as *;
|
|
@use "sass:color";
|
|
|
|
.link {
|
|
color: $color-dark-primary;
|
|
font-weight: 600;
|
|
}
|
|
|
|
button, input {
|
|
font: inherit;
|
|
}
|
|
|
|
.rich-text-area {
|
|
width: 100%;
|
|
resize: none;
|
|
transition: height 0.2s ease;
|
|
overflow-y: hidden;
|
|
background-color: transparent;
|
|
display: block;
|
|
}
|
|
|
|
.quote {
|
|
background-color: $color-dark-surface-primary-container-lightened;
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
|
|
color: $color-dark-on-surface-variant;
|
|
font-size: 0.9rem;
|
|
line-height: 1.4;
|
|
|
|
&.bg-surfaceContainer {
|
|
background-color: $color-dark-secondary-container;
|
|
|
|
.quote-inner {
|
|
border-left: 3px solid $color-dark-secondary;
|
|
}
|
|
}
|
|
|
|
.quote-inner {
|
|
border-left: 3px solid $color-dark-primary;
|
|
padding: 0.5rem;
|
|
}
|
|
}
|
|
|
|
// Status badge styles (unified for verified and warning)
|
|
.status-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
user-select: none;
|
|
|
|
&.verified {
|
|
color: $color-dark-primary;
|
|
}
|
|
|
|
&.warning {
|
|
color: $color-dark-tertiary; // Purple-themed warning color
|
|
}
|
|
|
|
&.small mdui-icon {
|
|
font-size: 14px;
|
|
width: 14px;
|
|
height: 14px;
|
|
}
|
|
|
|
&.medium mdui-icon {
|
|
font-size: 18px;
|
|
width: 18px;
|
|
height: 18px;
|
|
}
|
|
|
|
&.large mdui-icon {
|
|
font-size: 24px;
|
|
width: 24px;
|
|
height: 24px;
|
|
}
|
|
}
|
|
|
|
.similarity-warning {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 12px;
|
|
background-color: $color-dark-error-container;
|
|
color: $color-dark-on-error-container;
|
|
border-radius: 8px;
|
|
margin: 12px 0;
|
|
font-size: 0.9rem;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.verify-section {
|
|
margin: 16px 0;
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.dm-list-headline {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
} |