prevent text selection upon click outside of messageBox

This commit is contained in:
tophf 2017-08-25 20:50:15 +03:00
parent d932d37cff
commit 38c7ed1bc1

View File

@ -9,6 +9,7 @@
background-color: rgba(0, 0, 0, .25); background-color: rgba(0, 0, 0, .25);
animation: fadein .25s ease-in-out; animation: fadein .25s ease-in-out;
z-index: 9999990; z-index: 9999990;
-moz-user-select: none;
} }
#message-box > div { #message-box > div {
@ -24,6 +25,7 @@
background-color: white; background-color: white;
box-shadow: 5px 5px 50px rgba(0, 0, 0, 0.35); box-shadow: 5px 5px 50px rgba(0, 0, 0, 0.35);
z-index: 9999991; z-index: 9999991;
-moz-user-select: text;
} }
#message-box.fadeout { #message-box.fadeout {