From a3d71cb1b7f9d26242534ec9c343677f162d3447 Mon Sep 17 00:00:00 2001 From: Gordon Anderson Date: Thu, 11 Feb 2016 20:44:04 +0700 Subject: [PATCH] Minor: Turn off line numbers for generated CSS --- config.rb | 47 ++++++++++++++++++++++---------------------- css/comments.css | 39 ++---------------------------------- css/comments.css.map | 7 +++++++ 3 files changed, 33 insertions(+), 60 deletions(-) create mode 100644 css/comments.css.map diff --git a/config.rb b/config.rb index a5dcfd2..79e9a18 100644 --- a/config.rb +++ b/config.rb @@ -1,23 +1,24 @@ -# Require any additional compass plugins here. - -# Set this to the root of your project when deployed: -http_path = "/" -css_dir = "css" -sass_dir = "scss" -javascripts_dir = "javascript" - -# You can select your preferred output style here (can be overridden via the command line): -# output_style = :expanded or :nested or :compact or :compressed - -# To enable relative paths to assets via compass helper functions. Uncomment: -relative_assets = true - -# To disable debugging comments that display the original location of your selectors. Uncomment: -line_comments = true - - -# If you prefer the indented syntax, you might want to regenerate this -# project again passing --syntax sass, or you can uncomment this: -# preferred_syntax = :sass -# and then run: -# sass-convert -R --from scss --to sass scss scss && rm -rf sass && mv scss sass +# Require any additional compass plugins here. + +# Set this to the root of your project when deployed: +http_path = "/" +css_dir = "css" +sass_dir = "scss" +javascripts_dir = "javascript" +sourcemap = "true" + +# You can select your preferred output style here (can be overridden via the command line): +# output_style = :expanded or :nested or :compact or :compressed + +# To enable relative paths to assets via compass helper functions. Uncomment: +relative_assets = true + +# To disable debugging comments that display the original location of your selectors. Uncomment: +line_comments = false + + +# If you prefer the indented syntax, you might want to regenerate this +# project again passing --syntax sass, or you can uncomment this: +# preferred_syntax = :sass +# and then run: +# sass-convert -R --from scss --to sass scss scss && rm -rf sass && mv scss sass diff --git a/css/comments.css b/css/comments.css index d375270..22975c0 100644 --- a/css/comments.css +++ b/css/comments.css @@ -1,80 +1,62 @@ -/* line 1, ../scss/comments.scss */ .comments-holder-container { clear: both; } -/* line 4, ../scss/comments.scss */ .comments-holder-container .field { clear: left; } -/* line 8, ../scss/comments.scss */ .comments-holder-container .num, .comments-holder-container .author { font-size: 1.3em; } -/* line 13, ../scss/comments.scss */ .comments-holder-container .num { color: #999; margin-right: 5px; } -/* line 18, ../scss/comments.scss */ .comments-holder-container .num-total { line-height: 40px; margin-bottom: 0; } -/* line 23, ../scss/comments.scss */ .comments-holder-container .comments-list { margin: 0; } -/* line 27, ../scss/comments.scss */ .comments-holder-container .comment-count { margin: 15px 0; } -/* line 32, ../scss/comments.scss */ .comments-holder-container .commenting-area { margin-top: 50px; } -/* line 35, ../scss/comments.scss */ .comments-holder-container .commenting-area label.left { font-weight: normal; } -/* line 40, ../scss/comments.scss */ .comments-holder-container .commenting-rss-feed { margin-top: 4em; text-align: right; } -/* line 44, ../scss/comments.scss */ .comments-holder-container .commenting-rss-feed .action-links { margin: 20px 0 10px; } -/* line 47, ../scss/comments.scss */ .comments-holder-container .commenting-rss-feed .action-links li { display: inline; list-style-type: none; margin-left: 20px; } -/* line 52, ../scss/comments.scss */ .comments-holder-container .commenting-rss-feed .action-links li:first-child { margin-left: 0; } -/* line 56, ../scss/comments.scss */ .comments-holder-container .commenting-rss-feed .action-links li.comment-reply-action { float: right; } -/* line 61, ../scss/comments.scss */ .comments-holder-container .commenting-rss-feed .action-links a { background-image: none; } -/* line 64, ../scss/comments.scss */ .comments-holder-container .commenting-rss-feed .action-links a::first-letter { text-transform: capitalize; } -/* line 71, ../scss/comments.scss */ .comments-holder-container .no-comments-yet { display: inline-block; margin-top: 10px; } -/* line 78, ../scss/comments.scss */ .comment { clear: both; list-style-type: none; @@ -82,7 +64,6 @@ padding: 20px 0 10px; position: relative; } -/* line 86, ../scss/comments.scss */ .comment.author-comment:after { content: 'Author'; float: right; @@ -92,15 +73,12 @@ font-size: 1em; font-weight: bold; } -/* line 96, ../scss/comments.scss */ .comment.author-comment > .comment-text { border: 1px solid blue; } -/* line 103, ../scss/comments.scss */ .comment.spam .comment-text { border: 1px dashed orange; } -/* line 108, ../scss/comments.scss */ .comment .comment-text { background-color: #fff; border: 1px solid #ddd; @@ -112,73 +90,60 @@ white-space: pre-line; word-wrap: break-word; } -/* line 119, ../scss/comments.scss */ .comment .comment-text p:last-child { margin-bottom: 0; } -/* line 124, ../scss/comments.scss */ .comment .date { font-size: 16px; } -/* line 127, ../scss/comments.scss */ .comment .date:before { content: '\0000a0\0000a0\0000a0\0000a0'; } -/* line 133, ../scss/comments.scss */ .comment.unmoderated > .comment-text { border: 1px solid yellow; } -/* line 138, ../scss/comments.scss */ .comment .info { margin-bottom: 10px; } -/* line 142, ../scss/comments.scss */ .comment.spam .comment { border: 1px dashed orange; border-radius: 4px; padding: 2.5em 1em 1em; } -/* line 148, ../scss/comments.scss */ .comment .comment-replies-container { clear: both; padding-left: 10px; margin: 80px 0 0 0; border-left: 1px dashed #999; } -/* line 154, ../scss/comments.scss */ .comment .comment-replies-container .comment-reply-form-holder { padding: 0 10px; } -/* line 157, ../scss/comments.scss */ .comment .comment-replies-container .comment-replies-holder { padding: 0 0 0 10px; } -/* line 163, ../scss/comments.scss */ .comments-list.root-level { margin-left: 0; } -/* line 167, ../scss/comments.scss */ .comment-reply-link { float: right; } -/* line 171, ../scss/comments.scss */ .comment-moderation-options { float: left; } -/* line 175, ../scss/comments.scss */ .comment-action-links { margin: 20px 0 10px; } -/* line 178, ../scss/comments.scss */ .comment-action-links a:not(:last-child) { margin-right: 12px; } -/* line 183, ../scss/comments.scss */ .commenting-rss-feed ul { list-style: none; } + +/*# sourceMappingURL=comments.css.map */ diff --git a/css/comments.css.map b/css/comments.css.map new file mode 100644 index 0000000..296eb91 --- /dev/null +++ b/css/comments.css.map @@ -0,0 +1,7 @@ +{ +"version": 3, +"mappings": "AAAA,0BAA2B;EAC1B,KAAK,EAAE,IAAI;;AAEX,iCAAO;EACN,KAAK,EAAE,IAAI;;AAGZ;kCACQ;EACP,SAAS,EAAE,KAAK;;AAGjB,+BAAK;EACJ,KAAK,EAAE,IAAI;EACX,YAAY,EAAE,GAAG;;AAGlB,qCAAW;EACV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