From d00a44a406845173b56d28a90ac9dedaccc6a2a0 Mon Sep 17 00:00:00 2001 From: 4gray Date: Thu, 17 Sep 2020 18:56:04 +0200 Subject: [PATCH] style: disable text highlighting in the app --- src/styles.scss | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/styles.scss b/src/styles.scss index 5e33716f6..94c6c992d 100644 --- a/src/styles.scss +++ b/src/styles.scss @@ -69,3 +69,14 @@ html, body { .mat-toolbar-row, .mat-toolbar-single-row { height: 54px; } + +:not(input):not(textarea), +:not(input):not(textarea)::after, +:not(input):not(textarea)::before { + -webkit-user-select: none; + user-select: none; + cursor: default; +} +input, button, textarea, :focus { + outline: none; +} \ No newline at end of file