From f1836580db88692d86e70e9021cd9b2e298c2fa8 Mon Sep 17 00:00:00 2001 From: Steffen van Bergerem Date: Mon, 16 Feb 2015 04:56:35 +0100 Subject: [PATCH] Bootstrap stream: add spinner and improve comment box --- app/assets/stylesheets/comments.css.scss | 10 ++++++++-- app/assets/stylesheets/new-templates.css.scss | 3 ++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/app/assets/stylesheets/comments.css.scss b/app/assets/stylesheets/comments.css.scss index d9d13eb98..fd9ffba09 100644 --- a/app/assets/stylesheets/comments.css.scss +++ b/app/assets/stylesheets/comments.css.scss @@ -36,7 +36,13 @@ } padding-left: 12px; width: 95%; + display: none; + } + .comment_box { + width: 95%; + height: 30px; + } + .comment_box:focus, .comment_box:valid { + & + .submit_button { display: block; } } - .comment_box { width: 95%; } - .comment_box:focus, .comment_box:valid { min-height: 100px; } } diff --git a/app/assets/stylesheets/new-templates.css.scss b/app/assets/stylesheets/new-templates.css.scss index dd13360bb..eff3651ee 100644 --- a/app/assets/stylesheets/new-templates.css.scss +++ b/app/assets/stylesheets/new-templates.css.scss @@ -14,6 +14,7 @@ @import 'new_styles/base'; @import 'new_styles/buttons'; @import 'new_styles/interactions'; +@import 'new_styles/spinner'; /* font overrides */ @import 'new_styles/typography'; @@ -79,4 +80,4 @@ @import 'new_styles/code'; /* statistics */ -@import 'new_styles/statistics' \ No newline at end of file +@import 'new_styles/statistics'