From 11e4339a04f4c9f6a21b960b6b27549ad386c1dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20M=C3=A9ndez?= <45081533+FerMdez@users.noreply.github.com> Date: Wed, 26 May 2021 10:31:29 +0200 Subject: [PATCH] Add files via upload --- assets/css/highContrast.css | 71 +++++++++++++++--------------- assets/css/main.css | 8 ++-- purchase/confirm.php | 2 - purchase/includes/formPurchase.php | 4 +- purchase/index.php | 40 +++++++++-------- 5 files changed, 62 insertions(+), 63 deletions(-) diff --git a/assets/css/highContrast.css b/assets/css/highContrast.css index f41436d..c10d05c 100644 --- a/assets/css/highContrast.css +++ b/assets/css/highContrast.css @@ -695,42 +695,41 @@ display: inline-block; } - form select { - display: inline-block; - font-size: 15px; - font-weight: 400; - color: #1f2c3d; - line-height: 1.3; - padding: .4em 1.4em .3em .8em; - width: 75px; - max-width: 100%; - box-sizing: border-box; - margin: 10px auto; - border: 1px solid #d3ebff; - box-shadow: 0 1px 0 1px #1f2c3d; - border-radius: .3em; - -moz-appearance: none; - -webkit-appearance: none; - appearance: none; - background-color: #fff; - } - form select::-ms-expand { - display: none; - } - form select:hover { - border-color: #d3ebff; - } - form select:focus { - border-color: #d3ebff; - box-shadow: 0 0 1px 3px #1f2c3d; - box-shadow: 0 0 0 3px -moz-mac-focusring; - color: #1f2c3d; - outline: none; - } - form select option { - font-weight:normal; - } - +form select { + display: inline-block; + font-size: 14px; + font-weight: 400px; + color: #1f2c3d; + line-height: 1.3; + padding: .3em 1.4em .3em .4em; + width: 75px; + max-width: 100%; + box-sizing: border-box; + margin: 10px auto; + border: 1px solid #d3ebff; + box-shadow: 0 1px 0 1px #1f2c3d; + border-radius: .3em; + -moz-appearance: none; + -webkit-appearance: none; + appearance: none; + background-color: #fff; +} +form select::-ms-expand { + display: none; +} +form select:hover { + border-color: #d3ebff; +} +form select:focus { + border-color: #d3ebff; + box-shadow: 0 0 1px 3px #1f2c3d; + box-shadow: 0 0 0 3px -moz-mac-focusring; + color: #1f2c3d; + outline: none; +} +form select option { + font-weight: normal; +} /* Preformatted Text */ pre { diff --git a/assets/css/main.css b/assets/css/main.css index c6bc8be..4d7441d 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -690,11 +690,11 @@ textarea { form select { display: inline-block; - font-size: 15px; - font-weight: 400; + font-size: 14px; + font-weight: 400px; color: #1f2c3d; line-height: 1.3; - padding: .4em 1.4em .3em .8em; + padding: .3em 1.4em .3em .4em; width: 75px; max-width: 100%; box-sizing: border-box; @@ -721,7 +721,7 @@ form select:focus { outline: none; } form select option { - font-weight:normal; + font-weight: normal; } diff --git a/purchase/confirm.php b/purchase/confirm.php index 8781465..54edc74 100644 --- a/purchase/confirm.php +++ b/purchase/confirm.php @@ -1,8 +1,6 @@ session = $sessionDAO->sessionData($_POST["session_id"]); + $this->session = $sessionDAO->sessionData($_POST["sessions"]); $filmDAO = new Film_DAO("complucine"); $this->film = $filmDAO->FilmData($this->session->getIdfilm()); @@ -68,7 +68,7 @@ class FormPurchase extends Form {