-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix example of verify in the readme.txt. * Update CI. * Fix error on CF7 validation. * Bump up version. * Fix checkboxes disabled status after activation of a plugin on the Integrations page. * Fix README.md. * Fix README.md. * Update screenshot-5.png. * Add Notification system. * Fix tests. * Add animated icon on wp.org. * Add animated icon on wp.org. * Add animated icon on wp.org. * Add animated icon on wp.org. * Improve notifications design. * Add reset notification feature. * Add reset notification feature. * Add reset notification feature. * Change notification wording. * Show notification after reset via ajax. * Fix positioning bug when inserting notifications div. * Update readme.txt. * Fix CI after CF7 requirement for PHP 7.4. * Fix mode selection for sample hCaptcha. * Scroll to the ajax message on General. * Bump up version. * Update src/php/Admin/Notifications.php Co-authored-by: e271828- <[email protected]> * Update src/php/Admin/Notifications.php Co-authored-by: e271828- <[email protected]> --------- Co-authored-by: e271828- <[email protected]>
- Loading branch information
1 parent
df4b220
commit 3bef4f8
Showing
19 changed files
with
860 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
#hcaptcha-notifications { | ||
margin: 5px 0 15px; | ||
background: #fff; | ||
padding: 15px 20px; | ||
max-width: 760px; | ||
box-sizing: border-box; | ||
} | ||
|
||
#hcaptcha-notifications-header { | ||
display: flex; | ||
margin-bottom: 10px; | ||
padding-bottom: 10px; | ||
border-bottom: 1px solid #c3c4c7; | ||
line-height: 1.3; | ||
font-size: 14px; | ||
font-weight: 600; | ||
justify-content: flex-start; | ||
align-items: center; | ||
column-gap: 3px; | ||
} | ||
|
||
#hcaptcha-notifications-header::before { | ||
content: ''; | ||
background-image: url('../images/notification-bell.svg'); | ||
background-size: cover; | ||
position: relative; | ||
width: 30px; | ||
height: 30px; | ||
} | ||
|
||
#hcaptcha-notifications-footer { | ||
display: flex; | ||
justify-content: space-between; | ||
margin-top: 10px; | ||
padding-top: 10px; | ||
border-top: 1px solid #c3c4c7; | ||
} | ||
|
||
#hcaptcha-notifications .hcaptcha-notification { | ||
margin: 0; | ||
} | ||
|
||
.hcaptcha-notification .hcaptcha-notification-title { | ||
margin: 7px 0; | ||
padding: 2px; | ||
line-height: 1.3; | ||
font-weight: 600; | ||
} | ||
|
||
.hcaptcha-notification { | ||
display: none; | ||
} | ||
|
||
#hcaptcha-notifications-header + .hcaptcha-notification { | ||
display: block; | ||
} | ||
|
||
#hcaptcha-navigation { | ||
display: flex; | ||
justify-content: flex-end; | ||
column-gap: 3px; | ||
} | ||
|
||
#hcaptcha-navigation a { | ||
width: 30px; | ||
height: 30px; | ||
border: 1px solid #2271b1; | ||
border-radius: 3px; | ||
background: #f6f7f7; | ||
font-size: 16px; | ||
line-height: 25px; | ||
text-align: center; | ||
cursor: pointer; | ||
box-sizing: border-box; | ||
} | ||
|
||
#hcaptcha-navigation a.disabled { | ||
color: #a7aaad; | ||
border-color: #dcdcde; | ||
background: #f6f7f7; | ||
cursor: default; | ||
} | ||
|
||
#hcaptcha-navigation a.prev::after, | ||
#hcaptcha-navigation a.next::after { | ||
font-size: 12px; | ||
} | ||
|
||
#hcaptcha-navigation a.prev::after { | ||
content: '<' | ||
} | ||
|
||
#hcaptcha-navigation a.next::after { | ||
content: '>'; | ||
} |
Oops, something went wrong.