diff --git a/ccm-core/web/themes/foundry/foundry/lib/template-tags/content-items.xsl b/ccm-core/web/themes/foundry/foundry/lib/template-tags/content-items.xsl
index 9789eee1e..4082684da 100644
--- a/ccm-core/web/themes/foundry/foundry/lib/template-tags/content-items.xsl
+++ b/ccm-core/web/themes/foundry/foundry/lib/template-tags/content-items.xsl
@@ -138,17 +138,31 @@
/* Sets the reference point for position: absolute
- to the main element block */
+ to the main element block */
main {
- position: relative;
+ position: relative;
}
/* Don't show the edit link on a first glance */
main .edit-link {
- display: none;
+ display: none;
}
/* Display the edit link in the top right corner
- of the content item area if the cursor is in
- the content item area */
+ of the content item area if the cursor is in
+ the content item area */
main:hover .edit-link {
- display: block;
- position: absolute;
- right: 0;
- top: 0;
- font-size: 30px;
- color: #0776a0;
- /* Blue border around the link */
- border: 1px solid #0776a0;
- /* Make the link 32px in width and height */
- width: 32px;
- height: 32px;
- text-align: center;
+ display: block;
+ position: absolute;
+ right: 0;
+ top: 0;
+ font-size: 30px;
+ color: #0776a0;
+ /* Blue border around the link */
+ border: 1px solid #0776a0;
+ /* Make the link 32px in width and height */
+ width: 32px;
+ height: 32px;
+ text-align: center;
}
/* Remove default decoration for links */
@@ -689,8 +703,8 @@
main:hover .edit-link a:hover,
main:hover .edit-link a:active,
main:hover .edit-link a:visited {
- color: #0776a0;
- text-decoration: none;
+ color: #0776a0;
+ text-decoration: none;
}
diff --git a/ccm-core/web/themes/foundry/foundry/lib/template-tags/html-tags.xsl b/ccm-core/web/themes/foundry/foundry/lib/template-tags/html-tags.xsl
index 0442466b8..ca8f2d707 100644
--- a/ccm-core/web/themes/foundry/foundry/lib/template-tags/html-tags.xsl
+++ b/ccm-core/web/themes/foundry/foundry/lib/template-tags/html-tags.xsl
@@ -172,12 +172,23 @@