@@ -10,36 +10,43 @@
-
- {S_WATCH_TOPIC_TITLE}
+
+ {% if S_WATCHING_TOPIC %}
+ {{ Icon('iconify', 'mdi:checkbox-blank-outline', '', true, 'c-subscribe-icon') }}
+ {{ Icon('iconify', 'mdi:checkbox-marked', '', true, 'c-subscribe-icon is-active') }}
+ {% else %}
+ {{ Icon('iconify', 'mdi:checkbox-blank-outline', '', true, 'c-subscribe-icon is-active') }}
+ {{ Icon('iconify', 'mdi:checkbox-marked', '', true, 'c-subscribe-icon') }}
+ {% endif %}
+ {S_WATCH_TOPIC_TITLE}
- {S_BOOKMARK_TOPIC}
+ {{ Icon('iconify', 'mdi:bookmark-plus-outline', S_BOOKMARK_TOPIC, false) }}
- {L_BUMP_TOPIC}
+ {{ Icon('iconify', 'mdi:update', lang('BUMP_TOPIC'), false) }}
- {L_EMAIL_TOPIC}
+ {{ Icon('iconify', 'mdi:send-circle-outline', lang('EMAIL_TOPIC'), false) }}
- {L_PRINT_TOPIC}
+ {{ Icon('iconify', 'ic:outline-print', lang('PRINT_TOPIC'), false) }}
diff --git a/phpBB/styles/prosilver/theme/buttons.css b/phpBB/styles/prosilver/theme/buttons.css
index 3a22537578..10e4eca738 100644
--- a/phpBB/styles/prosilver/theme/buttons.css
+++ b/phpBB/styles/prosilver/theme/buttons.css
@@ -12,7 +12,11 @@
white-space: nowrap;
border: 1px solid transparent;
border-radius: 4px;
- display: inline-block;
+ display: inline-flex;
+ justify-content: center;
+ align-items: center;
+ box-sizing: border-box;
+ height: 24px;
padding: 2px 8px;
cursor: pointer;
touch-action: manipulation;
@@ -87,13 +91,6 @@
padding: 0;
}
-.contact-icon {
- background-repeat: no-repeat;
- display: block;
- width: 16px;
- height: 16px;
-}
-
.contact-icons a {
border-right: 1px dotted;
border-bottom: 1px dotted;
@@ -144,8 +141,9 @@
margin-right: 10px;
}
-.post-buttons .button span {
- font-size: 0;
+.post-buttons-label,
+.post-buttons-responsive-menu {
+ display: none;
}
/* Responsive buttons in post body */
@@ -157,6 +155,7 @@
font-size: 13px;
text-align: right;
display: block;
+ justify-content: start;
}
.hasjs .postbody .post-buttons {
diff --git a/phpBB/styles/prosilver/theme/colours.css b/phpBB/styles/prosilver/theme/colours.css
index 069cf7b2ad..60d8b03c36 100644
--- a/phpBB/styles/prosilver/theme/colours.css
+++ b/phpBB/styles/prosilver/theme/colours.css
@@ -197,54 +197,108 @@ dl.details dd {
}
/* icon styles */
-.icon.icon-blue,
-a:hover .icon.icon-blue {
+.icon.icon-blue, /* DEPRECATED 4.0 */
+a:hover .icon.icon-blue, /* DEPRECATED 4.0 */
+.read {
color: #0059b3;
}
-.icon.online {
+.icon.online, /* DEPRECATED 4.0 */
+.c-online-icon {
color: #85de39;
}
-.icon.icon-green,
-a:hover .icon.icon-green {
+.icon.icon-green, /* DEPRECATED 4.0 */
+a:hover .icon.icon-green, /* DEPRECATED 4.0 */
+.c-topic-deleted-icon,
+.c-approved-icon {
color: #4db355;
}
-.icon.icon-red,
-a:hover .icon.icon-red {
+.icon.icon-red, /* DEPRECATED 4.0 */
+a:hover .icon.icon-red, /* DEPRECATED 4.0 */
+.c-topic-reported-icon,
+.c-topic-unread-icon,
+.c-warning-icon,
+.c-unapproved-icon,
+.unread {
color: #d41142;
}
-.icon.icon-orange,
-a:hover .icon.icon-orange {
+.icon.icon-orange, /* DEPRECATED 4.0 */
+a:hover .icon.icon-orange, /* DEPRECATED 4.0 */
+.c-forum-feed-icon {
color: #ff9500;
}
-.icon.icon-bluegray,
+.icon.icon-bluegray, /* DEPRECATED 4.0 */
a:hover .icon.icon-bluegray {
color: #47536b;
}
-.icon.icon-gray,
-a:hover .icon.icon-gray {
+.icon.icon-gray, /* DEPRECATED 4.0 */
+a:hover .icon.icon-gray, /* DEPRECATED 4.0 */
+.c-top-icon {
color: #757575;
}
-.icon.icon-lightgray,
-a:hover .icon.icon-lightgray {
+.icon.icon-lightgray, /* DEPRECATED 4.0 */
+a:hover .icon.icon-lightgray, /* DEPRECATED 4.0 */
+.c-last-post-icon,
+.c-topic-icon,
+.c-pagination-icon {
color: #9e9e9e;
}
-.icon.icon-black,
-a:hover .icon.icon-black {
+.icon.icon-black, /* DEPRECATED 4.0 */
+a:hover .icon.icon-black, /* DEPRECATED 4.0 */
+.c-return-arrow-icon {
color: #212121;
}
-.alert_close .icon:before {
+.button:hover .c-pagination-icon {
+ color: #ffffff;
+}
+
+.alert_close .icon:before, /* DEPRECATED 4.0 */
+.alert_close .o-icon:before {
background-color: #ffffff;
}
+.row-item-link {
+ background-color: #0059b3;
+}
+
+.row-item-link.unread {
+ background-color: #d41142;
+}
+
+.c-forum-row-icon,
+.c-forum-row-icon:hover {
+ color: #ffffff;
+}
+
+/* brand icon colors */
+.c-facebook-icon {
+ color: #3b5998;
+}
+
+.c-twitter-icon {
+ color: #1da1f2;
+}
+
+.c-skype-icon {
+ color: #00aff0;
+}
+
+.c-youtube-icon {
+ color: #ff0000;
+}
+
+.c-colorless-icon {
+ color: inherit;
+}
+
/* jumpbox */
.jumpbox .dropdown li {
border-top-color: #dedede;
@@ -610,7 +664,8 @@ dd.profile-warnings {
}
.button .icon,
-.button-secondary {
+.button-secondary,
+.c-button-icon {
color: #9e9e9e;
}
@@ -639,7 +694,8 @@ dd.profile-warnings {
.button-secondary:focus,
.button-secondary:hover,
.button:focus .icon,
-.button:hover .icon {
+.button:hover .icon,
+.button:hover .c-button-icon {
color: #0077b3;
}
@@ -684,6 +740,7 @@ dd.profile-warnings {
.pagination li a:hover,
.pagination li a:hover .icon,
+.pagination li a:hover .o-icon,
.pagination .dropdown-visible a.dropdown-trigger,
.nojs .pagination .dropdown-container:hover a.dropdown-trigger {
background: #2d80d2;
@@ -711,74 +768,6 @@ dd.profile-warnings {
/* icon images */
.site_logo { background-image: url("./images/site_logo.svg"); }
-.contact-icon { background-image: url("./images/icons_contact.png"); }
-
-/* profile icons */
-.pm-icon { background-position: 0 0; }
-.email-icon { background-position: -21px 0; }
-.jabber-icon { background-position: -80px 0; }
-.phpbb_icq-icon { background-position: -61px 0; }
-.phpbb_wlm-icon { background-position: -182px 0; }
-.phpbb_aol-icon { background-position: -244px 0; }
-.phpbb_website-icon { background-position: -40px 0; }
-.phpbb_youtube-icon { background-position: -98px 0; }
-.phpbb_facebook-icon { background-position: -119px 0; }
-.phpbb_skype-icon { background-position: -161px 0; }
-.phpbb_twitter-icon { background-position: -203px 0; }
-.phpbb_yahoo-icon { background-position: -224px 0; }
-
-/* forum icons & topic icons */
-.global_read { background-image: url("./images/announce_read.gif"); }
-.global_read_mine { background-image: url("./images/announce_read_mine.gif"); }
-.global_read_locked { background-image: url("./images/announce_read_locked.gif"); }
-.global_read_locked_mine { background-image: url("./images/announce_read_locked_mine.gif"); }
-.global_unread { background-image: url("./images/announce_unread.gif"); }
-.global_unread_mine { background-image: url("./images/announce_unread_mine.gif"); }
-.global_unread_locked { background-image: url("./images/announce_unread_locked.gif"); }
-.global_unread_locked_mine { background-image: url("./images/announce_unread_locked_mine.gif"); }
-
-.announce_read { background-image: url("./images/announce_read.gif"); }
-.announce_read_mine { background-image: url("./images/announce_read_mine.gif"); }
-.announce_read_locked { background-image: url("./images/announce_read_locked.gif"); }
-.announce_read_locked_mine { background-image: url("./images/announce_read_locked_mine.gif"); }
-.announce_unread { background-image: url("./images/announce_unread.gif"); }
-.announce_unread_mine { background-image: url("./images/announce_unread_mine.gif"); }
-.announce_unread_locked { background-image: url("./images/announce_unread_locked.gif"); }
-.announce_unread_locked_mine { background-image: url("./images/announce_unread_locked_mine.gif"); }
-
-.forum_link { background-image: url("./images/forum_link.gif"); }
-.forum_read { background-image: url("./images/forum_read.gif"); }
-.forum_read_locked { background-image: url("./images/forum_read_locked.gif"); }
-.forum_read_subforum { background-image: url("./images/forum_read_subforum.gif"); }
-.forum_unread { background-image: url("./images/forum_unread.gif"); }
-.forum_unread_locked { background-image: url("./images/forum_unread_locked.gif"); }
-.forum_unread_subforum { background-image: url("./images/forum_unread_subforum.gif"); }
-
-.sticky_read { background-image: url("./images/sticky_read.gif"); }
-.sticky_read_mine { background-image: url("./images/sticky_read_mine.gif"); }
-.sticky_read_locked { background-image: url("./images/sticky_read_locked.gif"); }
-.sticky_read_locked_mine { background-image: url("./images/sticky_read_locked_mine.gif"); }
-.sticky_unread { background-image: url("./images/sticky_unread.gif"); }
-.sticky_unread_mine { background-image: url("./images/sticky_unread_mine.gif"); }
-.sticky_unread_locked { background-image: url("./images/sticky_unread_locked.gif"); }
-.sticky_unread_locked_mine { background-image: url("./images/sticky_unread_locked_mine.gif"); }
-
-.pm_read,
-.topic_read { background-image: url("./images/topic_read.gif"); }
-.topic_moved { background-image: url("./images/topic_moved.gif"); }
-.topic_read_mine { background-image: url("./images/topic_read_mine.gif"); }
-.topic_read_hot { background-image: url("./images/topic_read_hot.gif"); }
-.topic_read_hot_mine { background-image: url("./images/topic_read_hot_mine.gif"); }
-.topic_read_locked { background-image: url("./images/topic_read_locked.gif"); }
-.topic_read_locked_mine { background-image: url("./images/topic_read_locked_mine.gif"); }
-
-.pm_unread,
-.topic_unread { background-image: url("./images/topic_unread.gif"); }
-.topic_unread_mine { background-image: url("./images/topic_unread_mine.gif"); }
-.topic_unread_hot { background-image: url("./images/topic_unread_hot.gif"); }
-.topic_unread_hot_mine { background-image: url("./images/topic_unread_hot_mine.gif"); }
-.topic_unread_locked { background-image: url("./images/topic_unread_locked.gif"); }
-.topic_unread_locked_mine { background-image: url("./images/topic_unread_locked_mine.gif"); }
/* colours and backgrounds for cp.css */
diff --git a/phpBB/styles/prosilver/theme/common.css b/phpBB/styles/prosilver/theme/common.css
index 54048d500b..7fba027761 100644
--- a/phpBB/styles/prosilver/theme/common.css
+++ b/phpBB/styles/prosilver/theme/common.css
@@ -172,37 +172,37 @@ a:hover {
margin-top: 20px;
}
-.logo {
- float: left;
- width: auto;
- padding: 10px 13px 0 10px;
+.c-hero {
+ display: inline-flex;
+ flex: 1;
+ flex-direction: row;
+ align-self: auto;
+ padding: 12px;
}
-.logo:hover {
- text-decoration: none;
+.c-hero-logo {
+ width: 150px;
+ padding-right: 16px;
}
-.site_logo {
- background-repeat: no-repeat;
- display: inline-block;
+.c-hero-logo-img {
width: 149px;
height: 52px;
+ margin-top: 0;
}
-/* Site description and logo */
-.site-description {
- float: left;
- width: 65%;
-}
-
-.site-description h1 {
- margin-right: 0;
+.c-hero-heading {
+ flex: 1;
+ align-self: auto;
+ margin: 0;
}
/* Round cornered boxes and backgrounds
---------------------------------------- */
.headerbar {
border-radius: 7px;
+ display: flex;
+ flex-direction: column;
margin-bottom: 4px;
padding: 5px;
}
@@ -280,6 +280,17 @@ a.rightside {
margin-left: 7px;
}
+ul.linklist li a:hover,
+ul.linklist li a:focus,
+ul.linklist li a:active {
+ text-decoration: none;
+}
+
+ul.linklist li a:hover span,
+ul.linklist li a:focus span {
+ text-decoration: underline;
+}
+
ul.navlinks {
border-top: 1px solid transparent;
}
@@ -370,15 +381,6 @@ a.header-avatar img {
margin-bottom: 2px;
}
-a.header-avatar span:after {
- font: normal normal normal 14px/1 FontAwesome;
- vertical-align: top;
- display: inline-block;
- padding-top: 2px;
- padding-left: 6px;
- content: "\f0dd";
-}
-
/* Dropdown menu
---------------------------------------- */
.dropdown-container {
@@ -401,7 +403,7 @@ a.header-avatar span:after {
border: 1px solid transparent;
border-radius: 5px;
position: absolute;
- z-index: 2;
+ z-index: 201;
top: 1.2em;
left: 0;
display: none;
@@ -461,7 +463,7 @@ a.header-avatar span:after {
}
.dropdown .pointer {
- z-index: 3;
+ z-index: 301;
top: -1px;
right: auto;
left: 10px;
@@ -493,7 +495,7 @@ a.header-avatar span:after {
border: 1px solid transparent;
border-radius: 5px;
position: relative;
- z-index: 2;
+ z-index: 201;
overflow: hidden;
overflow-y: auto;
max-height: 300px;
@@ -505,6 +507,17 @@ a.header-avatar span:after {
padding: 5px;
}
+.dropdown-contents a:hover,
+.dropdown-contents a:active,
+.dropdown-contents a:focus {
+ text-decoration: none;
+}
+
+.dropdown-contents a:hover span,
+.dropdown-contents a:focus span {
+ text-decoration: underline;
+}
+
.jumpbox {
margin: 5px 0;
}
@@ -947,7 +960,7 @@ fieldset.fields1 dl.pmlist dd.recipients {
}
.pagination li.page-jump a {
- padding: 0 8px;
+ padding: 2px;
}
.pagination li.page-jump a i {
@@ -974,6 +987,8 @@ fieldset.fields1 dl.pmlist dd.recipients {
.row .pagination li span {
font-size: 9px;
border-radius: 2px;
+ width: 14px;
+ height: 17px;
padding: 1px 3px;
}
@@ -982,7 +997,7 @@ fieldset.fields1 dl.pmlist dd.recipients {
.phpbb_alert {
border: 1px solid transparent;
position: fixed;
- z-index: 50;
+ z-index: 601;
top: 150px;
right: 0;
left: 0;
@@ -994,8 +1009,8 @@ fieldset.fields1 dl.pmlist dd.recipients {
.phpbb_alert .alert_close {
float: right;
- margin-top: -8px;
- margin-right: -36px;
+ margin-top: 0;
+ margin-right: -22px;
}
.phpbb_alert p {
@@ -1019,14 +1034,14 @@ fieldset.fields1 dl.pmlist dd.recipients {
.darkenwrapper {
position: relative;
- z-index: 44;
+ z-index: 401;
display: none;
}
.darken {
opacity: 0.5;
position: fixed;
- z-index: 45;
+ z-index: 501;
top: 0;
left: 0;
width: 100%;
@@ -1035,7 +1050,7 @@ fieldset.fields1 dl.pmlist dd.recipients {
.loading_indicator {
position: fixed;
- z-index: 51;
+ z-index: 701;
top: 50%;
left: 50%;
display: none;
@@ -1240,7 +1255,7 @@ ul.linklist:after,
}
.dropdown-extended {
- z-index: 1;
+ z-index: 201;
display: none;
}
diff --git a/phpBB/styles/prosilver/theme/content.css b/phpBB/styles/prosilver/theme/content.css
index 9b2d67d458..657d98091f 100644
--- a/phpBB/styles/prosilver/theme/content.css
+++ b/phpBB/styles/prosilver/theme/content.css
@@ -55,6 +55,7 @@ ul.topiclist.two-columns dt {
}
ul.topiclist dt .list-inner {
+ line-height: 16px;
margin-right: 440px;
padding-right: 5px;
padding-left: 5px;
@@ -196,23 +197,7 @@ dl.row-item dd {
min-height: 35px;
}
-dl.row-item dt a {
- display: inline;
-}
-
-/* topic row icon links */
-dl a.row-item-link {
- position: absolute;
- top: 50%;
- left: 0;
- display: block;
- width: 30px;
- height: 30px;
- margin-top: -15px;
- margin-left: 9px;
- padding: 0;
-}
-
+/* topic row links */
dd.posts,
dd.topics,
dd.views,
@@ -268,6 +253,10 @@ dd.moderation > span {
padding-left: 5px;
}
+dd.lastpost > span {
+ line-height: 16px;
+}
+
dd.extra,
dd.mark {
line-height: 24px;
@@ -754,6 +743,7 @@ fieldset.polls dd div {
/* Poster profile block
---------------------------------------- */
.postprofile {
+ line-height: 16px;
border: 1px solid transparent;
border-width: 0 0 0 1px;
float: right;
@@ -765,7 +755,7 @@ fieldset.polls dd div {
.postprofile dd,
.postprofile dt {
font-size: 10px;
- line-height: 12px;
+ line-height: 16px;
margin-left: 8px;
}
diff --git a/phpBB/styles/prosilver/theme/cp.css b/phpBB/styles/prosilver/theme/cp.css
index eb80e6040e..679ed1c5ba 100644
--- a/phpBB/styles/prosilver/theme/cp.css
+++ b/phpBB/styles/prosilver/theme/cp.css
@@ -357,10 +357,6 @@ ol.def-rules li {
padding: 5px;
}
-.cplist .topictitle {
- line-height: 30px;
-}
-
p.notification-title,
p.notification-forum,
p.notification-reason,
diff --git a/phpBB/styles/prosilver/theme/forms.css b/phpBB/styles/prosilver/theme/forms.css
index ceafd5b21f..e05cf090ca 100644
--- a/phpBB/styles/prosilver/theme/forms.css
+++ b/phpBB/styles/prosilver/theme/forms.css
@@ -374,10 +374,8 @@ input.disabled {
--------------------------------------------- */
.search-header {
border-radius: 4px;
- display: block;
float: right;
- margin-top: 30px;
- margin-right: 5px;
+ margin: 16px;
}
.search-header .inputbox {
diff --git a/phpBB/styles/prosilver/theme/icons.css b/phpBB/styles/prosilver/theme/icons.css
index 1268627d51..ea17f5f3e4 100644
--- a/phpBB/styles/prosilver/theme/icons.css
+++ b/phpBB/styles/prosilver/theme/icons.css
@@ -5,100 +5,131 @@
/* Global module setup
---------------------------------------- */
-/* Renamed version of .fa class for agnostic usage of icon fonts.
- * Just change the name of the font after the 14/1 to the name of
- * the font you wish to use.
- */
-.icon,
-.button .icon,
-blockquote cite:before,
-.uncited:before {
- font-family: FontAwesome;
+/* Globaly fix svg colors */
+svg {
+ fill: currentColor;
+}
+
+.o-icon {
+ vertical-align: middle !important;
+ width: 14px;
+ height: 14px;
+ margin-top: -4px;
+}
+
+.o-icon-src-mdi,
+.o-icon-src-ic {
+ width: 18px;
+ height: 18px;
+}
+
+.o-icon-src-fa {
+ padding: 2px;
+}
+
+.o-icon-font {
+ font-family: "Font Awesome 5 Free", "Font Awesome 5 Brands";
font-size: 14px;
font-weight: normal;
font-style: normal;
font-variant: normal;
+ -webkit-font-smoothing: antialiased;
line-height: 1;
+ vertical-align: baseline;
display: inline-block;
/* stylelint-disable order/properties-order */
-moz-osx-font-smoothing: grayscale;
- -webkit-font-smoothing: antialiased;
/* stylelint-enable order/properties-order */
text-rendering: auto; /* optimizelegibility throws things off #1094 */
}
-.icon:before {
- padding-right: 2px;
-}
-
-.button .icon:before {
- padding-right: 0;
-}
-
-/* Icon size classes - Default size is 14px, use these for small variations */
-
-.icon.icon-xl {
- font-size: 20px;
-}
-
-.icon.icon-lg {
- font-size: 16px;
-}
-
-.icon.icon-md {
- font-size: 10px;
-}
-
-.icon.icon-sm {
- font-size: 8px;
-}
-
-/* icon modifiers */
-.icon-tiny {
- font-size: 16px;
- vertical-align: text-bottom;
- width: 12px;
- -webkit-transform: scale(0.65, 0.75);
- transform: scale(0.65, 0.75);
-}
-
-.arrow-right .icon {
- float: right;
-}
-
-.arrow-left:hover .icon {
- margin-right: 5px;
- margin-left: -5px;
-}
-
-.arrow-left .icon {
- float: left;
-}
-
-.arrow-right:hover .icon {
- margin-right: -5px;
- margin-left: 5px;
-}
-
-.post-buttons .dropdown-contents .icon {
- float: right;
- margin-left: 5px;
-}
-
-.alert_close .icon:before {
- border-radius: 50%;
- display: block;
- width: 11px;
- height: 12px;
- padding: 0;
+.o-icon + span,
+span + .o-icon {
+ padding-left: 4px;
}
blockquote cite:before,
.uncited:before {
- content: "\f10d"; /* Font Awesome quote-left */
+ font-size: 36px;
+ vertical-align: bottom;
+ display: inline-block;
+ margin-top: 8px;
+ margin-bottom: -8px;
+ content: "\201C";
}
.rtl blockquote cite:before,
.rtl .uncited:before {
- content: "\f10e"; /* Font Awesome quote-right */
+ content: "\201D";
+}
+
+.c-forum-row-icon,
+.c-notification-check-icon {
+ width: 20px;
+ height: 20px;
+ margin-top: 0;
+}
+
+.row-item-link {
+ border-radius: 50%;
+ position: absolute;
+ top: 50%;
+ left: 0;
+ display: inline-flex;
+ justify-content: center;
+ align-items: center;
+ width: 32px;
+ height: 32px;
+ margin-top: -17px;
+ margin-left: 9px;
+}
+
+.row-item-link-mine {
+ background-color: #b353c6;
+ border: 2px solid #ffffff;
+ border-radius: 50%;
+ position: absolute;
+ z-index: 101;
+ left: 32px;
+ display: block;
+ float: left;
+ width: 8px;
+ height: 8px;
+}
+
+.row-item-sub {
+ position: absolute;
+ z-index: 101;
+ bottom: 3px;
+ left: 4px;
+ display: block;
+ float: left;
+ width: 16px;
+ height: 16px;
+}
+
+.alert_close .o-icon {
+ width: 18px;
+ height: 18px;
+}
+
+/* Contact icons
+---------------------------------------- */
+.contact-icon {
+ background-repeat: no-repeat;
+ display: block;
+ width: 24px;
+ height: 24px;
+}
+
+.c-button-icon {
+ margin-top: 0;
+}
+
+.c-subscribe-icon {
+ display: none !important;
+}
+
+.c-subscribe-icon.is-active {
+ display: inline !important;
}
diff --git a/phpBB/styles/prosilver/theme/images/announce_read.gif b/phpBB/styles/prosilver/theme/images/announce_read.gif
deleted file mode 100644
index a3b3d7b234..0000000000
Binary files a/phpBB/styles/prosilver/theme/images/announce_read.gif and /dev/null differ
diff --git a/phpBB/styles/prosilver/theme/images/announce_read_locked.gif b/phpBB/styles/prosilver/theme/images/announce_read_locked.gif
deleted file mode 100644
index 0a6cf64341..0000000000
Binary files a/phpBB/styles/prosilver/theme/images/announce_read_locked.gif and /dev/null differ
diff --git a/phpBB/styles/prosilver/theme/images/announce_read_locked_mine.gif b/phpBB/styles/prosilver/theme/images/announce_read_locked_mine.gif
deleted file mode 100644
index 56af0ab071..0000000000
Binary files a/phpBB/styles/prosilver/theme/images/announce_read_locked_mine.gif and /dev/null differ
diff --git a/phpBB/styles/prosilver/theme/images/announce_read_mine.gif b/phpBB/styles/prosilver/theme/images/announce_read_mine.gif
deleted file mode 100644
index c333e3b124..0000000000
Binary files a/phpBB/styles/prosilver/theme/images/announce_read_mine.gif and /dev/null differ
diff --git a/phpBB/styles/prosilver/theme/images/announce_unread.gif b/phpBB/styles/prosilver/theme/images/announce_unread.gif
deleted file mode 100644
index 9f75cc3e53..0000000000
Binary files a/phpBB/styles/prosilver/theme/images/announce_unread.gif and /dev/null differ
diff --git a/phpBB/styles/prosilver/theme/images/announce_unread_locked.gif b/phpBB/styles/prosilver/theme/images/announce_unread_locked.gif
deleted file mode 100644
index 4ad85bb684..0000000000
Binary files a/phpBB/styles/prosilver/theme/images/announce_unread_locked.gif and /dev/null differ
diff --git a/phpBB/styles/prosilver/theme/images/announce_unread_locked_mine.gif b/phpBB/styles/prosilver/theme/images/announce_unread_locked_mine.gif
deleted file mode 100644
index 30db89439e..0000000000
Binary files a/phpBB/styles/prosilver/theme/images/announce_unread_locked_mine.gif and /dev/null differ
diff --git a/phpBB/styles/prosilver/theme/images/announce_unread_mine.gif b/phpBB/styles/prosilver/theme/images/announce_unread_mine.gif
deleted file mode 100644
index 3a2cbcac10..0000000000
Binary files a/phpBB/styles/prosilver/theme/images/announce_unread_mine.gif and /dev/null differ
diff --git a/phpBB/styles/prosilver/theme/images/forum_link.gif b/phpBB/styles/prosilver/theme/images/forum_link.gif
deleted file mode 100644
index 09f8dfa75a..0000000000
Binary files a/phpBB/styles/prosilver/theme/images/forum_link.gif and /dev/null differ
diff --git a/phpBB/styles/prosilver/theme/images/forum_read.gif b/phpBB/styles/prosilver/theme/images/forum_read.gif
deleted file mode 100644
index 891fa20c07..0000000000
Binary files a/phpBB/styles/prosilver/theme/images/forum_read.gif and /dev/null differ
diff --git a/phpBB/styles/prosilver/theme/images/forum_read_locked.gif b/phpBB/styles/prosilver/theme/images/forum_read_locked.gif
deleted file mode 100644
index 2348240638..0000000000
Binary files a/phpBB/styles/prosilver/theme/images/forum_read_locked.gif and /dev/null differ
diff --git a/phpBB/styles/prosilver/theme/images/forum_read_subforum.gif b/phpBB/styles/prosilver/theme/images/forum_read_subforum.gif
deleted file mode 100644
index 5b4d30f7ec..0000000000
Binary files a/phpBB/styles/prosilver/theme/images/forum_read_subforum.gif and /dev/null differ
diff --git a/phpBB/styles/prosilver/theme/images/forum_unread.gif b/phpBB/styles/prosilver/theme/images/forum_unread.gif
deleted file mode 100644
index e925da82bd..0000000000
Binary files a/phpBB/styles/prosilver/theme/images/forum_unread.gif and /dev/null differ
diff --git a/phpBB/styles/prosilver/theme/images/forum_unread_locked.gif b/phpBB/styles/prosilver/theme/images/forum_unread_locked.gif
deleted file mode 100644
index 5ff59b7421..0000000000
Binary files a/phpBB/styles/prosilver/theme/images/forum_unread_locked.gif and /dev/null differ
diff --git a/phpBB/styles/prosilver/theme/images/forum_unread_subforum.gif b/phpBB/styles/prosilver/theme/images/forum_unread_subforum.gif
deleted file mode 100644
index 7d6ddb93be..0000000000
Binary files a/phpBB/styles/prosilver/theme/images/forum_unread_subforum.gif and /dev/null differ
diff --git a/phpBB/styles/prosilver/theme/images/icons_contact.png b/phpBB/styles/prosilver/theme/images/icons_contact.png
deleted file mode 100644
index f84abd36a5..0000000000
Binary files a/phpBB/styles/prosilver/theme/images/icons_contact.png and /dev/null differ
diff --git a/phpBB/styles/prosilver/theme/images/sticky_read.gif b/phpBB/styles/prosilver/theme/images/sticky_read.gif
deleted file mode 100644
index e8142ddb20..0000000000
Binary files a/phpBB/styles/prosilver/theme/images/sticky_read.gif and /dev/null differ
diff --git a/phpBB/styles/prosilver/theme/images/sticky_read_locked.gif b/phpBB/styles/prosilver/theme/images/sticky_read_locked.gif
deleted file mode 100644
index fcd8b85e0b..0000000000
Binary files a/phpBB/styles/prosilver/theme/images/sticky_read_locked.gif and /dev/null differ
diff --git a/phpBB/styles/prosilver/theme/images/sticky_read_locked_mine.gif b/phpBB/styles/prosilver/theme/images/sticky_read_locked_mine.gif
deleted file mode 100644
index 0a8dc2a6c1..0000000000
Binary files a/phpBB/styles/prosilver/theme/images/sticky_read_locked_mine.gif and /dev/null differ
diff --git a/phpBB/styles/prosilver/theme/images/sticky_read_mine.gif b/phpBB/styles/prosilver/theme/images/sticky_read_mine.gif
deleted file mode 100644
index 37c4ed01f6..0000000000
Binary files a/phpBB/styles/prosilver/theme/images/sticky_read_mine.gif and /dev/null differ
diff --git a/phpBB/styles/prosilver/theme/images/sticky_unread.gif b/phpBB/styles/prosilver/theme/images/sticky_unread.gif
deleted file mode 100644
index 88a212d7c0..0000000000
Binary files a/phpBB/styles/prosilver/theme/images/sticky_unread.gif and /dev/null differ
diff --git a/phpBB/styles/prosilver/theme/images/sticky_unread_locked.gif b/phpBB/styles/prosilver/theme/images/sticky_unread_locked.gif
deleted file mode 100644
index 0241da2ab5..0000000000
Binary files a/phpBB/styles/prosilver/theme/images/sticky_unread_locked.gif and /dev/null differ
diff --git a/phpBB/styles/prosilver/theme/images/sticky_unread_locked_mine.gif b/phpBB/styles/prosilver/theme/images/sticky_unread_locked_mine.gif
deleted file mode 100644
index 8d69b447b2..0000000000
Binary files a/phpBB/styles/prosilver/theme/images/sticky_unread_locked_mine.gif and /dev/null differ
diff --git a/phpBB/styles/prosilver/theme/images/sticky_unread_mine.gif b/phpBB/styles/prosilver/theme/images/sticky_unread_mine.gif
deleted file mode 100644
index 6529102053..0000000000
Binary files a/phpBB/styles/prosilver/theme/images/sticky_unread_mine.gif and /dev/null differ
diff --git a/phpBB/styles/prosilver/theme/images/topic_moved.gif b/phpBB/styles/prosilver/theme/images/topic_moved.gif
deleted file mode 100644
index 8e9c1f41f6..0000000000
Binary files a/phpBB/styles/prosilver/theme/images/topic_moved.gif and /dev/null differ
diff --git a/phpBB/styles/prosilver/theme/images/topic_read.gif b/phpBB/styles/prosilver/theme/images/topic_read.gif
deleted file mode 100644
index 5ed739ee9b..0000000000
Binary files a/phpBB/styles/prosilver/theme/images/topic_read.gif and /dev/null differ
diff --git a/phpBB/styles/prosilver/theme/images/topic_read_hot.gif b/phpBB/styles/prosilver/theme/images/topic_read_hot.gif
deleted file mode 100644
index 81a42d0a67..0000000000
Binary files a/phpBB/styles/prosilver/theme/images/topic_read_hot.gif and /dev/null differ
diff --git a/phpBB/styles/prosilver/theme/images/topic_read_hot_mine.gif b/phpBB/styles/prosilver/theme/images/topic_read_hot_mine.gif
deleted file mode 100644
index b98808cadf..0000000000
Binary files a/phpBB/styles/prosilver/theme/images/topic_read_hot_mine.gif and /dev/null differ
diff --git a/phpBB/styles/prosilver/theme/images/topic_read_locked.gif b/phpBB/styles/prosilver/theme/images/topic_read_locked.gif
deleted file mode 100644
index 61bb1effa2..0000000000
Binary files a/phpBB/styles/prosilver/theme/images/topic_read_locked.gif and /dev/null differ
diff --git a/phpBB/styles/prosilver/theme/images/topic_read_locked_mine.gif b/phpBB/styles/prosilver/theme/images/topic_read_locked_mine.gif
deleted file mode 100644
index dbe901919a..0000000000
Binary files a/phpBB/styles/prosilver/theme/images/topic_read_locked_mine.gif and /dev/null differ
diff --git a/phpBB/styles/prosilver/theme/images/topic_read_mine.gif b/phpBB/styles/prosilver/theme/images/topic_read_mine.gif
deleted file mode 100644
index 8fb165c46c..0000000000
Binary files a/phpBB/styles/prosilver/theme/images/topic_read_mine.gif and /dev/null differ
diff --git a/phpBB/styles/prosilver/theme/images/topic_unread.gif b/phpBB/styles/prosilver/theme/images/topic_unread.gif
deleted file mode 100644
index 43ea76b4de..0000000000
Binary files a/phpBB/styles/prosilver/theme/images/topic_unread.gif and /dev/null differ
diff --git a/phpBB/styles/prosilver/theme/images/topic_unread_hot.gif b/phpBB/styles/prosilver/theme/images/topic_unread_hot.gif
deleted file mode 100644
index a45bc4bc19..0000000000
Binary files a/phpBB/styles/prosilver/theme/images/topic_unread_hot.gif and /dev/null differ
diff --git a/phpBB/styles/prosilver/theme/images/topic_unread_hot_mine.gif b/phpBB/styles/prosilver/theme/images/topic_unread_hot_mine.gif
deleted file mode 100644
index dc673266be..0000000000
Binary files a/phpBB/styles/prosilver/theme/images/topic_unread_hot_mine.gif and /dev/null differ
diff --git a/phpBB/styles/prosilver/theme/images/topic_unread_locked.gif b/phpBB/styles/prosilver/theme/images/topic_unread_locked.gif
deleted file mode 100644
index 68dd3422d7..0000000000
Binary files a/phpBB/styles/prosilver/theme/images/topic_unread_locked.gif and /dev/null differ
diff --git a/phpBB/styles/prosilver/theme/images/topic_unread_locked_mine.gif b/phpBB/styles/prosilver/theme/images/topic_unread_locked_mine.gif
deleted file mode 100644
index 4f5a36efe9..0000000000
Binary files a/phpBB/styles/prosilver/theme/images/topic_unread_locked_mine.gif and /dev/null differ
diff --git a/phpBB/styles/prosilver/theme/images/topic_unread_mine.gif b/phpBB/styles/prosilver/theme/images/topic_unread_mine.gif
deleted file mode 100644
index 24e9817ce1..0000000000
Binary files a/phpBB/styles/prosilver/theme/images/topic_unread_mine.gif and /dev/null differ
diff --git a/phpBB/styles/prosilver/theme/links.css b/phpBB/styles/prosilver/theme/links.css
index 3a8407e2a6..7f803932a5 100644
--- a/phpBB/styles/prosilver/theme/links.css
+++ b/phpBB/styles/prosilver/theme/links.css
@@ -41,7 +41,7 @@ th a:hover {
background-position: center center;
border-radius: 3px 0 0 3px;
position: absolute;
- z-index: 2;
+ z-index: 301;
top: 50%;
right: 0;
display: none;
@@ -158,7 +158,6 @@ a.lastsubject:hover {
.back2top .top {
float: right;
margin-top: 0;
- margin-right: -10px;
}
/* Arrow links */
diff --git a/phpBB/styles/prosilver/theme/responsive.css b/phpBB/styles/prosilver/theme/responsive.css
index c4c2d34a14..e476a08c69 100644
--- a/phpBB/styles/prosilver/theme/responsive.css
+++ b/phpBB/styles/prosilver/theme/responsive.css
@@ -114,6 +114,10 @@
display: none;
}
+ .nav-main .rightside a span {
+ display: none;
+ }
+
.rtl dl.details dt,
.rtl dl.details dd {
text-align: right;
@@ -581,10 +585,50 @@
margin-left: 0 !important;
}
+ .nav-footer.linklist .in-menu,
+ .nav-main.linklist .in-menu {
+ display: none !important;
+ }
+
+ /* post-buttons */
+
.has-profile .post-buttons {
margin: 5px;
}
+ .post-buttons > li > a {
+ display: none;
+ }
+
+ .nav-footer.linklist .responsive-menu,
+ .nav-footer.linklist .responsive-menu .in-menu,
+ .nav-main.linklist .responsive-menu .in-menu,
+ .post-buttons-responsive-menu,
+ .post-button-responsive,
+ .post-buttons-responsive-menu .post-buttons-label {
+ display: block !important;
+ }
+
+ .post-buttons-responsive-menu .dropdown-contents .button {
+ font-weight: normal;
+ line-height: inherit;
+ background: none;
+ border: none;
+ box-shadow: none;
+ color: #0f4d8a;
+ display: flex;
+ }
+
+ .post-buttons-responsive-menu .dropdown-contents .button:hover {
+ text-decoration: underline;
+ color: #d41142;
+ }
+
+ .post-buttons-responsive-menu .dropdown-contents .c-button-icon {
+ color: inherit;
+ padding-right: 5px;
+ }
+
/* Misc stuff
---------------------------------------------------------------- */
h2 {
@@ -737,6 +781,15 @@
.postprofile {
width: 200px;
}
+
+ .nav-main.linklist .in-menu {
+ display: block !important;
+ }
+
+ .nav-footer.linklist .responsive-menu,
+ .nav-main.linklist .responsive-menu .in-menu {
+ display: none !important;
+ }
}
@media (min-width: 701px) and (max-width: 950px) {
diff --git a/phpBB/styles/prosilver/theme/stylesheet.css b/phpBB/styles/prosilver/theme/stylesheet.css
index 2d719a97b9..fa168a02bb 100644
--- a/phpBB/styles/prosilver/theme/stylesheet.css
+++ b/phpBB/styles/prosilver/theme/stylesheet.css
@@ -10,12 +10,13 @@
@import url("normalize.css?hash=e6c08715");
@import url("base.css?hash=9b6738c8");
@import url("utilities.css?hash=b95e1ad4");
+@import url("icons.css?hash=2fcf49a1");
@import url("common.css?hash=fe09f059");
+@import url("buttons.css?hash=f4e39187");
@import url("links.css?hash=5fc8ca41");
@import url("content.css?hash=0daf1369");
@import url("buttons.css?hash=f4e39187");
@import url("cp.css?hash=2530357c");
@import url("forms.css?hash=7a849801");
-@import url("icons.css?hash=2fcf49a1");
@import url("colours.css?hash=73de7bbf");
@import url("responsive.css?hash=8b3f0a01");
diff --git a/phpBB/styles/prosilver/theme/svg/logo.svg b/phpBB/styles/prosilver/theme/svg/logo.svg
new file mode 100644
index 0000000000..cb83d3792e
--- /dev/null
+++ b/phpBB/styles/prosilver/theme/svg/logo.svg
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/phpBB/viewforum.php b/phpBB/viewforum.php
index 0f36ae5595..02be3054b1 100644
--- a/phpBB/viewforum.php
+++ b/phpBB/viewforum.php
@@ -997,6 +997,7 @@ if (count($topic_list))
'S_POST_STICKY' => ($row['topic_type'] == POST_STICKY) ? true : false,
'S_TOPIC_LOCKED' => ($row['topic_status'] == ITEM_LOCKED) ? true : false,
'S_TOPIC_MOVED' => ($row['topic_status'] == ITEM_MOVED) ? true : false,
+ 'S_TOPIC_HOT' => ($config['hot_threshold'] && ($replies + 1) >= $config['hot_threshold'] && $row['topic_status'] != ITEM_LOCKED) ? true : false,
'U_NEWEST_POST' => $auth->acl_get('f_read', $forum_id) ? append_sid("{$phpbb_root_path}viewtopic.$phpEx", $view_topic_url_params . '&view=unread') . '#unread' : false,
'U_LAST_POST' => $auth->acl_get('f_read', $forum_id) ? append_sid("{$phpbb_root_path}viewtopic.$phpEx", $view_topic_url_params . '&p=' . $row['topic_last_post_id']) . '#p' . $row['topic_last_post_id'] : false,
diff --git a/tests/functional/forum_style_test.php b/tests/functional/forum_style_test.php
index b3c1115b7f..0f969cd602 100644
--- a/tests/functional/forum_style_test.php
+++ b/tests/functional/forum_style_test.php
@@ -16,18 +16,6 @@
*/
class phpbb_functional_forum_style_test extends phpbb_functional_test_case
{
- public function test_font_awesome_style()
- {
- $crawler = self::request('GET', 'viewtopic.php?t=1&f=2');
- $this->assertContains('font-awesome.min', $crawler->filter('head > link[rel=stylesheet]')->eq(0)->attr('href'));
-
- $crawler = self::request('GET', 'viewtopic.php?t=1');
- $this->assertContains('font-awesome.min', $crawler->filter('head > link[rel=stylesheet]')->eq(0)->attr('href'));
-
- $crawler = self::request('GET', 'viewtopic.php?t=1&view=next');
- $this->assertContains('font-awesome.min', $crawler->filter('head > link[rel=stylesheet]')->eq(0)->attr('href'));
- }
-
public function test_default_forum_style()
{
$crawler = self::request('GET', 'viewtopic.php?t=1&f=2');
diff --git a/tests/template/extension_test.php b/tests/template/extension_test.php
index 2320aa2331..a00a89ee46 100644
--- a/tests/template/extension_test.php
+++ b/tests/template/extension_test.php
@@ -431,8 +431,8 @@ class phpbb_template_extension_test extends phpbb_template_template_test_case
[
'ICON_USER' => 'User icon',
],
- '
- User icon
+ '
+ User icon
@@ -453,8 +453,8 @@ class phpbb_template_extension_test extends phpbb_template_template_test_case
[
'ICON_PHONE' => 'Phone icon',
],
- '
- Phone icon
+ '
+ Phone icon
',
@@ -474,8 +474,8 @@ class phpbb_template_extension_test extends phpbb_template_template_test_case
[
'ICON_PENCIL' => 'Pencil icon',
],
- '
- Pencil icon
+ '
+ Pencil icon
',
@@ -491,8 +491,8 @@ class phpbb_template_extension_test extends phpbb_template_template_test_case
'attributes' => [],
],
[],
- '
- Just a title
+ '
+ Just a title
@@ -545,8 +545,10 @@ class phpbb_template_extension_test extends phpbb_template_template_test_case
*/
if ($vars['type'] === 'svg' || $vars['icon'] === 'user')
{
- $prefix = strtolower(str_replace(' ', '_', $vars['title'])) . '-';
- $output = preg_replace('/' . $prefix . '\d+/', $prefix . '123456789', $output);
+ if (preg_match('##', $output, $unique_id))
+ {
+ $expected = str_replace('{unique_id}', $unique_id[1], $expected);
+ }
}
$this->assertEquals($expected, $output, "Testing {$file}");
diff --git a/tests/template/templates/extension_icon_test.html b/tests/template/templates/extension_icon_test.html
index 4ea6eb0410..8ed3bee92d 100644
--- a/tests/template/templates/extension_icon_test.html
+++ b/tests/template/templates/extension_icon_test.html
@@ -1 +1 @@
-{{ Icon(type, icon, title, hidden, classes, attributes) }}
+{{ Icon(type, icon, lang(title), hidden, classes, attributes) }}