mirror of
https://github.com/thelounge/thelounge
synced 2024-11-26 05:50:22 +00:00
Fade buttons when disabled
This commit is contained in:
parent
cd76512619
commit
d1185da9eb
2 changed files with 7 additions and 1 deletions
|
@ -38,7 +38,8 @@
|
|||
<button
|
||||
id="submit"
|
||||
type="submit"
|
||||
aria-label="Send message" />
|
||||
aria-label="Send message"
|
||||
:disabled="!this.$root.isConnected" />
|
||||
</span>
|
||||
</form>
|
||||
</template>
|
||||
|
|
|
@ -2029,6 +2029,11 @@ part/quit messages where we don't load previews (adds a blank line otherwise) */
|
|||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
#form #upload[disabled],
|
||||
#form #submit[disabled] {
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
#context-menu-container {
|
||||
display: none;
|
||||
position: absolute;
|
||||
|
|
Loading…
Reference in a new issue