sass - Why is Compass/Scss setting list-style: none by default? -


it seems scss turning off ordered list styles default, seems little strange / annoying. can explain why that?

this line mysteriously added css:

/* line 24, c:/ruby200-x64/lib/ruby/gems/2.0.0/gems/compass-0.12.2/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ ol, ul {   list-style: none; } 

a little splunking showed result of these lines in _utilities.scss file:

  ol, ul {     @include reset-list-style; }  // reset list style of element. @mixin reset-list-style {   list-style: none; } 

i'm fixing issue adding:

ol {   list-style-type: decimal; } 

to scss file. better modify _utilities.scss file? sounds if did might screw how scss translates css ol, ul elements?

if don't behavior, can take out reset that's included compass. when start new compass project, generates screen.scss following:

/* welcome compass.  * in file should write main styles. (or centralize imports)  * import file using following html or equivalent:  * <link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css" /> */  @import "compass/reset"; 

just remove or comment out @import "compass/reset" , use reset that's liking or use normalize.css standardize styles.


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -