From: sebastien Date: Wed, 16 Oct 2019 10:09:55 +0000 (+0200) Subject: [BUGFIX] prevent send button to "move" when focused or hovered X-Git-Tag: 4.0.0~8 X-Git-Url: https://git.p6c8.net/jirafeau.git/commitdiff_plain/ee1e3a1d4c4428e5bc202aa9367608e88a27cee1?ds=inline [BUGFIX] prevent send button to "move" when focused or hovered --- diff --git a/media/courgette/style.css.php b/media/courgette/style.css.php index e8f0a76..36836ed 100644 --- a/media/courgette/style.css.php +++ b/media/courgette/style.css.php @@ -24,8 +24,6 @@ * The content is dynamically generated for easier handling. */ -$dark = '#8B4513'; - header('Content-type: text/css'); ?> @@ -132,7 +130,8 @@ input[type="submit"]:hover, input[type="submit"]:focus { border: 0; position: relative; - top: 5px; + background: #085B69; + border-bottom: 5px solid #0D9CB2; margin-bottom: 15px; } diff --git a/media/dark-courgette/style.css.php b/media/dark-courgette/style.css.php index b39a05d..93b52d6 100644 --- a/media/dark-courgette/style.css.php +++ b/media/dark-courgette/style.css.php @@ -24,8 +24,6 @@ * The content is dynamically generated for easier handling. */ -$dark = '#8B4513'; - header('Content-type: text/css'); ?> @@ -114,7 +112,7 @@ input[type="submit"] { padding: 0.4em 2.2em; font-size: 1.1em; color: #FFF; - border-bottom: 5px solid #fff; + border-bottom: 5px solid #FFF; cursor: pointer; margin: 10px; } @@ -132,8 +130,10 @@ select { width: 100%; } input[type="submit"]:hover, input[type="submit"]:focus { border: 0; + color: #555; position: relative; - top: 5px; + background: #FFF; + border-bottom: 5px solid #555; margin-bottom: 15px; } diff --git a/media/elegantish/elegantish.css b/media/elegantish/elegantish.css index ddfd896..7e04ac8 100644 --- a/media/elegantish/elegantish.css +++ b/media/elegantish/elegantish.css @@ -36,7 +36,7 @@ @import url(https://fonts.googleapis.com/css?family=Open+Sans|Lobster); body { - background: ##050505; + background: #050505; background-image: url("bg1.png"), url("bg2.png"); background-repeat: repeat-x, repeat; font-family: 'Lobster', cursive; @@ -124,7 +124,8 @@ input[type="submit"]:focus { font-family: 'Lobster', cursive; border: 0; position: relative; - top: 5px; + background: #085B69; + border-bottom: 5px solid #157EFB; margin-bottom: 15px; }