summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Peter Christen <mc@yacy.net>2020-12-12 03:02:40 +0100
committerMichael Peter Christen <mc@yacy.net>2020-12-12 03:02:40 +0100
commit4ec55289a847369d80697932c21900f16bf02e35 (patch)
tree4a8d1c413c8243433211eb138f321af115e75e26
parent43a9f4f57446e6987cdb03f1fb7f17dd92f56b60 (diff)
using a lock symbol which looks also good in dark designs
-rw-r--r--htroot/env/base.css10
-rw-r--r--htroot/env/grafics/lock.gifbin139 -> 0 bytes
-rw-r--r--htroot/env/grafics/lockclose.pngbin0 -> 21405 bytes
-rw-r--r--htroot/env/grafics/lockopen.gifbin134 -> 0 bytes
-rw-r--r--htroot/env/grafics/lockopen.pngbin0 -> 21017 bytes
5 files changed, 6 insertions, 4 deletions
diff --git a/htroot/env/base.css b/htroot/env/base.css
index 0e86ea079..fb16e2de7 100644
--- a/htroot/env/base.css
+++ b/htroot/env/base.css
@@ -553,15 +553,17 @@ a.MenuItemLink {
}
a.MenuItemLink.lock {
- background-image:url(grafics/lock.gif);
- background-position:2px center;
+ background-image:url(grafics/lockclose.png);
+ background-position:1px center;
background-repeat:no-repeat;
+ background-size: 16px 16px;
}
a.MenuItemLink.unlock {
- background-image:url(grafics/lockopen.gif);
- background-position:2px center;
+ background-image:url(grafics/lockopen.png);
+ background-position:1px center;
background-repeat:no-repeat;
+ background-size: 16px 16px;
}
a:hover.MenuItemLink {
diff --git a/htroot/env/grafics/lock.gif b/htroot/env/grafics/lock.gif
deleted file mode 100644
index c0584bb46..000000000
--- a/htroot/env/grafics/lock.gif
+++ /dev/null
Binary files differ
diff --git a/htroot/env/grafics/lockclose.png b/htroot/env/grafics/lockclose.png
new file mode 100644
index 000000000..28ff50ad3
--- /dev/null
+++ b/htroot/env/grafics/lockclose.png
Binary files differ
diff --git a/htroot/env/grafics/lockopen.gif b/htroot/env/grafics/lockopen.gif
deleted file mode 100644
index 62a61d9b8..000000000
--- a/htroot/env/grafics/lockopen.gif
+++ /dev/null
Binary files differ
diff --git a/htroot/env/grafics/lockopen.png b/htroot/env/grafics/lockopen.png
new file mode 100644
index 000000000..33cd2f28a
--- /dev/null
+++ b/htroot/env/grafics/lockopen.png
Binary files differ