viewer.css 104 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882
  1. /* Copyright 2014 Mozilla Foundation
  2. *
  3. * Licensed under the Apache License, Version 2.0 (the "License");
  4. * you may not use this file except in compliance with the License.
  5. * You may obtain a copy of the License at
  6. *
  7. * http://www.apache.org/licenses/LICENSE-2.0
  8. *
  9. * Unless required by applicable law or agreed to in writing, software
  10. * distributed under the License is distributed on an "AS IS" BASIS,
  11. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. * See the License for the specific language governing permissions and
  13. * limitations under the License.
  14. */
  15. .textLayer{
  16. position:absolute;
  17. text-align:initial;
  18. inset:0;
  19. overflow:hidden;
  20. opacity:0.25;
  21. line-height:1;
  22. -webkit-text-size-adjust:none;
  23. -moz-text-size-adjust:none;
  24. text-size-adjust:none;
  25. forced-color-adjust:none;
  26. transform-origin:0 0;
  27. z-index:2;
  28. }
  29. .textLayer :is(span, br){
  30. color:transparent;
  31. position:absolute;
  32. white-space:pre;
  33. cursor:text;
  34. transform-origin:0% 0%;
  35. }
  36. .textLayer span.markedContent{
  37. top:0;
  38. height:0;
  39. }
  40. .textLayer .highlight{
  41. --highlight-bg-color:rgb(180 0 170);
  42. --highlight-selected-bg-color:rgb(0 100 0);
  43. margin:-1px;
  44. padding:1px;
  45. background-color:var(--highlight-bg-color);
  46. border-radius:4px;
  47. }
  48. @media screen and (forced-colors: active){
  49. .textLayer .highlight{
  50. --highlight-bg-color:Highlight;
  51. --highlight-selected-bg-color:ButtonText;
  52. }
  53. }
  54. .textLayer .highlight.appended{
  55. position:initial;
  56. }
  57. .textLayer .highlight.begin{
  58. border-radius:4px 0 0 4px;
  59. }
  60. .textLayer .highlight.end{
  61. border-radius:0 4px 4px 0;
  62. }
  63. .textLayer .highlight.middle{
  64. border-radius:0;
  65. }
  66. .textLayer .highlight.selected{
  67. background-color:var(--highlight-selected-bg-color);
  68. }
  69. .textLayer ::-moz-selection{
  70. background:blue;
  71. background:AccentColor;
  72. }
  73. .textLayer ::selection{
  74. background:blue;
  75. background:AccentColor;
  76. }
  77. .textLayer br::-moz-selection{
  78. background:transparent;
  79. }
  80. .textLayer br::selection{
  81. background:transparent;
  82. }
  83. .textLayer .endOfContent{
  84. display:block;
  85. position:absolute;
  86. inset:100% 0 0;
  87. z-index:-1;
  88. cursor:default;
  89. -webkit-user-select:none;
  90. -moz-user-select:none;
  91. user-select:none;
  92. }
  93. .textLayer .endOfContent.active{
  94. top:0;
  95. }
  96. .annotationLayer{
  97. --annotation-unfocused-field-background:url("data:image/svg+xml;charset=UTF-8,<svg width='1px' height='1px' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' style='fill:rgba(0, 54, 255, 0.13);'/></svg>");
  98. --input-focus-border-color:Highlight;
  99. --input-focus-outline:1px solid Canvas;
  100. --input-unfocused-border-color:transparent;
  101. --input-disabled-border-color:transparent;
  102. --input-hover-border-color:black;
  103. --link-outline:none;
  104. position:absolute;
  105. top:0;
  106. left:0;
  107. pointer-events:none;
  108. transform-origin:0 0;
  109. z-index:3;
  110. }
  111. @media screen and (forced-colors: active){
  112. .annotationLayer{
  113. --input-focus-border-color:CanvasText;
  114. --input-unfocused-border-color:ActiveText;
  115. --input-disabled-border-color:GrayText;
  116. --input-hover-border-color:Highlight;
  117. --link-outline:1.5px solid LinkText;
  118. --hcm-highlight-filter:invert(100%);
  119. }
  120. .annotationLayer .textWidgetAnnotation :is(input, textarea):required, .annotationLayer .choiceWidgetAnnotation select:required, .annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input:required{
  121. outline:1.5px solid selectedItem;
  122. }
  123. .annotationLayer .linkAnnotation{
  124. outline:var(--link-outline);
  125. }
  126. .annotationLayer .linkAnnotation:hover{
  127. -webkit-backdrop-filter:var(--hcm-highlight-filter);
  128. backdrop-filter:var(--hcm-highlight-filter);
  129. }
  130. .annotationLayer .linkAnnotation > a:hover{
  131. opacity:0 !important;
  132. background:none !important;
  133. box-shadow:none;
  134. }
  135. .annotationLayer .popupAnnotation .popup{
  136. outline:calc(1.5px * var(--scale-factor)) solid CanvasText !important;
  137. background-color:ButtonFace !important;
  138. color:ButtonText !important;
  139. }
  140. .annotationLayer .highlightArea:hover::after{
  141. position:absolute;
  142. top:0;
  143. left:0;
  144. width:100%;
  145. height:100%;
  146. -webkit-backdrop-filter:var(--hcm-highlight-filter);
  147. backdrop-filter:var(--hcm-highlight-filter);
  148. content:"";
  149. pointer-events:none;
  150. }
  151. .annotationLayer .popupAnnotation.focused .popup{
  152. outline:calc(3px * var(--scale-factor)) solid Highlight !important;
  153. }
  154. }
  155. .annotationLayer[data-main-rotation="90"] .norotate{
  156. transform:rotate(270deg) translateX(-100%);
  157. }
  158. .annotationLayer[data-main-rotation="180"] .norotate{
  159. transform:rotate(180deg) translate(-100%, -100%);
  160. }
  161. .annotationLayer[data-main-rotation="270"] .norotate{
  162. transform:rotate(90deg) translateY(-100%);
  163. }
  164. .annotationLayer canvas{
  165. position:absolute;
  166. width:100%;
  167. height:100%;
  168. pointer-events:none;
  169. }
  170. .annotationLayer section{
  171. position:absolute;
  172. text-align:initial;
  173. pointer-events:auto;
  174. box-sizing:border-box;
  175. transform-origin:0 0;
  176. }
  177. .annotationLayer :is(.linkAnnotation, .buttonWidgetAnnotation.pushButton) > a{
  178. position:absolute;
  179. font-size:1em;
  180. top:0;
  181. left:0;
  182. width:100%;
  183. height:100%;
  184. }
  185. .annotationLayer :is(.linkAnnotation, .buttonWidgetAnnotation.pushButton):not(.hasBorder)
  186. > a:hover{
  187. opacity:0.2;
  188. background-color:rgb(255 255 0);
  189. box-shadow:0 2px 10px rgb(255 255 0);
  190. }
  191. .annotationLayer .linkAnnotation.hasBorder:hover{
  192. background-color:rgb(255 255 0 / 0.2);
  193. }
  194. .annotationLayer .hasBorder{
  195. background-size:100% 100%;
  196. }
  197. .annotationLayer .textAnnotation img{
  198. position:absolute;
  199. cursor:pointer;
  200. width:100%;
  201. height:100%;
  202. top:0;
  203. left:0;
  204. }
  205. .annotationLayer .textWidgetAnnotation :is(input, textarea), .annotationLayer .choiceWidgetAnnotation select, .annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input{
  206. background-image:var(--annotation-unfocused-field-background);
  207. border:2px solid var(--input-unfocused-border-color);
  208. box-sizing:border-box;
  209. font:calc(9px * var(--scale-factor)) sans-serif;
  210. height:100%;
  211. margin:0;
  212. vertical-align:top;
  213. width:100%;
  214. }
  215. .annotationLayer .textWidgetAnnotation :is(input, textarea):required, .annotationLayer .choiceWidgetAnnotation select:required, .annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input:required{
  216. outline:1.5px solid red;
  217. }
  218. .annotationLayer .choiceWidgetAnnotation select option{
  219. padding:0;
  220. }
  221. .annotationLayer .buttonWidgetAnnotation.radioButton input{
  222. border-radius:50%;
  223. }
  224. .annotationLayer .textWidgetAnnotation textarea{
  225. resize:none;
  226. }
  227. .annotationLayer .textWidgetAnnotation [disabled]:is(input, textarea), .annotationLayer .choiceWidgetAnnotation select[disabled], .annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input[disabled]{
  228. background:none;
  229. border:2px solid var(--input-disabled-border-color);
  230. cursor:not-allowed;
  231. }
  232. .annotationLayer .textWidgetAnnotation :is(input, textarea):hover, .annotationLayer .choiceWidgetAnnotation select:hover, .annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input:hover{
  233. border:2px solid var(--input-hover-border-color);
  234. }
  235. .annotationLayer .textWidgetAnnotation :is(input, textarea):hover, .annotationLayer .choiceWidgetAnnotation select:hover, .annotationLayer .buttonWidgetAnnotation.checkBox input:hover{
  236. border-radius:2px;
  237. }
  238. .annotationLayer .textWidgetAnnotation :is(input, textarea):focus, .annotationLayer .choiceWidgetAnnotation select:focus{
  239. background:none;
  240. border:2px solid var(--input-focus-border-color);
  241. border-radius:2px;
  242. outline:var(--input-focus-outline);
  243. }
  244. .annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) :focus{
  245. background-image:none;
  246. background-color:transparent;
  247. }
  248. .annotationLayer .buttonWidgetAnnotation.checkBox :focus{
  249. border:2px solid var(--input-focus-border-color);
  250. border-radius:2px;
  251. outline:var(--input-focus-outline);
  252. }
  253. .annotationLayer .buttonWidgetAnnotation.radioButton :focus{
  254. border:2px solid var(--input-focus-border-color);
  255. outline:var(--input-focus-outline);
  256. }
  257. .annotationLayer .buttonWidgetAnnotation.checkBox input:checked::before,
  258. .annotationLayer .buttonWidgetAnnotation.checkBox input:checked::after,
  259. .annotationLayer .buttonWidgetAnnotation.radioButton input:checked::before{
  260. background-color:CanvasText;
  261. content:"";
  262. display:block;
  263. position:absolute;
  264. }
  265. .annotationLayer .buttonWidgetAnnotation.checkBox input:checked::before,
  266. .annotationLayer .buttonWidgetAnnotation.checkBox input:checked::after{
  267. height:80%;
  268. left:45%;
  269. width:1px;
  270. }
  271. .annotationLayer .buttonWidgetAnnotation.checkBox input:checked::before{
  272. transform:rotate(45deg);
  273. }
  274. .annotationLayer .buttonWidgetAnnotation.checkBox input:checked::after{
  275. transform:rotate(-45deg);
  276. }
  277. .annotationLayer .buttonWidgetAnnotation.radioButton input:checked::before{
  278. border-radius:50%;
  279. height:50%;
  280. left:25%;
  281. top:25%;
  282. width:50%;
  283. }
  284. .annotationLayer .textWidgetAnnotation input.comb{
  285. font-family:monospace;
  286. padding-left:2px;
  287. padding-right:0;
  288. }
  289. .annotationLayer .textWidgetAnnotation input.comb:focus{
  290. width:103%;
  291. }
  292. .annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input{
  293. -webkit-appearance:none;
  294. -moz-appearance:none;
  295. appearance:none;
  296. }
  297. .annotationLayer .fileAttachmentAnnotation .popupTriggerArea{
  298. height:100%;
  299. width:100%;
  300. }
  301. .annotationLayer .popupAnnotation{
  302. position:absolute;
  303. font-size:calc(9px * var(--scale-factor));
  304. pointer-events:none;
  305. width:-moz-max-content;
  306. width:max-content;
  307. max-width:45%;
  308. height:auto;
  309. }
  310. .annotationLayer .popup{
  311. background-color:rgb(255 255 153);
  312. box-shadow:0 calc(2px * var(--scale-factor)) calc(5px * var(--scale-factor)) rgb(136 136 136);
  313. border-radius:calc(2px * var(--scale-factor));
  314. outline:1.5px solid rgb(255 255 74);
  315. padding:calc(6px * var(--scale-factor));
  316. cursor:pointer;
  317. font:message-box;
  318. white-space:normal;
  319. word-wrap:break-word;
  320. pointer-events:auto;
  321. }
  322. .annotationLayer .popupAnnotation.focused .popup{
  323. outline-width:3px;
  324. }
  325. .annotationLayer .popup *{
  326. font-size:calc(9px * var(--scale-factor));
  327. }
  328. .annotationLayer .popup > .header{
  329. display:inline-block;
  330. }
  331. .annotationLayer .popup > .header h1{
  332. display:inline;
  333. }
  334. .annotationLayer .popup > .header .popupDate{
  335. display:inline-block;
  336. margin-left:calc(5px * var(--scale-factor));
  337. width:-moz-fit-content;
  338. width:fit-content;
  339. }
  340. .annotationLayer .popupContent{
  341. border-top:1px solid rgb(51 51 51);
  342. margin-top:calc(2px * var(--scale-factor));
  343. padding-top:calc(2px * var(--scale-factor));
  344. }
  345. .annotationLayer .richText > *{
  346. white-space:pre-wrap;
  347. font-size:calc(9px * var(--scale-factor));
  348. }
  349. .annotationLayer .popupTriggerArea{
  350. cursor:pointer;
  351. }
  352. .annotationLayer section svg{
  353. position:absolute;
  354. width:100%;
  355. height:100%;
  356. top:0;
  357. left:0;
  358. }
  359. .annotationLayer .annotationTextContent{
  360. position:absolute;
  361. width:100%;
  362. height:100%;
  363. opacity:0;
  364. color:transparent;
  365. -webkit-user-select:none;
  366. -moz-user-select:none;
  367. user-select:none;
  368. pointer-events:none;
  369. }
  370. .annotationLayer .annotationTextContent span{
  371. width:100%;
  372. display:inline-block;
  373. }
  374. .annotationLayer svg.quadrilateralsContainer{
  375. contain:strict;
  376. width:0;
  377. height:0;
  378. position:absolute;
  379. top:0;
  380. left:0;
  381. z-index:-1;
  382. }
  383. :root{
  384. --xfa-unfocused-field-background:url("data:image/svg+xml;charset=UTF-8,<svg width='1px' height='1px' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' style='fill:rgba(0, 54, 255, 0.13);'/></svg>");
  385. --xfa-focus-outline:auto;
  386. }
  387. @media screen and (forced-colors: active){
  388. :root{
  389. --xfa-focus-outline:2px solid CanvasText;
  390. }
  391. .xfaLayer *:required{
  392. outline:1.5px solid selectedItem;
  393. }
  394. }
  395. .xfaLayer{
  396. background-color:transparent;
  397. }
  398. .xfaLayer .highlight{
  399. margin:-1px;
  400. padding:1px;
  401. background-color:rgb(239 203 237);
  402. border-radius:4px;
  403. }
  404. .xfaLayer .highlight.appended{
  405. position:initial;
  406. }
  407. .xfaLayer .highlight.begin{
  408. border-radius:4px 0 0 4px;
  409. }
  410. .xfaLayer .highlight.end{
  411. border-radius:0 4px 4px 0;
  412. }
  413. .xfaLayer .highlight.middle{
  414. border-radius:0;
  415. }
  416. .xfaLayer .highlight.selected{
  417. background-color:rgb(203 223 203);
  418. }
  419. .xfaPage{
  420. overflow:hidden;
  421. position:relative;
  422. }
  423. .xfaContentarea{
  424. position:absolute;
  425. }
  426. .xfaPrintOnly{
  427. display:none;
  428. }
  429. .xfaLayer{
  430. position:absolute;
  431. text-align:initial;
  432. top:0;
  433. left:0;
  434. transform-origin:0 0;
  435. line-height:1.2;
  436. }
  437. .xfaLayer *{
  438. color:inherit;
  439. font:inherit;
  440. font-style:inherit;
  441. font-weight:inherit;
  442. font-kerning:inherit;
  443. letter-spacing:-0.01px;
  444. text-align:inherit;
  445. text-decoration:inherit;
  446. box-sizing:border-box;
  447. background-color:transparent;
  448. padding:0;
  449. margin:0;
  450. pointer-events:auto;
  451. line-height:inherit;
  452. }
  453. .xfaLayer *:required{
  454. outline:1.5px solid red;
  455. }
  456. .xfaLayer div,
  457. .xfaLayer svg,
  458. .xfaLayer svg *{
  459. pointer-events:none;
  460. }
  461. .xfaLayer a{
  462. color:blue;
  463. }
  464. .xfaRich li{
  465. margin-left:3em;
  466. }
  467. .xfaFont{
  468. color:black;
  469. font-weight:normal;
  470. font-kerning:none;
  471. font-size:10px;
  472. font-style:normal;
  473. letter-spacing:0;
  474. text-decoration:none;
  475. vertical-align:0;
  476. }
  477. .xfaCaption{
  478. overflow:hidden;
  479. flex:0 0 auto;
  480. }
  481. .xfaCaptionForCheckButton{
  482. overflow:hidden;
  483. flex:1 1 auto;
  484. }
  485. .xfaLabel{
  486. height:100%;
  487. width:100%;
  488. }
  489. .xfaLeft{
  490. display:flex;
  491. flex-direction:row;
  492. align-items:center;
  493. }
  494. .xfaRight{
  495. display:flex;
  496. flex-direction:row-reverse;
  497. align-items:center;
  498. }
  499. :is(.xfaLeft, .xfaRight) > :is(.xfaCaption, .xfaCaptionForCheckButton){
  500. max-height:100%;
  501. }
  502. .xfaTop{
  503. display:flex;
  504. flex-direction:column;
  505. align-items:flex-start;
  506. }
  507. .xfaBottom{
  508. display:flex;
  509. flex-direction:column-reverse;
  510. align-items:flex-start;
  511. }
  512. :is(.xfaTop, .xfaBottom) > :is(.xfaCaption, .xfaCaptionForCheckButton){
  513. width:100%;
  514. }
  515. .xfaBorder{
  516. background-color:transparent;
  517. position:absolute;
  518. pointer-events:none;
  519. }
  520. .xfaWrapped{
  521. width:100%;
  522. height:100%;
  523. }
  524. :is(.xfaTextfield, .xfaSelect):focus{
  525. background-image:none;
  526. background-color:transparent;
  527. outline:var(--xfa-focus-outline);
  528. outline-offset:-1px;
  529. }
  530. :is(.xfaCheckbox, .xfaRadio):focus{
  531. outline:var(--xfa-focus-outline);
  532. }
  533. .xfaTextfield,
  534. .xfaSelect{
  535. height:100%;
  536. width:100%;
  537. flex:1 1 auto;
  538. border:none;
  539. resize:none;
  540. background-image:var(--xfa-unfocused-field-background);
  541. }
  542. .xfaSelect{
  543. padding-inline:2px;
  544. }
  545. :is(.xfaTop, .xfaBottom) > :is(.xfaTextfield, .xfaSelect){
  546. flex:0 1 auto;
  547. }
  548. .xfaButton{
  549. cursor:pointer;
  550. width:100%;
  551. height:100%;
  552. border:none;
  553. text-align:center;
  554. }
  555. .xfaLink{
  556. width:100%;
  557. height:100%;
  558. position:absolute;
  559. top:0;
  560. left:0;
  561. }
  562. .xfaCheckbox,
  563. .xfaRadio{
  564. width:100%;
  565. height:100%;
  566. flex:0 0 auto;
  567. border:none;
  568. }
  569. .xfaRich{
  570. white-space:pre-wrap;
  571. width:100%;
  572. height:100%;
  573. }
  574. .xfaImage{
  575. -o-object-position:left top;
  576. object-position:left top;
  577. -o-object-fit:contain;
  578. object-fit:contain;
  579. width:100%;
  580. height:100%;
  581. }
  582. .xfaLrTb,
  583. .xfaRlTb,
  584. .xfaTb{
  585. display:flex;
  586. flex-direction:column;
  587. align-items:stretch;
  588. }
  589. .xfaLr{
  590. display:flex;
  591. flex-direction:row;
  592. align-items:stretch;
  593. }
  594. .xfaRl{
  595. display:flex;
  596. flex-direction:row-reverse;
  597. align-items:stretch;
  598. }
  599. .xfaTb > div{
  600. justify-content:left;
  601. }
  602. .xfaPosition{
  603. position:relative;
  604. }
  605. .xfaArea{
  606. position:relative;
  607. }
  608. .xfaValignMiddle{
  609. display:flex;
  610. align-items:center;
  611. }
  612. .xfaTable{
  613. display:flex;
  614. flex-direction:column;
  615. align-items:stretch;
  616. }
  617. .xfaTable .xfaRow{
  618. display:flex;
  619. flex-direction:row;
  620. align-items:stretch;
  621. }
  622. .xfaTable .xfaRlRow{
  623. display:flex;
  624. flex-direction:row-reverse;
  625. align-items:stretch;
  626. flex:1;
  627. }
  628. .xfaTable .xfaRlRow > div{
  629. flex:1;
  630. }
  631. :is(.xfaNonInteractive, .xfaDisabled, .xfaReadOnly) :is(input, textarea){
  632. background:initial;
  633. }
  634. @media print{
  635. .xfaTextfield,
  636. .xfaSelect{
  637. background:transparent;
  638. }
  639. .xfaSelect{
  640. -webkit-appearance:none;
  641. -moz-appearance:none;
  642. appearance:none;
  643. text-indent:1px;
  644. text-overflow:"";
  645. }
  646. }
  647. .canvasWrapper svg{
  648. transform:none;
  649. }
  650. .canvasWrapper svg[data-main-rotation="90"] use:not(.clip){
  651. transform:matrix(0, 1, -1, 0, 1, 0);
  652. }
  653. .canvasWrapper svg[data-main-rotation="180"] use:not(.clip){
  654. transform:matrix(-1, 0, 0, -1, 1, 1);
  655. }
  656. .canvasWrapper svg[data-main-rotation="270"] use:not(.clip){
  657. transform:matrix(0, -1, 1, 0, 0, 1);
  658. }
  659. .canvasWrapper svg.highlight{
  660. --blend-mode:multiply;
  661. position:absolute;
  662. mix-blend-mode:var(--blend-mode);
  663. fill-rule:evenodd;
  664. }
  665. @media screen and (forced-colors: active){
  666. .canvasWrapper svg.highlight{
  667. --blend-mode:difference;
  668. }
  669. }
  670. .canvasWrapper svg.highlightOutline{
  671. position:absolute;
  672. mix-blend-mode:normal;
  673. fill-rule:evenodd;
  674. fill:none;
  675. }
  676. .canvasWrapper svg.highlightOutline.hovered{
  677. stroke:var(--hover-outline-color);
  678. stroke-width:var(--outline-width);
  679. }
  680. .canvasWrapper svg.highlightOutline.selected .mainOutline{
  681. stroke:var(--outline-around-color);
  682. stroke-width:calc(
  683. var(--outline-width) + 2 * var(--outline-around-width)
  684. );
  685. }
  686. .canvasWrapper svg.highlightOutline.selected .secondaryOutline{
  687. stroke:var(--outline-color);
  688. stroke-width:var(--outline-width);
  689. }
  690. :root{
  691. --outline-width:2px;
  692. --outline-color:#0060df;
  693. --outline-around-width:1px;
  694. --outline-around-color:#f0f0f4;
  695. --hover-outline-around-color:var(--outline-around-color);
  696. --focus-outline:solid var(--outline-width) var(--outline-color);
  697. --unfocus-outline:solid var(--outline-width) transparent;
  698. --focus-outline-around:solid var(--outline-around-width) var(--outline-around-color);
  699. --hover-outline-color:#8f8f9d;
  700. --hover-outline:solid var(--outline-width) var(--hover-outline-color);
  701. --hover-outline-around:solid var(--outline-around-width) var(--hover-outline-around-color);
  702. --freetext-line-height:1.35;
  703. --freetext-padding:2px;
  704. --resizer-bg-color:var(--outline-color);
  705. --resizer-size:6px;
  706. --resizer-shift:calc(
  707. 0px - (var(--outline-width) + var(--resizer-size)) / 2 -
  708. var(--outline-around-width)
  709. );
  710. --editorFreeText-editing-cursor:text;
  711. --editorInk-editing-cursor:url(images/cursor-editorInk.svg) 0 16, pointer;
  712. }
  713. @media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 1.1dppx){
  714. :root{
  715. --editorFreeText-editing-cursor:url(images/cursor-editorFreeText.svg) 0 16, text;
  716. }
  717. }
  718. @media screen and (forced-colors: active){
  719. :root{
  720. --outline-color:CanvasText;
  721. --outline-around-color:ButtonFace;
  722. --resizer-bg-color:ButtonText;
  723. --hover-outline-color:Highlight;
  724. --hover-outline-around-color:SelectedItemText;
  725. }
  726. }
  727. [data-editor-rotation="90"]{
  728. transform:rotate(90deg);
  729. }
  730. [data-editor-rotation="180"]{
  731. transform:rotate(180deg);
  732. }
  733. [data-editor-rotation="270"]{
  734. transform:rotate(270deg);
  735. }
  736. .annotationEditorLayer{
  737. background:transparent;
  738. position:absolute;
  739. inset:0;
  740. font-size:calc(100px * var(--scale-factor));
  741. transform-origin:0 0;
  742. cursor:auto;
  743. z-index:4;
  744. }
  745. .annotationEditorLayer.waiting{
  746. content:"";
  747. cursor:wait;
  748. position:absolute;
  749. inset:0;
  750. width:100%;
  751. height:100%;
  752. }
  753. .annotationEditorLayer.disabled{
  754. pointer-events:none;
  755. }
  756. .annotationEditorLayer.freetextEditing{
  757. cursor:var(--editorFreeText-editing-cursor);
  758. }
  759. .annotationEditorLayer.inkEditing{
  760. cursor:var(--editorInk-editing-cursor);
  761. }
  762. .annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor){
  763. position:absolute;
  764. background:transparent;
  765. z-index:1;
  766. transform-origin:0 0;
  767. cursor:auto;
  768. max-width:100%;
  769. max-height:100%;
  770. border:var(--unfocus-outline);
  771. }
  772. .annotationEditorLayer .draggable.selectedEditor:is(.freeTextEditor, .inkEditor, .stampEditor){
  773. cursor:move;
  774. }
  775. .annotationEditorLayer .selectedEditor:is(.freeTextEditor, .inkEditor, .stampEditor){
  776. border:var(--focus-outline);
  777. outline:var(--focus-outline-around);
  778. }
  779. .annotationEditorLayer .selectedEditor:is(.freeTextEditor, .inkEditor, .stampEditor)::before{
  780. content:"";
  781. position:absolute;
  782. inset:0;
  783. border:var(--focus-outline-around);
  784. pointer-events:none;
  785. }
  786. .annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor):hover:not(.selectedEditor){
  787. border:var(--hover-outline);
  788. outline:var(--hover-outline-around);
  789. }
  790. .annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor):hover:not(.selectedEditor)::before{
  791. content:"";
  792. position:absolute;
  793. inset:0;
  794. border:var(--focus-outline-around);
  795. }
  796. .annotationEditorLayer
  797. :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar{
  798. --editor-toolbar-delete-image:url(images/editor-toolbar-delete.svg);
  799. --editor-toolbar-bg-color:#f0f0f4;
  800. --editor-toolbar-fg-color:#2e2e56;
  801. --editor-toolbar-border-color:#8f8f9d;
  802. --editor-toolbar-hover-border-color:var(--editor-toolbar-border-color);
  803. --editor-toolbar-hover-bg-color:#e0e0e6;
  804. --editor-toolbar-hover-fg-color:var(--editor-toolbar-fg-color);
  805. --editor-toolbar-hover-outline:none;
  806. --editor-toolbar-focus-outline-color:#0060df;
  807. --editor-toolbar-shadow:0 2px 6px 0 rgb(58 57 68 / 0.2);
  808. --editor-toolbar-vert-offset:6px;
  809. --editor-toolbar-height:28px;
  810. --editor-toolbar-padding:2px;
  811. display:flex;
  812. width:-moz-fit-content;
  813. width:fit-content;
  814. height:var(--editor-toolbar-height);
  815. flex-direction:column;
  816. justify-content:center;
  817. align-items:center;
  818. cursor:default;
  819. pointer-events:auto;
  820. box-sizing:content-box;
  821. padding:var(--editor-toolbar-padding);
  822. position:absolute;
  823. inset-inline-end:0;
  824. inset-block-start:calc(100% + var(--editor-toolbar-vert-offset));
  825. border-radius:6px;
  826. background-color:var(--editor-toolbar-bg-color);
  827. border:1px solid var(--editor-toolbar-border-color);
  828. box-shadow:var(--editor-toolbar-shadow);
  829. }
  830. @media (prefers-color-scheme: dark){
  831. :where(html:not(.is-light)) .annotationEditorLayer
  832. :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar{
  833. --editor-toolbar-bg-color:#2b2a33;
  834. --editor-toolbar-fg-color:#fbfbfe;
  835. --editor-toolbar-hover-bg-color:#52525e;
  836. --editor-toolbar-focus-outline-color:#0df;
  837. }
  838. }
  839. :where(html.is-dark) .annotationEditorLayer
  840. :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar{
  841. --editor-toolbar-bg-color:#2b2a33;
  842. --editor-toolbar-fg-color:#fbfbfe;
  843. --editor-toolbar-hover-bg-color:#52525e;
  844. --editor-toolbar-focus-outline-color:#0df;
  845. }
  846. @media screen and (forced-colors: active){
  847. .annotationEditorLayer
  848. :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar{
  849. --editor-toolbar-bg-color:ButtonFace;
  850. --editor-toolbar-fg-color:ButtonText;
  851. --editor-toolbar-border-color:ButtonText;
  852. --editor-toolbar-hover-border-color:AccentColor;
  853. --editor-toolbar-hover-bg-color:ButtonFace;
  854. --editor-toolbar-hover-fg-color:AccentColor;
  855. --editor-toolbar-hover-outline:2px solid var(--editor-toolbar-hover-border-color);
  856. --editor-toolbar-focus-outline-color:ButtonBorder;
  857. --editor-toolbar-shadow:none;
  858. }
  859. }
  860. .annotationEditorLayer
  861. :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar.hidden{
  862. display:none;
  863. }
  864. .annotationEditorLayer
  865. :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar:has(:focus-visible){
  866. border-color:transparent;
  867. }
  868. [dir="ltr"] .annotationEditorLayer
  869. :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar{
  870. transform-origin:100% 0;
  871. }
  872. [dir="rtl"] .annotationEditorLayer
  873. :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar{
  874. transform-origin:0 0;
  875. }
  876. .annotationEditorLayer
  877. :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar .buttons{
  878. display:flex;
  879. justify-content:center;
  880. align-items:center;
  881. gap:0;
  882. height:100%;
  883. }
  884. .annotationEditorLayer
  885. :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar .buttons .divider{
  886. width:1px;
  887. height:calc(
  888. 2 * var(--editor-toolbar-padding) + var(--editor-toolbar-height)
  889. );
  890. background-color:var(--editor-toolbar-border-color);
  891. display:inline-block;
  892. margin-inline:2px;
  893. }
  894. .annotationEditorLayer
  895. :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar .buttons .delete{
  896. width:var(--editor-toolbar-height);
  897. }
  898. .annotationEditorLayer
  899. :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar .buttons .delete::before{
  900. content:"";
  901. -webkit-mask-image:var(--editor-toolbar-delete-image);
  902. mask-image:var(--editor-toolbar-delete-image);
  903. -webkit-mask-repeat:no-repeat;
  904. mask-repeat:no-repeat;
  905. -webkit-mask-position:center;
  906. mask-position:center;
  907. display:inline-block;
  908. background-color:var(--editor-toolbar-fg-color);
  909. width:100%;
  910. height:100%;
  911. }
  912. .annotationEditorLayer
  913. :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar .buttons .delete:hover::before{
  914. background-color:var(--editor-toolbar-hover-fg-color);
  915. }
  916. .annotationEditorLayer
  917. :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar .buttons > *{
  918. height:var(--editor-toolbar-height);
  919. }
  920. .annotationEditorLayer
  921. :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar .buttons > :not(.divider){
  922. border:none;
  923. background-color:transparent;
  924. cursor:pointer;
  925. }
  926. .annotationEditorLayer
  927. :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar .buttons > :not(.divider):hover{
  928. border-radius:2px;
  929. background-color:var(--editor-toolbar-hover-bg-color);
  930. color:var(--editor-toolbar-hover-fg-color);
  931. outline:var(--editor-toolbar-hover-outline);
  932. outline-offset:1px;
  933. }
  934. .annotationEditorLayer
  935. :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar .buttons > :not(.divider):hover:active{
  936. outline:none;
  937. }
  938. .annotationEditorLayer
  939. :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar .buttons > :not(.divider):focus-visible{
  940. border-radius:2px;
  941. outline:2px solid var(--editor-toolbar-focus-outline-color);
  942. }
  943. .annotationEditorLayer
  944. :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar .buttons .altText{
  945. --alt-text-add-image:url(images/altText_add.svg);
  946. --alt-text-done-image:url(images/altText_done.svg);
  947. display:flex;
  948. align-items:center;
  949. justify-content:center;
  950. width:-moz-max-content;
  951. width:max-content;
  952. padding-inline:8px;
  953. pointer-events:all;
  954. font:menu;
  955. font-weight:590;
  956. font-size:12px;
  957. color:var(--editor-toolbar-fg-color);
  958. }
  959. .annotationEditorLayer
  960. :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar .buttons .altText:disabled{
  961. pointer-events:none;
  962. }
  963. .annotationEditorLayer
  964. :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar .buttons .altText::before{
  965. content:"";
  966. -webkit-mask-image:var(--alt-text-add-image);
  967. mask-image:var(--alt-text-add-image);
  968. -webkit-mask-repeat:no-repeat;
  969. mask-repeat:no-repeat;
  970. -webkit-mask-position:center;
  971. mask-position:center;
  972. display:inline-block;
  973. width:12px;
  974. height:13px;
  975. background-color:var(--editor-toolbar-fg-color);
  976. margin-inline-end:4px;
  977. }
  978. .annotationEditorLayer
  979. :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar .buttons .altText:hover::before{
  980. background-color:var(--editor-toolbar-hover-fg-color);
  981. }
  982. .annotationEditorLayer
  983. :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar .buttons .altText.done::before{
  984. -webkit-mask-image:var(--alt-text-done-image);
  985. mask-image:var(--alt-text-done-image);
  986. }
  987. .annotationEditorLayer
  988. :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar .buttons .altText .tooltip{
  989. display:none;
  990. }
  991. .annotationEditorLayer
  992. :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar .buttons .altText .tooltip.show{
  993. --alt-text-tooltip-bg:#f0f0f4;
  994. --alt-text-tooltip-fg:#15141a;
  995. --alt-text-tooltip-border:#8f8f9d;
  996. --alt-text-tooltip-shadow:0px 2px 6px 0px rgb(58 57 68 / 0.2);
  997. display:inline-flex;
  998. flex-direction:column;
  999. align-items:center;
  1000. justify-content:center;
  1001. position:absolute;
  1002. top:calc(100% + 2px);
  1003. inset-inline-start:0;
  1004. padding-block:2px 3px;
  1005. padding-inline:3px;
  1006. max-width:300px;
  1007. width:-moz-max-content;
  1008. width:max-content;
  1009. height:auto;
  1010. font-size:12px;
  1011. border:0.5px solid var(--alt-text-tooltip-border);
  1012. background:var(--alt-text-tooltip-bg);
  1013. box-shadow:var(--alt-text-tooltip-shadow);
  1014. color:var(--alt-text-tooltip-fg);
  1015. pointer-events:none;
  1016. }
  1017. @media (prefers-color-scheme: dark){
  1018. :where(html:not(.is-light)) .annotationEditorLayer
  1019. :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar .buttons .altText .tooltip.show{
  1020. --alt-text-tooltip-bg:#1c1b22;
  1021. --alt-text-tooltip-fg:#fbfbfe;
  1022. --alt-text-tooltip-shadow:0px 2px 6px 0px #15141a;
  1023. }
  1024. }
  1025. :where(html.is-dark) .annotationEditorLayer
  1026. :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar .buttons .altText .tooltip.show{
  1027. --alt-text-tooltip-bg:#1c1b22;
  1028. --alt-text-tooltip-fg:#fbfbfe;
  1029. --alt-text-tooltip-shadow:0px 2px 6px 0px #15141a;
  1030. }
  1031. @media screen and (forced-colors: active){
  1032. .annotationEditorLayer
  1033. :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar .buttons .altText .tooltip.show{
  1034. --alt-text-tooltip-bg:Canvas;
  1035. --alt-text-tooltip-fg:CanvasText;
  1036. --alt-text-tooltip-border:CanvasText;
  1037. --alt-text-tooltip-shadow:none;
  1038. }
  1039. }
  1040. .annotationEditorLayer .freeTextEditor{
  1041. padding:calc(var(--freetext-padding) * var(--scale-factor));
  1042. width:auto;
  1043. height:auto;
  1044. touch-action:none;
  1045. }
  1046. .annotationEditorLayer .freeTextEditor .internal{
  1047. background:transparent;
  1048. border:none;
  1049. inset:0;
  1050. overflow:visible;
  1051. white-space:nowrap;
  1052. font:10px sans-serif;
  1053. line-height:var(--freetext-line-height);
  1054. -webkit-user-select:none;
  1055. -moz-user-select:none;
  1056. user-select:none;
  1057. }
  1058. .annotationEditorLayer .freeTextEditor .overlay{
  1059. position:absolute;
  1060. display:none;
  1061. background:transparent;
  1062. inset:0;
  1063. width:100%;
  1064. height:100%;
  1065. }
  1066. .annotationEditorLayer freeTextEditor .overlay.enabled{
  1067. display:block;
  1068. }
  1069. .annotationEditorLayer .freeTextEditor .internal:empty::before{
  1070. content:attr(default-content);
  1071. color:gray;
  1072. }
  1073. .annotationEditorLayer .freeTextEditor .internal:focus{
  1074. outline:none;
  1075. -webkit-user-select:auto;
  1076. -moz-user-select:auto;
  1077. user-select:auto;
  1078. }
  1079. .annotationEditorLayer .inkEditor{
  1080. width:100%;
  1081. height:100%;
  1082. }
  1083. .annotationEditorLayer .inkEditor.editing{
  1084. cursor:inherit;
  1085. }
  1086. .annotationEditorLayer .inkEditor .inkEditorCanvas{
  1087. position:absolute;
  1088. inset:0;
  1089. width:100%;
  1090. height:100%;
  1091. touch-action:none;
  1092. }
  1093. .annotationEditorLayer .stampEditor{
  1094. width:auto;
  1095. height:auto;
  1096. }
  1097. .annotationEditorLayer .stampEditor canvas{
  1098. width:100%;
  1099. height:100%;
  1100. }
  1101. .annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers{
  1102. position:absolute;
  1103. inset:0;
  1104. }
  1105. .annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers.hidden{
  1106. display:none;
  1107. }
  1108. .annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers > .resizer{
  1109. width:var(--resizer-size);
  1110. height:var(--resizer-size);
  1111. background:content-box var(--resizer-bg-color);
  1112. border:var(--focus-outline-around);
  1113. border-radius:2px;
  1114. position:absolute;
  1115. }
  1116. .annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers > .resizer.topLeft{
  1117. top:var(--resizer-shift);
  1118. left:var(--resizer-shift);
  1119. }
  1120. .annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers > .resizer.topMiddle{
  1121. top:var(--resizer-shift);
  1122. left:calc(50% + var(--resizer-shift));
  1123. }
  1124. .annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers > .resizer.topRight{
  1125. top:var(--resizer-shift);
  1126. right:var(--resizer-shift);
  1127. }
  1128. .annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers > .resizer.middleRight{
  1129. top:calc(50% + var(--resizer-shift));
  1130. right:var(--resizer-shift);
  1131. }
  1132. .annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers > .resizer.bottomRight{
  1133. bottom:var(--resizer-shift);
  1134. right:var(--resizer-shift);
  1135. }
  1136. .annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers > .resizer.bottomMiddle{
  1137. bottom:var(--resizer-shift);
  1138. left:calc(50% + var(--resizer-shift));
  1139. }
  1140. .annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers > .resizer.bottomLeft{
  1141. bottom:var(--resizer-shift);
  1142. left:var(--resizer-shift);
  1143. }
  1144. .annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers > .resizer.middleLeft{
  1145. top:calc(50% + var(--resizer-shift));
  1146. left:var(--resizer-shift);
  1147. }
  1148. .annotationEditorLayer[data-main-rotation="0"]
  1149. :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.topLeft,
  1150. .annotationEditorLayer[data-main-rotation="90"]
  1151. :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.topLeft,
  1152. .annotationEditorLayer[data-main-rotation="180"]
  1153. :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.topLeft,
  1154. .annotationEditorLayer[data-main-rotation="270"]
  1155. :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.topLeft,
  1156. .annotationEditorLayer[data-main-rotation="0"]
  1157. :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.bottomRight,
  1158. .annotationEditorLayer[data-main-rotation="90"]
  1159. :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.bottomRight,
  1160. .annotationEditorLayer[data-main-rotation="180"]
  1161. :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.bottomRight,
  1162. .annotationEditorLayer[data-main-rotation="270"]
  1163. :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.bottomRight{
  1164. cursor:nwse-resize;
  1165. }
  1166. .annotationEditorLayer[data-main-rotation="0"]
  1167. :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.topMiddle,
  1168. .annotationEditorLayer[data-main-rotation="90"]
  1169. :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.topMiddle,
  1170. .annotationEditorLayer[data-main-rotation="180"]
  1171. :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.topMiddle,
  1172. .annotationEditorLayer[data-main-rotation="270"]
  1173. :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.topMiddle,
  1174. .annotationEditorLayer[data-main-rotation="0"]
  1175. :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.bottomMiddle,
  1176. .annotationEditorLayer[data-main-rotation="90"]
  1177. :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.bottomMiddle,
  1178. .annotationEditorLayer[data-main-rotation="180"]
  1179. :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.bottomMiddle,
  1180. .annotationEditorLayer[data-main-rotation="270"]
  1181. :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.bottomMiddle{
  1182. cursor:ns-resize;
  1183. }
  1184. .annotationEditorLayer[data-main-rotation="0"]
  1185. :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.topRight,
  1186. .annotationEditorLayer[data-main-rotation="90"]
  1187. :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.topRight,
  1188. .annotationEditorLayer[data-main-rotation="180"]
  1189. :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.topRight,
  1190. .annotationEditorLayer[data-main-rotation="270"]
  1191. :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.topRight,
  1192. .annotationEditorLayer[data-main-rotation="0"]
  1193. :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.bottomLeft,
  1194. .annotationEditorLayer[data-main-rotation="90"]
  1195. :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.bottomLeft,
  1196. .annotationEditorLayer[data-main-rotation="180"]
  1197. :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.bottomLeft,
  1198. .annotationEditorLayer[data-main-rotation="270"]
  1199. :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.bottomLeft{
  1200. cursor:nesw-resize;
  1201. }
  1202. .annotationEditorLayer[data-main-rotation="0"]
  1203. :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.middleRight,
  1204. .annotationEditorLayer[data-main-rotation="90"]
  1205. :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.middleRight,
  1206. .annotationEditorLayer[data-main-rotation="180"]
  1207. :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.middleRight,
  1208. .annotationEditorLayer[data-main-rotation="270"]
  1209. :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.middleRight,
  1210. .annotationEditorLayer[data-main-rotation="0"]
  1211. :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.middleLeft,
  1212. .annotationEditorLayer[data-main-rotation="90"]
  1213. :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.middleLeft,
  1214. .annotationEditorLayer[data-main-rotation="180"]
  1215. :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.middleLeft,
  1216. .annotationEditorLayer[data-main-rotation="270"]
  1217. :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.middleLeft{
  1218. cursor:ew-resize;
  1219. }
  1220. .annotationEditorLayer[data-main-rotation="0"]
  1221. :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.topLeft,
  1222. .annotationEditorLayer[data-main-rotation="90"]
  1223. :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.topLeft,
  1224. .annotationEditorLayer[data-main-rotation="180"]
  1225. :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.topLeft,
  1226. .annotationEditorLayer[data-main-rotation="270"]
  1227. :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.topLeft,
  1228. .annotationEditorLayer[data-main-rotation="0"]
  1229. :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.bottomRight,
  1230. .annotationEditorLayer[data-main-rotation="90"]
  1231. :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.bottomRight,
  1232. .annotationEditorLayer[data-main-rotation="180"]
  1233. :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.bottomRight,
  1234. .annotationEditorLayer[data-main-rotation="270"]
  1235. :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.bottomRight{
  1236. cursor:nesw-resize;
  1237. }
  1238. .annotationEditorLayer[data-main-rotation="0"]
  1239. :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.topMiddle,
  1240. .annotationEditorLayer[data-main-rotation="90"]
  1241. :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.topMiddle,
  1242. .annotationEditorLayer[data-main-rotation="180"]
  1243. :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.topMiddle,
  1244. .annotationEditorLayer[data-main-rotation="270"]
  1245. :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.topMiddle,
  1246. .annotationEditorLayer[data-main-rotation="0"]
  1247. :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.bottomMiddle,
  1248. .annotationEditorLayer[data-main-rotation="90"]
  1249. :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.bottomMiddle,
  1250. .annotationEditorLayer[data-main-rotation="180"]
  1251. :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.bottomMiddle,
  1252. .annotationEditorLayer[data-main-rotation="270"]
  1253. :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.bottomMiddle{
  1254. cursor:ew-resize;
  1255. }
  1256. .annotationEditorLayer[data-main-rotation="0"]
  1257. :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.topRight,
  1258. .annotationEditorLayer[data-main-rotation="90"]
  1259. :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.topRight,
  1260. .annotationEditorLayer[data-main-rotation="180"]
  1261. :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.topRight,
  1262. .annotationEditorLayer[data-main-rotation="270"]
  1263. :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.topRight,
  1264. .annotationEditorLayer[data-main-rotation="0"]
  1265. :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.bottomLeft,
  1266. .annotationEditorLayer[data-main-rotation="90"]
  1267. :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.bottomLeft,
  1268. .annotationEditorLayer[data-main-rotation="180"]
  1269. :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.bottomLeft,
  1270. .annotationEditorLayer[data-main-rotation="270"]
  1271. :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.bottomLeft{
  1272. cursor:nwse-resize;
  1273. }
  1274. .annotationEditorLayer[data-main-rotation="0"]
  1275. :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.middleRight,
  1276. .annotationEditorLayer[data-main-rotation="90"]
  1277. :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.middleRight,
  1278. .annotationEditorLayer[data-main-rotation="180"]
  1279. :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.middleRight,
  1280. .annotationEditorLayer[data-main-rotation="270"]
  1281. :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.middleRight,
  1282. .annotationEditorLayer[data-main-rotation="0"]
  1283. :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.middleLeft,
  1284. .annotationEditorLayer[data-main-rotation="90"]
  1285. :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.middleLeft,
  1286. .annotationEditorLayer[data-main-rotation="180"]
  1287. :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.middleLeft,
  1288. .annotationEditorLayer[data-main-rotation="270"]
  1289. :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.middleLeft{
  1290. cursor:ns-resize;
  1291. }
  1292. .annotationEditorLayer
  1293. :is(
  1294. [data-main-rotation="0"] [data-editor-rotation="90"],
  1295. [data-main-rotation="90"] [data-editor-rotation="0"],
  1296. [data-main-rotation="180"] [data-editor-rotation="270"],
  1297. [data-main-rotation="270"] [data-editor-rotation="180"]
  1298. ) .editToolbar{
  1299. rotate:270deg;
  1300. }
  1301. [dir="ltr"] .annotationEditorLayer
  1302. :is(
  1303. [data-main-rotation="0"] [data-editor-rotation="90"],
  1304. [data-main-rotation="90"] [data-editor-rotation="0"],
  1305. [data-main-rotation="180"] [data-editor-rotation="270"],
  1306. [data-main-rotation="270"] [data-editor-rotation="180"]
  1307. ) .editToolbar{
  1308. inset-inline-end:calc(0px - var(--editor-toolbar-vert-offset));
  1309. inset-block-start:0;
  1310. }
  1311. [dir="rtl"] .annotationEditorLayer
  1312. :is(
  1313. [data-main-rotation="0"] [data-editor-rotation="90"],
  1314. [data-main-rotation="90"] [data-editor-rotation="0"],
  1315. [data-main-rotation="180"] [data-editor-rotation="270"],
  1316. [data-main-rotation="270"] [data-editor-rotation="180"]
  1317. ) .editToolbar{
  1318. inset-inline-end:calc(100% + var(--editor-toolbar-vert-offset));
  1319. inset-block-start:0;
  1320. }
  1321. .annotationEditorLayer
  1322. :is(
  1323. [data-main-rotation="0"] [data-editor-rotation="180"],
  1324. [data-main-rotation="90"] [data-editor-rotation="90"],
  1325. [data-main-rotation="180"] [data-editor-rotation="0"],
  1326. [data-main-rotation="270"] [data-editor-rotation="270"]
  1327. ) .editToolbar{
  1328. rotate:180deg;
  1329. inset-inline-end:100%;
  1330. inset-block-start:calc(0pc - var(--editor-toolbar-vert-offset));
  1331. }
  1332. .annotationEditorLayer
  1333. :is(
  1334. [data-main-rotation="0"] [data-editor-rotation="270"],
  1335. [data-main-rotation="90"] [data-editor-rotation="180"],
  1336. [data-main-rotation="180"] [data-editor-rotation="90"],
  1337. [data-main-rotation="270"] [data-editor-rotation="0"]
  1338. ) .editToolbar{
  1339. rotate:90deg;
  1340. }
  1341. [dir="ltr"] .annotationEditorLayer
  1342. :is(
  1343. [data-main-rotation="0"] [data-editor-rotation="270"],
  1344. [data-main-rotation="90"] [data-editor-rotation="180"],
  1345. [data-main-rotation="180"] [data-editor-rotation="90"],
  1346. [data-main-rotation="270"] [data-editor-rotation="0"]
  1347. ) .editToolbar{
  1348. inset-inline-end:calc(100% + var(--editor-toolbar-vert-offset));
  1349. inset-block-start:100%;
  1350. }
  1351. [dir="rtl"] .annotationEditorLayer
  1352. :is(
  1353. [data-main-rotation="0"] [data-editor-rotation="270"],
  1354. [data-main-rotation="90"] [data-editor-rotation="180"],
  1355. [data-main-rotation="180"] [data-editor-rotation="90"],
  1356. [data-main-rotation="270"] [data-editor-rotation="0"]
  1357. ) .editToolbar{
  1358. inset-inline-start:calc(0px - var(--editor-toolbar-vert-offset));
  1359. inset-block-start:0;
  1360. }
  1361. #altTextDialog{
  1362. --dialog-bg-color:white;
  1363. --dialog-border-color:white;
  1364. --dialog-shadow:0 2px 14px 0 rgb(58 57 68 / 0.2);
  1365. --text-primary-color:#15141a;
  1366. --text-secondary-color:#5b5b66;
  1367. --hover-filter:brightness(0.9);
  1368. --focus-ring-color:#0060df;
  1369. --focus-ring-outline:2px solid var(--focus-ring-color);
  1370. --textarea-border-color:#8f8f9d;
  1371. --textarea-bg-color:white;
  1372. --textarea-fg-color:var(--text-secondary-color);
  1373. --radio-bg-color:#f0f0f4;
  1374. --radio-checked-bg-color:#fbfbfe;
  1375. --radio-border-color:#8f8f9d;
  1376. --radio-checked-border-color:#0060df;
  1377. --button-cancel-bg-color:#f0f0f4;
  1378. --button-cancel-fg-color:var(--text-primary-color);
  1379. --button-cancel-border-color:var(--button-cancel-bg-color);
  1380. --button-cancel-hover-bg-color:var(--button-cancel-bg-color);
  1381. --button-cancel-hover-fg-color:var(--button-cancel-fg-color);
  1382. --button-cancel-hover-border-color:var(--button-cancel-hover-bg-color);
  1383. --button-save-bg-color:#0060df;
  1384. --button-save-fg-color:#fbfbfe;
  1385. --button-save-hover-bg-color:var(--button-save-bg-color);
  1386. --button-save-hover-fg-color:var(--button-save-fg-color);
  1387. --button-save-hover-border-color:var(--button-save-hover-bg-color);
  1388. font:message-box;
  1389. font-size:13px;
  1390. font-weight:400;
  1391. line-height:150%;
  1392. border-radius:4px;
  1393. padding:12px 16px;
  1394. border:1px solid var(--dialog-border-color);
  1395. background:var(--dialog-bg-color);
  1396. color:var(--text-primary-color);
  1397. box-shadow:var(--dialog-shadow);
  1398. }
  1399. @media (prefers-color-scheme: dark){
  1400. :where(html:not(.is-light)) #altTextDialog{
  1401. --dialog-bg-color:#1c1b22;
  1402. --dialog-border-color:#1c1b22;
  1403. --dialog-shadow:0 2px 14px 0 #15141a;
  1404. --text-primary-color:#fbfbfe;
  1405. --text-secondary-color:#cfcfd8;
  1406. --focus-ring-color:#0df;
  1407. --hover-filter:brightness(1.4);
  1408. --textarea-bg-color:#42414d;
  1409. --radio-bg-color:#2b2a33;
  1410. --radio-checked-bg-color:#15141a;
  1411. --radio-checked-border-color:#0df;
  1412. --button-cancel-bg-color:#2b2a33;
  1413. --button-save-bg-color:#0df;
  1414. --button-save-fg-color:#15141a;
  1415. }
  1416. }
  1417. :where(html.is-dark) #altTextDialog{
  1418. --dialog-bg-color:#1c1b22;
  1419. --dialog-border-color:#1c1b22;
  1420. --dialog-shadow:0 2px 14px 0 #15141a;
  1421. --text-primary-color:#fbfbfe;
  1422. --text-secondary-color:#cfcfd8;
  1423. --focus-ring-color:#0df;
  1424. --hover-filter:brightness(1.4);
  1425. --textarea-bg-color:#42414d;
  1426. --radio-bg-color:#2b2a33;
  1427. --radio-checked-bg-color:#15141a;
  1428. --radio-checked-border-color:#0df;
  1429. --button-cancel-bg-color:#2b2a33;
  1430. --button-save-bg-color:#0df;
  1431. --button-save-fg-color:#15141a;
  1432. }
  1433. @media screen and (forced-colors: active){
  1434. #altTextDialog{
  1435. --dialog-bg-color:Canvas;
  1436. --dialog-border-color:CanvasText;
  1437. --dialog-shadow:none;
  1438. --text-primary-color:CanvasText;
  1439. --text-secondary-color:CanvasText;
  1440. --hover-filter:none;
  1441. --focus-ring-color:ButtonBorder;
  1442. --textarea-border-color:ButtonBorder;
  1443. --textarea-bg-color:Field;
  1444. --textarea-fg-color:ButtonText;
  1445. --radio-bg-color:ButtonFace;
  1446. --radio-checked-bg-color:ButtonFace;
  1447. --radio-border-color:ButtonText;
  1448. --radio-checked-border-color:ButtonText;
  1449. --button-cancel-bg-color:ButtonFace;
  1450. --button-cancel-fg-color:ButtonText;
  1451. --button-cancel-border-color:ButtonText;
  1452. --button-cancel-hover-bg-color:AccentColor;
  1453. --button-cancel-hover-fg-color:AccentColorText;
  1454. --button-save-bg-color:ButtonText;
  1455. --button-save-fg-color:ButtonFace;
  1456. --button-save-hover-bg-color:AccentColor;
  1457. --button-save-hover-fg-color:AccentColorText;
  1458. }
  1459. }
  1460. #altTextDialog::backdrop{
  1461. -webkit-mask:url(#alttext-manager-mask);
  1462. mask:url(#alttext-manager-mask);
  1463. }
  1464. #altTextDialog.positioned{
  1465. margin:0;
  1466. }
  1467. #altTextDialog #altTextContainer{
  1468. width:300px;
  1469. height:-moz-fit-content;
  1470. height:fit-content;
  1471. display:inline-flex;
  1472. flex-direction:column;
  1473. align-items:flex-start;
  1474. gap:16px;
  1475. }
  1476. #altTextDialog #altTextContainer *:focus-visible{
  1477. outline:var(--focus-ring-outline);
  1478. outline-offset:2px;
  1479. }
  1480. #altTextDialog #altTextContainer .radio{
  1481. display:flex;
  1482. flex-direction:column;
  1483. align-items:flex-start;
  1484. gap:4px;
  1485. }
  1486. #altTextDialog #altTextContainer .radio .radioButton{
  1487. display:flex;
  1488. gap:8px;
  1489. align-self:stretch;
  1490. align-items:center;
  1491. }
  1492. #altTextDialog #altTextContainer .radio .radioButton input{
  1493. -webkit-appearance:none;
  1494. -moz-appearance:none;
  1495. appearance:none;
  1496. box-sizing:border-box;
  1497. width:16px;
  1498. height:16px;
  1499. border-radius:50%;
  1500. background-color:var(--radio-bg-color);
  1501. border:1px solid var(--radio-border-color);
  1502. }
  1503. #altTextDialog #altTextContainer .radio .radioButton input:hover{
  1504. filter:var(--hover-filter);
  1505. }
  1506. #altTextDialog #altTextContainer .radio .radioButton input:checked{
  1507. background-color:var(--radio-checked-bg-color);
  1508. border:4px solid var(--radio-checked-border-color);
  1509. }
  1510. #altTextDialog #altTextContainer .radio .radioLabel{
  1511. display:flex;
  1512. padding-inline-start:24px;
  1513. align-items:flex-start;
  1514. gap:10px;
  1515. align-self:stretch;
  1516. }
  1517. #altTextDialog #altTextContainer .radio .radioLabel span{
  1518. flex:1 0 0;
  1519. font-size:11px;
  1520. color:var(--text-secondary-color);
  1521. }
  1522. #altTextDialog #altTextContainer #overallDescription{
  1523. display:flex;
  1524. flex-direction:column;
  1525. align-items:flex-start;
  1526. gap:4px;
  1527. align-self:stretch;
  1528. }
  1529. #altTextDialog #altTextContainer #overallDescription span{
  1530. align-self:stretch;
  1531. }
  1532. #altTextDialog #altTextContainer #overallDescription .title{
  1533. font-size:13px;
  1534. font-style:normal;
  1535. font-weight:590;
  1536. }
  1537. #altTextDialog #altTextContainer #addDescription{
  1538. display:flex;
  1539. flex-direction:column;
  1540. align-items:stretch;
  1541. gap:8px;
  1542. }
  1543. #altTextDialog #altTextContainer #addDescription .descriptionArea{
  1544. flex:1;
  1545. padding-inline:24px 10px;
  1546. }
  1547. #altTextDialog #altTextContainer #addDescription .descriptionArea textarea{
  1548. font:inherit;
  1549. width:100%;
  1550. min-height:75px;
  1551. padding:8px;
  1552. resize:none;
  1553. margin:0;
  1554. box-sizing:border-box;
  1555. border-radius:4px;
  1556. border:1px solid var(--textarea-border-color);
  1557. background:var(--textarea-bg-color);
  1558. color:var(--textarea-fg-color);
  1559. }
  1560. #altTextDialog #altTextContainer #addDescription .descriptionArea textarea:focus{
  1561. outline-offset:0;
  1562. border-color:transparent;
  1563. }
  1564. #altTextDialog #altTextContainer #addDescription .descriptionArea textarea:disabled{
  1565. pointer-events:none;
  1566. opacity:0.4;
  1567. }
  1568. #altTextDialog #altTextContainer #buttons{
  1569. display:flex;
  1570. justify-content:flex-end;
  1571. align-items:flex-start;
  1572. gap:8px;
  1573. align-self:stretch;
  1574. }
  1575. #altTextDialog #altTextContainer #buttons button{
  1576. border-radius:4px;
  1577. border:1px solid;
  1578. font:menu;
  1579. font-weight:600;
  1580. padding:4px 16px;
  1581. width:auto;
  1582. height:32px;
  1583. }
  1584. #altTextDialog #altTextContainer #buttons button:hover{
  1585. cursor:pointer;
  1586. filter:var(--hover-filter);
  1587. }
  1588. #altTextDialog #altTextContainer #buttons button#altTextCancel{
  1589. color:var(--button-cancel-fg-color);
  1590. background-color:var(--button-cancel-bg-color);
  1591. border-color:var(--button-cancel-border-color);
  1592. }
  1593. #altTextDialog #altTextContainer #buttons button#altTextCancel:hover{
  1594. color:var(--button-cancel-hover-fg-color);
  1595. background-color:var(--button-cancel-hover-bg-color);
  1596. border-color:var(--button-cancel-hover-border-color);
  1597. }
  1598. #altTextDialog #altTextContainer #buttons button#altTextSave{
  1599. color:var(--button-save-hover-fg-color);
  1600. background-color:var(--button-save-hover-bg-color);
  1601. border-color:var(--button-save-hover-border-color);
  1602. opacity:1;
  1603. }
  1604. #altTextDialog #altTextContainer #buttons button#altTextSave:hover{
  1605. color:var(--button-save-hover-fg-color);
  1606. background-color:var(--button-save-hover-bg-color);
  1607. border-color:var(--button-save-hover-border-color);
  1608. }
  1609. .colorPicker{
  1610. --hover-outline-color:#0250bb;
  1611. --selected-outline-color:#0060df;
  1612. --swatch-border-color:#cfcfd8;
  1613. }
  1614. @media (prefers-color-scheme: dark){
  1615. :where(html:not(.is-light)) .colorPicker{
  1616. --hover-outline-color:#80ebff;
  1617. --selected-outline-color:#aaf2ff;
  1618. --swatch-border-color:#52525e;
  1619. }
  1620. }
  1621. :where(html.is-dark) .colorPicker{
  1622. --hover-outline-color:#80ebff;
  1623. --selected-outline-color:#aaf2ff;
  1624. --swatch-border-color:#52525e;
  1625. }
  1626. @media screen and (forced-colors: active){
  1627. .colorPicker{
  1628. --hover-outline-color:Highlight;
  1629. --selected-outline-color:var(--hover-outline-color);
  1630. --swatch-border-color:ButtonText;
  1631. }
  1632. }
  1633. .colorPicker .swatch{
  1634. width:16px;
  1635. height:16px;
  1636. border:1px solid var(--swatch-border-color);
  1637. border-radius:100%;
  1638. outline-offset:2px;
  1639. box-sizing:border-box;
  1640. forced-color-adjust:none;
  1641. }
  1642. .colorPicker button:is(:hover, .selected) > .swatch{
  1643. border:none;
  1644. }
  1645. .annotationEditorLayer[data-main-rotation="0"] .highlightEditor > .editToolbar{
  1646. rotate:0deg;
  1647. }
  1648. .annotationEditorLayer[data-main-rotation="90"] .highlightEditor > .editToolbar{
  1649. rotate:270deg;
  1650. }
  1651. .annotationEditorLayer[data-main-rotation="180"] .highlightEditor > .editToolbar{
  1652. rotate:180deg;
  1653. }
  1654. .annotationEditorLayer[data-main-rotation="270"] .highlightEditor > .editToolbar{
  1655. rotate:90deg;
  1656. }
  1657. .annotationEditorLayer .highlightEditor{
  1658. position:absolute;
  1659. background:transparent;
  1660. z-index:1;
  1661. transform-origin:0 0;
  1662. cursor:auto;
  1663. max-width:100%;
  1664. max-height:100%;
  1665. border:none;
  1666. outline:none;
  1667. pointer-events:none;
  1668. transform:none;
  1669. }
  1670. .annotationEditorLayer .highlightEditor .internal{
  1671. position:absolute;
  1672. top:0;
  1673. left:0;
  1674. width:100%;
  1675. height:100%;
  1676. pointer-events:auto;
  1677. }
  1678. .annotationEditorLayer .highlightEditor.disabled .internal{
  1679. pointer-events:none;
  1680. }
  1681. .annotationEditorLayer .highlightEditor.selectedEditor .internal{
  1682. cursor:pointer;
  1683. }
  1684. .annotationEditorLayer .highlightEditor .editToolbar{
  1685. --editor-toolbar-colorpicker-arrow-image:url(images/toolbarButton-menuArrow.svg);
  1686. transform-origin:center !important;
  1687. }
  1688. .annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker{
  1689. position:relative;
  1690. width:auto;
  1691. display:flex;
  1692. justify-content:center;
  1693. align-items:center;
  1694. gap:4px;
  1695. padding:4px;
  1696. }
  1697. .annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker::after{
  1698. content:"";
  1699. -webkit-mask-image:var(--editor-toolbar-colorpicker-arrow-image);
  1700. mask-image:var(--editor-toolbar-colorpicker-arrow-image);
  1701. -webkit-mask-repeat:no-repeat;
  1702. mask-repeat:no-repeat;
  1703. -webkit-mask-position:center;
  1704. mask-position:center;
  1705. display:inline-block;
  1706. background-color:var(--editor-toolbar-fg-color);
  1707. width:12px;
  1708. height:12px;
  1709. }
  1710. .annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker:hover::after{
  1711. background-color:var(--editor-toolbar-hover-fg-color);
  1712. }
  1713. .annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker:has(.dropdown:not(.hidden)){
  1714. background-color:var(--editor-toolbar-hover-bg-color);
  1715. }
  1716. .annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker .dropdown{
  1717. position:absolute;
  1718. display:flex;
  1719. justify-content:center;
  1720. align-items:center;
  1721. flex-direction:column;
  1722. gap:11px;
  1723. padding-block:8px;
  1724. border-radius:6px;
  1725. background-color:var(--editor-toolbar-bg-color);
  1726. border:1px solid var(--editor-toolbar-border-color);
  1727. box-shadow:var(--editor-toolbar-shadow);
  1728. inset-block-start:calc(100% + 4px);
  1729. width:calc(100% + 2 * var(--editor-toolbar-padding));
  1730. }
  1731. .annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker .dropdown button{
  1732. width:100%;
  1733. height:auto;
  1734. border:none;
  1735. cursor:pointer;
  1736. display:flex;
  1737. justify-content:center;
  1738. align-items:center;
  1739. background:none;
  1740. }
  1741. .annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker .dropdown button:is(:active, :focus-visible){
  1742. outline:none;
  1743. }
  1744. .annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker .dropdown button > .swatch{
  1745. outline-offset:2px;
  1746. }
  1747. .annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker .dropdown button[aria-selected="true"] > .swatch{
  1748. outline:2px solid var(--selected-outline-color);
  1749. }
  1750. .annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker .dropdown button:is(:hover, :active, :focus-visible) > .swatch{
  1751. outline:2px solid var(--hover-outline-color);
  1752. }
  1753. .editorParamsToolbar:has(#highlightParamsToolbarContainer){
  1754. padding:unset;
  1755. }
  1756. #highlightParamsToolbarContainer{
  1757. height:auto;
  1758. padding-inline:10px;
  1759. padding-block:10px 16px;
  1760. display:flex;
  1761. flex-direction:column;
  1762. box-sizing:border-box;
  1763. }
  1764. #highlightParamsToolbarContainer .colorPicker{
  1765. display:flex;
  1766. flex-direction:column;
  1767. gap:8px;
  1768. }
  1769. #highlightParamsToolbarContainer .colorPicker #highlightColorPickerLabel{
  1770. width:-moz-fit-content;
  1771. width:fit-content;
  1772. inset-inline-start:0;
  1773. }
  1774. #highlightParamsToolbarContainer .colorPicker .dropdown{
  1775. display:flex;
  1776. justify-content:space-between;
  1777. align-items:center;
  1778. flex-direction:row;
  1779. height:auto;
  1780. }
  1781. #highlightParamsToolbarContainer .colorPicker .dropdown button{
  1782. width:auto;
  1783. height:auto;
  1784. border:none;
  1785. cursor:pointer;
  1786. display:flex;
  1787. justify-content:center;
  1788. align-items:center;
  1789. background:none;
  1790. flex:0 0 auto;
  1791. }
  1792. #highlightParamsToolbarContainer .colorPicker .dropdown button .swatch{
  1793. width:24px;
  1794. height:24px;
  1795. }
  1796. #highlightParamsToolbarContainer .colorPicker .dropdown button:is(:active, :focus-visible){
  1797. outline:none;
  1798. }
  1799. #highlightParamsToolbarContainer .colorPicker .dropdown button[aria-selected="true"] > .swatch{
  1800. outline:2px solid var(--selected-outline-color);
  1801. }
  1802. #highlightParamsToolbarContainer .colorPicker .dropdown button:is(:hover, :active, :focus-visible) > .swatch{
  1803. outline:2px solid var(--hover-outline-color);
  1804. }
  1805. :root{
  1806. --viewer-container-height:0;
  1807. --pdfViewer-padding-bottom:0;
  1808. --page-margin:1px auto -8px;
  1809. --page-border:9px solid transparent;
  1810. --spreadHorizontalWrapped-margin-LR:-3.5px;
  1811. --loading-icon-delay:400ms;
  1812. }
  1813. @media screen and (forced-colors: active){
  1814. :root{
  1815. --pdfViewer-padding-bottom:9px;
  1816. --page-margin:8px auto -1px;
  1817. --page-border:1px solid CanvasText;
  1818. --spreadHorizontalWrapped-margin-LR:3.5px;
  1819. }
  1820. }
  1821. [data-main-rotation="90"]{
  1822. transform:rotate(90deg) translateY(-100%);
  1823. }
  1824. [data-main-rotation="180"]{
  1825. transform:rotate(180deg) translate(-100%, -100%);
  1826. }
  1827. [data-main-rotation="270"]{
  1828. transform:rotate(270deg) translateX(-100%);
  1829. }
  1830. #hiddenCopyElement{
  1831. position:absolute;
  1832. top:0;
  1833. left:0;
  1834. width:0;
  1835. height:0;
  1836. display:none;
  1837. }
  1838. .pdfViewer{
  1839. --scale-factor:1;
  1840. padding-bottom:var(--pdfViewer-padding-bottom);
  1841. }
  1842. .pdfViewer .canvasWrapper{
  1843. overflow:hidden;
  1844. width:100%;
  1845. height:100%;
  1846. z-index:1;
  1847. }
  1848. .pdfViewer .page{
  1849. direction:ltr;
  1850. width:816px;
  1851. height:1056px;
  1852. margin:var(--page-margin);
  1853. position:relative;
  1854. overflow:visible;
  1855. border:var(--page-border);
  1856. background-clip:content-box;
  1857. background-color:rgb(255 255 255);
  1858. }
  1859. .pdfViewer .dummyPage{
  1860. position:relative;
  1861. width:0;
  1862. height:var(--viewer-container-height);
  1863. }
  1864. .pdfViewer.noUserSelect{
  1865. -webkit-user-select:none;
  1866. -moz-user-select:none;
  1867. user-select:none;
  1868. }
  1869. .pdfViewer.removePageBorders .page{
  1870. margin:0 auto 10px;
  1871. border:none;
  1872. }
  1873. .pdfViewer:is(.scrollHorizontal, .scrollWrapped),
  1874. .spread{
  1875. margin-inline:3.5px;
  1876. text-align:center;
  1877. }
  1878. .pdfViewer.scrollHorizontal,
  1879. .spread{
  1880. white-space:nowrap;
  1881. }
  1882. .pdfViewer.removePageBorders,
  1883. .pdfViewer:is(.scrollHorizontal, .scrollWrapped) .spread{
  1884. margin-inline:0;
  1885. }
  1886. .spread :is(.page, .dummyPage),
  1887. .pdfViewer:is(.scrollHorizontal, .scrollWrapped) :is(.page, .spread){
  1888. display:inline-block;
  1889. vertical-align:middle;
  1890. }
  1891. .spread .page,
  1892. .pdfViewer:is(.scrollHorizontal, .scrollWrapped) .page{
  1893. margin-inline:var(--spreadHorizontalWrapped-margin-LR);
  1894. }
  1895. .pdfViewer.removePageBorders .spread .page,
  1896. .pdfViewer.removePageBorders:is(.scrollHorizontal, .scrollWrapped) .page{
  1897. margin-inline:5px;
  1898. }
  1899. .pdfViewer .page canvas{
  1900. margin:0;
  1901. display:block;
  1902. }
  1903. .pdfViewer .page canvas .structTree{
  1904. contain:strict;
  1905. }
  1906. .pdfViewer .page canvas[hidden]{
  1907. display:none;
  1908. }
  1909. .pdfViewer .page canvas[zooming]{
  1910. width:100%;
  1911. height:100%;
  1912. }
  1913. .pdfViewer .page.loadingIcon::after{
  1914. position:absolute;
  1915. top:0;
  1916. left:0;
  1917. content:"";
  1918. width:100%;
  1919. height:100%;
  1920. background:url("images/loading-icon.gif") center no-repeat;
  1921. display:none;
  1922. transition-property:display;
  1923. transition-delay:var(--loading-icon-delay);
  1924. z-index:5;
  1925. contain:strict;
  1926. }
  1927. .pdfViewer .page.loading::after{
  1928. display:block;
  1929. }
  1930. .pdfViewer .page:not(.loading)::after{
  1931. transition-property:none;
  1932. display:none;
  1933. }
  1934. .pdfPresentationMode .pdfViewer{
  1935. padding-bottom:0;
  1936. }
  1937. .pdfPresentationMode .spread{
  1938. margin:0;
  1939. }
  1940. .pdfPresentationMode .pdfViewer .page{
  1941. margin:0 auto;
  1942. border:2px solid transparent;
  1943. }
  1944. :root{
  1945. --dir-factor:1;
  1946. --inline-start:left;
  1947. --inline-end:right;
  1948. --sidebar-width:200px;
  1949. --sidebar-transition-duration:200ms;
  1950. --sidebar-transition-timing-function:ease;
  1951. --toolbar-icon-opacity:0.7;
  1952. --doorhanger-icon-opacity:0.9;
  1953. --editor-toolbar-base-offset:105px;
  1954. --main-color:rgb(12 12 13);
  1955. --body-bg-color:rgb(212 212 215);
  1956. --progressBar-color:rgb(10 132 255);
  1957. --progressBar-bg-color:rgb(221 221 222);
  1958. --progressBar-blend-color:rgb(116 177 239);
  1959. --scrollbar-color:auto;
  1960. --scrollbar-bg-color:auto;
  1961. --toolbar-icon-bg-color:rgb(0 0 0);
  1962. --toolbar-icon-hover-bg-color:rgb(0 0 0);
  1963. --sidebar-narrow-bg-color:rgb(212 212 215 / 0.9);
  1964. --sidebar-toolbar-bg-color:rgb(245 246 247);
  1965. --toolbar-bg-color:rgb(249 249 250);
  1966. --toolbar-border-color:rgb(184 184 184);
  1967. --toolbar-box-shadow:0 1px 0 var(--toolbar-border-color);
  1968. --toolbar-border-bottom:none;
  1969. --toolbarSidebar-box-shadow:inset calc(-1px * var(--dir-factor)) 0 0 rgb(0 0 0 / 0.25), 0 1px 0 rgb(0 0 0 / 0.15), 0 0 1px rgb(0 0 0 / 0.1);
  1970. --toolbarSidebar-border-bottom:none;
  1971. --button-hover-color:rgb(221 222 223);
  1972. --toggled-btn-color:rgb(0 0 0);
  1973. --toggled-btn-bg-color:rgb(0 0 0 / 0.3);
  1974. --toggled-hover-active-btn-color:rgb(0 0 0 / 0.4);
  1975. --toggled-hover-btn-outline:none;
  1976. --dropdown-btn-bg-color:rgb(215 215 219);
  1977. --dropdown-btn-border:none;
  1978. --separator-color:rgb(0 0 0 / 0.3);
  1979. --field-color:rgb(6 6 6);
  1980. --field-bg-color:rgb(255 255 255);
  1981. --field-border-color:rgb(187 187 188);
  1982. --treeitem-color:rgb(0 0 0 / 0.8);
  1983. --treeitem-bg-color:rgb(0 0 0 / 0.15);
  1984. --treeitem-hover-color:rgb(0 0 0 / 0.9);
  1985. --treeitem-selected-color:rgb(0 0 0 / 0.9);
  1986. --treeitem-selected-bg-color:rgb(0 0 0 / 0.25);
  1987. --thumbnail-hover-color:rgb(0 0 0 / 0.1);
  1988. --thumbnail-selected-color:rgb(0 0 0 / 0.2);
  1989. --doorhanger-bg-color:rgb(255 255 255);
  1990. --doorhanger-border-color:rgb(12 12 13 / 0.2);
  1991. --doorhanger-hover-color:rgb(12 12 13);
  1992. --doorhanger-hover-bg-color:rgb(237 237 237);
  1993. --doorhanger-separator-color:rgb(222 222 222);
  1994. --dialog-button-border:none;
  1995. --dialog-button-bg-color:rgb(12 12 13 / 0.1);
  1996. --dialog-button-hover-bg-color:rgb(12 12 13 / 0.3);
  1997. --loading-icon:url(images/loading.svg);
  1998. --treeitem-expanded-icon:url(images/treeitem-expanded.svg);
  1999. --treeitem-collapsed-icon:url(images/treeitem-collapsed.svg);
  2000. --toolbarButton-editorFreeText-icon:url(images/toolbarButton-editorFreeText.svg);
  2001. --toolbarButton-editorHighlight-icon:url(images/toolbarButton-editorHighlight.svg);
  2002. --toolbarButton-editorInk-icon:url(images/toolbarButton-editorInk.svg);
  2003. --toolbarButton-editorStamp-icon:url(images/toolbarButton-editorStamp.svg);
  2004. --toolbarButton-menuArrow-icon:url(images/toolbarButton-menuArrow.svg);
  2005. --toolbarButton-sidebarToggle-icon:url(images/toolbarButton-sidebarToggle.svg);
  2006. --toolbarButton-secondaryToolbarToggle-icon:url(images/toolbarButton-secondaryToolbarToggle.svg);
  2007. --toolbarButton-pageUp-icon:url(images/toolbarButton-pageUp.svg);
  2008. --toolbarButton-pageDown-icon:url(images/toolbarButton-pageDown.svg);
  2009. --toolbarButton-zoomOut-icon:url(images/toolbarButton-zoomOut.svg);
  2010. --toolbarButton-zoomIn-icon:url(images/toolbarButton-zoomIn.svg);
  2011. --toolbarButton-presentationMode-icon:url(images/toolbarButton-presentationMode.svg);
  2012. --toolbarButton-print-icon:url(images/toolbarButton-print.svg);
  2013. --toolbarButton-openFile-icon:url(images/toolbarButton-openFile.svg);
  2014. --toolbarButton-download-icon:url(images/toolbarButton-download.svg);
  2015. --toolbarButton-bookmark-icon:url(images/toolbarButton-bookmark.svg);
  2016. --toolbarButton-viewThumbnail-icon:url(images/toolbarButton-viewThumbnail.svg);
  2017. --toolbarButton-viewOutline-icon:url(images/toolbarButton-viewOutline.svg);
  2018. --toolbarButton-viewAttachments-icon:url(images/toolbarButton-viewAttachments.svg);
  2019. --toolbarButton-viewLayers-icon:url(images/toolbarButton-viewLayers.svg);
  2020. --toolbarButton-currentOutlineItem-icon:url(images/toolbarButton-currentOutlineItem.svg);
  2021. --toolbarButton-search-icon:url(images/toolbarButton-search.svg);
  2022. --findbarButton-previous-icon:url(images/findbarButton-previous.svg);
  2023. --findbarButton-next-icon:url(images/findbarButton-next.svg);
  2024. --secondaryToolbarButton-firstPage-icon:url(images/secondaryToolbarButton-firstPage.svg);
  2025. --secondaryToolbarButton-lastPage-icon:url(images/secondaryToolbarButton-lastPage.svg);
  2026. --secondaryToolbarButton-rotateCcw-icon:url(images/secondaryToolbarButton-rotateCcw.svg);
  2027. --secondaryToolbarButton-rotateCw-icon:url(images/secondaryToolbarButton-rotateCw.svg);
  2028. --secondaryToolbarButton-selectTool-icon:url(images/secondaryToolbarButton-selectTool.svg);
  2029. --secondaryToolbarButton-handTool-icon:url(images/secondaryToolbarButton-handTool.svg);
  2030. --secondaryToolbarButton-scrollPage-icon:url(images/secondaryToolbarButton-scrollPage.svg);
  2031. --secondaryToolbarButton-scrollVertical-icon:url(images/secondaryToolbarButton-scrollVertical.svg);
  2032. --secondaryToolbarButton-scrollHorizontal-icon:url(images/secondaryToolbarButton-scrollHorizontal.svg);
  2033. --secondaryToolbarButton-scrollWrapped-icon:url(images/secondaryToolbarButton-scrollWrapped.svg);
  2034. --secondaryToolbarButton-spreadNone-icon:url(images/secondaryToolbarButton-spreadNone.svg);
  2035. --secondaryToolbarButton-spreadOdd-icon:url(images/secondaryToolbarButton-spreadOdd.svg);
  2036. --secondaryToolbarButton-spreadEven-icon:url(images/secondaryToolbarButton-spreadEven.svg);
  2037. --secondaryToolbarButton-documentProperties-icon:url(images/secondaryToolbarButton-documentProperties.svg);
  2038. --editorParams-stampAddImage-icon:url(images/toolbarButton-zoomIn.svg);
  2039. }
  2040. [dir="rtl"]:root{
  2041. --dir-factor:-1;
  2042. --inline-start:right;
  2043. --inline-end:left;
  2044. }
  2045. @media (prefers-color-scheme: dark){
  2046. :root:where(:not(.is-light)){
  2047. --main-color:rgb(249 249 250);
  2048. --body-bg-color:rgb(42 42 46);
  2049. --progressBar-color:rgb(0 96 223);
  2050. --progressBar-bg-color:rgb(40 40 43);
  2051. --progressBar-blend-color:rgb(20 68 133);
  2052. --scrollbar-color:rgb(121 121 123);
  2053. --scrollbar-bg-color:rgb(35 35 39);
  2054. --toolbar-icon-bg-color:rgb(255 255 255);
  2055. --toolbar-icon-hover-bg-color:rgb(255 255 255);
  2056. --sidebar-narrow-bg-color:rgb(42 42 46 / 0.9);
  2057. --sidebar-toolbar-bg-color:rgb(50 50 52);
  2058. --toolbar-bg-color:rgb(56 56 61);
  2059. --toolbar-border-color:rgb(12 12 13);
  2060. --button-hover-color:rgb(102 102 103);
  2061. --toggled-btn-color:rgb(255 255 255);
  2062. --toggled-btn-bg-color:rgb(0 0 0 / 0.3);
  2063. --toggled-hover-active-btn-color:rgb(0 0 0 / 0.4);
  2064. --dropdown-btn-bg-color:rgb(74 74 79);
  2065. --separator-color:rgb(0 0 0 / 0.3);
  2066. --field-color:rgb(250 250 250);
  2067. --field-bg-color:rgb(64 64 68);
  2068. --field-border-color:rgb(115 115 115);
  2069. --treeitem-color:rgb(255 255 255 / 0.8);
  2070. --treeitem-bg-color:rgb(255 255 255 / 0.15);
  2071. --treeitem-hover-color:rgb(255 255 255 / 0.9);
  2072. --treeitem-selected-color:rgb(255 255 255 / 0.9);
  2073. --treeitem-selected-bg-color:rgb(255 255 255 / 0.25);
  2074. --thumbnail-hover-color:rgb(255 255 255 / 0.1);
  2075. --thumbnail-selected-color:rgb(255 255 255 / 0.2);
  2076. --doorhanger-bg-color:rgb(74 74 79);
  2077. --doorhanger-border-color:rgb(39 39 43);
  2078. --doorhanger-hover-color:rgb(249 249 250);
  2079. --doorhanger-hover-bg-color:rgb(93 94 98);
  2080. --doorhanger-separator-color:rgb(92 92 97);
  2081. --dialog-button-bg-color:rgb(92 92 97);
  2082. --dialog-button-hover-bg-color:rgb(115 115 115);
  2083. }
  2084. }
  2085. :root:where(.is-dark){
  2086. --main-color:rgb(249 249 250);
  2087. --body-bg-color:rgb(42 42 46);
  2088. --progressBar-color:rgb(0 96 223);
  2089. --progressBar-bg-color:rgb(40 40 43);
  2090. --progressBar-blend-color:rgb(20 68 133);
  2091. --scrollbar-color:rgb(121 121 123);
  2092. --scrollbar-bg-color:rgb(35 35 39);
  2093. --toolbar-icon-bg-color:rgb(255 255 255);
  2094. --toolbar-icon-hover-bg-color:rgb(255 255 255);
  2095. --sidebar-narrow-bg-color:rgb(42 42 46 / 0.9);
  2096. --sidebar-toolbar-bg-color:rgb(50 50 52);
  2097. --toolbar-bg-color:rgb(56 56 61);
  2098. --toolbar-border-color:rgb(12 12 13);
  2099. --button-hover-color:rgb(102 102 103);
  2100. --toggled-btn-color:rgb(255 255 255);
  2101. --toggled-btn-bg-color:rgb(0 0 0 / 0.3);
  2102. --toggled-hover-active-btn-color:rgb(0 0 0 / 0.4);
  2103. --dropdown-btn-bg-color:rgb(74 74 79);
  2104. --separator-color:rgb(0 0 0 / 0.3);
  2105. --field-color:rgb(250 250 250);
  2106. --field-bg-color:rgb(64 64 68);
  2107. --field-border-color:rgb(115 115 115);
  2108. --treeitem-color:rgb(255 255 255 / 0.8);
  2109. --treeitem-bg-color:rgb(255 255 255 / 0.15);
  2110. --treeitem-hover-color:rgb(255 255 255 / 0.9);
  2111. --treeitem-selected-color:rgb(255 255 255 / 0.9);
  2112. --treeitem-selected-bg-color:rgb(255 255 255 / 0.25);
  2113. --thumbnail-hover-color:rgb(255 255 255 / 0.1);
  2114. --thumbnail-selected-color:rgb(255 255 255 / 0.2);
  2115. --doorhanger-bg-color:rgb(74 74 79);
  2116. --doorhanger-border-color:rgb(39 39 43);
  2117. --doorhanger-hover-color:rgb(249 249 250);
  2118. --doorhanger-hover-bg-color:rgb(93 94 98);
  2119. --doorhanger-separator-color:rgb(92 92 97);
  2120. --dialog-button-bg-color:rgb(92 92 97);
  2121. --dialog-button-hover-bg-color:rgb(115 115 115);
  2122. }
  2123. @media screen and (forced-colors: active){
  2124. :root{
  2125. --button-hover-color:Highlight;
  2126. --doorhanger-hover-bg-color:Highlight;
  2127. --toolbar-icon-opacity:1;
  2128. --toolbar-icon-bg-color:ButtonText;
  2129. --toolbar-icon-hover-bg-color:ButtonFace;
  2130. --toggled-hover-active-btn-color:ButtonText;
  2131. --toggled-hover-btn-outline:2px solid ButtonBorder;
  2132. --toolbar-border-color:CanvasText;
  2133. --toolbar-border-bottom:1px solid var(--toolbar-border-color);
  2134. --toolbar-box-shadow:none;
  2135. --toggled-btn-color:HighlightText;
  2136. --toggled-btn-bg-color:LinkText;
  2137. --doorhanger-hover-color:ButtonFace;
  2138. --doorhanger-border-color-whcm:1px solid ButtonText;
  2139. --doorhanger-triangle-opacity-whcm:0;
  2140. --dialog-button-border:1px solid Highlight;
  2141. --dialog-button-hover-bg-color:Highlight;
  2142. --dialog-button-hover-color:ButtonFace;
  2143. --dropdown-btn-border:1px solid ButtonText;
  2144. --field-border-color:ButtonText;
  2145. --main-color:CanvasText;
  2146. --separator-color:GrayText;
  2147. --doorhanger-separator-color:GrayText;
  2148. --toolbarSidebar-box-shadow:none;
  2149. --toolbarSidebar-border-bottom:1px solid var(--toolbar-border-color);
  2150. }
  2151. }
  2152. @media screen and (prefers-reduced-motion: reduce){
  2153. :root{
  2154. --sidebar-transition-duration:0;
  2155. }
  2156. }
  2157. *{
  2158. padding:0;
  2159. margin:0;
  2160. }
  2161. html,
  2162. body{
  2163. height:100%;
  2164. width:100%;
  2165. }
  2166. body{
  2167. background-color:var(--body-bg-color);
  2168. scrollbar-color:var(--scrollbar-color) var(--scrollbar-bg-color);
  2169. }
  2170. .hidden,
  2171. [hidden]{
  2172. display:none !important;
  2173. }
  2174. #viewerContainer.pdfPresentationMode:-webkit-full-screen{
  2175. top:0;
  2176. background-color:rgb(0 0 0);
  2177. width:100%;
  2178. height:100%;
  2179. overflow:hidden;
  2180. cursor:none;
  2181. -webkit-user-select:none;
  2182. user-select:none;
  2183. }
  2184. #viewerContainer.pdfPresentationMode:fullscreen{
  2185. top:0;
  2186. background-color:rgb(0 0 0);
  2187. width:100%;
  2188. height:100%;
  2189. overflow:hidden;
  2190. cursor:none;
  2191. -webkit-user-select:none;
  2192. -moz-user-select:none;
  2193. user-select:none;
  2194. }
  2195. .pdfPresentationMode:-webkit-full-screen section:not([data-internal-link]){
  2196. pointer-events:none;
  2197. }
  2198. .pdfPresentationMode:fullscreen section:not([data-internal-link]){
  2199. pointer-events:none;
  2200. }
  2201. .pdfPresentationMode:-webkit-full-screen .textLayer span{
  2202. cursor:none;
  2203. }
  2204. .pdfPresentationMode:fullscreen .textLayer span{
  2205. cursor:none;
  2206. }
  2207. .pdfPresentationMode.pdfPresentationModeControls > *,
  2208. .pdfPresentationMode.pdfPresentationModeControls .textLayer span{
  2209. cursor:default;
  2210. }
  2211. #outerContainer{
  2212. width:100%;
  2213. height:100%;
  2214. position:relative;
  2215. }
  2216. #sidebarContainer{
  2217. position:absolute;
  2218. inset-block:32px 0;
  2219. inset-inline-start:calc(-1 * var(--sidebar-width));
  2220. width:var(--sidebar-width);
  2221. visibility:hidden;
  2222. z-index:100;
  2223. font:message-box;
  2224. border-top:1px solid rgb(51 51 51);
  2225. border-inline-end:var(--doorhanger-border-color-whcm);
  2226. transition-property:inset-inline-start;
  2227. transition-duration:var(--sidebar-transition-duration);
  2228. transition-timing-function:var(--sidebar-transition-timing-function);
  2229. }
  2230. #outerContainer:is(.sidebarMoving, .sidebarOpen) #sidebarContainer{
  2231. visibility:visible;
  2232. }
  2233. #outerContainer.sidebarOpen #sidebarContainer{
  2234. inset-inline-start:0;
  2235. }
  2236. #mainContainer{
  2237. position:absolute;
  2238. inset:0;
  2239. min-width:350px;
  2240. }
  2241. #sidebarContent{
  2242. inset-block:32px 0;
  2243. inset-inline-start:0;
  2244. overflow:auto;
  2245. position:absolute;
  2246. width:100%;
  2247. box-shadow:inset calc(-1px * var(--dir-factor)) 0 0 rgb(0 0 0 / 0.25);
  2248. }
  2249. #viewerContainer{
  2250. overflow:auto;
  2251. position:absolute;
  2252. inset:32px 0 0;
  2253. outline:none;
  2254. }
  2255. #viewerContainer:not(.pdfPresentationMode){
  2256. transition-duration:var(--sidebar-transition-duration);
  2257. transition-timing-function:var(--sidebar-transition-timing-function);
  2258. }
  2259. #outerContainer.sidebarOpen #viewerContainer:not(.pdfPresentationMode){
  2260. inset-inline-start:var(--sidebar-width);
  2261. transition-property:inset-inline-start;
  2262. }
  2263. .toolbar{
  2264. position:relative;
  2265. inset-inline:0;
  2266. z-index:9999;
  2267. cursor:default;
  2268. font:message-box;
  2269. }
  2270. :is(.toolbar, .editorParamsToolbar, .findbar, #sidebarContainer)
  2271. :is(input, button, select),
  2272. .secondaryToolbar :is(input, button, a, select){
  2273. outline:none;
  2274. font:message-box;
  2275. }
  2276. #toolbarContainer{
  2277. width:100%;
  2278. }
  2279. #toolbarSidebar{
  2280. width:100%;
  2281. height:32px;
  2282. background-color:var(--sidebar-toolbar-bg-color);
  2283. box-shadow:var(--toolbarSidebar-box-shadow);
  2284. border-bottom:var(--toolbarSidebar-border-bottom);
  2285. }
  2286. #sidebarResizer{
  2287. position:absolute;
  2288. inset-block:0;
  2289. inset-inline-end:-6px;
  2290. width:6px;
  2291. z-index:200;
  2292. cursor:ew-resize;
  2293. }
  2294. #toolbarContainer,
  2295. .findbar,
  2296. .secondaryToolbar,
  2297. .editorParamsToolbar{
  2298. position:relative;
  2299. height:32px;
  2300. background-color:var(--toolbar-bg-color);
  2301. box-shadow:var(--toolbar-box-shadow);
  2302. border-bottom:var(--toolbar-border-bottom);
  2303. }
  2304. #toolbarViewer{
  2305. height:32px;
  2306. }
  2307. #loadingBar{
  2308. --progressBar-percent:0%;
  2309. --progressBar-end-offset:0;
  2310. position:absolute;
  2311. inset-inline:0 var(--progressBar-end-offset);
  2312. height:4px;
  2313. background-color:var(--progressBar-bg-color);
  2314. border-bottom:1px solid var(--toolbar-border-color);
  2315. transition-property:inset-inline-start;
  2316. transition-duration:var(--sidebar-transition-duration);
  2317. transition-timing-function:var(--sidebar-transition-timing-function);
  2318. }
  2319. #outerContainer.sidebarOpen #loadingBar{
  2320. inset-inline-start:var(--sidebar-width);
  2321. }
  2322. #loadingBar .progress{
  2323. position:absolute;
  2324. top:0;
  2325. inset-inline-start:0;
  2326. width:100%;
  2327. transform:scaleX(var(--progressBar-percent));
  2328. transform-origin:calc(50% - 50% * var(--dir-factor)) 0;
  2329. height:100%;
  2330. background-color:var(--progressBar-color);
  2331. overflow:hidden;
  2332. transition:transform 200ms;
  2333. }
  2334. @keyframes progressIndeterminate{
  2335. 0%{
  2336. transform:translateX(calc(-142px * var(--dir-factor)));
  2337. }
  2338. 100%{
  2339. transform:translateX(0);
  2340. }
  2341. }
  2342. #loadingBar.indeterminate .progress{
  2343. transform:none;
  2344. background-color:var(--progressBar-bg-color);
  2345. transition:none;
  2346. }
  2347. #loadingBar.indeterminate .progress .glimmer{
  2348. position:absolute;
  2349. top:0;
  2350. inset-inline-start:0;
  2351. height:100%;
  2352. width:calc(100% + 150px);
  2353. background:repeating-linear-gradient(
  2354. 135deg,
  2355. var(--progressBar-blend-color) 0,
  2356. var(--progressBar-bg-color) 5px,
  2357. var(--progressBar-bg-color) 45px,
  2358. var(--progressBar-color) 55px,
  2359. var(--progressBar-color) 95px,
  2360. var(--progressBar-blend-color) 100px
  2361. );
  2362. animation:progressIndeterminate 1s linear infinite;
  2363. }
  2364. #outerContainer.sidebarResizing
  2365. :is(#sidebarContainer, #viewerContainer, #loadingBar){
  2366. transition-duration:0s;
  2367. }
  2368. .findbar,
  2369. .secondaryToolbar,
  2370. .editorParamsToolbar{
  2371. top:32px;
  2372. position:absolute;
  2373. z-index:30000;
  2374. height:auto;
  2375. padding:0 4px;
  2376. margin:4px 2px;
  2377. font:message-box;
  2378. font-size:12px;
  2379. line-height:14px;
  2380. text-align:left;
  2381. cursor:default;
  2382. }
  2383. .findbar{
  2384. inset-inline-start:64px;
  2385. min-width:300px;
  2386. background-color:var(--toolbar-bg-color);
  2387. }
  2388. .findbar > div{
  2389. height:32px;
  2390. }
  2391. .findbar > div#findbarInputContainer{
  2392. margin-inline-end:4px;
  2393. }
  2394. .findbar.wrapContainers > div,
  2395. .findbar.wrapContainers > div#findbarMessageContainer > *{
  2396. clear:both;
  2397. }
  2398. .findbar.wrapContainers > div#findbarMessageContainer{
  2399. height:auto;
  2400. }
  2401. .findbar input[type="checkbox"]{
  2402. pointer-events:none;
  2403. }
  2404. .findbar label{
  2405. -webkit-user-select:none;
  2406. -moz-user-select:none;
  2407. user-select:none;
  2408. }
  2409. .findbar label:hover,
  2410. .findbar input:focus-visible + label{
  2411. color:var(--toggled-btn-color);
  2412. background-color:var(--button-hover-color);
  2413. }
  2414. .findbar .toolbarField[type="checkbox"]:checked + .toolbarLabel{
  2415. background-color:var(--toggled-btn-bg-color) !important;
  2416. color:var(--toggled-btn-color);
  2417. }
  2418. #findInput{
  2419. width:200px;
  2420. }
  2421. #findInput::-moz-placeholder{
  2422. font-style:normal;
  2423. }
  2424. #findInput::placeholder{
  2425. font-style:normal;
  2426. }
  2427. .loadingInput:has(> #findInput[data-status="pending"])::after{
  2428. visibility:visible;
  2429. }
  2430. #findInput[data-status="notFound"]{
  2431. background-color:rgb(255 102 102);
  2432. }
  2433. .secondaryToolbar,
  2434. .editorParamsToolbar{
  2435. padding:6px 0 10px;
  2436. inset-inline-end:4px;
  2437. height:auto;
  2438. background-color:var(--doorhanger-bg-color);
  2439. }
  2440. .editorParamsToolbarContainer{
  2441. width:220px;
  2442. margin-bottom:-4px;
  2443. }
  2444. .editorParamsToolbarContainer > .editorParamsSetter{
  2445. min-height:26px;
  2446. display:flex;
  2447. align-items:center;
  2448. justify-content:space-between;
  2449. padding-inline:10px;
  2450. }
  2451. .editorParamsToolbarContainer .editorParamsLabel{
  2452. padding-inline-end:10px;
  2453. flex:none;
  2454. font:menu;
  2455. font-size:13px;
  2456. font-style:normal;
  2457. font-weight:400;
  2458. line-height:150%;
  2459. color:var(--main-color);
  2460. }
  2461. .editorParamsToolbarContainer .editorParamsColor{
  2462. width:32px;
  2463. height:32px;
  2464. flex:none;
  2465. }
  2466. .editorParamsToolbarContainer .editorParamsSlider{
  2467. background-color:transparent;
  2468. width:90px;
  2469. flex:0 1 0;
  2470. }
  2471. .editorParamsToolbarContainer .editorParamsSlider::-moz-range-progress{
  2472. background-color:black;
  2473. }
  2474. .editorParamsToolbarContainer .editorParamsSlider::-webkit-slider-runnable-track,
  2475. .editorParamsToolbarContainer .editorParamsSlider::-moz-range-track{
  2476. background-color:black;
  2477. }
  2478. .editorParamsToolbarContainer .editorParamsSlider::-webkit-slider-thumb,
  2479. .editorParamsToolbarContainer .editorParamsSlider::-moz-range-thumb{
  2480. background-color:white;
  2481. }
  2482. #secondaryToolbarButtonContainer{
  2483. max-width:220px;
  2484. min-height:26px;
  2485. max-height:calc(var(--viewer-container-height) - 40px);
  2486. overflow-y:auto;
  2487. margin-bottom:-4px;
  2488. }
  2489. #editorStampParamsToolbar{
  2490. inset-inline-end:calc(var(--editor-toolbar-base-offset) + 0px);
  2491. }
  2492. #editorInkParamsToolbar{
  2493. inset-inline-end:calc(var(--editor-toolbar-base-offset) + 28px);
  2494. }
  2495. #editorFreeTextParamsToolbar{
  2496. inset-inline-end:calc(var(--editor-toolbar-base-offset) + 56px);
  2497. }
  2498. #editorHighlightParamsToolbar{
  2499. inset-inline-end:calc(var(--editor-toolbar-base-offset) + 84px);
  2500. }
  2501. #editorStampAddImage::before{
  2502. -webkit-mask-image:var(--editorParams-stampAddImage-icon);
  2503. mask-image:var(--editorParams-stampAddImage-icon);
  2504. }
  2505. .doorHanger,
  2506. .doorHangerRight{
  2507. border-radius:2px;
  2508. box-shadow:0 1px 5px var(--doorhanger-border-color), 0 0 0 1px var(--doorhanger-border-color);
  2509. border:var(--doorhanger-border-color-whcm);
  2510. }
  2511. :is(.doorHanger, .doorHangerRight)::after,
  2512. :is(.doorHanger, .doorHangerRight)::before{
  2513. bottom:100%;
  2514. border:8px solid rgb(0 0 0 / 0);
  2515. content:" ";
  2516. height:0;
  2517. width:0;
  2518. position:absolute;
  2519. pointer-events:none;
  2520. opacity:var(--doorhanger-triangle-opacity-whcm);
  2521. }
  2522. .doorHanger::after{
  2523. inset-inline-start:10px;
  2524. margin-inline-start:-8px;
  2525. border-bottom-color:var(--toolbar-bg-color);
  2526. }
  2527. .doorHangerRight::after{
  2528. inset-inline-end:10px;
  2529. margin-inline-end:-8px;
  2530. border-bottom-color:var(--doorhanger-bg-color);
  2531. }
  2532. :is(.doorHanger, .doorHangerRight)::before{
  2533. border-bottom-color:var(--doorhanger-border-color);
  2534. border-width:9px;
  2535. }
  2536. .doorHanger::before{
  2537. inset-inline-start:10px;
  2538. margin-inline-start:-9px;
  2539. }
  2540. .doorHangerRight::before{
  2541. inset-inline-end:10px;
  2542. margin-inline-end:-9px;
  2543. }
  2544. #findResultsCount{
  2545. background-color:rgb(217 217 217);
  2546. color:rgb(82 82 82);
  2547. text-align:center;
  2548. padding:4px 5px;
  2549. margin:5px;
  2550. }
  2551. #findMsg[data-status="notFound"]{
  2552. font-weight:bold;
  2553. }
  2554. :is(#findResultsCount, #findMsg):empty{
  2555. display:none;
  2556. }
  2557. #toolbarViewerMiddle{
  2558. position:absolute;
  2559. left:50%;
  2560. transform:translateX(-50%);
  2561. }
  2562. #toolbarViewerLeft,
  2563. #toolbarSidebarLeft{
  2564. float:var(--inline-start);
  2565. }
  2566. #toolbarViewerRight,
  2567. #toolbarSidebarRight{
  2568. float:var(--inline-end);
  2569. }
  2570. #toolbarViewerLeft > *,
  2571. #toolbarViewerMiddle > *,
  2572. #toolbarViewerRight > *,
  2573. #toolbarSidebarLeft *,
  2574. #toolbarSidebarRight *,
  2575. .findbar *{
  2576. position:relative;
  2577. float:var(--inline-start);
  2578. }
  2579. #toolbarViewerLeft{
  2580. padding-inline-start:1px;
  2581. }
  2582. #toolbarViewerRight{
  2583. padding-inline-end:1px;
  2584. }
  2585. #toolbarSidebarRight{
  2586. padding-inline-end:2px;
  2587. }
  2588. .splitToolbarButton{
  2589. margin:2px;
  2590. display:inline-block;
  2591. }
  2592. .splitToolbarButton > .toolbarButton{
  2593. float:var(--inline-start);
  2594. }
  2595. .toolbarButton,
  2596. .secondaryToolbarButton,
  2597. .dialogButton{
  2598. border:none;
  2599. background:none;
  2600. width:28px;
  2601. height:28px;
  2602. outline:none;
  2603. }
  2604. .dialogButton:is(:hover, :focus-visible){
  2605. background-color:var(--dialog-button-hover-bg-color);
  2606. }
  2607. .dialogButton:is(:hover, :focus-visible) > span{
  2608. color:var(--dialog-button-hover-color);
  2609. }
  2610. .toolbarButton > span{
  2611. display:inline-block;
  2612. width:0;
  2613. height:0;
  2614. overflow:hidden;
  2615. }
  2616. :is(.toolbarButton, .secondaryToolbarButton, .dialogButton)[disabled]{
  2617. opacity:0.5;
  2618. }
  2619. .splitToolbarButton > .toolbarButton:is(:hover, :focus-visible),
  2620. .dropdownToolbarButton:hover{
  2621. background-color:var(--button-hover-color);
  2622. }
  2623. .splitToolbarButton > .toolbarButton{
  2624. position:relative;
  2625. margin:0;
  2626. }
  2627. #toolbarSidebar .splitToolbarButton > .toolbarButton{
  2628. margin-inline-end:2px;
  2629. }
  2630. .splitToolbarButtonSeparator{
  2631. float:var(--inline-start);
  2632. margin:4px 0;
  2633. width:1px;
  2634. height:20px;
  2635. background-color:var(--separator-color);
  2636. }
  2637. .toolbarButton,
  2638. .dropdownToolbarButton,
  2639. .secondaryToolbarButton,
  2640. .dialogButton{
  2641. min-width:16px;
  2642. margin:2px 1px;
  2643. padding:2px 6px 0;
  2644. border:none;
  2645. border-radius:2px;
  2646. color:var(--main-color);
  2647. font-size:12px;
  2648. line-height:14px;
  2649. -webkit-user-select:none;
  2650. -moz-user-select:none;
  2651. user-select:none;
  2652. cursor:default;
  2653. box-sizing:border-box;
  2654. }
  2655. .toolbarButton:is(:hover, :focus-visible){
  2656. background-color:var(--button-hover-color);
  2657. }
  2658. .secondaryToolbarButton:is(:hover, :focus-visible){
  2659. background-color:var(--doorhanger-hover-bg-color);
  2660. color:var(--doorhanger-hover-color);
  2661. }
  2662. :is(.toolbarButton, .secondaryToolbarButton).toggled,
  2663. .splitToolbarButton.toggled > .toolbarButton.toggled{
  2664. background-color:var(--toggled-btn-bg-color);
  2665. color:var(--toggled-btn-color);
  2666. }
  2667. :is(.toolbarButton, .secondaryToolbarButton).toggled:hover,
  2668. .splitToolbarButton.toggled > .toolbarButton.toggled:hover{
  2669. outline:var(--toggled-hover-btn-outline) !important;
  2670. }
  2671. :is(.toolbarButton, .secondaryToolbarButton).toggled::before{
  2672. background-color:var(--toggled-btn-color);
  2673. }
  2674. :is(.toolbarButton, .secondaryToolbarButton).toggled:hover:active,
  2675. .splitToolbarButton.toggled > .toolbarButton.toggled:hover:active{
  2676. background-color:var(--toggled-hover-active-btn-color);
  2677. }
  2678. .dropdownToolbarButton{
  2679. display:flex;
  2680. width:-moz-fit-content;
  2681. width:fit-content;
  2682. min-width:140px;
  2683. padding:0;
  2684. background-color:var(--dropdown-btn-bg-color);
  2685. border:var(--dropdown-btn-border);
  2686. }
  2687. .dropdownToolbarButton::after{
  2688. top:6px;
  2689. inset-inline-end:6px;
  2690. pointer-events:none;
  2691. -webkit-mask-image:var(--toolbarButton-menuArrow-icon);
  2692. mask-image:var(--toolbarButton-menuArrow-icon);
  2693. }
  2694. .dropdownToolbarButton > select{
  2695. -webkit-appearance:none;
  2696. -moz-appearance:none;
  2697. appearance:none;
  2698. width:inherit;
  2699. min-width:inherit;
  2700. height:28px;
  2701. font-size:12px;
  2702. color:var(--main-color);
  2703. margin:0;
  2704. padding-block:1px 2px;
  2705. padding-inline:6px 38px;
  2706. border:none;
  2707. background-color:var(--dropdown-btn-bg-color);
  2708. }
  2709. .dropdownToolbarButton > select:is(:hover, :focus-visible){
  2710. background-color:var(--button-hover-color);
  2711. color:var(--toggled-btn-color);
  2712. }
  2713. .dropdownToolbarButton > select > option{
  2714. background:var(--doorhanger-bg-color);
  2715. color:var(--main-color);
  2716. }
  2717. .toolbarButtonSpacer{
  2718. width:30px;
  2719. display:inline-block;
  2720. height:1px;
  2721. }
  2722. :is(.toolbarButton, .secondaryToolbarButton, .treeItemToggler)::before,
  2723. .dropdownToolbarButton::after{
  2724. position:absolute;
  2725. display:inline-block;
  2726. width:16px;
  2727. height:16px;
  2728. content:"";
  2729. background-color:var(--toolbar-icon-bg-color);
  2730. -webkit-mask-size:cover;
  2731. mask-size:cover;
  2732. }
  2733. .dropdownToolbarButton:is(:hover, :focus-visible, :active)::after{
  2734. background-color:var(--toolbar-icon-hover-bg-color);
  2735. }
  2736. .toolbarButton::before{
  2737. opacity:var(--toolbar-icon-opacity);
  2738. top:6px;
  2739. left:6px;
  2740. }
  2741. .toolbarButton:is(:hover, :focus-visible)::before,
  2742. .secondaryToolbarButton:is(:hover, :focus-visible)::before{
  2743. background-color:var(--toolbar-icon-hover-bg-color);
  2744. }
  2745. .secondaryToolbarButton::before{
  2746. opacity:var(--doorhanger-icon-opacity);
  2747. top:5px;
  2748. inset-inline-start:12px;
  2749. }
  2750. #sidebarToggle::before{
  2751. -webkit-mask-image:var(--toolbarButton-sidebarToggle-icon);
  2752. mask-image:var(--toolbarButton-sidebarToggle-icon);
  2753. transform:scaleX(var(--dir-factor));
  2754. }
  2755. #secondaryToolbarToggle::before{
  2756. -webkit-mask-image:var(--toolbarButton-secondaryToolbarToggle-icon);
  2757. mask-image:var(--toolbarButton-secondaryToolbarToggle-icon);
  2758. transform:scaleX(var(--dir-factor));
  2759. }
  2760. #findPrevious::before{
  2761. -webkit-mask-image:var(--findbarButton-previous-icon);
  2762. mask-image:var(--findbarButton-previous-icon);
  2763. }
  2764. #findNext::before{
  2765. -webkit-mask-image:var(--findbarButton-next-icon);
  2766. mask-image:var(--findbarButton-next-icon);
  2767. }
  2768. #previous::before{
  2769. -webkit-mask-image:var(--toolbarButton-pageUp-icon);
  2770. mask-image:var(--toolbarButton-pageUp-icon);
  2771. }
  2772. #next::before{
  2773. -webkit-mask-image:var(--toolbarButton-pageDown-icon);
  2774. mask-image:var(--toolbarButton-pageDown-icon);
  2775. }
  2776. #zoomOut::before{
  2777. -webkit-mask-image:var(--toolbarButton-zoomOut-icon);
  2778. mask-image:var(--toolbarButton-zoomOut-icon);
  2779. }
  2780. #zoomIn::before{
  2781. -webkit-mask-image:var(--toolbarButton-zoomIn-icon);
  2782. mask-image:var(--toolbarButton-zoomIn-icon);
  2783. }
  2784. #presentationMode::before{
  2785. -webkit-mask-image:var(--toolbarButton-presentationMode-icon);
  2786. mask-image:var(--toolbarButton-presentationMode-icon);
  2787. }
  2788. #editorFreeText::before{
  2789. -webkit-mask-image:var(--toolbarButton-editorFreeText-icon);
  2790. mask-image:var(--toolbarButton-editorFreeText-icon);
  2791. }
  2792. #editorHighlight::before{
  2793. -webkit-mask-image:var(--toolbarButton-editorHighlight-icon);
  2794. mask-image:var(--toolbarButton-editorHighlight-icon);
  2795. }
  2796. #editorInk::before{
  2797. -webkit-mask-image:var(--toolbarButton-editorInk-icon);
  2798. mask-image:var(--toolbarButton-editorInk-icon);
  2799. }
  2800. #editorStamp::before{
  2801. -webkit-mask-image:var(--toolbarButton-editorStamp-icon);
  2802. mask-image:var(--toolbarButton-editorStamp-icon);
  2803. }
  2804. :is(#print, #secondaryPrint)::before{
  2805. -webkit-mask-image:var(--toolbarButton-print-icon);
  2806. mask-image:var(--toolbarButton-print-icon);
  2807. }
  2808. #secondaryOpenFile::before{
  2809. -webkit-mask-image:var(--toolbarButton-openFile-icon);
  2810. mask-image:var(--toolbarButton-openFile-icon);
  2811. }
  2812. :is(#download, #secondaryDownload)::before{
  2813. -webkit-mask-image:var(--toolbarButton-download-icon);
  2814. mask-image:var(--toolbarButton-download-icon);
  2815. }
  2816. a.secondaryToolbarButton{
  2817. padding-top:5px;
  2818. text-decoration:none;
  2819. }
  2820. a:is(.toolbarButton, .secondaryToolbarButton)[href="#"]{
  2821. opacity:0.5;
  2822. pointer-events:none;
  2823. }
  2824. #viewBookmark::before{
  2825. -webkit-mask-image:var(--toolbarButton-bookmark-icon);
  2826. mask-image:var(--toolbarButton-bookmark-icon);
  2827. }
  2828. #viewThumbnail::before{
  2829. -webkit-mask-image:var(--toolbarButton-viewThumbnail-icon);
  2830. mask-image:var(--toolbarButton-viewThumbnail-icon);
  2831. }
  2832. #viewOutline::before{
  2833. -webkit-mask-image:var(--toolbarButton-viewOutline-icon);
  2834. mask-image:var(--toolbarButton-viewOutline-icon);
  2835. transform:scaleX(var(--dir-factor));
  2836. }
  2837. #viewAttachments::before{
  2838. -webkit-mask-image:var(--toolbarButton-viewAttachments-icon);
  2839. mask-image:var(--toolbarButton-viewAttachments-icon);
  2840. }
  2841. #viewLayers::before{
  2842. -webkit-mask-image:var(--toolbarButton-viewLayers-icon);
  2843. mask-image:var(--toolbarButton-viewLayers-icon);
  2844. }
  2845. #currentOutlineItem::before{
  2846. -webkit-mask-image:var(--toolbarButton-currentOutlineItem-icon);
  2847. mask-image:var(--toolbarButton-currentOutlineItem-icon);
  2848. transform:scaleX(var(--dir-factor));
  2849. }
  2850. #viewFind::before{
  2851. -webkit-mask-image:var(--toolbarButton-search-icon);
  2852. mask-image:var(--toolbarButton-search-icon);
  2853. }
  2854. .pdfSidebarNotification::after{
  2855. position:absolute;
  2856. display:inline-block;
  2857. top:2px;
  2858. inset-inline-end:2px;
  2859. content:"";
  2860. background-color:rgb(112 219 85);
  2861. height:9px;
  2862. width:9px;
  2863. border-radius:50%;
  2864. }
  2865. .secondaryToolbarButton{
  2866. position:relative;
  2867. margin:0;
  2868. padding:0 0 1px;
  2869. padding-inline-start:36px;
  2870. height:auto;
  2871. min-height:26px;
  2872. width:auto;
  2873. min-width:100%;
  2874. text-align:start;
  2875. white-space:normal;
  2876. border-radius:0;
  2877. box-sizing:border-box;
  2878. display:inline-block;
  2879. }
  2880. .secondaryToolbarButton > span{
  2881. padding-inline-end:4px;
  2882. }
  2883. #firstPage::before{
  2884. -webkit-mask-image:var(--secondaryToolbarButton-firstPage-icon);
  2885. mask-image:var(--secondaryToolbarButton-firstPage-icon);
  2886. }
  2887. #lastPage::before{
  2888. -webkit-mask-image:var(--secondaryToolbarButton-lastPage-icon);
  2889. mask-image:var(--secondaryToolbarButton-lastPage-icon);
  2890. }
  2891. #pageRotateCcw::before{
  2892. -webkit-mask-image:var(--secondaryToolbarButton-rotateCcw-icon);
  2893. mask-image:var(--secondaryToolbarButton-rotateCcw-icon);
  2894. }
  2895. #pageRotateCw::before{
  2896. -webkit-mask-image:var(--secondaryToolbarButton-rotateCw-icon);
  2897. mask-image:var(--secondaryToolbarButton-rotateCw-icon);
  2898. }
  2899. #cursorSelectTool::before{
  2900. -webkit-mask-image:var(--secondaryToolbarButton-selectTool-icon);
  2901. mask-image:var(--secondaryToolbarButton-selectTool-icon);
  2902. }
  2903. #cursorHandTool::before{
  2904. -webkit-mask-image:var(--secondaryToolbarButton-handTool-icon);
  2905. mask-image:var(--secondaryToolbarButton-handTool-icon);
  2906. }
  2907. #scrollPage::before{
  2908. -webkit-mask-image:var(--secondaryToolbarButton-scrollPage-icon);
  2909. mask-image:var(--secondaryToolbarButton-scrollPage-icon);
  2910. }
  2911. #scrollVertical::before{
  2912. -webkit-mask-image:var(--secondaryToolbarButton-scrollVertical-icon);
  2913. mask-image:var(--secondaryToolbarButton-scrollVertical-icon);
  2914. }
  2915. #scrollHorizontal::before{
  2916. -webkit-mask-image:var(--secondaryToolbarButton-scrollHorizontal-icon);
  2917. mask-image:var(--secondaryToolbarButton-scrollHorizontal-icon);
  2918. }
  2919. #scrollWrapped::before{
  2920. -webkit-mask-image:var(--secondaryToolbarButton-scrollWrapped-icon);
  2921. mask-image:var(--secondaryToolbarButton-scrollWrapped-icon);
  2922. }
  2923. #spreadNone::before{
  2924. -webkit-mask-image:var(--secondaryToolbarButton-spreadNone-icon);
  2925. mask-image:var(--secondaryToolbarButton-spreadNone-icon);
  2926. }
  2927. #spreadOdd::before{
  2928. -webkit-mask-image:var(--secondaryToolbarButton-spreadOdd-icon);
  2929. mask-image:var(--secondaryToolbarButton-spreadOdd-icon);
  2930. }
  2931. #spreadEven::before{
  2932. -webkit-mask-image:var(--secondaryToolbarButton-spreadEven-icon);
  2933. mask-image:var(--secondaryToolbarButton-spreadEven-icon);
  2934. }
  2935. #documentProperties::before{
  2936. -webkit-mask-image:var(--secondaryToolbarButton-documentProperties-icon);
  2937. mask-image:var(--secondaryToolbarButton-documentProperties-icon);
  2938. }
  2939. .verticalToolbarSeparator{
  2940. display:block;
  2941. margin:5px 2px;
  2942. width:1px;
  2943. height:22px;
  2944. background-color:var(--separator-color);
  2945. }
  2946. .horizontalToolbarSeparator{
  2947. display:block;
  2948. margin:6px 0;
  2949. height:1px;
  2950. width:100%;
  2951. background-color:var(--doorhanger-separator-color);
  2952. }
  2953. .toolbarField{
  2954. padding:4px 7px;
  2955. margin:3px 0;
  2956. border-radius:2px;
  2957. background-color:var(--field-bg-color);
  2958. background-clip:padding-box;
  2959. border:1px solid var(--field-border-color);
  2960. box-shadow:none;
  2961. color:var(--field-color);
  2962. font-size:12px;
  2963. line-height:16px;
  2964. outline:none;
  2965. }
  2966. .toolbarField[type="checkbox"]{
  2967. opacity:0;
  2968. position:absolute !important;
  2969. left:0;
  2970. margin:10px 0 3px;
  2971. margin-inline-start:7px;
  2972. }
  2973. #pageNumber{
  2974. -moz-appearance:textfield;
  2975. text-align:end;
  2976. width:40px;
  2977. background-size:0 0;
  2978. transition-property:none;
  2979. }
  2980. #pageNumber::-webkit-inner-spin-button{
  2981. -webkit-appearance:none;
  2982. }
  2983. .loadingInput:has(> #pageNumber.loading)::after{
  2984. visibility:visible;
  2985. transition-property:visibility;
  2986. transition-delay:var(--loading-icon-delay);
  2987. }
  2988. .loadingInput::after{
  2989. position:absolute;
  2990. visibility:hidden;
  2991. top:calc(50% - 8px);
  2992. width:16px;
  2993. height:16px;
  2994. content:"";
  2995. background-color:var(--toolbar-icon-bg-color);
  2996. -webkit-mask-size:cover;
  2997. mask-size:cover;
  2998. -webkit-mask-image:var(--loading-icon);
  2999. mask-image:var(--loading-icon);
  3000. }
  3001. .loadingInput.start::after{
  3002. inset-inline-start:4px;
  3003. }
  3004. .loadingInput.end::after{
  3005. inset-inline-end:4px;
  3006. }
  3007. .toolbarField:focus{
  3008. border-color:#0a84ff;
  3009. }
  3010. .toolbarLabel{
  3011. min-width:16px;
  3012. padding:7px;
  3013. margin:2px;
  3014. border-radius:2px;
  3015. color:var(--main-color);
  3016. font-size:12px;
  3017. line-height:14px;
  3018. text-align:left;
  3019. -webkit-user-select:none;
  3020. -moz-user-select:none;
  3021. user-select:none;
  3022. cursor:default;
  3023. }
  3024. #numPages.toolbarLabel{
  3025. padding-inline-start:3px;
  3026. }
  3027. #thumbnailView,
  3028. #outlineView,
  3029. #attachmentsView,
  3030. #layersView{
  3031. position:absolute;
  3032. width:calc(100% - 8px);
  3033. inset-block:0;
  3034. padding:4px 4px 0;
  3035. overflow:auto;
  3036. -webkit-user-select:none;
  3037. -moz-user-select:none;
  3038. user-select:none;
  3039. }
  3040. #thumbnailView{
  3041. width:calc(100% - 60px);
  3042. padding:10px 30px 0;
  3043. }
  3044. #thumbnailView > a:is(:active, :focus){
  3045. outline:0;
  3046. }
  3047. .thumbnail{
  3048. --thumbnail-width:0;
  3049. --thumbnail-height:0;
  3050. float:var(--inline-start);
  3051. width:var(--thumbnail-width);
  3052. height:var(--thumbnail-height);
  3053. margin:0 10px 5px;
  3054. padding:1px;
  3055. border:7px solid transparent;
  3056. border-radius:2px;
  3057. }
  3058. #thumbnailView > a:last-of-type > .thumbnail{
  3059. margin-bottom:10px;
  3060. }
  3061. a:focus > .thumbnail,
  3062. .thumbnail:hover{
  3063. border-color:var(--thumbnail-hover-color);
  3064. }
  3065. .thumbnail.selected{
  3066. border-color:var(--thumbnail-selected-color) !important;
  3067. }
  3068. .thumbnailImage{
  3069. width:var(--thumbnail-width);
  3070. height:var(--thumbnail-height);
  3071. opacity:0.9;
  3072. }
  3073. a:focus > .thumbnail > .thumbnailImage,
  3074. .thumbnail:hover > .thumbnailImage{
  3075. opacity:0.95;
  3076. }
  3077. .thumbnail.selected > .thumbnailImage{
  3078. opacity:1 !important;
  3079. }
  3080. .thumbnail:not([data-loaded]) > .thumbnailImage{
  3081. width:calc(var(--thumbnail-width) - 2px);
  3082. height:calc(var(--thumbnail-height) - 2px);
  3083. border:1px dashed rgb(132 132 132);
  3084. }
  3085. .treeWithDeepNesting > .treeItem,
  3086. .treeItem > .treeItems{
  3087. margin-inline-start:20px;
  3088. }
  3089. .treeItem > a{
  3090. text-decoration:none;
  3091. display:inline-block;
  3092. min-width:calc(100% - 4px);
  3093. height:auto;
  3094. margin-bottom:1px;
  3095. padding:2px 0 5px;
  3096. padding-inline-start:4px;
  3097. border-radius:2px;
  3098. color:var(--treeitem-color);
  3099. font-size:13px;
  3100. line-height:15px;
  3101. -webkit-user-select:none;
  3102. -moz-user-select:none;
  3103. user-select:none;
  3104. white-space:normal;
  3105. cursor:pointer;
  3106. }
  3107. #layersView .treeItem > a *{
  3108. cursor:pointer;
  3109. }
  3110. #layersView .treeItem > a > label{
  3111. padding-inline-start:4px;
  3112. }
  3113. #layersView .treeItem > a > label > input{
  3114. float:var(--inline-start);
  3115. margin-top:1px;
  3116. }
  3117. .treeItemToggler{
  3118. position:relative;
  3119. float:var(--inline-start);
  3120. height:0;
  3121. width:0;
  3122. color:rgb(255 255 255 / 0.5);
  3123. }
  3124. .treeItemToggler::before{
  3125. inset-inline-end:4px;
  3126. -webkit-mask-image:var(--treeitem-expanded-icon);
  3127. mask-image:var(--treeitem-expanded-icon);
  3128. }
  3129. .treeItemToggler.treeItemsHidden::before{
  3130. -webkit-mask-image:var(--treeitem-collapsed-icon);
  3131. mask-image:var(--treeitem-collapsed-icon);
  3132. transform:scaleX(var(--dir-factor));
  3133. }
  3134. .treeItemToggler.treeItemsHidden ~ .treeItems{
  3135. display:none;
  3136. }
  3137. .treeItem.selected > a{
  3138. background-color:var(--treeitem-selected-bg-color);
  3139. color:var(--treeitem-selected-color);
  3140. }
  3141. .treeItemToggler:hover,
  3142. .treeItemToggler:hover + a,
  3143. .treeItemToggler:hover ~ .treeItems,
  3144. .treeItem > a:hover{
  3145. background-color:var(--treeitem-bg-color);
  3146. background-clip:padding-box;
  3147. border-radius:2px;
  3148. color:var(--treeitem-hover-color);
  3149. }
  3150. #outlineOptionsContainer{
  3151. display:none;
  3152. }
  3153. #sidebarContainer:has(#outlineView:not(.hidden)) #outlineOptionsContainer{
  3154. display:inherit;
  3155. }
  3156. .dialogButton{
  3157. width:auto;
  3158. margin:3px 4px 2px !important;
  3159. padding:2px 11px;
  3160. color:var(--main-color);
  3161. background-color:var(--dialog-button-bg-color);
  3162. border:var(--dialog-button-border) !important;
  3163. }
  3164. dialog{
  3165. margin:auto;
  3166. padding:15px;
  3167. border-spacing:4px;
  3168. color:var(--main-color);
  3169. font:message-box;
  3170. font-size:12px;
  3171. line-height:14px;
  3172. background-color:var(--doorhanger-bg-color);
  3173. border:1px solid rgb(0 0 0 / 0.5);
  3174. border-radius:4px;
  3175. box-shadow:0 1px 4px rgb(0 0 0 / 0.3);
  3176. }
  3177. dialog::backdrop{
  3178. background-color:rgb(0 0 0 / 0.2);
  3179. }
  3180. dialog > .row{
  3181. display:table-row;
  3182. }
  3183. dialog > .row > *{
  3184. display:table-cell;
  3185. }
  3186. dialog .toolbarField{
  3187. margin:5px 0;
  3188. }
  3189. dialog .separator{
  3190. display:block;
  3191. margin:4px 0;
  3192. height:1px;
  3193. width:100%;
  3194. background-color:var(--separator-color);
  3195. }
  3196. dialog .buttonRow{
  3197. text-align:center;
  3198. vertical-align:middle;
  3199. }
  3200. dialog :link{
  3201. color:rgb(255 255 255);
  3202. }
  3203. #passwordDialog{
  3204. text-align:center;
  3205. }
  3206. #passwordDialog .toolbarField{
  3207. width:200px;
  3208. }
  3209. #documentPropertiesDialog{
  3210. text-align:left;
  3211. }
  3212. #documentPropertiesDialog .row > *{
  3213. min-width:100px;
  3214. text-align:start;
  3215. }
  3216. #documentPropertiesDialog .row > span{
  3217. width:125px;
  3218. word-wrap:break-word;
  3219. }
  3220. #documentPropertiesDialog .row > p{
  3221. max-width:225px;
  3222. word-wrap:break-word;
  3223. }
  3224. #documentPropertiesDialog .buttonRow{
  3225. margin-top:10px;
  3226. }
  3227. .grab-to-pan-grab{
  3228. cursor:grab !important;
  3229. }
  3230. .grab-to-pan-grab
  3231. *:not(input):not(textarea):not(button):not(select):not(:link){
  3232. cursor:inherit !important;
  3233. }
  3234. .grab-to-pan-grab:active,
  3235. .grab-to-pan-grabbing{
  3236. cursor:grabbing !important;
  3237. }
  3238. .grab-to-pan-grabbing{
  3239. position:fixed;
  3240. background:rgb(0 0 0 / 0);
  3241. display:block;
  3242. inset:0;
  3243. overflow:hidden;
  3244. z-index:50000;
  3245. }
  3246. @page{
  3247. margin:0;
  3248. }
  3249. #printContainer{
  3250. display:none;
  3251. }
  3252. @media print{
  3253. body{
  3254. background:rgb(0 0 0 / 0) none;
  3255. }
  3256. body[data-pdfjsprinting] #outerContainer{
  3257. display:none;
  3258. }
  3259. body[data-pdfjsprinting] #printContainer{
  3260. display:block;
  3261. }
  3262. #printContainer{
  3263. height:100%;
  3264. }
  3265. #printContainer > .printedPage{
  3266. page-break-after:always;
  3267. page-break-inside:avoid;
  3268. height:100%;
  3269. width:100%;
  3270. display:flex;
  3271. flex-direction:column;
  3272. justify-content:center;
  3273. align-items:center;
  3274. }
  3275. #printContainer > .xfaPrintedPage .xfaPage{
  3276. position:absolute;
  3277. }
  3278. #printContainer > .xfaPrintedPage{
  3279. page-break-after:always;
  3280. page-break-inside:avoid;
  3281. width:100%;
  3282. height:100%;
  3283. position:relative;
  3284. }
  3285. #printContainer > .printedPage :is(canvas, img){
  3286. max-width:100%;
  3287. max-height:100%;
  3288. direction:ltr;
  3289. display:block;
  3290. }
  3291. }
  3292. .visibleMediumView{
  3293. display:none;
  3294. }
  3295. @media all and (max-width: 900px){
  3296. #toolbarViewerMiddle{
  3297. display:table;
  3298. margin:auto;
  3299. left:auto;
  3300. position:inherit;
  3301. transform:none;
  3302. }
  3303. }
  3304. @media all and (max-width: 840px){
  3305. #sidebarContainer{
  3306. background-color:var(--sidebar-narrow-bg-color);
  3307. }
  3308. #outerContainer.sidebarOpen #viewerContainer{
  3309. inset-inline-start:0 !important;
  3310. }
  3311. }
  3312. @media all and (max-width: 750px){
  3313. :root{
  3314. --editor-toolbar-base-offset:40px;
  3315. }
  3316. #outerContainer .hiddenMediumView{
  3317. display:none;
  3318. }
  3319. #outerContainer .visibleMediumView{
  3320. display:inherit;
  3321. }
  3322. }
  3323. @media all and (max-width: 690px){
  3324. .hiddenSmallView,
  3325. .hiddenSmallView *{
  3326. display:none;
  3327. }
  3328. .toolbarButtonSpacer{
  3329. width:0;
  3330. }
  3331. .findbar{
  3332. inset-inline-start:34px;
  3333. }
  3334. }
  3335. @media all and (max-width: 560px){
  3336. #scaleSelectContainer{
  3337. display:none;
  3338. }
  3339. }