mirror of
https://github.com/discourse/discourse.git
synced 2024-12-02 21:36:11 +08:00
f29f131387
- using BEM notation - making animation linear instead of default ease - small tweaks to composer state (disabled/send-disabled/send-enabled) - fixing bug with disabled composer on mobile
55 lines
915 B
SCSS
55 lines
915 B
SCSS
[data-theme="chat-composer-drodown"] {
|
|
margin-left: 0.2rem;
|
|
|
|
.tippy-content {
|
|
padding: 0;
|
|
}
|
|
}
|
|
|
|
.chat-composer-dropdown__trigger-btn {
|
|
padding: 5px !important; // overwrite ios rule
|
|
border-radius: 100%;
|
|
background: var(--primary-med-or-secondary-high);
|
|
border: 1px solid transparent;
|
|
display: flex;
|
|
|
|
.d-icon {
|
|
color: var(--secondary-very-high);
|
|
}
|
|
|
|
&:focus {
|
|
border-color: var(--tertiary);
|
|
}
|
|
|
|
.discourse-no-touch &:hover {
|
|
background: var(--primary-high);
|
|
.d-icon {
|
|
color: var(--primary-low);
|
|
}
|
|
}
|
|
|
|
.chat-composer.is-disabled & {
|
|
background: var(--primary-400);
|
|
|
|
&:hover {
|
|
cursor: not-allowed;
|
|
}
|
|
}
|
|
}
|
|
|
|
.chat-composer-dropdown__list {
|
|
margin: 0;
|
|
list-style: none;
|
|
padding: 0.5rem;
|
|
}
|
|
|
|
.chat-composer-dropdown__action-btn {
|
|
background: none;
|
|
width: 100%;
|
|
justify-content: flex-start;
|
|
|
|
.d-icon {
|
|
color: var(--primary);
|
|
}
|
|
}
|