diff --git a/index.html b/index.html index 3582f49..3f397b3 100644 --- a/index.html +++ b/index.html @@ -7,43 +7,16 @@ -
- +
+
+
Загрузка комментариев...
+ + +
@@ -64,221 +37,354 @@ \ No newline at end of file diff --git a/styles.css b/styles.css index edc120f..2e9eb8c 100644 --- a/styles.css +++ b/styles.css @@ -42,6 +42,7 @@ body { .comment { padding: 48px; + margin: 24px; } .comment-header { @@ -134,4 +135,40 @@ body { .add-form-button:hover { opacity: 0.9; - } \ No newline at end of file + } + + @keyframes rotating { + from { + transform: rotate(0deg); + } + 25% { + transform: rotate(30deg); + } + 75% { + transform: rotate(-30deg); + } + to { + transform: rotate(0deg); + } + } + + .-loading-like { + animation: rotating 2s linear infinite; + } + + .loading { + text-align: center; + padding: 20px; + color: #666; + font-size: 18px; + } + + .add-form-button:disabled { + opacity: 0.5; + cursor: not-allowed; + } + + .comments-container { + position: relative; + min-height: 200px; + } \ No newline at end of file