From 81a8153866287f21ba1901b2a73b471d09fdbfd1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=91cze=20Bence?= Date: Thu, 26 May 2022 15:55:45 +0200 Subject: [PATCH] MAPG-241 use class 'text' for text inputs --- public/static/css/mapguesser.css | 20 ++++++++++---------- views/account/account.php | 12 ++++++------ views/account/delete.php | 6 +++--- views/admin/map_editor.php | 6 +++--- views/login/google_signup.php | 2 +- views/login/login.php | 4 ++-- views/login/password_reset_request.php | 2 +- views/login/reset_password.php | 6 +++--- views/login/signup.php | 10 +++++----- views/maps.php | 9 +-------- 10 files changed, 35 insertions(+), 42 deletions(-) diff --git a/public/static/css/mapguesser.css b/public/static/css/mapguesser.css index 65a4637..01538a9 100644 --- a/public/static/css/mapguesser.css +++ b/public/static/css/mapguesser.css @@ -241,7 +241,7 @@ button.green:enabled:hover, button.green:enabled:focus, a.button.green:hover, a. background-color: #1b7d31; } -input[type=text], select, textarea { +input.text, select, textarea { background-color: #f9fafb; border: solid #c8d2e1 1px; border-radius: 2px; @@ -250,7 +250,7 @@ input[type=text], select, textarea { font-weight: 300; } -input[type=text], select { +input.text, select { height: 30px; line-height: 30px; padding: 0 5px; @@ -265,11 +265,11 @@ textarea { resize: none; } -input[type=text].big, select.big, textarea.big, div.inputWithButton>input[type=text] { +input.text.big, select.big, textarea.big, div.inputWithButton>input.text { font-size: 18px; } -input[type=text].big, select.big, div.inputWithButton>input[type=text] { +input.text.big, select.big, div.inputWithButton>input.text { height: 35px; line-height: 35px; padding: 0 6px; @@ -284,19 +284,19 @@ input.fullWidth, select.fullWidth, textarea.fullWidth { width: 100%; } -input[type=text]:disabled, select:disabled, textarea:disabled { +input.text:disabled, select:disabled, textarea:disabled { background-color: #dfdfdf; border: solid #dfdfdf 1px; color: #000000; } -input[type=text]:focus, select:focus, textarea:focus { +input.text:focus, select:focus, textarea:focus { background-color: #ffffff; border: solid #29457f 2px; outline: none; } -input[type=text]:focus, select:focus { +input.text:focus, select:focus { padding: 0 4px; } @@ -304,16 +304,16 @@ textarea:focus { padding: 4px; } -input[type=text].big:focus, select.big:focus { +input.text.big:focus, select.big:focus { padding: 0 5px; } -div.inputWithButton>input[type=text] { +div.inputWithButton>input.text { width: 100%; padding: 0 83px 0 6px; } -div.inputWithButton>input[type=text]:focus { +div.inputWithButton>input.text:focus { padding: 0 82px 0 5px; } diff --git a/views/account/account.php b/views/account/account.php index 5ace830..b83e909 100644 --- a/views/account/account.php +++ b/views/account/account.php @@ -9,24 +9,24 @@

Please confirm your identity with your password or with Google to modify your account.

-

Please confirm your identity with your password to modify your account.

- +

Please confirm your identity with Google to modify your account.

-

- - - + + +

diff --git a/views/account/delete.php b/views/account/delete.php index 51f4c36..c667333 100644 --- a/views/account/delete.php +++ b/views/account/delete.php @@ -10,16 +10,16 @@

Please confirm your identity with your password or with Google to delete your account.

-

Please confirm your identity with your password to delete your account.

- +

Please confirm your identity with Google to delete your account.

-
diff --git a/views/admin/map_editor.php b/views/admin/map_editor.php index 2908278..afc856d 100644 --- a/views/admin/map_editor.php +++ b/views/admin/map_editor.php @@ -19,7 +19,7 @@ - +
@@ -36,13 +36,6 @@ TODO: condition!