summaryrefslogtreecommitdiffstats
path: root/includes
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2021-04-06 10:01:08 +0200
committerHarald Eilertsen <haraldei@anduin.net>2021-04-06 10:01:08 +0200
commit5737dbe8e58d81ba15cdd228463d70f47fddf1fd (patch)
tree78de6066e8845658d5bbb89b169e3ee16cbb8d25 /includes
parent870b37653ccc4f03edb4821f246a2b32333ae99e (diff)
downloadgigologadmin-5737dbe8e58d81ba15cdd228463d70f47fddf1fd.tar.gz
gigologadmin-5737dbe8e58d81ba15cdd228463d70f47fddf1fd.tar.bz2
gigologadmin-5737dbe8e58d81ba15cdd228463d70f47fddf1fd.zip
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.
Diffstat (limited to 'includes')
-rw-r--r--includes/css/main.css23
1 files changed, 12 insertions, 11 deletions
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
+}