2022.2

Table Of Contents
CSSoptions
ACSSpreprocessorisaCSSextensionlanguagethatallowsyoutoenhanceCSSwithcode(vari-
ables,forexample)andthencompileitintoplainCSS.CSSPreprocessorSassisintegratedinCon-
nect.
FormoreinformationaboutSass,see:https://sass-lang.com/.
TheCSSoptionsrelatetothewaySass(.scss)filesarecompiledinConnect.Seealso:"UsingaSass
file"onpage681intheOnlineHelp:https://help.objectiflune.com/en/planetpress-connect-user-
guide/2022.2/.
l
Output style:ThissettingdeterminestheuseofspacesandindentationinthecompiledCSS
file.Forexamplesoftheavailableoutputstyles,see:https://sass-lang.-
com/documentation/file.SASS_REFERENCE.html#output_style.
l
Compact:EachCSSruletakesuponlyoneline,witheverypropertydefinedonthatline.
Nestedrulesareplacednexttoeachotherwithnonewline,whileseparategroupsofrules
havenewlinesbetweenthem.
l
Compressed:Thisoutputstyleminifiestheoutput.Ithasnowhitespaceexceptthatneces-
sarytoseparateselectorsandanewlineattheendofthefile.Italsoincludessomeother
minorcompressions,suchaschoosingthesmallestrepresentationforcolors.It'snot
meanttobehuman-readable.
l
Expanded:Thisisthedefaultoutputstyle.Eachpropertyandruletakeuponeline.Prop-
ertiesareindentedwithintherules,buttherulesaren'tindentedinanyspecialway.
l
Nested:Eachpropertyhasitsownline,buttheindentationisn'tconstant.Eachruleis
indentedbasedonhowdeeplyanelementisnestedintheHTMLandCSSstructure.
l
Auto compile on saving .scss files:Whenthisoptionischecked,a.scssfileiscompiledintoa
.cssfilewheneveryousaveit,overwritinganypreviouslycompiledversionofthe.cssfile.Also,
whenapartial.scssfileissavedall.scssfilesarerecompiled.(Apartial.scssfileismeanttobe
importedinanother.scssfile.Itsnamestartswithanunderscore.)
Bydefaultthisoptionisenabled.
Note:
l
Re-compilinga.scssfileoverwritesanymanualchangesmadetothe.cssfile.
l
Partial.scssfilescannotbecompiled.
l
Singlelinecomments(//...)arenotaddedtothecompiled.cssfile,whereasmulti-
linecomments(/*...*/)aremaintained.Multi-linecommentsshouldbeaddedwithin
Page 791