diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-11-25 05:10:48 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-11-25 05:10:48 +0900 |
| commit | a4726e683b03538dee201c6107e72cd62a6232c8 (patch) | |
| tree | 67898d73a6897d6c44fc2f7564ac7f6445b358aa /src/client/app/common/views/components/ui/button.vue | |
| parent | [MFM] Better hashtag parsing (diff) | |
| download | sharkey-a4726e683b03538dee201c6107e72cd62a6232c8.tar.gz sharkey-a4726e683b03538dee201c6107e72cd62a6232c8.tar.bz2 sharkey-a4726e683b03538dee201c6107e72cd62a6232c8.zip | |
:art:
Diffstat (limited to 'src/client/app/common/views/components/ui/button.vue')
| -rw-r--r-- | src/client/app/common/views/components/ui/button.vue | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/src/client/app/common/views/components/ui/button.vue b/src/client/app/common/views/components/ui/button.vue index d7d65ad87e..9376b3e724 100644 --- a/src/client/app/common/views/components/ui/button.vue +++ b/src/client/app/common/views/components/ui/button.vue @@ -79,6 +79,10 @@ export default Vue.extend({ * pointer-events none + user-select none + + &:disabled + opacity 0.7 &:focus &:after @@ -107,30 +111,30 @@ export default Vue.extend({ color var(--text) background var(--buttonBg) - &:hover + &:not(:disabled):hover background var(--buttonHoverBg) - &:active + &:not(:disabled):active background var(--buttonActiveBg) &.primary color var(--primaryForeground) background var(--primary) - &:hover + &:not(:disabled):hover background var(--primaryLighten5) - &:active + &:not(:disabled):active background var(--primaryDarken5) &:not(.fill) color var(--primary) background none - &:hover + &:not(:disabled):hover color var(--primaryDarken5) - &:active + &:not(:disabled):active background var(--primaryAlpha03) </style> |