From 6642d47f4c737e40bc3777fa14be4e7c14c33d20 Mon Sep 17 00:00:00 2001 From: decabeza Date: Wed, 20 Sep 2017 19:26:43 +0200 Subject: [PATCH] fixes scss lint errors --- app/assets/stylesheets/community.scss | 3 ++- app/assets/stylesheets/datepicker_overrides.scss | 12 ++++++------ app/assets/stylesheets/documentable.scss | 4 ++++ app/assets/stylesheets/participation.scss | 4 ++-- 4 files changed, 14 insertions(+), 9 deletions(-) diff --git a/app/assets/stylesheets/community.scss b/app/assets/stylesheets/community.scss index 0dddf4cdb..c06d5c5d2 100644 --- a/app/assets/stylesheets/community.scss +++ b/app/assets/stylesheets/community.scss @@ -1,5 +1,6 @@ .communities-show { - .button.disabled, .button[disabled] { + .button.disabled, + .button[disabled] { pointer-events: none; } diff --git a/app/assets/stylesheets/datepicker_overrides.scss b/app/assets/stylesheets/datepicker_overrides.scss index 79414ad99..190784d15 100644 --- a/app/assets/stylesheets/datepicker_overrides.scss +++ b/app/assets/stylesheets/datepicker_overrides.scss @@ -44,18 +44,18 @@ position: absolute; top: 4px; width: rem-calc(30); - + &:hover { - text-decoration: none; + text-decoration: none; } } - + .ui-datepicker-prev::after { - content: '\62'; + content: '\62'; } - + .ui-datepicker-next::after { - content: '\63'; + content: '\63'; } table { diff --git a/app/assets/stylesheets/documentable.scss b/app/assets/stylesheets/documentable.scss index 2aa015a14..e4b23f5dc 100644 --- a/app/assets/stylesheets/documentable.scss +++ b/app/assets/stylesheets/documentable.scss @@ -3,18 +3,22 @@ } .document-form { + .document .file-name { margin-top: 0; } + .progress-bar-placeholder { margin-bottom: 15px; } + .document .loading-bar.errors { margin-top: $line-height * 2; } } .document { + .button { font-weight: normal; } diff --git a/app/assets/stylesheets/participation.scss b/app/assets/stylesheets/participation.scss index 8c6fc5415..3d90ee128 100644 --- a/app/assets/stylesheets/participation.scss +++ b/app/assets/stylesheets/participation.scss @@ -251,7 +251,7 @@ .spending-proposal-form, .document-form, .topic-new, -.topic-form { +.topic-form { .icon-debates, .icon-proposals, @@ -769,7 +769,7 @@ display: none; } -.document-form{ +.document-form { max-width: 75rem; margin-left: auto; margin-right: auto;