mirror of
https://github.com/tulir/gomuks.git
synced 2025-04-19 18:13:41 -05:00
web/css: fix disabled button color
This commit is contained in:
parent
5d2cc354f3
commit
8700626176
3 changed files with 6 additions and 1 deletions
|
@ -160,6 +160,7 @@ button, a.button {
|
||||||
|
|
||||||
&:disabled {
|
&:disabled {
|
||||||
cursor: default;
|
cursor: default;
|
||||||
|
color: var(--secondary-text-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover:not(:disabled), &:focus:not(:disabled) {
|
&:hover:not(:disabled), &:focus:not(:disabled) {
|
||||||
|
|
|
@ -30,6 +30,10 @@ div.message-composer {
|
||||||
width: 2rem;
|
width: 2rem;
|
||||||
padding: .25rem;
|
padding: .25rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
> input[type="file"] {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
> div.composer-media {
|
> div.composer-media {
|
||||||
|
|
|
@ -403,7 +403,7 @@ const MessageComposer = () => {
|
||||||
onClick={sendMessage}
|
onClick={sendMessage}
|
||||||
disabled={(!state.text && !state.media) || loadingMedia}
|
disabled={(!state.text && !state.media) || loadingMedia}
|
||||||
><SendIcon/></button>
|
><SendIcon/></button>
|
||||||
<input ref={fileInput} onChange={onAttachFile} type="file" value="" style={{ display: "none" }}/>
|
<input ref={fileInput} onChange={onAttachFile} type="file" value=""/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</>
|
</>
|
||||||
|
|
Loading…
Add table
Reference in a new issue