commit 8f05e37ee464eaffcff638f1b1806e2c555e9cf6
| author | 斟酌 鵬兄 <tgckpg@gmail.com> |
| date | 2015-10-19T15:16:47Z |
| subject | Check for grecaptcha availibility |
commit 8f05e37ee464eaffcff638f1b1806e2c555e9cf6
Author: 斟酌 鵬兄 <tgckpg@gmail.com>
Date: 2015-10-19T15:16:47Z
Check for grecaptcha availibility
---
botanjs/src/Astro/Blog/Components/Comment.css | 3 ++-
botanjs/src/Astro/Blog/Components/Comment.js | 8 ++++++++
botanjs/src/Astro/Blog/Components/VerticalNote.css | 5 +++++
3 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/botanjs/src/Astro/Blog/Components/Comment.css b/botanjs/src/Astro/Blog/Components/Comment.css
index a23955b..9597cac 100644
--- a/botanjs/src/Astro/Blog/Components/Comment.css
+++ b/botanjs/src/Astro/Blog/Components/Comment.css
@@ -284,5 +284,6 @@ iframe[src="about:blank"] {
.c_so_sorry {
padding: 0.2em;
font-size: 0.8em;
- color: coral;
+ color: orangered;
+ display: none;
}
diff --git a/botanjs/src/Astro/Blog/Components/Comment.js b/botanjs/src/Astro/Blog/Components/Comment.js
index ad19e80..bb7b642 100644
--- a/botanjs/src/Astro/Blog/Components/Comment.js
+++ b/botanjs/src/Astro/Blog/Components/Comment.js
@@ -691,10 +691,18 @@
if( !loggedIn )
{
+ var limit = 5;
+ var i = 0;
var reUUID = Perf.uuid;
Cycle.perma(
reUUID, function()
{
+ if( limit < i ++ )
+ {
+ var mesg = Dand.glass( "c_so_sorry" );
+ if( mesg.length ) mesg[0].style.display = "block";
+ }
+
if( Recaptcha = window["grecaptcha"] )
{
Cycle.permaRemove( reUUID );
diff --git a/botanjs/src/Astro/Blog/Components/VerticalNote.css b/botanjs/src/Astro/Blog/Components/VerticalNote.css
index 6d9c556..9961c1f 100644
--- a/botanjs/src/Astro/Blog/Components/VerticalNote.css
+++ b/botanjs/src/Astro/Blog/Components/VerticalNote.css
@@ -66,6 +66,10 @@
height: 400px;
}
+.vertical-text > p[data-flag="date"] {
+ color: #BBB;
+}
+
.vertical-text.source > * {
height: auto;
}
@@ -76,3 +80,4 @@
padding: 0;
visibility: hidden;
}
+