From bfa6901c9936b596e229f90caec187b63a8d7786 Mon Sep 17 00:00:00 2001 From: BuildTools Date: Wed, 3 Mar 2021 11:11:15 +0100 Subject: [PATCH] Updated calculator --- calc.css | 20 ++++++++++++++++++ calculator.php | 56 +++++++++++++++++++++++++++++++++++++++++++++----- 2 files changed, 71 insertions(+), 5 deletions(-) diff --git a/calc.css b/calc.css index b53e9a1..08ef7e1 100644 --- a/calc.css +++ b/calc.css @@ -12,6 +12,12 @@ border-right: rgba(0, 0, 0, 0); border-bottom: rgba(0, 0, 0, 1); text-align: right; + -webkit-touch-callout: none; /* iOS Safari */ + -webkit-user-select: none; /* Safari */ + -khtml-user-select: none; /* Konqueror HTML */ + -moz-user-select: none; /* Old versions of Firefox */ + -ms-user-select: none; /* Internet Explorer/Edge */ + user-select: none; } .numberbutton { width: 100px; @@ -63,3 +69,17 @@ .zerobutton:active { background-color: rgba(110, 110, 110, 0.5); } +#eingabe:hover { + background-color: rgba(10, 10, 10, 0.5); +} +#calc { + -webkit-touch-callout: none; /* iOS Safari */ + -webkit-user-select: none; /* Safari */ + -khtml-user-select: none; /* Konqueror HTML */ + -moz-user-select: none; /* Old versions of Firefox */ + -ms-user-select: none; /* Internet Explorer/Edge */ + user-select: none; +} +button { + outline: none; +} \ No newline at end of file diff --git a/calculator.php b/calculator.php index f2a6843..dbbd63e 100644 --- a/calculator.php +++ b/calculator.php @@ -21,6 +21,7 @@
+

@@ -37,14 +38,15 @@ - +
- - - + + + +
- +