summaryrefslogtreecommitdiff
path: root/src/web/app/common
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-03-04 18:27:22 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-03-04 18:27:22 +0900
commitbad780ce96cf73716bfb3818b69400707542b610 (patch)
tree078230274d49cb46dbddd1b904ed8cc90f949c8c /src/web/app/common
parentFix bug (diff)
downloadmisskey-bad780ce96cf73716bfb3818b69400707542b610.tar.gz
misskey-bad780ce96cf73716bfb3818b69400707542b610.tar.bz2
misskey-bad780ce96cf73716bfb3818b69400707542b610.zip
:art:
Diffstat (limited to 'src/web/app/common')
-rw-r--r--src/web/app/common/views/components/switch.vue12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/web/app/common/views/components/switch.vue b/src/web/app/common/views/components/switch.vue
index ffbab843ea..cfc2f38e2d 100644
--- a/src/web/app/common/views/components/switch.vue
+++ b/src/web/app/common/views/components/switch.vue
@@ -133,6 +133,18 @@ export default Vue.extend({
opacity 0
margin 0
+ &:focus + .button
+ &:after
+ content ""
+ pointer-events none
+ position absolute
+ top -5px
+ right -5px
+ bottom -5px
+ left -5px
+ border 2px solid rgba($theme-color, 0.3)
+ border-radius 14px
+
> .button
display inline-block
margin 0