Skip to content

Commit 27d927e

Browse files
committed
Add alert bell icon to prompt
1 parent 98ef474 commit 27d927e

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

styles/all/template/webpush_popup.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,13 @@
22
<div id="wpn_popup_prompt" class="wpn-popup-overlay" style="display:none;">
33
<div class="wpn-popup-container">
44
<div class="wpn-popup-content">
5-
<h3 class="wpn-popup-title">{{ lang('NOTIFY_WEBPUSH_POPUP_TITLE') }}</h3>
5+
<h3 class="wpn-popup-title">
6+
<span>{{ lang('NOTIFY_WEBPUSH_POPUP_TITLE') }}</span>
7+
<span class="fa-stack fa-lg">
8+
<i class="fa fa-circle fa-stack-2x"></i>
9+
<i class="fa fa-bell fa-stack-1x fa-inverse"></i>
10+
</span>
11+
</h3>
612
<p class="wpn-popup-message">{{ lang('NOTIFY_WEBPUSH_POPUP_MESSAGE') }}</p>
713
<div class="wpn-popup-buttons">
814
<button id="wpn_popup_allow" class="wpn-popup-btn wpn-popup-btn-allow">{{ lang('NOTIFY_WEBPUSH_POPUP_ALLOW') }}</button>

styles/all/theme/phpbb_wpn.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,16 @@
9595
font-size: 18px;
9696
font-weight: 600;
9797
color: #333333;
98+
display: flex;
99+
justify-content: space-between;
100+
align-items: center;
98101
margin: 0 0 12px;
99102
}
100103

104+
.wpn-popup-title > span > i:first-child {
105+
color: #0066cc;
106+
}
107+
101108
.wpn-popup-message {
102109
font-size: 14px;
103110
line-height: 1.5;

0 commit comments

Comments
 (0)