From 5737dbe8e58d81ba15cdd228463d70f47fddf1fd Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Tue, 6 Apr 2021 10:01:08 +0200 Subject: Move image assets locally. One problem here is that the path to the assets are hard coded into the CSS file. This is not ideal. Not sure if the wp_enque_style supports loading styles with embedded php. Will explore further. --- includes/css/main.css | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) (limited to 'includes') diff --git a/includes/css/main.css b/includes/css/main.css index 5df024a..c88de60 100644 --- a/includes/css/main.css +++ b/includes/css/main.css @@ -3,7 +3,7 @@ div.takenby { padding: 20px; display: none; } - + span.takenby:hover + div.takenby { display: block; } @@ -14,15 +14,16 @@ span.takenby } .assignit input -{ - background:red; +{ + background:red; font-size: small; padding: none; - background: url('http://andreutza.biz/wordpress/wp-content/uploads/2021/01/checkedbox.png') no-repeat; - background-size: 20px 20px; + background: url('/wp-content/plugins/giglogadmin/assets/images/checkedbox.png') no-repeat; + background-size: 20px 20px; vertical-align: center; } -.assignit + +.assignit { padding: none !important; font-size: small; @@ -30,12 +31,12 @@ span.takenby } .unassignit input -{ - background:red; +{ + background:red; font-size: small; padding: none; - background: url('http://andreutza.biz/wordpress/wp-content/uploads/2021/01/redicon.png') no-repeat; - background-size: 20px 20px; + background: url('/wp-content/plugins/giglogadmin/assets/images/redicon.png') no-repeat; + background-size: 20px 20px; vertical-align: center; } .adminbuttons form @@ -52,4 +53,4 @@ span.takenby { padding: unset; width: 80px; -} \ No newline at end of file +} -- cgit v1.2.3