From c06f856e56746812075351e15bbf6b6484e9a2cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xavier=20Juli=C3=A1n?= Date: Wed, 10 Sep 2014 12:18:46 +0200 Subject: [PATCH] Updated css linter. Fixed scss bugs. Ignore Known Properties error because is a known fallback issue required by browsers but still could give us nice information about bad code practices --- app/styles/dependencies/typography.scss | 16 ++++++++-------- app/styles/modules/common/history.scss | 4 ++-- .../modules/user-settings/user-profile.scss | 6 +++--- package.json | 2 +- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/app/styles/dependencies/typography.scss b/app/styles/dependencies/typography.scss index 6bac78d8..68d878d5 100755 --- a/app/styles/dependencies/typography.scss +++ b/app/styles/dependencies/typography.scss @@ -59,14 +59,14 @@ h1 { &:last-child { flex-shrink: 0; } - &.project-name { - display: inline-block; - max-width: 60%; - } - &.project-name-short { - display: inline-block; - max-width: 40%; - } + } + .project-name { + display: inline-block; + max-width: 60%; + } + .project-name-short { + display: inline-block; + max-width: 40%; } .green { color: $green-taiga; diff --git a/app/styles/modules/common/history.scss b/app/styles/modules/common/history.scss index bde6d604..c89dffd6 100644 --- a/app/styles/modules/common/history.scss +++ b/app/styles/modules/common/history.scss @@ -147,7 +147,7 @@ a.show-more-comments { } .username { color: $green-taiga; - margin-bottom: 0.5rem; + margin-bottom: .5rem; } .activity-user { @include table-flex-child(1, 50px, 0); @@ -182,7 +182,7 @@ a.show-more-comments { } .wysiwyg { - margin-bottom: 0px; + margin-bottom: 0; } &.activity { diff --git a/app/styles/modules/user-settings/user-profile.scss b/app/styles/modules/user-settings/user-profile.scss index 0125e54e..a720aa64 100644 --- a/app/styles/modules/user-settings/user-profile.scss +++ b/app/styles/modules/user-settings/user-profile.scss @@ -53,9 +53,9 @@ } fieldset { margin-bottom: 1rem; - &.submit { - margin-top: 2rem; - } + } + .submit { + margin-top: 2rem; } label { @extend %title; diff --git a/package.json b/package.json index 7f102c6c..7181f147 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "gulp-compass": "^1.1.9", "gulp-concat": "^2.1.7", "gulp-connect": "^2.0.5", - "gulp-csslint": "^0.1.3", + "gulp-csslint": "^0.1.5", "gulp-filesize": "0.0.6", "gulp-if": "0.0.5", "gulp-imagemin": "^0.5.0",