diff --git a/phpBB/adm/style/admin.css b/phpBB/adm/style/admin.css
index 3243d0eb24..ac842a8812 100644
--- a/phpBB/adm/style/admin.css
+++ b/phpBB/adm/style/admin.css
@@ -2639,7 +2639,7 @@ fieldset.permissions .padding {
.send-stats-tile h2 {
margin-top: 0;
text-align: center;
- padding-bottom: 1em;
+ padding-bottom: 1em;
}
.send-stats-tile i {
@@ -2647,7 +2647,8 @@ fieldset.permissions .padding {
}
.icon {
- font-family: FontAwesome;
+ font-family: "Font Awesome 5 Free", "Font Awesome 5 Brands";
+ font-weight: 900;
font-style: normal;
}
@@ -2698,12 +2699,14 @@ fieldset.permissions .padding {
}
.send-stats-settings input[type=checkbox] + label:before {
- content: "\f096";
- font-family: FontAwesome;
+ font-family: "Font Awesome 5 Free";
font-size: 1.5em;
+ font-weight: normal;
+ content: "\f0c8";
}
.send-stats-settings input[type=checkbox]:checked + label:before {
+ font-weight: bold;
content: "\f14a";
color: #3c763d;
}
diff --git a/phpBB/adm/style/overall_header.html b/phpBB/adm/style/overall_header.html
index fa361d6016..d6f1cf73d7 100644
--- a/phpBB/adm/style/overall_header.html
+++ b/phpBB/adm/style/overall_header.html
@@ -8,6 +8,7 @@
{PAGE_TITLE}
+
+
diff --git a/phpBB/styles/prosilver/template/simple_header.html b/phpBB/styles/prosilver/template/simple_header.html
index 905d25096f..1c2d08adf6 100644
--- a/phpBB/styles/prosilver/template/simple_header.html
+++ b/phpBB/styles/prosilver/template/simple_header.html
@@ -24,6 +24,7 @@
+
diff --git a/phpBB/styles/prosilver/theme/common.css b/phpBB/styles/prosilver/theme/common.css
index eb04c66223..e356bc9f18 100644
--- a/phpBB/styles/prosilver/theme/common.css
+++ b/phpBB/styles/prosilver/theme/common.css
@@ -363,7 +363,7 @@ a.header-avatar img {
a.header-avatar span:after {
content: '\f0dd';
display: inline-block;
- font: normal normal normal 14px/1 FontAwesome;
+ font: normal normal bold 14px/1 "Font Awesome 5 Free";
padding-left: 6px;
padding-top: 2px;
vertical-align: top;
diff --git a/phpBB/styles/prosilver/theme/icons.css b/phpBB/styles/prosilver/theme/icons.css
index 3ac598486c..e3919a227e 100644
--- a/phpBB/styles/prosilver/theme/icons.css
+++ b/phpBB/styles/prosilver/theme/icons.css
@@ -11,10 +11,10 @@
*/
.icon, .button .icon, blockquote cite:before, .uncited:before {
display: inline-block;
- font-weight: normal;
+ font-family: "Font Awesome 5 Free", "Font Awesome 5 Brands";
+ font-weight: 900;
font-style: normal;
font-variant: normal;
- font-family: FontAwesome;
font-size: 14px;
line-height: 1;
text-rendering: auto; /* optimizelegibility throws things off #1094 */
@@ -22,9 +22,9 @@
-moz-osx-font-smoothing: grayscale;
}
-.icon:before { padding-right: 2px; }
+.icon { padding-right: 2px; }
-.button .icon:before {
+.button .icon {
padding-right: 0;
}
diff --git a/tests/functional/forum_style_test.php b/tests/functional/forum_style_test.php
index b3c1115b7f..2f75517f8f 100644
--- a/tests/functional/forum_style_test.php
+++ b/tests/functional/forum_style_test.php
@@ -31,13 +31,13 @@ class phpbb_functional_forum_style_test extends phpbb_functional_test_case
public function test_default_forum_style()
{
$crawler = self::request('GET', 'viewtopic.php?t=1&f=2');
- $this->assertContains('styles/prosilver/', $crawler->filter('head > link[rel=stylesheet]')->eq(1)->attr('href'));
+ $this->assertContains('styles/prosilver/', $crawler->filter('head > link[rel=stylesheet]')->eq(2)->attr('href'));
$crawler = self::request('GET', 'viewtopic.php?t=1');
- $this->assertContains('styles/prosilver/', $crawler->filter('head > link[rel=stylesheet]')->eq(1)->attr('href'));
+ $this->assertContains('styles/prosilver/', $crawler->filter('head > link[rel=stylesheet]')->eq(2)->attr('href'));
$crawler = self::request('GET', 'viewtopic.php?t=1&view=next');
- $this->assertContains('styles/prosilver/', $crawler->filter('head > link[rel=stylesheet]')->eq(1)->attr('href'));
+ $this->assertContains('styles/prosilver/', $crawler->filter('head > link[rel=stylesheet]')->eq(2)->attr('href'));
}
public function test_custom_forum_style()
@@ -47,13 +47,13 @@ class phpbb_functional_forum_style_test extends phpbb_functional_test_case
$db->sql_query('UPDATE ' . FORUMS_TABLE . ' SET forum_style = 2 WHERE forum_id = 2');
$crawler = self::request('GET', 'viewtopic.php?t=1&f=2');
- $this->assertContains('styles/test_style/', $crawler->filter('head > link[rel=stylesheet]')->eq(1)->attr('href'));
+ $this->assertContains('styles/test_style/', $crawler->filter('head > link[rel=stylesheet]')->eq(2)->attr('href'));
$crawler = self::request('GET', 'viewtopic.php?t=1');
- $this->assertContains('styles/test_style/', $crawler->filter('head > link[rel=stylesheet]')->eq(1)->attr('href'));
+ $this->assertContains('styles/test_style/', $crawler->filter('head > link[rel=stylesheet]')->eq(2)->attr('href'));
$crawler = self::request('GET', 'viewtopic.php?t=1&view=next');
- $this->assertContains('styles/test_style/', $crawler->filter('head > link[rel=stylesheet]')->eq(1)->attr('href'));
+ $this->assertContains('styles/test_style/', $crawler->filter('head > link[rel=stylesheet]')->eq(2)->attr('href'));
$db->sql_query('UPDATE ' . FORUMS_TABLE . ' SET forum_style = 0 WHERE forum_id = 2');
$this->delete_style(2, 'test_style');