Skip to content

Commit a67d419

Browse files
committed
Add specificity to button disabled CSS since we’re board wide now
Signed-off-by: Matt Friedman <maf675@gmail.com>
1 parent 475623c commit a67d419

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

styles/all/theme/phpbb_wpn.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
.button[disabled],
2-
.button[disabled]:hover,
3-
.button.disabled,
4-
.button.disabled:hover {
1+
.wpn.button[disabled],
2+
.wpn.button[disabled]:hover,
3+
.wpn.button.disabled,
4+
.wpn.button.disabled:hover {
55
background: #e0e0e0;
66
border-color: #9e9e9e;
77
color: #9e9e9e;
88
}
99

10-
.button.hidden,
10+
.wpn.button.hidden,
1111
.wpn-notification-dropdown-footer button.hidden {
1212
display: none;
1313
}

styles/prosilver/template/event/ucp_notifications_content_before.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
<dl>
66
<dt><label for="subscribe_webpush">{{ lang('NOTIFY_WEBPUSH_NOTIFICATIONS') ~ lang('COLON') }}</label></dt>
77
<dd>
8-
<input id="subscribe_webpush" type="submit" name="subscribe_webpush" value="{{ lang('NOTIFY_WEBPUSH_ENABLE') }}" class="button1 button button-form" data-l-err="{{ lang('INFORMATION') }}" data-l-msg="{{ lang('NOTIFY_WEBPUSH_DENIED') }}">
9-
<input id="unsubscribe_webpush" type="submit" name="unsubscribe_webpush" value="{{ lang('NOTIFY_WEBPUSH_DISABLE') }}" class="button1 button button-form hidden">
8+
<input id="subscribe_webpush" type="submit" name="subscribe_webpush" value="{{ lang('NOTIFY_WEBPUSH_ENABLE') }}" class="wpn button1 button button-form" data-l-err="{{ lang('INFORMATION') }}" data-l-msg="{{ lang('NOTIFY_WEBPUSH_DENIED') }}">
9+
<input id="unsubscribe_webpush" type="submit" name="unsubscribe_webpush" value="{{ lang('NOTIFY_WEBPUSH_DISABLE') }}" class="wpn button1 button button-form hidden">
1010
<br><br><span>{{ lang('NOTIFY_WEBPUSH_ENABLE_EXPLAIN') }}</span>
1111
</dd>
1212
</dl>

0 commit comments

Comments
 (0)