mirror of
https://github.com/silverstripe/silverstripe-comments
synced 2024-10-22 11:05:49 +02:00
Merge pull request #164 from gordonbanderson/issue_163
Minor: Turn off line numbers for generated CSS
This commit is contained in:
commit
aaa95e0c4c
47
config.rb
47
config.rb
@ -1,23 +1,24 @@
|
|||||||
# Require any additional compass plugins here.
|
# Require any additional compass plugins here.
|
||||||
|
|
||||||
# Set this to the root of your project when deployed:
|
# Set this to the root of your project when deployed:
|
||||||
http_path = "/"
|
http_path = "/"
|
||||||
css_dir = "css"
|
css_dir = "css"
|
||||||
sass_dir = "scss"
|
sass_dir = "scss"
|
||||||
javascripts_dir = "javascript"
|
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
|
# 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 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
|
# 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:
|
# If you prefer the indented syntax, you might want to regenerate this
|
||||||
# preferred_syntax = :sass
|
# project again passing --syntax sass, or you can uncomment this:
|
||||||
# and then run:
|
# preferred_syntax = :sass
|
||||||
# sass-convert -R --from scss --to sass scss scss && rm -rf sass && mv scss sass
|
# and then run:
|
||||||
|
# sass-convert -R --from scss --to sass scss scss && rm -rf sass && mv scss sass
|
||||||
|
@ -1,80 +1,62 @@
|
|||||||
/* line 1, ../scss/comments.scss */
|
|
||||||
.comments-holder-container {
|
.comments-holder-container {
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
/* line 4, ../scss/comments.scss */
|
|
||||||
.comments-holder-container .field {
|
.comments-holder-container .field {
|
||||||
clear: left;
|
clear: left;
|
||||||
}
|
}
|
||||||
/* line 8, ../scss/comments.scss */
|
|
||||||
.comments-holder-container .num,
|
.comments-holder-container .num,
|
||||||
.comments-holder-container .author {
|
.comments-holder-container .author {
|
||||||
font-size: 1.3em;
|
font-size: 1.3em;
|
||||||
}
|
}
|
||||||
/* line 13, ../scss/comments.scss */
|
|
||||||
.comments-holder-container .num {
|
.comments-holder-container .num {
|
||||||
color: #999;
|
color: #999;
|
||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
}
|
}
|
||||||
/* line 18, ../scss/comments.scss */
|
|
||||||
.comments-holder-container .num-total {
|
.comments-holder-container .num-total {
|
||||||
line-height: 40px;
|
line-height: 40px;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
/* line 23, ../scss/comments.scss */
|
|
||||||
.comments-holder-container .comments-list {
|
.comments-holder-container .comments-list {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
/* line 27, ../scss/comments.scss */
|
|
||||||
.comments-holder-container .comment-count {
|
.comments-holder-container .comment-count {
|
||||||
margin: 15px 0;
|
margin: 15px 0;
|
||||||
}
|
}
|
||||||
/* line 32, ../scss/comments.scss */
|
|
||||||
.comments-holder-container .commenting-area {
|
.comments-holder-container .commenting-area {
|
||||||
margin-top: 50px;
|
margin-top: 50px;
|
||||||
}
|
}
|
||||||
/* line 35, ../scss/comments.scss */
|
|
||||||
.comments-holder-container .commenting-area label.left {
|
.comments-holder-container .commenting-area label.left {
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
/* line 40, ../scss/comments.scss */
|
|
||||||
.comments-holder-container .commenting-rss-feed {
|
.comments-holder-container .commenting-rss-feed {
|
||||||
margin-top: 4em;
|
margin-top: 4em;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
/* line 44, ../scss/comments.scss */
|
|
||||||
.comments-holder-container .commenting-rss-feed .action-links {
|
.comments-holder-container .commenting-rss-feed .action-links {
|
||||||
margin: 20px 0 10px;
|
margin: 20px 0 10px;
|
||||||
}
|
}
|
||||||
/* line 47, ../scss/comments.scss */
|
|
||||||
.comments-holder-container .commenting-rss-feed .action-links li {
|
.comments-holder-container .commenting-rss-feed .action-links li {
|
||||||
display: inline;
|
display: inline;
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
margin-left: 20px;
|
margin-left: 20px;
|
||||||
}
|
}
|
||||||
/* line 52, ../scss/comments.scss */
|
|
||||||
.comments-holder-container .commenting-rss-feed .action-links li:first-child {
|
.comments-holder-container .commenting-rss-feed .action-links li:first-child {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
/* line 56, ../scss/comments.scss */
|
|
||||||
.comments-holder-container .commenting-rss-feed .action-links li.comment-reply-action {
|
.comments-holder-container .commenting-rss-feed .action-links li.comment-reply-action {
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
/* line 61, ../scss/comments.scss */
|
|
||||||
.comments-holder-container .commenting-rss-feed .action-links a {
|
.comments-holder-container .commenting-rss-feed .action-links a {
|
||||||
background-image: none;
|
background-image: none;
|
||||||
}
|
}
|
||||||
/* line 64, ../scss/comments.scss */
|
|
||||||
.comments-holder-container .commenting-rss-feed .action-links a::first-letter {
|
.comments-holder-container .commenting-rss-feed .action-links a::first-letter {
|
||||||
text-transform: capitalize;
|
text-transform: capitalize;
|
||||||
}
|
}
|
||||||
/* line 71, ../scss/comments.scss */
|
|
||||||
.comments-holder-container .no-comments-yet {
|
.comments-holder-container .no-comments-yet {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* line 78, ../scss/comments.scss */
|
|
||||||
.comment {
|
.comment {
|
||||||
clear: both;
|
clear: both;
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
@ -82,7 +64,6 @@
|
|||||||
padding: 20px 0 10px;
|
padding: 20px 0 10px;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
/* line 86, ../scss/comments.scss */
|
|
||||||
.comment.author-comment:after {
|
.comment.author-comment:after {
|
||||||
content: 'Author';
|
content: 'Author';
|
||||||
float: right;
|
float: right;
|
||||||
@ -92,15 +73,12 @@
|
|||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
/* line 96, ../scss/comments.scss */
|
|
||||||
.comment.author-comment > .comment-text {
|
.comment.author-comment > .comment-text {
|
||||||
border: 1px solid blue;
|
border: 1px solid blue;
|
||||||
}
|
}
|
||||||
/* line 103, ../scss/comments.scss */
|
|
||||||
.comment.spam .comment-text {
|
.comment.spam .comment-text {
|
||||||
border: 1px dashed orange;
|
border: 1px dashed orange;
|
||||||
}
|
}
|
||||||
/* line 108, ../scss/comments.scss */
|
|
||||||
.comment .comment-text {
|
.comment .comment-text {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
border: 1px solid #ddd;
|
border: 1px solid #ddd;
|
||||||
@ -112,73 +90,60 @@
|
|||||||
white-space: pre-line;
|
white-space: pre-line;
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
}
|
}
|
||||||
/* line 119, ../scss/comments.scss */
|
|
||||||
.comment .comment-text p:last-child {
|
.comment .comment-text p:last-child {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
/* line 124, ../scss/comments.scss */
|
|
||||||
.comment .date {
|
.comment .date {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
}
|
}
|
||||||
/* line 127, ../scss/comments.scss */
|
|
||||||
.comment .date:before {
|
.comment .date:before {
|
||||||
content: '\0000a0\0000a0\0000a0\0000a0';
|
content: '\0000a0\0000a0\0000a0\0000a0';
|
||||||
}
|
}
|
||||||
/* line 133, ../scss/comments.scss */
|
|
||||||
.comment.unmoderated > .comment-text {
|
.comment.unmoderated > .comment-text {
|
||||||
border: 1px solid yellow;
|
border: 1px solid yellow;
|
||||||
}
|
}
|
||||||
/* line 138, ../scss/comments.scss */
|
|
||||||
.comment .info {
|
.comment .info {
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
/* line 142, ../scss/comments.scss */
|
|
||||||
.comment.spam .comment {
|
.comment.spam .comment {
|
||||||
border: 1px dashed orange;
|
border: 1px dashed orange;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
padding: 2.5em 1em 1em;
|
padding: 2.5em 1em 1em;
|
||||||
}
|
}
|
||||||
/* line 148, ../scss/comments.scss */
|
|
||||||
.comment .comment-replies-container {
|
.comment .comment-replies-container {
|
||||||
clear: both;
|
clear: both;
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
margin: 80px 0 0 0;
|
margin: 80px 0 0 0;
|
||||||
border-left: 1px dashed #999;
|
border-left: 1px dashed #999;
|
||||||
}
|
}
|
||||||
/* line 154, ../scss/comments.scss */
|
|
||||||
.comment .comment-replies-container .comment-reply-form-holder {
|
.comment .comment-replies-container .comment-reply-form-holder {
|
||||||
padding: 0 10px;
|
padding: 0 10px;
|
||||||
}
|
}
|
||||||
/* line 157, ../scss/comments.scss */
|
|
||||||
.comment .comment-replies-container .comment-replies-holder {
|
.comment .comment-replies-container .comment-replies-holder {
|
||||||
padding: 0 0 0 10px;
|
padding: 0 0 0 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* line 163, ../scss/comments.scss */
|
|
||||||
.comments-list.root-level {
|
.comments-list.root-level {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* line 167, ../scss/comments.scss */
|
|
||||||
.comment-reply-link {
|
.comment-reply-link {
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* line 171, ../scss/comments.scss */
|
|
||||||
.comment-moderation-options {
|
.comment-moderation-options {
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* line 175, ../scss/comments.scss */
|
|
||||||
.comment-action-links {
|
.comment-action-links {
|
||||||
margin: 20px 0 10px;
|
margin: 20px 0 10px;
|
||||||
}
|
}
|
||||||
/* line 178, ../scss/comments.scss */
|
|
||||||
.comment-action-links a:not(:last-child) {
|
.comment-action-links a:not(:last-child) {
|
||||||
margin-right: 12px;
|
margin-right: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* line 183, ../scss/comments.scss */
|
|
||||||
.commenting-rss-feed ul {
|
.commenting-rss-feed ul {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*# sourceMappingURL=comments.css.map */
|
||||||
|
7
css/comments.css.map
Normal file
7
css/comments.css.map
Normal file
@ -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,WAAW,EAAE,IAAI;EACjB,aAAa,EAAE,CAAC;;AAGjB,yCAAe;EACd,MAAM,EAAE,CAAC;;AAGV,yCAAe;EACd,MAAM,EAAE,MAAM;;AAIf,2CAAiB;EAChB,UAAU,EAAE,IAAI;;AAEhB,sDAAU;EACT,WAAW,EAAE,MAAM;;AAIrB,+CAAqB;EACpB,UAAU,EAAE,GAAG;EACf,UAAU,EAAE,KAAK;;AAEjB,6DAAc;EACb,MAAM,EAAE,WAAW;;AAEnB,gEAAG;EACF,OAAO,EAAE,MAAM;EACf,eAAe,EAAE,IAAI;EACrB,WAAW,EAAE,IAAI;;AAEjB,4EA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,EAAE,eAAe;;AAE5B,8DAA2B;EAC1B,OAAO,EAAE,MAAM;;AAEhB,2DAAwB;EACvB,OAAO,EAAE,UAAU;;;AAKtB,yBAA0B;EACzB,WAAW,EAAE,CAAC;;;AAGf,mBAAoB;EACnB,KAAK,EAAE,KAAK;;;AAGb,2BAA4B;EAC3B,KAAK,EAAE,IAAI;;;AAGZ,qBAAsB;EACrB,MAAM,EAAE,WAAW;;AAEnB,wCAAmB;EAClB,YAAY,EAAE,IAAI;;;AAIpB,uBAAwB;EACvB,UAAU,EAAE,IAAI",
|
||||||
|
"sources": ["../scss/comments.scss"],
|
||||||
|
"names": [],
|
||||||
|
"file": "comments.css"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user