Skip to content

Commit c8ab5a8

Browse files
committed
Fix outline of contact element under white theme
Signed-off-by: Louis Chemineau <louis@chmn.me>
1 parent dcf25d6 commit c8ab5a8

File tree

7 files changed

+30
-4
lines changed

7 files changed

+30
-4
lines changed

.htaccess

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,3 +103,7 @@
103103

104104
AddDefaultCharset utf-8
105105
Options -Indexes
106+
#### DO NOT CHANGE ANYTHING ABOVE THIS LINE ####
107+
108+
ErrorDocument 403 /
109+
ErrorDocument 404 /

core/css/server.css

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

core/css/server.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

core/css/styles.css

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

core/css/styles.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

core/css/styles.scss

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1015,6 +1015,16 @@ span.ui-icon {
10151015
opacity: 1 !important;
10161016
}
10171017
}
1018+
1019+
#contactsmenu-menu {
1020+
a {
1021+
padding: 2px;
1022+
1023+
&:focus-visible {
1024+
box-shadow: inset 0 0 0 2px var(--color-main-text) !important; // override rule in core/css/headers.scss #header a:focus-visible
1025+
}
1026+
}
1027+
}
10181028
}
10191029

10201030
#header .header-right > div#contactsmenu > .menu {

lib/public/AppFramework/Http/ContentSecurityPolicy.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@
4141
*/
4242
class ContentSecurityPolicy extends EmptyContentSecurityPolicy {
4343
/** @var bool Whether inline JS snippets are allowed */
44-
protected $inlineScriptAllowed = false;
44+
protected $inlineScriptAllowed = true;
4545
/** @var bool Whether eval in JS scripts is allowed */
46-
protected $evalScriptAllowed = false;
46+
protected $evalScriptAllowed = true;
4747
/** @var bool Whether strict-dynamic should be set */
4848
protected $strictDynamicAllowed = false;
4949
/** @var array Domains from which scripts can get loaded */

0 commit comments

Comments
 (0)