2022.2

Table Of Contents
Toopenthisdialog,selectEdit > Stylesheets....
l
Scope:Usethedrop-downtoselectGlobal(allcontexts)orthecontextthatisopeninthework-
space,suchasPrint.Selectingacontextshowsallit'sCSSrulesintheRule List.
l
Show:Usethedrop-downtoselectwhethertoshowallCSSrulesorlimittocertaintypes:Class,
IDorElementrules.
l
Rule List:Displaysthelistofrulesinthecurrentlyselectedstylesheet.
l
Rule Display:DisplaysthecontentsofthecurrentlyselectedruleintheRule List.
l
New:ClicktocreateanewrulewiththeEditRuledialog.See"New/EditRuledialog"below.
l
Edit:ClicktoeditthecurrentlyselectedruleintheRuleListusingtheEditRuledialog.See
"New/EditRuledialog"below.
l
Delete:ClicktodeletethecurrentlyselectedruleintheRuleList.
l
Duplicate:ClicktocreateaduplicateofthecurrentlyselectedruleintheRuleListusingtheEdit
Ruledialog.Thedefaultnameforthenewruleisthenameofthecurrentoneplus"-duplicated".
See"New/EditRuledialog"below.
l
Move Up:MovethecurrentlyselectedruleintheRuleListuponepositioninthelist.
l
Move Down:MovethecurrentlyselectedruleintheRuleListdownonepositioninthelist.
l
Save:Clicktosaveallchangestothestylesheetandclosethedialog.
l
Cancel:Clicktoclosethedialogwithoutsavinganychanges.
New/Edit Rule dialog
TheNew/EditRuledialogshowsthepropertiesforaspecificCSSselector.
ClicktheApplybuttontoseehowasettingaffectstheelementsthataresubjecttothatselector.(You
mayhavetomoveandresizetheStylesheetdialogbeforeopeningtheEditRuledialog,inordertobe
abletoseethetemplatethatyouareworkingon.)
AtanypointyoucanclickontheAdvancedbuttontoseetheAdvancedStylesheetRule.See
"AdvancedStylesheetRule"onpage944.
l
Name:TheCSSSelectortowhichthisruleapplies.ThiscanbeaselectorthatisspecifictoCon-
nect(see"SelectorsinOLConnect"onpage825)oranyselectorusedinregularCSS,since
theycanalsobeusedhere(seeCSSSelectorsonW3Schoolsforasimplereferencepage).
Page 941