From 4b0663ecfdef86d0fc1800cbecd3b3f6bacfe003 Mon Sep 17 00:00:00 2001 From: Joachim Happel Date: Wed, 5 Jun 2024 10:55:48 +0200 Subject: [PATCH] button positionning --- css/style.css | 15 ++-- image-rights-html-generator.php | 116 +++++++++++------------------- js/image-rights-html-generator.js | 25 +------ 3 files changed, 52 insertions(+), 104 deletions(-) diff --git a/css/style.css b/css/style.css index e76bdc9..869ae35 100644 --- a/css/style.css +++ b/css/style.css @@ -121,13 +121,16 @@ #openModal { background-color: #007bff; color: #fff; - padding: 6px 19px; + padding: 10px 20px; border: none; border-radius: 4px; cursor: pointer; - max-width: 110px; -} -.media-modal #openModal { - position: fixed; - margin-top: 26px; + font-size: 14px; + font-weight: bold; + text-align: center; + margin-top: 10px; } + +#openModal:hover { + background-color: #0056b3; +} \ No newline at end of file diff --git a/image-rights-html-generator.php b/image-rights-html-generator.php index 79ac6da..192ec7e 100644 --- a/image-rights-html-generator.php +++ b/image-rights-html-generator.php @@ -29,86 +29,54 @@ add_action( 'admin_enqueue_scripts', 'irhg_enqueue_scripts' ); function irhg_add_modal() { ?> -