2022.2

Table Of Contents
1. Media
2. Sectionbackground
3. MasterPageelements
Usingthe.page_mediaboxselector,youcouldchangethisstackingorderandplacethesectionback-
groundontopoftheelementsontheMasterPage.Setthez-indexpropertytoavaluelargerthan0
(zero)andadd!importanttomakethisstyleruleoverridetheinlinestyledeclarationthatnormallyputs
thesectionbackgroundbehindtheMasterPageelements:
.page_mediabox img.ol_pdf_datamapper_input {
z-index: 10 !important;
}
Scaling the section background
Therulebelowdownscalesthesectionbackgroundimageandkeepsitinthecentreofthepage:
.page_mediabox img.ol_pdf_datamapper_input {
transform: translate(-50%, -50%) scale(1.5, 1.5) !important;
}
View selectors
IntheDesigner,sectionscanbeviewedondifferenttabs:Source,Design,Previewand-ifitisaWeb
section-Live.Ineachviewmode(exceptSource)aspecificCSSclassisaddedtothe<html>element.
Theview-specificclassesare:
l
.DESIGN
l
.PREVIEW
l
.OUTPUT
.OUTPUTisusedwhenviewingthecurrentsectionontheLivetaborinanexternalbrowser,andwhen
generatingoutput.
Viewselectorsallowyoutoapplyformattingtoelementsinacertainview,forexampletohighlightor
showelements.TheDesigneritselfdoesthis,forexample,tohighlightallboxesintheDesignview,
whentheShowEdgesiconisclicked.
Adding an outline
Thefollowingstylerulewrapseveryelementthathastheclassaddress-blockwithapurpledashedout-
lineinDesignmode.Theoutlineisnotvisibleinotherviewsorwhenoutputtingthedocument.
Page 389