summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/framework/files.scss
diff options
context:
space:
mode:
authorJacob Schatz <jschatz@gitlab.com>2016-04-25 11:30:50 +0000
committerJacob Schatz <jschatz@gitlab.com>2016-04-25 11:30:50 +0000
commitbe85fde6632d1058c17cb3083fa6a9b54fc9871c (patch)
tree671ae22382173386977b7a3aa618b6fc6ec33fc4 /app/assets/stylesheets/framework/files.scss
parent35c7763c6c9b64008d3aa421e3effc10ab1bb043 (diff)
parent37973bc1435f78f040d1e3f2c3398a4e2668b567 (diff)
downloadgitlab-ce-be85fde6632d1058c17cb3083fa6a9b54fc9871c.tar.gz
Merge branch 'scss-empty-rule' into 'master'
Enable the EmptyRule SCSS Linter Prevents empty SCSS rules from being included in the SCSS. Also fixes the handful of lints caught by the linter. Regarding the `.gh` rule in monokai.scss, which was added in [this commit](https://gitlab.com/gitlab-org/gitlab-ce/commit/bf079c24afb8ad2991a4eaf60a71a7bc45dd775d), it appears to be empty in [the original file as well](https://github.com/richleland/pygments-css/blob/master/monokai.css). So I think it's fine to delete the selector. cc: @jschatz1 See merge request !3769
Diffstat (limited to 'app/assets/stylesheets/framework/files.scss')
-rw-r--r--app/assets/stylesheets/framework/files.scss4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/assets/stylesheets/framework/files.scss b/app/assets/stylesheets/framework/files.scss
index 32cc15113f2..61d9954c6c8 100644
--- a/app/assets/stylesheets/framework/files.scss
+++ b/app/assets/stylesheets/framework/files.scss
@@ -84,10 +84,6 @@
}
}
- &.blob_file {
-
- }
-
&.blob-no-preview {
background: #eee;
text-shadow: 0 1px 2px #fff;