pdf_viewer.css 98 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274
  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. .messageBar{
  16. --closing-button-icon:url(images/messageBar_closingButton.svg);
  17. --message-bar-close-button-color:var(--text-primary-color);
  18. --message-bar-close-button-color-hover:var(--text-primary-color);
  19. --message-bar-close-button-border-radius:4px;
  20. --message-bar-close-button-border:none;
  21. --message-bar-close-button-hover-bg-color:rgb(21 20 26 / 0.14);
  22. --message-bar-close-button-active-bg-color:rgb(21 20 26 / 0.21);
  23. --message-bar-close-button-focus-bg-color:rgb(21 20 26 / 0.07);
  24. }
  25. @media (prefers-color-scheme: dark){
  26. .messageBar{
  27. --message-bar-close-button-hover-bg-color:rgb(251 251 254 / 0.14);
  28. --message-bar-close-button-active-bg-color:rgb(251 251 254 / 0.21);
  29. --message-bar-close-button-focus-bg-color:rgb(251 251 254 / 0.07);
  30. }
  31. }
  32. @media screen and (forced-colors: active){
  33. .messageBar{
  34. --message-bar-close-button-color:ButtonText;
  35. --message-bar-close-button-border:1px solid ButtonText;
  36. --message-bar-close-button-hover-bg-color:ButtonText;
  37. --message-bar-close-button-active-bg-color:ButtonText;
  38. --message-bar-close-button-focus-bg-color:ButtonText;
  39. --message-bar-close-button-color-hover:HighlightText;
  40. }
  41. }
  42. .messageBar{
  43. display:flex;
  44. position:relative;
  45. padding:8px 8px 8px 16px;
  46. flex-direction:column;
  47. justify-content:center;
  48. align-items:center;
  49. gap:8px;
  50. -webkit-user-select:none;
  51. -moz-user-select:none;
  52. user-select:none;
  53. border-radius:4px;
  54. border:1px solid var(--message-bar-border-color);
  55. background:var(--message-bar-bg-color);
  56. color:var(--message-bar-fg-color);
  57. }
  58. .messageBar > div{
  59. display:flex;
  60. align-items:flex-start;
  61. gap:8px;
  62. align-self:stretch;
  63. }
  64. :is(.messageBar > div)::before{
  65. content:"";
  66. display:inline-block;
  67. width:16px;
  68. height:16px;
  69. -webkit-mask-image:var(--message-bar-icon);
  70. mask-image:var(--message-bar-icon);
  71. -webkit-mask-size:cover;
  72. mask-size:cover;
  73. background-color:var(--message-bar-icon-color);
  74. flex-shrink:0;
  75. }
  76. .messageBar button{
  77. cursor:pointer;
  78. }
  79. :is(.messageBar button):focus-visible{
  80. outline:var(--focus-ring-outline);
  81. outline-offset:2px;
  82. }
  83. .messageBar .closeButton{
  84. width:32px;
  85. height:32px;
  86. background:none;
  87. border-radius:var(--message-bar-close-button-border-radius);
  88. border:var(--message-bar-close-button-border);
  89. display:flex;
  90. align-items:center;
  91. justify-content:center;
  92. }
  93. :is(.messageBar .closeButton)::before{
  94. content:"";
  95. display:inline-block;
  96. width:16px;
  97. height:16px;
  98. -webkit-mask-image:var(--closing-button-icon);
  99. mask-image:var(--closing-button-icon);
  100. -webkit-mask-size:cover;
  101. mask-size:cover;
  102. background-color:var(--message-bar-close-button-color);
  103. }
  104. :is(.messageBar .closeButton):is(:hover,:active,:focus)::before{
  105. background-color:var(--message-bar-close-button-color-hover);
  106. }
  107. :is(.messageBar .closeButton):hover{
  108. background-color:var(--message-bar-close-button-hover-bg-color);
  109. }
  110. :is(.messageBar .closeButton):active{
  111. background-color:var(--message-bar-close-button-active-bg-color);
  112. }
  113. :is(.messageBar .closeButton):focus{
  114. background-color:var(--message-bar-close-button-focus-bg-color);
  115. }
  116. :is(.messageBar .closeButton) > span{
  117. display:inline-block;
  118. width:0;
  119. height:0;
  120. overflow:hidden;
  121. }
  122. #editorUndoBar{
  123. --text-primary-color:#15141a;
  124. --message-bar-icon:url(images/secondaryToolbarButton-documentProperties.svg);
  125. --message-bar-icon-color:#0060df;
  126. --message-bar-bg-color:#deeafc;
  127. --message-bar-fg-color:var(--text-primary-color);
  128. --message-bar-border-color:rgb(0 0 0 / 0.08);
  129. --undo-button-bg-color:rgb(21 20 26 / 0.07);
  130. --undo-button-bg-color-hover:rgb(21 20 26 / 0.14);
  131. --undo-button-bg-color-active:rgb(21 20 26 / 0.21);
  132. --undo-button-fg-color:var(--message-bar-fg-color);
  133. --undo-button-fg-color-hover:var(--undo-button-fg-color);
  134. --undo-button-fg-color-active:var(--undo-button-fg-color);
  135. --focus-ring-color:#0060df;
  136. --focus-ring-outline:2px solid var(--focus-ring-color);
  137. }
  138. @media (prefers-color-scheme: dark){
  139. #editorUndoBar{
  140. --text-primary-color:#fbfbfe;
  141. --message-bar-icon-color:#73a7f3;
  142. --message-bar-bg-color:#003070;
  143. --message-bar-border-color:rgb(255 255 255 / 0.08);
  144. --undo-button-bg-color:rgb(255 255 255 / 0.08);
  145. --undo-button-bg-color-hover:rgb(255 255 255 / 0.14);
  146. --undo-button-bg-color-active:rgb(255 255 255 / 0.21);
  147. }
  148. }
  149. @media screen and (forced-colors: active){
  150. #editorUndoBar{
  151. --text-primary-color:CanvasText;
  152. --message-bar-icon-color:CanvasText;
  153. --message-bar-bg-color:Canvas;
  154. --message-bar-border-color:CanvasText;
  155. --undo-button-bg-color:ButtonText;
  156. --undo-button-bg-color-hover:SelectedItem;
  157. --undo-button-bg-color-active:SelectedItem;
  158. --undo-button-fg-color:ButtonFace;
  159. --undo-button-fg-color-hover:SelectedItemText;
  160. --undo-button-fg-color-active:SelectedItemText;
  161. --focus-ring-color:CanvasText;
  162. }
  163. }
  164. #editorUndoBar{
  165. position:fixed;
  166. top:50px;
  167. left:50%;
  168. transform:translateX(-50%);
  169. z-index:10;
  170. padding-block:8px;
  171. padding-inline:16px 8px;
  172. font:menu;
  173. font-size:15px;
  174. cursor:default;
  175. }
  176. #editorUndoBar button{
  177. cursor:pointer;
  178. }
  179. #editorUndoBar #editorUndoBarUndoButton{
  180. border-radius:4px;
  181. font-weight:590;
  182. line-height:19.5px;
  183. color:var(--undo-button-fg-color);
  184. border:none;
  185. padding:4px 16px;
  186. margin-inline-start:8px;
  187. height:32px;
  188. background-color:var(--undo-button-bg-color);
  189. }
  190. :is(#editorUndoBar #editorUndoBarUndoButton):hover{
  191. background-color:var(--undo-button-bg-color-hover);
  192. color:var(--undo-button-fg-color-hover);
  193. }
  194. :is(#editorUndoBar #editorUndoBarUndoButton):active{
  195. background-color:var(--undo-button-bg-color-active);
  196. color:var(--undo-button-fg-color-active);
  197. }
  198. #editorUndoBar > div{
  199. align-items:center;
  200. }
  201. .dialog{
  202. --dialog-bg-color:white;
  203. --dialog-border-color:white;
  204. --dialog-shadow:0 2px 14px 0 rgb(58 57 68 / 0.2);
  205. --text-primary-color:#15141a;
  206. --text-secondary-color:#5b5b66;
  207. --hover-filter:brightness(0.9);
  208. --focus-ring-color:#0060df;
  209. --focus-ring-outline:2px solid var(--focus-ring-color);
  210. --link-fg-color:#0060df;
  211. --link-hover-fg-color:#0250bb;
  212. --separator-color:#f0f0f4;
  213. --textarea-border-color:#8f8f9d;
  214. --textarea-bg-color:white;
  215. --textarea-fg-color:var(--text-secondary-color);
  216. --radio-bg-color:#f0f0f4;
  217. --radio-checked-bg-color:#fbfbfe;
  218. --radio-border-color:#8f8f9d;
  219. --radio-checked-border-color:#0060df;
  220. --button-secondary-bg-color:#f0f0f4;
  221. --button-secondary-fg-color:var(--text-primary-color);
  222. --button-secondary-border-color:var(--button-secondary-bg-color);
  223. --button-secondary-hover-bg-color:var(--button-secondary-bg-color);
  224. --button-secondary-hover-fg-color:var(--button-secondary-fg-color);
  225. --button-secondary-hover-border-color:var(--button-secondary-hover-bg-color);
  226. --button-primary-bg-color:#0060df;
  227. --button-primary-fg-color:#fbfbfe;
  228. --button-primary-border-color:var(--button-primary-bg-color);
  229. --button-primary-hover-bg-color:var(--button-primary-bg-color);
  230. --button-primary-hover-fg-color:var(--button-primary-fg-color);
  231. --button-primary-hover-border-color:var(--button-primary-hover-bg-color);
  232. }
  233. @media (prefers-color-scheme: dark){
  234. .dialog{
  235. --dialog-bg-color:#1c1b22;
  236. --dialog-border-color:#1c1b22;
  237. --dialog-shadow:0 2px 14px 0 #15141a;
  238. --text-primary-color:#fbfbfe;
  239. --text-secondary-color:#cfcfd8;
  240. --focus-ring-color:#0df;
  241. --hover-filter:brightness(1.4);
  242. --link-fg-color:#0df;
  243. --link-hover-fg-color:#80ebff;
  244. --separator-color:#52525e;
  245. --textarea-bg-color:#42414d;
  246. --radio-bg-color:#2b2a33;
  247. --radio-checked-bg-color:#15141a;
  248. --radio-checked-border-color:#0df;
  249. --button-secondary-bg-color:#2b2a33;
  250. --button-primary-bg-color:#0df;
  251. --button-primary-fg-color:#15141a;
  252. }
  253. }
  254. @media screen and (forced-colors: active){
  255. .dialog{
  256. --dialog-bg-color:Canvas;
  257. --dialog-border-color:CanvasText;
  258. --dialog-shadow:none;
  259. --text-primary-color:CanvasText;
  260. --text-secondary-color:CanvasText;
  261. --hover-filter:none;
  262. --focus-ring-color:ButtonBorder;
  263. --link-fg-color:LinkText;
  264. --link-hover-fg-color:LinkText;
  265. --separator-color:CanvasText;
  266. --textarea-border-color:ButtonBorder;
  267. --textarea-bg-color:Field;
  268. --textarea-fg-color:ButtonText;
  269. --radio-bg-color:ButtonFace;
  270. --radio-checked-bg-color:ButtonFace;
  271. --radio-border-color:ButtonText;
  272. --radio-checked-border-color:ButtonText;
  273. --button-secondary-bg-color:ButtonFace;
  274. --button-secondary-fg-color:ButtonText;
  275. --button-secondary-border-color:ButtonText;
  276. --button-secondary-hover-bg-color:AccentColor;
  277. --button-secondary-hover-fg-color:AccentColorText;
  278. --button-primary-bg-color:ButtonText;
  279. --button-primary-fg-color:ButtonFace;
  280. --button-primary-hover-bg-color:AccentColor;
  281. --button-primary-hover-fg-color:AccentColorText;
  282. }
  283. }
  284. .dialog{
  285. font:message-box;
  286. font-size:13px;
  287. font-weight:400;
  288. line-height:150%;
  289. border-radius:4px;
  290. padding:12px 16px;
  291. border:1px solid var(--dialog-border-color);
  292. background:var(--dialog-bg-color);
  293. color:var(--text-primary-color);
  294. box-shadow:var(--dialog-shadow);
  295. }
  296. :is(.dialog .mainContainer) *:focus-visible{
  297. outline:var(--focus-ring-outline);
  298. outline-offset:2px;
  299. }
  300. :is(.dialog .mainContainer) .title{
  301. display:flex;
  302. width:auto;
  303. flex-direction:column;
  304. justify-content:flex-end;
  305. align-items:flex-start;
  306. gap:12px;
  307. }
  308. :is(:is(.dialog .mainContainer) .title) > span{
  309. font-size:13px;
  310. font-style:normal;
  311. font-weight:590;
  312. line-height:150%;
  313. }
  314. :is(.dialog .mainContainer) .dialogSeparator{
  315. width:100%;
  316. height:0;
  317. margin-block:4px;
  318. border-top:1px solid var(--separator-color);
  319. border-bottom:none;
  320. }
  321. :is(.dialog .mainContainer) .dialogButtonsGroup{
  322. display:flex;
  323. gap:12px;
  324. align-self:flex-end;
  325. }
  326. :is(.dialog .mainContainer) .radio{
  327. display:flex;
  328. flex-direction:column;
  329. align-items:flex-start;
  330. gap:4px;
  331. }
  332. :is(:is(.dialog .mainContainer) .radio) > .radioButton{
  333. display:flex;
  334. gap:8px;
  335. align-self:stretch;
  336. align-items:center;
  337. }
  338. :is(:is(:is(.dialog .mainContainer) .radio) > .radioButton) input{
  339. -webkit-appearance:none;
  340. -moz-appearance:none;
  341. appearance:none;
  342. box-sizing:border-box;
  343. width:16px;
  344. height:16px;
  345. border-radius:50%;
  346. background-color:var(--radio-bg-color);
  347. border:1px solid var(--radio-border-color);
  348. }
  349. :is(:is(:is(:is(.dialog .mainContainer) .radio) > .radioButton) input):hover{
  350. filter:var(--hover-filter);
  351. }
  352. :is(:is(:is(:is(.dialog .mainContainer) .radio) > .radioButton) input):checked{
  353. background-color:var(--radio-checked-bg-color);
  354. border:4px solid var(--radio-checked-border-color);
  355. }
  356. :is(:is(.dialog .mainContainer) .radio) > .radioLabel{
  357. display:flex;
  358. padding-inline-start:24px;
  359. align-items:flex-start;
  360. gap:10px;
  361. align-self:stretch;
  362. }
  363. :is(:is(:is(.dialog .mainContainer) .radio) > .radioLabel) > span{
  364. flex:1 0 0;
  365. font-size:11px;
  366. color:var(--text-secondary-color);
  367. }
  368. :is(.dialog .mainContainer) button:not(:is(.toggle-button,.closeButton)){
  369. border-radius:4px;
  370. border:1px solid;
  371. font:menu;
  372. font-weight:600;
  373. padding:4px 16px;
  374. width:auto;
  375. height:32px;
  376. }
  377. :is(:is(.dialog .mainContainer) button:not(:is(.toggle-button,.closeButton))):hover{
  378. cursor:pointer;
  379. filter:var(--hover-filter);
  380. }
  381. .secondaryButton:is(:is(.dialog .mainContainer) button:not(:is(.toggle-button,.closeButton))){
  382. color:var(--button-secondary-fg-color);
  383. background-color:var(--button-secondary-bg-color);
  384. border-color:var(--button-secondary-border-color);
  385. }
  386. .secondaryButton:is(:is(.dialog .mainContainer) button:not(:is(.toggle-button,.closeButton))):hover{
  387. color:var(--button-secondary-hover-fg-color);
  388. background-color:var(--button-secondary-hover-bg-color);
  389. border-color:var(--button-secondary-hover-border-color);
  390. }
  391. .primaryButton:is(:is(.dialog .mainContainer) button:not(:is(.toggle-button,.closeButton))){
  392. color:var(--button-primary-fg-color);
  393. background-color:var(--button-primary-bg-color);
  394. border-color:var(--button-primary-border-color);
  395. opacity:1;
  396. }
  397. .primaryButton:is(:is(.dialog .mainContainer) button:not(:is(.toggle-button,.closeButton))):hover{
  398. color:var(--button-primary-hover-fg-color);
  399. background-color:var(--button-primary-hover-bg-color);
  400. border-color:var(--button-primary-hover-border-color);
  401. }
  402. :is(.dialog .mainContainer) a{
  403. color:var(--link-fg-color);
  404. }
  405. :is(:is(.dialog .mainContainer) a):hover{
  406. color:var(--link-hover-fg-color);
  407. }
  408. :is(.dialog .mainContainer) textarea{
  409. font:inherit;
  410. padding:8px;
  411. resize:none;
  412. margin:0;
  413. box-sizing:border-box;
  414. border-radius:4px;
  415. border:1px solid var(--textarea-border-color);
  416. background:var(--textarea-bg-color);
  417. color:var(--textarea-fg-color);
  418. }
  419. :is(:is(.dialog .mainContainer) textarea):focus{
  420. outline-offset:0;
  421. border-color:transparent;
  422. }
  423. :is(:is(.dialog .mainContainer) textarea):disabled{
  424. pointer-events:none;
  425. opacity:0.4;
  426. }
  427. :is(.dialog .mainContainer) .messageBar{
  428. --message-bar-bg-color:#ffebcd;
  429. --message-bar-fg-color:#15141a;
  430. --message-bar-border-color:rgb(0 0 0 / 0.08);
  431. --message-bar-icon:url(images/messageBar_warning.svg);
  432. --message-bar-icon-color:#cd411e;
  433. }
  434. @media (prefers-color-scheme: dark){
  435. :is(.dialog .mainContainer) .messageBar{
  436. --message-bar-bg-color:#5a3100;
  437. --message-bar-fg-color:#fbfbfe;
  438. --message-bar-border-color:rgb(255 255 255 / 0.08);
  439. --message-bar-icon-color:#e49c49;
  440. }
  441. }
  442. @media screen and (forced-colors: active){
  443. :is(.dialog .mainContainer) .messageBar{
  444. --message-bar-bg-color:HighlightText;
  445. --message-bar-fg-color:CanvasText;
  446. --message-bar-border-color:CanvasText;
  447. --message-bar-icon-color:CanvasText;
  448. }
  449. }
  450. :is(.dialog .mainContainer) .messageBar{
  451. align-self:stretch;
  452. }
  453. :is(:is(:is(.dialog .mainContainer) .messageBar) > div)::before,:is(:is(:is(.dialog .mainContainer) .messageBar) > div) > div{
  454. margin-block:4px;
  455. }
  456. :is(:is(:is(.dialog .mainContainer) .messageBar) > div) > div{
  457. display:flex;
  458. flex-direction:column;
  459. align-items:flex-start;
  460. gap:8px;
  461. flex:1 0 0;
  462. }
  463. :is(:is(:is(:is(.dialog .mainContainer) .messageBar) > div) > div) .title{
  464. font-size:13px;
  465. font-weight:590;
  466. }
  467. :is(:is(:is(:is(.dialog .mainContainer) .messageBar) > div) > div) .description{
  468. font-size:13px;
  469. }
  470. :is(.dialog .mainContainer) .toggler{
  471. display:flex;
  472. align-items:center;
  473. gap:8px;
  474. align-self:stretch;
  475. }
  476. :is(:is(.dialog .mainContainer) .toggler) > .togglerLabel{
  477. -webkit-user-select:none;
  478. -moz-user-select:none;
  479. user-select:none;
  480. }
  481. .textLayer{
  482. position:absolute;
  483. text-align:initial;
  484. inset:0;
  485. overflow:clip;
  486. opacity:1;
  487. line-height:1;
  488. -webkit-text-size-adjust:none;
  489. -moz-text-size-adjust:none;
  490. text-size-adjust:none;
  491. forced-color-adjust:none;
  492. transform-origin:0 0;
  493. caret-color:CanvasText;
  494. z-index:0;
  495. }
  496. .textLayer.highlighting{
  497. touch-action:none;
  498. }
  499. .textLayer :is(span,br){
  500. color:transparent;
  501. position:absolute;
  502. white-space:pre;
  503. cursor:text;
  504. transform-origin:0% 0%;
  505. }
  506. .textLayer > :not(.markedContent),.textLayer .markedContent span:not(.markedContent){
  507. z-index:1;
  508. }
  509. .textLayer span.markedContent{
  510. top:0;
  511. height:0;
  512. }
  513. .textLayer span[role="img"]{
  514. -webkit-user-select:none;
  515. -moz-user-select:none;
  516. user-select:none;
  517. cursor:default;
  518. }
  519. .textLayer .highlight{
  520. --highlight-bg-color:rgb(180 0 170 / 0.25);
  521. --highlight-selected-bg-color:rgb(0 100 0 / 0.25);
  522. --highlight-backdrop-filter:none;
  523. --highlight-selected-backdrop-filter:none;
  524. }
  525. @media screen and (forced-colors: active){
  526. .textLayer .highlight{
  527. --highlight-bg-color:transparent;
  528. --highlight-selected-bg-color:transparent;
  529. --highlight-backdrop-filter:var(--hcm-highlight-filter);
  530. --highlight-selected-backdrop-filter:var(
  531. --hcm-highlight-selected-filter
  532. );
  533. }
  534. }
  535. .textLayer .highlight{
  536. margin:-1px;
  537. padding:1px;
  538. background-color:var(--highlight-bg-color);
  539. -webkit-backdrop-filter:var(--highlight-backdrop-filter);
  540. backdrop-filter:var(--highlight-backdrop-filter);
  541. border-radius:4px;
  542. }
  543. .appended:is(.textLayer .highlight){
  544. position:initial;
  545. }
  546. .begin:is(.textLayer .highlight){
  547. border-radius:4px 0 0 4px;
  548. }
  549. .end:is(.textLayer .highlight){
  550. border-radius:0 4px 4px 0;
  551. }
  552. .middle:is(.textLayer .highlight){
  553. border-radius:0;
  554. }
  555. .selected:is(.textLayer .highlight){
  556. background-color:var(--highlight-selected-bg-color);
  557. -webkit-backdrop-filter:var(--highlight-selected-backdrop-filter);
  558. backdrop-filter:var(--highlight-selected-backdrop-filter);
  559. }
  560. .textLayer ::-moz-selection{
  561. background:rgba(0 0 255 / 0.25);
  562. background:color-mix(in srgb, AccentColor, transparent 75%);
  563. }
  564. .textLayer ::selection{
  565. background:rgba(0 0 255 / 0.25);
  566. background:color-mix(in srgb, AccentColor, transparent 75%);
  567. }
  568. .textLayer br::-moz-selection{
  569. background:transparent;
  570. }
  571. .textLayer br::selection{
  572. background:transparent;
  573. }
  574. .textLayer .endOfContent{
  575. display:block;
  576. position:absolute;
  577. inset:100% 0 0;
  578. z-index:0;
  579. cursor:default;
  580. -webkit-user-select:none;
  581. -moz-user-select:none;
  582. user-select:none;
  583. }
  584. .textLayer.selecting .endOfContent{
  585. top:0;
  586. }
  587. .annotationLayer{
  588. --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>");
  589. --input-focus-border-color:Highlight;
  590. --input-focus-outline:1px solid Canvas;
  591. --input-unfocused-border-color:transparent;
  592. --input-disabled-border-color:transparent;
  593. --input-hover-border-color:black;
  594. --link-outline:none;
  595. }
  596. @media screen and (forced-colors: active){
  597. .annotationLayer{
  598. --input-focus-border-color:CanvasText;
  599. --input-unfocused-border-color:ActiveText;
  600. --input-disabled-border-color:GrayText;
  601. --input-hover-border-color:Highlight;
  602. --link-outline:1.5px solid LinkText;
  603. }
  604. .annotationLayer .textWidgetAnnotation :is(input,textarea):required,.annotationLayer .choiceWidgetAnnotation select:required,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:required{
  605. outline:1.5px solid selectedItem;
  606. }
  607. .annotationLayer .linkAnnotation{
  608. outline:var(--link-outline);
  609. }
  610. :is(.annotationLayer .linkAnnotation):hover{
  611. -webkit-backdrop-filter:var(--hcm-highlight-filter);
  612. backdrop-filter:var(--hcm-highlight-filter);
  613. }
  614. :is(.annotationLayer .linkAnnotation) > a:hover{
  615. opacity:0 !important;
  616. background:none !important;
  617. box-shadow:none;
  618. }
  619. .annotationLayer .popupAnnotation .popup{
  620. outline:calc(1.5px * var(--scale-factor)) solid CanvasText !important;
  621. background-color:ButtonFace !important;
  622. color:ButtonText !important;
  623. }
  624. .annotationLayer .highlightArea:hover::after{
  625. position:absolute;
  626. top:0;
  627. left:0;
  628. width:100%;
  629. height:100%;
  630. -webkit-backdrop-filter:var(--hcm-highlight-filter);
  631. backdrop-filter:var(--hcm-highlight-filter);
  632. content:"";
  633. pointer-events:none;
  634. }
  635. .annotationLayer .popupAnnotation.focused .popup{
  636. outline:calc(3px * var(--scale-factor)) solid Highlight !important;
  637. }
  638. }
  639. .annotationLayer{
  640. position:absolute;
  641. top:0;
  642. left:0;
  643. pointer-events:none;
  644. transform-origin:0 0;
  645. }
  646. .annotationLayer[data-main-rotation="90"] .norotate{
  647. transform:rotate(270deg) translateX(-100%);
  648. }
  649. .annotationLayer[data-main-rotation="180"] .norotate{
  650. transform:rotate(180deg) translate(-100%, -100%);
  651. }
  652. .annotationLayer[data-main-rotation="270"] .norotate{
  653. transform:rotate(90deg) translateY(-100%);
  654. }
  655. .annotationLayer.disabled section,.annotationLayer.disabled .popup{
  656. pointer-events:none;
  657. }
  658. .annotationLayer .annotationContent{
  659. position:absolute;
  660. width:100%;
  661. height:100%;
  662. pointer-events:none;
  663. }
  664. .freetext:is(.annotationLayer .annotationContent){
  665. background:transparent;
  666. border:none;
  667. inset:0;
  668. overflow:visible;
  669. white-space:nowrap;
  670. font:10px sans-serif;
  671. line-height:1.35;
  672. -webkit-user-select:none;
  673. -moz-user-select:none;
  674. user-select:none;
  675. }
  676. .annotationLayer section{
  677. position:absolute;
  678. text-align:initial;
  679. pointer-events:auto;
  680. box-sizing:border-box;
  681. transform-origin:0 0;
  682. }
  683. :is(.annotationLayer section):has(div.annotationContent) canvas.annotationContent{
  684. display:none;
  685. }
  686. .textLayer.selecting ~ .annotationLayer section{
  687. pointer-events:none;
  688. }
  689. .annotationLayer :is(.linkAnnotation,.buttonWidgetAnnotation.pushButton) > a{
  690. position:absolute;
  691. font-size:1em;
  692. top:0;
  693. left:0;
  694. width:100%;
  695. height:100%;
  696. }
  697. .annotationLayer :is(.linkAnnotation,.buttonWidgetAnnotation.pushButton):not(.hasBorder) > a:hover{
  698. opacity:0.2;
  699. background-color:rgb(255 255 0);
  700. box-shadow:0 2px 10px rgb(255 255 0);
  701. }
  702. .annotationLayer .linkAnnotation.hasBorder:hover{
  703. background-color:rgb(255 255 0 / 0.2);
  704. }
  705. .annotationLayer .hasBorder{
  706. background-size:100% 100%;
  707. }
  708. .annotationLayer .textAnnotation img{
  709. position:absolute;
  710. cursor:pointer;
  711. width:100%;
  712. height:100%;
  713. top:0;
  714. left:0;
  715. }
  716. .annotationLayer .textWidgetAnnotation :is(input,textarea),.annotationLayer .choiceWidgetAnnotation select,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input{
  717. background-image:var(--annotation-unfocused-field-background);
  718. border:2px solid var(--input-unfocused-border-color);
  719. box-sizing:border-box;
  720. font:calc(9px * var(--scale-factor)) sans-serif;
  721. height:100%;
  722. margin:0;
  723. vertical-align:top;
  724. width:100%;
  725. }
  726. .annotationLayer .textWidgetAnnotation :is(input,textarea):required,.annotationLayer .choiceWidgetAnnotation select:required,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:required{
  727. outline:1.5px solid red;
  728. }
  729. .annotationLayer .choiceWidgetAnnotation select option{
  730. padding:0;
  731. }
  732. .annotationLayer .buttonWidgetAnnotation.radioButton input{
  733. border-radius:50%;
  734. }
  735. .annotationLayer .textWidgetAnnotation textarea{
  736. resize:none;
  737. }
  738. .annotationLayer .textWidgetAnnotation [disabled]:is(input,textarea),.annotationLayer .choiceWidgetAnnotation select[disabled],.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input[disabled]{
  739. background:none;
  740. border:2px solid var(--input-disabled-border-color);
  741. cursor:not-allowed;
  742. }
  743. .annotationLayer .textWidgetAnnotation :is(input,textarea):hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:hover{
  744. border:2px solid var(--input-hover-border-color);
  745. }
  746. .annotationLayer .textWidgetAnnotation :is(input,textarea):hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .buttonWidgetAnnotation.checkBox input:hover{
  747. border-radius:2px;
  748. }
  749. .annotationLayer .textWidgetAnnotation :is(input,textarea):focus,.annotationLayer .choiceWidgetAnnotation select:focus{
  750. background:none;
  751. border:2px solid var(--input-focus-border-color);
  752. border-radius:2px;
  753. outline:var(--input-focus-outline);
  754. }
  755. .annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) :focus{
  756. background-image:none;
  757. background-color:transparent;
  758. }
  759. .annotationLayer .buttonWidgetAnnotation.checkBox :focus{
  760. border:2px solid var(--input-focus-border-color);
  761. border-radius:2px;
  762. outline:var(--input-focus-outline);
  763. }
  764. .annotationLayer .buttonWidgetAnnotation.radioButton :focus{
  765. border:2px solid var(--input-focus-border-color);
  766. outline:var(--input-focus-outline);
  767. }
  768. .annotationLayer .buttonWidgetAnnotation.checkBox input:checked::before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked::after,.annotationLayer .buttonWidgetAnnotation.radioButton input:checked::before{
  769. background-color:CanvasText;
  770. content:"";
  771. display:block;
  772. position:absolute;
  773. }
  774. .annotationLayer .buttonWidgetAnnotation.checkBox input:checked::before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked::after{
  775. height:80%;
  776. left:45%;
  777. width:1px;
  778. }
  779. .annotationLayer .buttonWidgetAnnotation.checkBox input:checked::before{
  780. transform:rotate(45deg);
  781. }
  782. .annotationLayer .buttonWidgetAnnotation.checkBox input:checked::after{
  783. transform:rotate(-45deg);
  784. }
  785. .annotationLayer .buttonWidgetAnnotation.radioButton input:checked::before{
  786. border-radius:50%;
  787. height:50%;
  788. left:25%;
  789. top:25%;
  790. width:50%;
  791. }
  792. .annotationLayer .textWidgetAnnotation input.comb{
  793. font-family:monospace;
  794. padding-left:2px;
  795. padding-right:0;
  796. }
  797. .annotationLayer .textWidgetAnnotation input.comb:focus{
  798. width:103%;
  799. }
  800. .annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input{
  801. -webkit-appearance:none;
  802. -moz-appearance:none;
  803. appearance:none;
  804. }
  805. .annotationLayer .fileAttachmentAnnotation .popupTriggerArea{
  806. height:100%;
  807. width:100%;
  808. }
  809. .annotationLayer .popupAnnotation{
  810. position:absolute;
  811. font-size:calc(9px * var(--scale-factor));
  812. pointer-events:none;
  813. width:-moz-max-content;
  814. width:max-content;
  815. max-width:45%;
  816. height:auto;
  817. }
  818. .annotationLayer .popup{
  819. background-color:rgb(255 255 153);
  820. box-shadow:0 calc(2px * var(--scale-factor)) calc(5px * var(--scale-factor)) rgb(136 136 136);
  821. border-radius:calc(2px * var(--scale-factor));
  822. outline:1.5px solid rgb(255 255 74);
  823. padding:calc(6px * var(--scale-factor));
  824. cursor:pointer;
  825. font:message-box;
  826. white-space:normal;
  827. word-wrap:break-word;
  828. pointer-events:auto;
  829. }
  830. .annotationLayer .popupAnnotation.focused .popup{
  831. outline-width:3px;
  832. }
  833. .annotationLayer .popup *{
  834. font-size:calc(9px * var(--scale-factor));
  835. }
  836. .annotationLayer .popup > .header{
  837. display:inline-block;
  838. }
  839. .annotationLayer .popup > .header h1{
  840. display:inline;
  841. }
  842. .annotationLayer .popup > .header .popupDate{
  843. display:inline-block;
  844. margin-left:calc(5px * var(--scale-factor));
  845. width:-moz-fit-content;
  846. width:fit-content;
  847. }
  848. .annotationLayer .popupContent{
  849. border-top:1px solid rgb(51 51 51);
  850. margin-top:calc(2px * var(--scale-factor));
  851. padding-top:calc(2px * var(--scale-factor));
  852. }
  853. .annotationLayer .richText > *{
  854. white-space:pre-wrap;
  855. font-size:calc(9px * var(--scale-factor));
  856. }
  857. .annotationLayer .popupTriggerArea{
  858. cursor:pointer;
  859. }
  860. .annotationLayer section svg{
  861. position:absolute;
  862. width:100%;
  863. height:100%;
  864. top:0;
  865. left:0;
  866. }
  867. .annotationLayer .annotationTextContent{
  868. position:absolute;
  869. width:100%;
  870. height:100%;
  871. opacity:0;
  872. color:transparent;
  873. -webkit-user-select:none;
  874. -moz-user-select:none;
  875. user-select:none;
  876. pointer-events:none;
  877. }
  878. :is(.annotationLayer .annotationTextContent) span{
  879. width:100%;
  880. display:inline-block;
  881. }
  882. .annotationLayer svg.quadrilateralsContainer{
  883. contain:strict;
  884. width:0;
  885. height:0;
  886. position:absolute;
  887. top:0;
  888. left:0;
  889. z-index:-1;
  890. }
  891. :root{
  892. --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>");
  893. --xfa-focus-outline:auto;
  894. }
  895. @media screen and (forced-colors: active){
  896. :root{
  897. --xfa-focus-outline:2px solid CanvasText;
  898. }
  899. .xfaLayer *:required{
  900. outline:1.5px solid selectedItem;
  901. }
  902. }
  903. .xfaLayer{
  904. background-color:transparent;
  905. }
  906. .xfaLayer .highlight{
  907. margin:-1px;
  908. padding:1px;
  909. background-color:rgb(239 203 237);
  910. border-radius:4px;
  911. }
  912. .xfaLayer .highlight.appended{
  913. position:initial;
  914. }
  915. .xfaLayer .highlight.begin{
  916. border-radius:4px 0 0 4px;
  917. }
  918. .xfaLayer .highlight.end{
  919. border-radius:0 4px 4px 0;
  920. }
  921. .xfaLayer .highlight.middle{
  922. border-radius:0;
  923. }
  924. .xfaLayer .highlight.selected{
  925. background-color:rgb(203 223 203);
  926. }
  927. .xfaPage{
  928. overflow:hidden;
  929. position:relative;
  930. }
  931. .xfaContentarea{
  932. position:absolute;
  933. }
  934. .xfaPrintOnly{
  935. display:none;
  936. }
  937. .xfaLayer{
  938. position:absolute;
  939. text-align:initial;
  940. top:0;
  941. left:0;
  942. transform-origin:0 0;
  943. line-height:1.2;
  944. }
  945. .xfaLayer *{
  946. color:inherit;
  947. font:inherit;
  948. font-style:inherit;
  949. font-weight:inherit;
  950. font-kerning:inherit;
  951. letter-spacing:-0.01px;
  952. text-align:inherit;
  953. text-decoration:inherit;
  954. box-sizing:border-box;
  955. background-color:transparent;
  956. padding:0;
  957. margin:0;
  958. pointer-events:auto;
  959. line-height:inherit;
  960. }
  961. .xfaLayer *:required{
  962. outline:1.5px solid red;
  963. }
  964. .xfaLayer div,
  965. .xfaLayer svg,
  966. .xfaLayer svg *{
  967. pointer-events:none;
  968. }
  969. .xfaLayer a{
  970. color:blue;
  971. }
  972. .xfaRich li{
  973. margin-left:3em;
  974. }
  975. .xfaFont{
  976. color:black;
  977. font-weight:normal;
  978. font-kerning:none;
  979. font-size:10px;
  980. font-style:normal;
  981. letter-spacing:0;
  982. text-decoration:none;
  983. vertical-align:0;
  984. }
  985. .xfaCaption{
  986. overflow:hidden;
  987. flex:0 0 auto;
  988. }
  989. .xfaCaptionForCheckButton{
  990. overflow:hidden;
  991. flex:1 1 auto;
  992. }
  993. .xfaLabel{
  994. height:100%;
  995. width:100%;
  996. }
  997. .xfaLeft{
  998. display:flex;
  999. flex-direction:row;
  1000. align-items:center;
  1001. }
  1002. .xfaRight{
  1003. display:flex;
  1004. flex-direction:row-reverse;
  1005. align-items:center;
  1006. }
  1007. :is(.xfaLeft, .xfaRight) > :is(.xfaCaption, .xfaCaptionForCheckButton){
  1008. max-height:100%;
  1009. }
  1010. .xfaTop{
  1011. display:flex;
  1012. flex-direction:column;
  1013. align-items:flex-start;
  1014. }
  1015. .xfaBottom{
  1016. display:flex;
  1017. flex-direction:column-reverse;
  1018. align-items:flex-start;
  1019. }
  1020. :is(.xfaTop, .xfaBottom) > :is(.xfaCaption, .xfaCaptionForCheckButton){
  1021. width:100%;
  1022. }
  1023. .xfaBorder{
  1024. background-color:transparent;
  1025. position:absolute;
  1026. pointer-events:none;
  1027. }
  1028. .xfaWrapped{
  1029. width:100%;
  1030. height:100%;
  1031. }
  1032. :is(.xfaTextfield, .xfaSelect):focus{
  1033. background-image:none;
  1034. background-color:transparent;
  1035. outline:var(--xfa-focus-outline);
  1036. outline-offset:-1px;
  1037. }
  1038. :is(.xfaCheckbox, .xfaRadio):focus{
  1039. outline:var(--xfa-focus-outline);
  1040. }
  1041. .xfaTextfield,
  1042. .xfaSelect{
  1043. height:100%;
  1044. width:100%;
  1045. flex:1 1 auto;
  1046. border:none;
  1047. resize:none;
  1048. background-image:var(--xfa-unfocused-field-background);
  1049. }
  1050. .xfaSelect{
  1051. padding-inline:2px;
  1052. }
  1053. :is(.xfaTop, .xfaBottom) > :is(.xfaTextfield, .xfaSelect){
  1054. flex:0 1 auto;
  1055. }
  1056. .xfaButton{
  1057. cursor:pointer;
  1058. width:100%;
  1059. height:100%;
  1060. border:none;
  1061. text-align:center;
  1062. }
  1063. .xfaLink{
  1064. width:100%;
  1065. height:100%;
  1066. position:absolute;
  1067. top:0;
  1068. left:0;
  1069. }
  1070. .xfaCheckbox,
  1071. .xfaRadio{
  1072. width:100%;
  1073. height:100%;
  1074. flex:0 0 auto;
  1075. border:none;
  1076. }
  1077. .xfaRich{
  1078. white-space:pre-wrap;
  1079. width:100%;
  1080. height:100%;
  1081. }
  1082. .xfaImage{
  1083. -o-object-position:left top;
  1084. object-position:left top;
  1085. -o-object-fit:contain;
  1086. object-fit:contain;
  1087. width:100%;
  1088. height:100%;
  1089. }
  1090. .xfaLrTb,
  1091. .xfaRlTb,
  1092. .xfaTb{
  1093. display:flex;
  1094. flex-direction:column;
  1095. align-items:stretch;
  1096. }
  1097. .xfaLr{
  1098. display:flex;
  1099. flex-direction:row;
  1100. align-items:stretch;
  1101. }
  1102. .xfaRl{
  1103. display:flex;
  1104. flex-direction:row-reverse;
  1105. align-items:stretch;
  1106. }
  1107. .xfaTb > div{
  1108. justify-content:left;
  1109. }
  1110. .xfaPosition{
  1111. position:relative;
  1112. }
  1113. .xfaArea{
  1114. position:relative;
  1115. }
  1116. .xfaValignMiddle{
  1117. display:flex;
  1118. align-items:center;
  1119. }
  1120. .xfaTable{
  1121. display:flex;
  1122. flex-direction:column;
  1123. align-items:stretch;
  1124. }
  1125. .xfaTable .xfaRow{
  1126. display:flex;
  1127. flex-direction:row;
  1128. align-items:stretch;
  1129. }
  1130. .xfaTable .xfaRlRow{
  1131. display:flex;
  1132. flex-direction:row-reverse;
  1133. align-items:stretch;
  1134. flex:1;
  1135. }
  1136. .xfaTable .xfaRlRow > div{
  1137. flex:1;
  1138. }
  1139. :is(.xfaNonInteractive, .xfaDisabled, .xfaReadOnly) :is(input, textarea){
  1140. background:initial;
  1141. }
  1142. @media print{
  1143. .xfaTextfield,
  1144. .xfaSelect{
  1145. background:transparent;
  1146. }
  1147. .xfaSelect{
  1148. -webkit-appearance:none;
  1149. -moz-appearance:none;
  1150. appearance:none;
  1151. text-indent:1px;
  1152. text-overflow:"";
  1153. }
  1154. }
  1155. .canvasWrapper svg{
  1156. transform:none;
  1157. }
  1158. .moving:is(.canvasWrapper svg){
  1159. z-index:100000;
  1160. }
  1161. [data-main-rotation="90"]:is(.highlight:is(.canvasWrapper svg),.highlightOutline:is(.canvasWrapper svg)) mask,[data-main-rotation="90"]:is(.highlight:is(.canvasWrapper svg),.highlightOutline:is(.canvasWrapper svg)) use:not(.clip,.mask){
  1162. transform:matrix(0, 1, -1, 0, 1, 0);
  1163. }
  1164. [data-main-rotation="180"]:is(.highlight:is(.canvasWrapper svg),.highlightOutline:is(.canvasWrapper svg)) mask,[data-main-rotation="180"]:is(.highlight:is(.canvasWrapper svg),.highlightOutline:is(.canvasWrapper svg)) use:not(.clip,.mask){
  1165. transform:matrix(-1, 0, 0, -1, 1, 1);
  1166. }
  1167. [data-main-rotation="270"]:is(.highlight:is(.canvasWrapper svg),.highlightOutline:is(.canvasWrapper svg)) mask,[data-main-rotation="270"]:is(.highlight:is(.canvasWrapper svg),.highlightOutline:is(.canvasWrapper svg)) use:not(.clip,.mask){
  1168. transform:matrix(0, -1, 1, 0, 0, 1);
  1169. }
  1170. .draw:is(.canvasWrapper svg){
  1171. position:absolute;
  1172. mix-blend-mode:normal;
  1173. }
  1174. .draw[data-draw-rotation="90"]:is(.canvasWrapper svg){
  1175. transform:rotate(90deg);
  1176. }
  1177. .draw[data-draw-rotation="180"]:is(.canvasWrapper svg){
  1178. transform:rotate(180deg);
  1179. }
  1180. .draw[data-draw-rotation="270"]:is(.canvasWrapper svg){
  1181. transform:rotate(270deg);
  1182. }
  1183. .highlight:is(.canvasWrapper svg){
  1184. --blend-mode:multiply;
  1185. }
  1186. @media screen and (forced-colors: active){
  1187. .highlight:is(.canvasWrapper svg){
  1188. --blend-mode:difference;
  1189. }
  1190. }
  1191. .highlight:is(.canvasWrapper svg){
  1192. position:absolute;
  1193. mix-blend-mode:var(--blend-mode);
  1194. }
  1195. .highlight:is(.canvasWrapper svg):not(.free){
  1196. fill-rule:evenodd;
  1197. }
  1198. .highlightOutline:is(.canvasWrapper svg){
  1199. position:absolute;
  1200. mix-blend-mode:normal;
  1201. fill-rule:evenodd;
  1202. fill:none;
  1203. }
  1204. .highlightOutline.hovered:is(.canvasWrapper svg):not(.free):not(.selected){
  1205. stroke:var(--hover-outline-color);
  1206. stroke-width:var(--outline-width);
  1207. }
  1208. .highlightOutline.selected:is(.canvasWrapper svg):not(.free) .mainOutline{
  1209. stroke:var(--outline-around-color);
  1210. stroke-width:calc(
  1211. var(--outline-width) + 2 * var(--outline-around-width)
  1212. );
  1213. }
  1214. .highlightOutline.selected:is(.canvasWrapper svg):not(.free) .secondaryOutline{
  1215. stroke:var(--outline-color);
  1216. stroke-width:var(--outline-width);
  1217. }
  1218. .highlightOutline.free.hovered:is(.canvasWrapper svg):not(.selected){
  1219. stroke:var(--hover-outline-color);
  1220. stroke-width:calc(2 * var(--outline-width));
  1221. }
  1222. .highlightOutline.free.selected:is(.canvasWrapper svg) .mainOutline{
  1223. stroke:var(--outline-around-color);
  1224. stroke-width:calc(
  1225. 2 * (var(--outline-width) + var(--outline-around-width))
  1226. );
  1227. }
  1228. .highlightOutline.free.selected:is(.canvasWrapper svg) .secondaryOutline{
  1229. stroke:var(--outline-color);
  1230. stroke-width:calc(2 * var(--outline-width));
  1231. }
  1232. .toggle-button{
  1233. --button-background-color:#f0f0f4;
  1234. --button-background-color-hover:#e0e0e6;
  1235. --button-background-color-active:#cfcfd8;
  1236. --color-accent-primary:#0060df;
  1237. --color-accent-primary-hover:#0250bb;
  1238. --color-accent-primary-active:#054096;
  1239. --border-interactive-color:#8f8f9d;
  1240. --border-radius-circle:9999px;
  1241. --border-width:1px;
  1242. --size-item-small:16px;
  1243. --size-item-large:32px;
  1244. --color-canvas:white;
  1245. }
  1246. @media (prefers-color-scheme: dark){
  1247. .toggle-button{
  1248. --button-background-color:color-mix(in srgb, currentColor 7%, transparent);
  1249. --button-background-color-hover:color-mix(
  1250. in srgb,
  1251. currentColor 14%,
  1252. transparent
  1253. );
  1254. --button-background-color-active:color-mix(
  1255. in srgb,
  1256. currentColor 21%,
  1257. transparent
  1258. );
  1259. --color-accent-primary:#0df;
  1260. --color-accent-primary-hover:#80ebff;
  1261. --color-accent-primary-active:#aaf2ff;
  1262. --border-interactive-color:#bfbfc9;
  1263. --color-canvas:#1c1b22;
  1264. }
  1265. }
  1266. @media (forced-colors: active){
  1267. .toggle-button{
  1268. --color-accent-primary:ButtonText;
  1269. --color-accent-primary-hover:SelectedItem;
  1270. --color-accent-primary-active:SelectedItem;
  1271. --border-interactive-color:ButtonText;
  1272. --button-background-color:ButtonFace;
  1273. --border-interactive-color-hover:SelectedItem;
  1274. --border-interactive-color-active:SelectedItem;
  1275. --border-interactive-color-disabled:GrayText;
  1276. --color-canvas:ButtonText;
  1277. }
  1278. }
  1279. .toggle-button{
  1280. --toggle-background-color:var(--button-background-color);
  1281. --toggle-background-color-hover:var(--button-background-color-hover);
  1282. --toggle-background-color-active:var(--button-background-color-active);
  1283. --toggle-background-color-pressed:var(--color-accent-primary);
  1284. --toggle-background-color-pressed-hover:var(--color-accent-primary-hover);
  1285. --toggle-background-color-pressed-active:var(--color-accent-primary-active);
  1286. --toggle-border-color:var(--border-interactive-color);
  1287. --toggle-border-color-hover:var(--toggle-border-color);
  1288. --toggle-border-color-active:var(--toggle-border-color);
  1289. --toggle-border-radius:var(--border-radius-circle);
  1290. --toggle-border-width:var(--border-width);
  1291. --toggle-height:var(--size-item-small);
  1292. --toggle-width:var(--size-item-large);
  1293. --toggle-dot-background-color:var(--toggle-border-color);
  1294. --toggle-dot-background-color-hover:var(--toggle-dot-background-color);
  1295. --toggle-dot-background-color-active:var(--toggle-dot-background-color);
  1296. --toggle-dot-background-color-on-pressed:var(--color-canvas);
  1297. --toggle-dot-margin:1px;
  1298. --toggle-dot-height:calc(
  1299. var(--toggle-height) - 2 * var(--toggle-dot-margin) - 2 *
  1300. var(--toggle-border-width)
  1301. );
  1302. --toggle-dot-width:var(--toggle-dot-height);
  1303. --toggle-dot-transform-x:calc(
  1304. var(--toggle-width) - 4 * var(--toggle-dot-margin) - var(--toggle-dot-width)
  1305. );
  1306. -webkit-appearance:none;
  1307. -moz-appearance:none;
  1308. appearance:none;
  1309. padding:0;
  1310. margin:0;
  1311. border:var(--toggle-border-width) solid var(--toggle-border-color);
  1312. height:var(--toggle-height);
  1313. width:var(--toggle-width);
  1314. border-radius:var(--toggle-border-radius);
  1315. background:var(--toggle-background-color);
  1316. box-sizing:border-box;
  1317. flex-shrink:0;
  1318. }
  1319. .toggle-button:focus-visible{
  1320. outline:var(--focus-outline);
  1321. outline-offset:var(--focus-outline-offset);
  1322. }
  1323. .toggle-button:enabled:hover{
  1324. background:var(--toggle-background-color-hover);
  1325. border-color:var(--toggle-border-color);
  1326. }
  1327. .toggle-button:enabled:active{
  1328. background:var(--toggle-background-color-active);
  1329. border-color:var(--toggle-border-color);
  1330. }
  1331. .toggle-button[aria-pressed="true"]{
  1332. background:var(--toggle-background-color-pressed);
  1333. border-color:transparent;
  1334. }
  1335. .toggle-button[aria-pressed="true"]:enabled:hover{
  1336. background:var(--toggle-background-color-pressed-hover);
  1337. border-color:transparent;
  1338. }
  1339. .toggle-button[aria-pressed="true"]:enabled:active{
  1340. background:var(--toggle-background-color-pressed-active);
  1341. border-color:transparent;
  1342. }
  1343. .toggle-button::before{
  1344. display:block;
  1345. content:"";
  1346. background-color:var(--toggle-dot-background-color);
  1347. height:var(--toggle-dot-height);
  1348. width:var(--toggle-dot-width);
  1349. margin:var(--toggle-dot-margin);
  1350. border-radius:var(--toggle-border-radius);
  1351. translate:0;
  1352. }
  1353. .toggle-button[aria-pressed="true"]::before{
  1354. translate:var(--toggle-dot-transform-x);
  1355. background-color:var(--toggle-dot-background-color-on-pressed);
  1356. }
  1357. .toggle-button[aria-pressed="true"]:enabled:hover::before,.toggle-button[aria-pressed="true"]:enabled:active::before{
  1358. background-color:var(--toggle-dot-background-color-on-pressed);
  1359. }
  1360. [dir="rtl"] .toggle-button[aria-pressed="true"]::before{
  1361. translate:calc(-1 * var(--toggle-dot-transform-x));
  1362. }
  1363. @media (prefers-reduced-motion: no-preference){
  1364. .toggle-button::before{
  1365. transition:translate 100ms;
  1366. }
  1367. }
  1368. @media (prefers-contrast){
  1369. .toggle-button:enabled:hover{
  1370. border-color:var(--toggle-border-color-hover);
  1371. }
  1372. .toggle-button:enabled:active{
  1373. border-color:var(--toggle-border-color-active);
  1374. }
  1375. .toggle-button[aria-pressed="true"]:enabled{
  1376. border-color:var(--toggle-border-color);
  1377. position:relative;
  1378. }
  1379. .toggle-button[aria-pressed="true"]:enabled:hover,.toggle-button[aria-pressed="true"]:enabled:hover:active{
  1380. border-color:var(--toggle-border-color-hover);
  1381. }
  1382. .toggle-button[aria-pressed="true"]:enabled:active{
  1383. background-color:var(--toggle-dot-background-color-active);
  1384. border-color:var(--toggle-dot-background-color-hover);
  1385. }
  1386. .toggle-button:hover::before,.toggle-button:active::before{
  1387. background-color:var(--toggle-dot-background-color-hover);
  1388. }
  1389. }
  1390. @media (forced-colors){
  1391. .toggle-button{
  1392. --toggle-dot-background-color:var(--color-accent-primary);
  1393. --toggle-dot-background-color-hover:var(--color-accent-primary-hover);
  1394. --toggle-dot-background-color-active:var(--color-accent-primary-active);
  1395. --toggle-dot-background-color-on-pressed:var(--button-background-color);
  1396. --toggle-background-color-disabled:var(--button-background-color-disabled);
  1397. --toggle-border-color-hover:var(--border-interactive-color-hover);
  1398. --toggle-border-color-active:var(--border-interactive-color-active);
  1399. --toggle-border-color-disabled:var(--border-interactive-color-disabled);
  1400. }
  1401. .toggle-button[aria-pressed="true"]:enabled::after{
  1402. border:1px solid var(--button-background-color);
  1403. content:"";
  1404. position:absolute;
  1405. height:var(--toggle-height);
  1406. width:var(--toggle-width);
  1407. display:block;
  1408. border-radius:var(--toggle-border-radius);
  1409. inset:-2px;
  1410. }
  1411. .toggle-button[aria-pressed="true"]:enabled:active::after{
  1412. border-color:var(--toggle-border-color-active);
  1413. }
  1414. }
  1415. :root{
  1416. --outline-width:2px;
  1417. --outline-color:#0060df;
  1418. --outline-around-width:1px;
  1419. --outline-around-color:#f0f0f4;
  1420. --hover-outline-around-color:var(--outline-around-color);
  1421. --focus-outline:solid var(--outline-width) var(--outline-color);
  1422. --unfocus-outline:solid var(--outline-width) transparent;
  1423. --focus-outline-around:solid var(--outline-around-width) var(--outline-around-color);
  1424. --hover-outline-color:#8f8f9d;
  1425. --hover-outline:solid var(--outline-width) var(--hover-outline-color);
  1426. --hover-outline-around:solid var(--outline-around-width) var(--hover-outline-around-color);
  1427. --freetext-line-height:1.35;
  1428. --freetext-padding:2px;
  1429. --resizer-bg-color:var(--outline-color);
  1430. --resizer-size:6px;
  1431. --resizer-shift:calc(
  1432. 0px - (var(--outline-width) + var(--resizer-size)) / 2 -
  1433. var(--outline-around-width)
  1434. );
  1435. --editorFreeText-editing-cursor:text;
  1436. --editorInk-editing-cursor:url(images/cursor-editorInk.svg) 0 16, pointer;
  1437. --editorHighlight-editing-cursor:url(images/cursor-editorTextHighlight.svg) 24 24, text;
  1438. --editorFreeHighlight-editing-cursor:url(images/cursor-editorFreeHighlight.svg) 1 18, pointer;
  1439. --new-alt-text-warning-image:url(images/altText_warning.svg);
  1440. }
  1441. .visuallyHidden{
  1442. position:absolute;
  1443. top:0;
  1444. left:0;
  1445. border:0;
  1446. margin:0;
  1447. padding:0;
  1448. width:0;
  1449. height:0;
  1450. overflow:hidden;
  1451. white-space:nowrap;
  1452. font-size:0;
  1453. }
  1454. .textLayer.highlighting{
  1455. cursor:var(--editorFreeHighlight-editing-cursor);
  1456. }
  1457. .textLayer.highlighting:not(.free) span{
  1458. cursor:var(--editorHighlight-editing-cursor);
  1459. }
  1460. [role="img"]:is(.textLayer.highlighting:not(.free) span){
  1461. cursor:var(--editorFreeHighlight-editing-cursor);
  1462. }
  1463. .textLayer.highlighting.free span{
  1464. cursor:var(--editorFreeHighlight-editing-cursor);
  1465. }
  1466. :is(#viewerContainer.pdfPresentationMode:fullscreen,.annotationEditorLayer.disabled) .noAltTextBadge{
  1467. display:none !important;
  1468. }
  1469. @media (min-resolution: 1.1dppx){
  1470. :root{
  1471. --editorFreeText-editing-cursor:url(images/cursor-editorFreeText.svg) 0 16, text;
  1472. }
  1473. }
  1474. @media screen and (forced-colors: active){
  1475. :root{
  1476. --outline-color:CanvasText;
  1477. --outline-around-color:ButtonFace;
  1478. --resizer-bg-color:ButtonText;
  1479. --hover-outline-color:Highlight;
  1480. --hover-outline-around-color:SelectedItemText;
  1481. }
  1482. }
  1483. [data-editor-rotation="90"]{
  1484. transform:rotate(90deg);
  1485. }
  1486. [data-editor-rotation="180"]{
  1487. transform:rotate(180deg);
  1488. }
  1489. [data-editor-rotation="270"]{
  1490. transform:rotate(270deg);
  1491. }
  1492. .annotationEditorLayer{
  1493. background:transparent;
  1494. position:absolute;
  1495. inset:0;
  1496. font-size:calc(100px * var(--scale-factor));
  1497. transform-origin:0 0;
  1498. cursor:auto;
  1499. }
  1500. .annotationEditorLayer .selectedEditor{
  1501. z-index:100000 !important;
  1502. }
  1503. .annotationEditorLayer.drawing *{
  1504. pointer-events:none !important;
  1505. }
  1506. .annotationEditorLayer.waiting{
  1507. content:"";
  1508. cursor:wait;
  1509. position:absolute;
  1510. inset:0;
  1511. width:100%;
  1512. height:100%;
  1513. }
  1514. .annotationEditorLayer.disabled{
  1515. pointer-events:none;
  1516. }
  1517. .annotationEditorLayer.freetextEditing{
  1518. cursor:var(--editorFreeText-editing-cursor);
  1519. }
  1520. .annotationEditorLayer.inkEditing{
  1521. cursor:var(--editorInk-editing-cursor);
  1522. }
  1523. .annotationEditorLayer .draw{
  1524. box-sizing:border-box;
  1525. }
  1526. .annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor){
  1527. position:absolute;
  1528. background:transparent;
  1529. z-index:1;
  1530. transform-origin:0 0;
  1531. cursor:auto;
  1532. max-width:100%;
  1533. max-height:100%;
  1534. border:var(--unfocus-outline);
  1535. }
  1536. .draggable.selectedEditor:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor)){
  1537. cursor:move;
  1538. }
  1539. .selectedEditor:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor)){
  1540. border:var(--focus-outline);
  1541. outline:var(--focus-outline-around);
  1542. }
  1543. .selectedEditor:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor))::before{
  1544. content:"";
  1545. position:absolute;
  1546. inset:0;
  1547. border:var(--focus-outline-around);
  1548. pointer-events:none;
  1549. }
  1550. :is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor)):hover:not(.selectedEditor){
  1551. border:var(--hover-outline);
  1552. outline:var(--hover-outline-around);
  1553. }
  1554. :is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor)):hover:not(.selectedEditor)::before{
  1555. content:"";
  1556. position:absolute;
  1557. inset:0;
  1558. border:var(--focus-outline-around);
  1559. }
  1560. :is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar{
  1561. --editor-toolbar-delete-image:url(images/editor-toolbar-delete.svg);
  1562. --editor-toolbar-bg-color:#f0f0f4;
  1563. --editor-toolbar-highlight-image:url(images/toolbarButton-editorHighlight.svg);
  1564. --editor-toolbar-fg-color:#2e2e56;
  1565. --editor-toolbar-border-color:#8f8f9d;
  1566. --editor-toolbar-hover-border-color:var(--editor-toolbar-border-color);
  1567. --editor-toolbar-hover-bg-color:#e0e0e6;
  1568. --editor-toolbar-hover-fg-color:var(--editor-toolbar-fg-color);
  1569. --editor-toolbar-hover-outline:none;
  1570. --editor-toolbar-focus-outline-color:#0060df;
  1571. --editor-toolbar-shadow:0 2px 6px 0 rgb(58 57 68 / 0.2);
  1572. --editor-toolbar-vert-offset:6px;
  1573. --editor-toolbar-height:28px;
  1574. --editor-toolbar-padding:2px;
  1575. --alt-text-done-color:#2ac3a2;
  1576. --alt-text-warning-color:#0090ed;
  1577. --alt-text-hover-done-color:var(--alt-text-done-color);
  1578. --alt-text-hover-warning-color:var(--alt-text-warning-color);
  1579. }
  1580. @media (prefers-color-scheme: dark){
  1581. :is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar{
  1582. --editor-toolbar-bg-color:#2b2a33;
  1583. --editor-toolbar-fg-color:#fbfbfe;
  1584. --editor-toolbar-hover-bg-color:#52525e;
  1585. --editor-toolbar-focus-outline-color:#0df;
  1586. --alt-text-done-color:#54ffbd;
  1587. --alt-text-warning-color:#80ebff;
  1588. }
  1589. }
  1590. @media screen and (forced-colors: active){
  1591. :is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar{
  1592. --editor-toolbar-bg-color:ButtonFace;
  1593. --editor-toolbar-fg-color:ButtonText;
  1594. --editor-toolbar-border-color:ButtonText;
  1595. --editor-toolbar-hover-border-color:AccentColor;
  1596. --editor-toolbar-hover-bg-color:ButtonFace;
  1597. --editor-toolbar-hover-fg-color:AccentColor;
  1598. --editor-toolbar-hover-outline:2px solid var(--editor-toolbar-hover-border-color);
  1599. --editor-toolbar-focus-outline-color:ButtonBorder;
  1600. --editor-toolbar-shadow:none;
  1601. --alt-text-done-color:var(--editor-toolbar-fg-color);
  1602. --alt-text-warning-color:var(--editor-toolbar-fg-color);
  1603. --alt-text-hover-done-color:var(--editor-toolbar-hover-fg-color);
  1604. --alt-text-hover-warning-color:var(--editor-toolbar-hover-fg-color);
  1605. }
  1606. }
  1607. :is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar{
  1608. display:flex;
  1609. width:-moz-fit-content;
  1610. width:fit-content;
  1611. height:var(--editor-toolbar-height);
  1612. flex-direction:column;
  1613. justify-content:center;
  1614. align-items:center;
  1615. cursor:default;
  1616. pointer-events:auto;
  1617. box-sizing:content-box;
  1618. padding:var(--editor-toolbar-padding);
  1619. position:absolute;
  1620. inset-inline-end:0;
  1621. inset-block-start:calc(100% + var(--editor-toolbar-vert-offset));
  1622. border-radius:6px;
  1623. background-color:var(--editor-toolbar-bg-color);
  1624. border:1px solid var(--editor-toolbar-border-color);
  1625. box-shadow:var(--editor-toolbar-shadow);
  1626. }
  1627. .hidden:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar){
  1628. display:none;
  1629. }
  1630. :is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar):has(:focus-visible){
  1631. border-color:transparent;
  1632. }
  1633. [dir="ltr"] :is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar){
  1634. transform-origin:100% 0;
  1635. }
  1636. [dir="rtl"] :is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar){
  1637. transform-origin:0 0;
  1638. }
  1639. :is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar) .buttons{
  1640. display:flex;
  1641. justify-content:center;
  1642. align-items:center;
  1643. gap:0;
  1644. height:100%;
  1645. }
  1646. :is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar) .buttons) button{
  1647. padding:0;
  1648. }
  1649. :is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar) .buttons) .divider{
  1650. width:0;
  1651. height:calc(
  1652. 2 * var(--editor-toolbar-padding) + var(--editor-toolbar-height)
  1653. );
  1654. border-left:1px solid var(--editor-toolbar-border-color);
  1655. border-right:none;
  1656. display:inline-block;
  1657. margin-inline:2px;
  1658. }
  1659. :is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar) .buttons) .highlightButton{
  1660. width:var(--editor-toolbar-height);
  1661. }
  1662. :is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar) .buttons) .highlightButton)::before{
  1663. content:"";
  1664. -webkit-mask-image:var(--editor-toolbar-highlight-image);
  1665. mask-image:var(--editor-toolbar-highlight-image);
  1666. -webkit-mask-repeat:no-repeat;
  1667. mask-repeat:no-repeat;
  1668. -webkit-mask-position:center;
  1669. mask-position:center;
  1670. display:inline-block;
  1671. background-color:var(--editor-toolbar-fg-color);
  1672. width:100%;
  1673. height:100%;
  1674. }
  1675. :is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar) .buttons) .highlightButton):hover::before{
  1676. background-color:var(--editor-toolbar-hover-fg-color);
  1677. }
  1678. :is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar) .buttons) .delete{
  1679. width:var(--editor-toolbar-height);
  1680. }
  1681. :is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar) .buttons) .delete)::before{
  1682. content:"";
  1683. -webkit-mask-image:var(--editor-toolbar-delete-image);
  1684. mask-image:var(--editor-toolbar-delete-image);
  1685. -webkit-mask-repeat:no-repeat;
  1686. mask-repeat:no-repeat;
  1687. -webkit-mask-position:center;
  1688. mask-position:center;
  1689. display:inline-block;
  1690. background-color:var(--editor-toolbar-fg-color);
  1691. width:100%;
  1692. height:100%;
  1693. }
  1694. :is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar) .buttons) .delete):hover::before{
  1695. background-color:var(--editor-toolbar-hover-fg-color);
  1696. }
  1697. :is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar) .buttons) > *{
  1698. height:var(--editor-toolbar-height);
  1699. }
  1700. :is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar) .buttons) > :not(.divider){
  1701. border:none;
  1702. background-color:transparent;
  1703. cursor:pointer;
  1704. }
  1705. :is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar) .buttons) > :not(.divider)):hover{
  1706. border-radius:2px;
  1707. background-color:var(--editor-toolbar-hover-bg-color);
  1708. color:var(--editor-toolbar-hover-fg-color);
  1709. outline:var(--editor-toolbar-hover-outline);
  1710. outline-offset:1px;
  1711. }
  1712. :is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar) .buttons) > :not(.divider)):hover:active{
  1713. outline:none;
  1714. }
  1715. :is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar) .buttons) > :not(.divider)):focus-visible{
  1716. border-radius:2px;
  1717. outline:2px solid var(--editor-toolbar-focus-outline-color);
  1718. }
  1719. :is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar) .buttons) .altText{
  1720. --alt-text-add-image:url(images/altText_add.svg);
  1721. --alt-text-done-image:url(images/altText_done.svg);
  1722. display:flex;
  1723. align-items:center;
  1724. justify-content:center;
  1725. width:-moz-max-content;
  1726. width:max-content;
  1727. padding-inline:8px;
  1728. pointer-events:all;
  1729. font:menu;
  1730. font-weight:590;
  1731. font-size:12px;
  1732. color:var(--editor-toolbar-fg-color);
  1733. }
  1734. :is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar) .buttons) .altText):disabled{
  1735. pointer-events:none;
  1736. }
  1737. :is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar) .buttons) .altText)::before{
  1738. content:"";
  1739. -webkit-mask-image:var(--alt-text-add-image);
  1740. mask-image:var(--alt-text-add-image);
  1741. -webkit-mask-repeat:no-repeat;
  1742. mask-repeat:no-repeat;
  1743. -webkit-mask-position:center;
  1744. mask-position:center;
  1745. display:inline-block;
  1746. width:12px;
  1747. height:13px;
  1748. background-color:var(--editor-toolbar-fg-color);
  1749. margin-inline-end:4px;
  1750. }
  1751. :is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar) .buttons) .altText):hover::before{
  1752. background-color:var(--editor-toolbar-hover-fg-color);
  1753. }
  1754. .done:is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar) .buttons) .altText)::before{
  1755. -webkit-mask-image:var(--alt-text-done-image);
  1756. mask-image:var(--alt-text-done-image);
  1757. }
  1758. .new:is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar) .buttons) .altText)::before{
  1759. width:16px;
  1760. height:16px;
  1761. -webkit-mask-image:var(--new-alt-text-warning-image);
  1762. mask-image:var(--new-alt-text-warning-image);
  1763. background-color:var(--alt-text-warning-color);
  1764. -webkit-mask-size:cover;
  1765. mask-size:cover;
  1766. }
  1767. .new:is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar) .buttons) .altText):hover::before{
  1768. background-color:var(--alt-text-hover-warning-color);
  1769. }
  1770. .new.done:is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar) .buttons) .altText)::before{
  1771. -webkit-mask-image:var(--alt-text-done-image);
  1772. mask-image:var(--alt-text-done-image);
  1773. background-color:var(--alt-text-done-color);
  1774. }
  1775. .new.done:is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar) .buttons) .altText):hover::before{
  1776. background-color:var(--alt-text-hover-done-color);
  1777. }
  1778. :is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar) .buttons) .altText) .tooltip{
  1779. display:none;
  1780. word-wrap:anywhere;
  1781. }
  1782. .show:is(:is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar) .buttons) .altText) .tooltip){
  1783. --alt-text-tooltip-bg:#f0f0f4;
  1784. --alt-text-tooltip-fg:#15141a;
  1785. --alt-text-tooltip-border:#8f8f9d;
  1786. --alt-text-tooltip-shadow:0px 2px 6px 0px rgb(58 57 68 / 0.2);
  1787. }
  1788. @media (prefers-color-scheme: dark){
  1789. .show:is(:is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar) .buttons) .altText) .tooltip){
  1790. --alt-text-tooltip-bg:#1c1b22;
  1791. --alt-text-tooltip-fg:#fbfbfe;
  1792. --alt-text-tooltip-shadow:0px 2px 6px 0px #15141a;
  1793. }
  1794. }
  1795. @media screen and (forced-colors: active){
  1796. .show:is(:is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar) .buttons) .altText) .tooltip){
  1797. --alt-text-tooltip-bg:Canvas;
  1798. --alt-text-tooltip-fg:CanvasText;
  1799. --alt-text-tooltip-border:CanvasText;
  1800. --alt-text-tooltip-shadow:none;
  1801. }
  1802. }
  1803. .show:is(:is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar) .buttons) .altText) .tooltip){
  1804. display:inline-flex;
  1805. flex-direction:column;
  1806. align-items:center;
  1807. justify-content:center;
  1808. position:absolute;
  1809. top:calc(100% + 2px);
  1810. inset-inline-start:0;
  1811. padding-block:2px 3px;
  1812. padding-inline:3px;
  1813. max-width:300px;
  1814. width:-moz-max-content;
  1815. width:max-content;
  1816. height:auto;
  1817. font-size:12px;
  1818. border:0.5px solid var(--alt-text-tooltip-border);
  1819. background:var(--alt-text-tooltip-bg);
  1820. box-shadow:var(--alt-text-tooltip-shadow);
  1821. color:var(--alt-text-tooltip-fg);
  1822. pointer-events:none;
  1823. }
  1824. .annotationEditorLayer .freeTextEditor{
  1825. padding:calc(var(--freetext-padding) * var(--scale-factor));
  1826. width:auto;
  1827. height:auto;
  1828. touch-action:none;
  1829. }
  1830. .annotationEditorLayer .freeTextEditor .internal{
  1831. background:transparent;
  1832. border:none;
  1833. inset:0;
  1834. overflow:visible;
  1835. white-space:nowrap;
  1836. font:10px sans-serif;
  1837. line-height:var(--freetext-line-height);
  1838. -webkit-user-select:none;
  1839. -moz-user-select:none;
  1840. user-select:none;
  1841. }
  1842. .annotationEditorLayer .freeTextEditor .overlay{
  1843. position:absolute;
  1844. display:none;
  1845. background:transparent;
  1846. inset:0;
  1847. width:100%;
  1848. height:100%;
  1849. }
  1850. .annotationEditorLayer freeTextEditor .overlay.enabled{
  1851. display:block;
  1852. }
  1853. .annotationEditorLayer .freeTextEditor .internal:empty::before{
  1854. content:attr(default-content);
  1855. color:gray;
  1856. }
  1857. .annotationEditorLayer .freeTextEditor .internal:focus{
  1858. outline:none;
  1859. -webkit-user-select:auto;
  1860. -moz-user-select:auto;
  1861. user-select:auto;
  1862. }
  1863. .annotationEditorLayer .inkEditor{
  1864. width:100%;
  1865. height:100%;
  1866. }
  1867. .annotationEditorLayer .inkEditor.editing{
  1868. cursor:inherit;
  1869. }
  1870. .annotationEditorLayer .inkEditor .inkEditorCanvas{
  1871. position:absolute;
  1872. inset:0;
  1873. width:100%;
  1874. height:100%;
  1875. touch-action:none;
  1876. }
  1877. .annotationEditorLayer .stampEditor{
  1878. width:auto;
  1879. height:auto;
  1880. }
  1881. :is(.annotationEditorLayer .stampEditor) canvas{
  1882. position:absolute;
  1883. width:100%;
  1884. height:100%;
  1885. margin:0;
  1886. top:0;
  1887. left:0;
  1888. }
  1889. :is(.annotationEditorLayer .stampEditor) .noAltTextBadge{
  1890. --no-alt-text-badge-border-color:#f0f0f4;
  1891. --no-alt-text-badge-bg-color:#cfcfd8;
  1892. --no-alt-text-badge-fg-color:#5b5b66;
  1893. }
  1894. @media (prefers-color-scheme: dark){
  1895. :is(.annotationEditorLayer .stampEditor) .noAltTextBadge{
  1896. --no-alt-text-badge-border-color:#52525e;
  1897. --no-alt-text-badge-bg-color:#fbfbfe;
  1898. --no-alt-text-badge-fg-color:#15141a;
  1899. }
  1900. }
  1901. @media screen and (forced-colors: active){
  1902. :is(.annotationEditorLayer .stampEditor) .noAltTextBadge{
  1903. --no-alt-text-badge-border-color:ButtonText;
  1904. --no-alt-text-badge-bg-color:ButtonFace;
  1905. --no-alt-text-badge-fg-color:ButtonText;
  1906. }
  1907. }
  1908. :is(.annotationEditorLayer .stampEditor) .noAltTextBadge{
  1909. position:absolute;
  1910. inset-inline-end:5px;
  1911. inset-block-end:5px;
  1912. display:inline-flex;
  1913. width:32px;
  1914. height:32px;
  1915. padding:3px;
  1916. justify-content:center;
  1917. align-items:center;
  1918. pointer-events:none;
  1919. z-index:1;
  1920. border-radius:2px;
  1921. border:1px solid var(--no-alt-text-badge-border-color);
  1922. background:var(--no-alt-text-badge-bg-color);
  1923. }
  1924. :is(:is(.annotationEditorLayer .stampEditor) .noAltTextBadge)::before{
  1925. content:"";
  1926. display:inline-block;
  1927. width:16px;
  1928. height:16px;
  1929. -webkit-mask-image:var(--new-alt-text-warning-image);
  1930. mask-image:var(--new-alt-text-warning-image);
  1931. -webkit-mask-size:cover;
  1932. mask-size:cover;
  1933. background-color:var(--no-alt-text-badge-fg-color);
  1934. }
  1935. :is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor)) > .resizers{
  1936. position:absolute;
  1937. inset:0;
  1938. }
  1939. .hidden:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor)) > .resizers){
  1940. display:none;
  1941. }
  1942. :is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor)) > .resizers) > .resizer{
  1943. width:var(--resizer-size);
  1944. height:var(--resizer-size);
  1945. background:content-box var(--resizer-bg-color);
  1946. border:var(--focus-outline-around);
  1947. border-radius:2px;
  1948. position:absolute;
  1949. }
  1950. .topLeft:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor)) > .resizers) > .resizer){
  1951. top:var(--resizer-shift);
  1952. left:var(--resizer-shift);
  1953. }
  1954. .topMiddle:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor)) > .resizers) > .resizer){
  1955. top:var(--resizer-shift);
  1956. left:calc(50% + var(--resizer-shift));
  1957. }
  1958. .topRight:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor)) > .resizers) > .resizer){
  1959. top:var(--resizer-shift);
  1960. right:var(--resizer-shift);
  1961. }
  1962. .middleRight:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor)) > .resizers) > .resizer){
  1963. top:calc(50% + var(--resizer-shift));
  1964. right:var(--resizer-shift);
  1965. }
  1966. .bottomRight:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor)) > .resizers) > .resizer){
  1967. bottom:var(--resizer-shift);
  1968. right:var(--resizer-shift);
  1969. }
  1970. .bottomMiddle:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor)) > .resizers) > .resizer){
  1971. bottom:var(--resizer-shift);
  1972. left:calc(50% + var(--resizer-shift));
  1973. }
  1974. .bottomLeft:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor)) > .resizers) > .resizer){
  1975. bottom:var(--resizer-shift);
  1976. left:var(--resizer-shift);
  1977. }
  1978. .middleLeft:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor)) > .resizers) > .resizer){
  1979. top:calc(50% + var(--resizer-shift));
  1980. left:var(--resizer-shift);
  1981. }
  1982. .topLeft:is(:is(.annotationEditorLayer[data-main-rotation="0"] :is([data-editor-rotation="0"],[data-editor-rotation="180"]),.annotationEditorLayer[data-main-rotation="90"] :is([data-editor-rotation="270"],[data-editor-rotation="90"]),.annotationEditorLayer[data-main-rotation="180"] :is([data-editor-rotation="180"],[data-editor-rotation="0"]),.annotationEditorLayer[data-main-rotation="270"] :is([data-editor-rotation="90"],[data-editor-rotation="270"])) > .resizers > .resizer),.bottomRight:is(:is(.annotationEditorLayer[data-main-rotation="0"] :is([data-editor-rotation="0"],[data-editor-rotation="180"]),.annotationEditorLayer[data-main-rotation="90"] :is([data-editor-rotation="270"],[data-editor-rotation="90"]),.annotationEditorLayer[data-main-rotation="180"] :is([data-editor-rotation="180"],[data-editor-rotation="0"]),.annotationEditorLayer[data-main-rotation="270"] :is([data-editor-rotation="90"],[data-editor-rotation="270"])) > .resizers > .resizer){
  1983. cursor:nwse-resize;
  1984. }
  1985. .topMiddle:is(:is(.annotationEditorLayer[data-main-rotation="0"] :is([data-editor-rotation="0"],[data-editor-rotation="180"]),.annotationEditorLayer[data-main-rotation="90"] :is([data-editor-rotation="270"],[data-editor-rotation="90"]),.annotationEditorLayer[data-main-rotation="180"] :is([data-editor-rotation="180"],[data-editor-rotation="0"]),.annotationEditorLayer[data-main-rotation="270"] :is([data-editor-rotation="90"],[data-editor-rotation="270"])) > .resizers > .resizer),.bottomMiddle:is(:is(.annotationEditorLayer[data-main-rotation="0"] :is([data-editor-rotation="0"],[data-editor-rotation="180"]),.annotationEditorLayer[data-main-rotation="90"] :is([data-editor-rotation="270"],[data-editor-rotation="90"]),.annotationEditorLayer[data-main-rotation="180"] :is([data-editor-rotation="180"],[data-editor-rotation="0"]),.annotationEditorLayer[data-main-rotation="270"] :is([data-editor-rotation="90"],[data-editor-rotation="270"])) > .resizers > .resizer){
  1986. cursor:ns-resize;
  1987. }
  1988. .topRight:is(:is(.annotationEditorLayer[data-main-rotation="0"] :is([data-editor-rotation="0"],[data-editor-rotation="180"]),.annotationEditorLayer[data-main-rotation="90"] :is([data-editor-rotation="270"],[data-editor-rotation="90"]),.annotationEditorLayer[data-main-rotation="180"] :is([data-editor-rotation="180"],[data-editor-rotation="0"]),.annotationEditorLayer[data-main-rotation="270"] :is([data-editor-rotation="90"],[data-editor-rotation="270"])) > .resizers > .resizer),.bottomLeft:is(:is(.annotationEditorLayer[data-main-rotation="0"] :is([data-editor-rotation="0"],[data-editor-rotation="180"]),.annotationEditorLayer[data-main-rotation="90"] :is([data-editor-rotation="270"],[data-editor-rotation="90"]),.annotationEditorLayer[data-main-rotation="180"] :is([data-editor-rotation="180"],[data-editor-rotation="0"]),.annotationEditorLayer[data-main-rotation="270"] :is([data-editor-rotation="90"],[data-editor-rotation="270"])) > .resizers > .resizer){
  1989. cursor:nesw-resize;
  1990. }
  1991. .middleRight:is(:is(.annotationEditorLayer[data-main-rotation="0"] :is([data-editor-rotation="0"],[data-editor-rotation="180"]),.annotationEditorLayer[data-main-rotation="90"] :is([data-editor-rotation="270"],[data-editor-rotation="90"]),.annotationEditorLayer[data-main-rotation="180"] :is([data-editor-rotation="180"],[data-editor-rotation="0"]),.annotationEditorLayer[data-main-rotation="270"] :is([data-editor-rotation="90"],[data-editor-rotation="270"])) > .resizers > .resizer),.middleLeft:is(:is(.annotationEditorLayer[data-main-rotation="0"] :is([data-editor-rotation="0"],[data-editor-rotation="180"]),.annotationEditorLayer[data-main-rotation="90"] :is([data-editor-rotation="270"],[data-editor-rotation="90"]),.annotationEditorLayer[data-main-rotation="180"] :is([data-editor-rotation="180"],[data-editor-rotation="0"]),.annotationEditorLayer[data-main-rotation="270"] :is([data-editor-rotation="90"],[data-editor-rotation="270"])) > .resizers > .resizer){
  1992. cursor:ew-resize;
  1993. }
  1994. .topLeft:is(:is(.annotationEditorLayer[data-main-rotation="0"] :is([data-editor-rotation="90"],[data-editor-rotation="270"]),.annotationEditorLayer[data-main-rotation="90"] :is([data-editor-rotation="0"],[data-editor-rotation="180"]),.annotationEditorLayer[data-main-rotation="180"] :is([data-editor-rotation="270"],[data-editor-rotation="90"]),.annotationEditorLayer[data-main-rotation="270"] :is([data-editor-rotation="180"],[data-editor-rotation="0"])) > .resizers > .resizer),.bottomRight:is(:is(.annotationEditorLayer[data-main-rotation="0"] :is([data-editor-rotation="90"],[data-editor-rotation="270"]),.annotationEditorLayer[data-main-rotation="90"] :is([data-editor-rotation="0"],[data-editor-rotation="180"]),.annotationEditorLayer[data-main-rotation="180"] :is([data-editor-rotation="270"],[data-editor-rotation="90"]),.annotationEditorLayer[data-main-rotation="270"] :is([data-editor-rotation="180"],[data-editor-rotation="0"])) > .resizers > .resizer){
  1995. cursor:nesw-resize;
  1996. }
  1997. .topMiddle:is(:is(.annotationEditorLayer[data-main-rotation="0"] :is([data-editor-rotation="90"],[data-editor-rotation="270"]),.annotationEditorLayer[data-main-rotation="90"] :is([data-editor-rotation="0"],[data-editor-rotation="180"]),.annotationEditorLayer[data-main-rotation="180"] :is([data-editor-rotation="270"],[data-editor-rotation="90"]),.annotationEditorLayer[data-main-rotation="270"] :is([data-editor-rotation="180"],[data-editor-rotation="0"])) > .resizers > .resizer),.bottomMiddle:is(:is(.annotationEditorLayer[data-main-rotation="0"] :is([data-editor-rotation="90"],[data-editor-rotation="270"]),.annotationEditorLayer[data-main-rotation="90"] :is([data-editor-rotation="0"],[data-editor-rotation="180"]),.annotationEditorLayer[data-main-rotation="180"] :is([data-editor-rotation="270"],[data-editor-rotation="90"]),.annotationEditorLayer[data-main-rotation="270"] :is([data-editor-rotation="180"],[data-editor-rotation="0"])) > .resizers > .resizer){
  1998. cursor:ew-resize;
  1999. }
  2000. .topRight:is(:is(.annotationEditorLayer[data-main-rotation="0"] :is([data-editor-rotation="90"],[data-editor-rotation="270"]),.annotationEditorLayer[data-main-rotation="90"] :is([data-editor-rotation="0"],[data-editor-rotation="180"]),.annotationEditorLayer[data-main-rotation="180"] :is([data-editor-rotation="270"],[data-editor-rotation="90"]),.annotationEditorLayer[data-main-rotation="270"] :is([data-editor-rotation="180"],[data-editor-rotation="0"])) > .resizers > .resizer),.bottomLeft:is(:is(.annotationEditorLayer[data-main-rotation="0"] :is([data-editor-rotation="90"],[data-editor-rotation="270"]),.annotationEditorLayer[data-main-rotation="90"] :is([data-editor-rotation="0"],[data-editor-rotation="180"]),.annotationEditorLayer[data-main-rotation="180"] :is([data-editor-rotation="270"],[data-editor-rotation="90"]),.annotationEditorLayer[data-main-rotation="270"] :is([data-editor-rotation="180"],[data-editor-rotation="0"])) > .resizers > .resizer){
  2001. cursor:nwse-resize;
  2002. }
  2003. .middleRight:is(:is(.annotationEditorLayer[data-main-rotation="0"] :is([data-editor-rotation="90"],[data-editor-rotation="270"]),.annotationEditorLayer[data-main-rotation="90"] :is([data-editor-rotation="0"],[data-editor-rotation="180"]),.annotationEditorLayer[data-main-rotation="180"] :is([data-editor-rotation="270"],[data-editor-rotation="90"]),.annotationEditorLayer[data-main-rotation="270"] :is([data-editor-rotation="180"],[data-editor-rotation="0"])) > .resizers > .resizer),.middleLeft:is(:is(.annotationEditorLayer[data-main-rotation="0"] :is([data-editor-rotation="90"],[data-editor-rotation="270"]),.annotationEditorLayer[data-main-rotation="90"] :is([data-editor-rotation="0"],[data-editor-rotation="180"]),.annotationEditorLayer[data-main-rotation="180"] :is([data-editor-rotation="270"],[data-editor-rotation="90"]),.annotationEditorLayer[data-main-rotation="270"] :is([data-editor-rotation="180"],[data-editor-rotation="0"])) > .resizers > .resizer){
  2004. cursor:ns-resize;
  2005. }
  2006. :is(.annotationEditorLayer :is([data-main-rotation="0"] [data-editor-rotation="90"],[data-main-rotation="90"] [data-editor-rotation="0"],[data-main-rotation="180"] [data-editor-rotation="270"],[data-main-rotation="270"] [data-editor-rotation="180"])) .editToolbar{
  2007. rotate:270deg;
  2008. }
  2009. [dir="ltr"] :is(:is(.annotationEditorLayer :is([data-main-rotation="0"] [data-editor-rotation="90"],[data-main-rotation="90"] [data-editor-rotation="0"],[data-main-rotation="180"] [data-editor-rotation="270"],[data-main-rotation="270"] [data-editor-rotation="180"])) .editToolbar){
  2010. inset-inline-end:calc(0px - var(--editor-toolbar-vert-offset));
  2011. inset-block-start:0;
  2012. }
  2013. [dir="rtl"] :is(:is(.annotationEditorLayer :is([data-main-rotation="0"] [data-editor-rotation="90"],[data-main-rotation="90"] [data-editor-rotation="0"],[data-main-rotation="180"] [data-editor-rotation="270"],[data-main-rotation="270"] [data-editor-rotation="180"])) .editToolbar){
  2014. inset-inline-end:calc(100% + var(--editor-toolbar-vert-offset));
  2015. inset-block-start:0;
  2016. }
  2017. :is(.annotationEditorLayer :is([data-main-rotation="0"] [data-editor-rotation="180"],[data-main-rotation="90"] [data-editor-rotation="90"],[data-main-rotation="180"] [data-editor-rotation="0"],[data-main-rotation="270"] [data-editor-rotation="270"])) .editToolbar{
  2018. rotate:180deg;
  2019. inset-inline-end:100%;
  2020. inset-block-start:calc(0pc - var(--editor-toolbar-vert-offset));
  2021. }
  2022. :is(.annotationEditorLayer :is([data-main-rotation="0"] [data-editor-rotation="270"],[data-main-rotation="90"] [data-editor-rotation="180"],[data-main-rotation="180"] [data-editor-rotation="90"],[data-main-rotation="270"] [data-editor-rotation="0"])) .editToolbar{
  2023. rotate:90deg;
  2024. }
  2025. [dir="ltr"] :is(:is(.annotationEditorLayer :is([data-main-rotation="0"] [data-editor-rotation="270"],[data-main-rotation="90"] [data-editor-rotation="180"],[data-main-rotation="180"] [data-editor-rotation="90"],[data-main-rotation="270"] [data-editor-rotation="0"])) .editToolbar){
  2026. inset-inline-end:calc(100% + var(--editor-toolbar-vert-offset));
  2027. inset-block-start:100%;
  2028. }
  2029. [dir="rtl"] :is(:is(.annotationEditorLayer :is([data-main-rotation="0"] [data-editor-rotation="270"],[data-main-rotation="90"] [data-editor-rotation="180"],[data-main-rotation="180"] [data-editor-rotation="90"],[data-main-rotation="270"] [data-editor-rotation="0"])) .editToolbar){
  2030. inset-inline-start:calc(0px - var(--editor-toolbar-vert-offset));
  2031. inset-block-start:0;
  2032. }
  2033. .dialog.altText::backdrop{
  2034. -webkit-mask:url(#alttext-manager-mask);
  2035. mask:url(#alttext-manager-mask);
  2036. }
  2037. .dialog.altText.positioned{
  2038. margin:0;
  2039. }
  2040. .dialog.altText #altTextContainer{
  2041. width:300px;
  2042. height:-moz-fit-content;
  2043. height:fit-content;
  2044. display:inline-flex;
  2045. flex-direction:column;
  2046. align-items:flex-start;
  2047. gap:16px;
  2048. }
  2049. :is(.dialog.altText #altTextContainer) #overallDescription{
  2050. display:flex;
  2051. flex-direction:column;
  2052. align-items:flex-start;
  2053. gap:4px;
  2054. align-self:stretch;
  2055. }
  2056. :is(:is(.dialog.altText #altTextContainer) #overallDescription) span{
  2057. align-self:stretch;
  2058. }
  2059. :is(:is(.dialog.altText #altTextContainer) #overallDescription) .title{
  2060. font-size:13px;
  2061. font-style:normal;
  2062. font-weight:590;
  2063. }
  2064. :is(.dialog.altText #altTextContainer) #addDescription{
  2065. display:flex;
  2066. flex-direction:column;
  2067. align-items:stretch;
  2068. gap:8px;
  2069. }
  2070. :is(:is(.dialog.altText #altTextContainer) #addDescription) .descriptionArea{
  2071. flex:1;
  2072. padding-inline:24px 10px;
  2073. }
  2074. :is(:is(:is(.dialog.altText #altTextContainer) #addDescription) .descriptionArea) textarea{
  2075. width:100%;
  2076. min-height:75px;
  2077. }
  2078. :is(.dialog.altText #altTextContainer) #buttons{
  2079. display:flex;
  2080. justify-content:flex-end;
  2081. align-items:flex-start;
  2082. gap:8px;
  2083. align-self:stretch;
  2084. }
  2085. .dialog.newAltText{
  2086. --new-alt-text-ai-disclaimer-icon:url(images/altText_disclaimer.svg);
  2087. --new-alt-text-spinner-icon:url(images/altText_spinner.svg);
  2088. --preview-image-bg-color:#f0f0f4;
  2089. --preview-image-border:none;
  2090. }
  2091. @media (prefers-color-scheme: dark){
  2092. .dialog.newAltText{
  2093. --preview-image-bg-color:#2b2a33;
  2094. }
  2095. }
  2096. @media screen and (forced-colors: active){
  2097. .dialog.newAltText{
  2098. --preview-image-bg-color:ButtonFace;
  2099. --preview-image-border:1px solid ButtonText;
  2100. }
  2101. }
  2102. .dialog.newAltText{
  2103. width:80%;
  2104. max-width:570px;
  2105. min-width:300px;
  2106. padding:0;
  2107. }
  2108. .dialog.newAltText.noAi #newAltTextDisclaimer,.dialog.newAltText.noAi #newAltTextCreateAutomatically{
  2109. display:none !important;
  2110. }
  2111. .dialog.newAltText.aiInstalling #newAltTextCreateAutomatically{
  2112. display:none !important;
  2113. }
  2114. .dialog.newAltText.aiInstalling #newAltTextDownloadModel{
  2115. display:flex !important;
  2116. }
  2117. .dialog.newAltText.error #newAltTextNotNow{
  2118. display:none !important;
  2119. }
  2120. .dialog.newAltText.error #newAltTextCancel{
  2121. display:inline-block !important;
  2122. }
  2123. .dialog.newAltText:not(.error) #newAltTextError{
  2124. display:none !important;
  2125. }
  2126. .dialog.newAltText #newAltTextContainer{
  2127. display:flex;
  2128. width:auto;
  2129. padding:16px;
  2130. flex-direction:column;
  2131. justify-content:flex-end;
  2132. align-items:flex-start;
  2133. gap:12px;
  2134. flex:0 1 auto;
  2135. line-height:normal;
  2136. }
  2137. :is(.dialog.newAltText #newAltTextContainer) #mainContent{
  2138. display:flex;
  2139. justify-content:flex-end;
  2140. align-items:flex-start;
  2141. gap:12px;
  2142. align-self:stretch;
  2143. flex:1 1 auto;
  2144. }
  2145. :is(:is(.dialog.newAltText #newAltTextContainer) #mainContent) #descriptionAndSettings{
  2146. display:flex;
  2147. flex-direction:column;
  2148. align-items:flex-start;
  2149. gap:16px;
  2150. flex:1 0 0;
  2151. align-self:stretch;
  2152. }
  2153. :is(:is(.dialog.newAltText #newAltTextContainer) #mainContent) #descriptionInstruction{
  2154. display:flex;
  2155. flex-direction:column;
  2156. align-items:flex-start;
  2157. gap:8px;
  2158. align-self:stretch;
  2159. flex:1 1 auto;
  2160. }
  2161. :is(:is(:is(.dialog.newAltText #newAltTextContainer) #mainContent) #descriptionInstruction) #newAltTextDescriptionContainer{
  2162. width:100%;
  2163. height:70px;
  2164. position:relative;
  2165. }
  2166. :is(:is(:is(:is(.dialog.newAltText #newAltTextContainer) #mainContent) #descriptionInstruction) #newAltTextDescriptionContainer) textarea{
  2167. width:100%;
  2168. height:100%;
  2169. padding:8px;
  2170. }
  2171. :is(:is(:is(:is(:is(.dialog.newAltText #newAltTextContainer) #mainContent) #descriptionInstruction) #newAltTextDescriptionContainer) textarea)::-moz-placeholder{
  2172. color:var(--text-secondary-color);
  2173. }
  2174. :is(:is(:is(:is(:is(.dialog.newAltText #newAltTextContainer) #mainContent) #descriptionInstruction) #newAltTextDescriptionContainer) textarea)::placeholder{
  2175. color:var(--text-secondary-color);
  2176. }
  2177. :is(:is(:is(:is(.dialog.newAltText #newAltTextContainer) #mainContent) #descriptionInstruction) #newAltTextDescriptionContainer) .altTextSpinner{
  2178. display:none;
  2179. position:absolute;
  2180. width:16px;
  2181. height:16px;
  2182. inset-inline-start:8px;
  2183. inset-block-start:8px;
  2184. -webkit-mask-size:cover;
  2185. mask-size:cover;
  2186. background-color:var(--text-secondary-color);
  2187. pointer-events:none;
  2188. }
  2189. .loading:is(:is(:is(:is(.dialog.newAltText #newAltTextContainer) #mainContent) #descriptionInstruction) #newAltTextDescriptionContainer) textarea::-moz-placeholder{
  2190. color:transparent;
  2191. }
  2192. .loading:is(:is(:is(:is(.dialog.newAltText #newAltTextContainer) #mainContent) #descriptionInstruction) #newAltTextDescriptionContainer) textarea::placeholder{
  2193. color:transparent;
  2194. }
  2195. .loading:is(:is(:is(:is(.dialog.newAltText #newAltTextContainer) #mainContent) #descriptionInstruction) #newAltTextDescriptionContainer) .altTextSpinner{
  2196. display:inline-block;
  2197. -webkit-mask-image:var(--new-alt-text-spinner-icon);
  2198. mask-image:var(--new-alt-text-spinner-icon);
  2199. }
  2200. :is(:is(:is(.dialog.newAltText #newAltTextContainer) #mainContent) #descriptionInstruction) #newAltTextDescription{
  2201. font-size:11px;
  2202. }
  2203. :is(:is(:is(.dialog.newAltText #newAltTextContainer) #mainContent) #descriptionInstruction) #newAltTextDisclaimer{
  2204. display:flex;
  2205. flex-direction:row;
  2206. align-items:flex-start;
  2207. gap:4px;
  2208. font-size:11px;
  2209. }
  2210. :is(:is(:is(:is(.dialog.newAltText #newAltTextContainer) #mainContent) #descriptionInstruction) #newAltTextDisclaimer)::before{
  2211. content:"";
  2212. display:inline-block;
  2213. width:17px;
  2214. height:16px;
  2215. -webkit-mask-image:var(--new-alt-text-ai-disclaimer-icon);
  2216. mask-image:var(--new-alt-text-ai-disclaimer-icon);
  2217. -webkit-mask-size:cover;
  2218. mask-size:cover;
  2219. background-color:var(--text-secondary-color);
  2220. flex:1 0 auto;
  2221. }
  2222. :is(:is(.dialog.newAltText #newAltTextContainer) #mainContent) #newAltTextDownloadModel{
  2223. display:flex;
  2224. align-items:center;
  2225. gap:4px;
  2226. align-self:stretch;
  2227. }
  2228. :is(:is(:is(.dialog.newAltText #newAltTextContainer) #mainContent) #newAltTextDownloadModel)::before{
  2229. content:"";
  2230. display:inline-block;
  2231. width:16px;
  2232. height:16px;
  2233. -webkit-mask-image:var(--new-alt-text-spinner-icon);
  2234. mask-image:var(--new-alt-text-spinner-icon);
  2235. -webkit-mask-size:cover;
  2236. mask-size:cover;
  2237. background-color:var(--text-secondary-color);
  2238. }
  2239. :is(:is(.dialog.newAltText #newAltTextContainer) #mainContent) #newAltTextImagePreview{
  2240. width:180px;
  2241. aspect-ratio:1;
  2242. display:flex;
  2243. justify-content:center;
  2244. align-items:center;
  2245. flex:0 0 auto;
  2246. background-color:var(--preview-image-bg-color);
  2247. border:var(--preview-image-border);
  2248. }
  2249. :is(:is(:is(.dialog.newAltText #newAltTextContainer) #mainContent) #newAltTextImagePreview) > canvas{
  2250. max-width:100%;
  2251. max-height:100%;
  2252. }
  2253. .colorPicker{
  2254. --hover-outline-color:#0250bb;
  2255. --selected-outline-color:#0060df;
  2256. --swatch-border-color:#cfcfd8;
  2257. }
  2258. @media (prefers-color-scheme: dark){
  2259. .colorPicker{
  2260. --hover-outline-color:#80ebff;
  2261. --selected-outline-color:#aaf2ff;
  2262. --swatch-border-color:#52525e;
  2263. }
  2264. }
  2265. @media screen and (forced-colors: active){
  2266. .colorPicker{
  2267. --hover-outline-color:Highlight;
  2268. --selected-outline-color:var(--hover-outline-color);
  2269. --swatch-border-color:ButtonText;
  2270. }
  2271. }
  2272. .colorPicker .swatch{
  2273. width:16px;
  2274. height:16px;
  2275. border:1px solid var(--swatch-border-color);
  2276. border-radius:100%;
  2277. outline-offset:2px;
  2278. box-sizing:border-box;
  2279. forced-color-adjust:none;
  2280. }
  2281. .colorPicker button:is(:hover,.selected) > .swatch{
  2282. border:none;
  2283. }
  2284. .annotationEditorLayer[data-main-rotation="0"] .highlightEditor:not(.free) > .editToolbar{
  2285. rotate:0deg;
  2286. }
  2287. .annotationEditorLayer[data-main-rotation="90"] .highlightEditor:not(.free) > .editToolbar{
  2288. rotate:270deg;
  2289. }
  2290. .annotationEditorLayer[data-main-rotation="180"] .highlightEditor:not(.free) > .editToolbar{
  2291. rotate:180deg;
  2292. }
  2293. .annotationEditorLayer[data-main-rotation="270"] .highlightEditor:not(.free) > .editToolbar{
  2294. rotate:90deg;
  2295. }
  2296. .annotationEditorLayer .highlightEditor{
  2297. position:absolute;
  2298. background:transparent;
  2299. z-index:1;
  2300. cursor:auto;
  2301. max-width:100%;
  2302. max-height:100%;
  2303. border:none;
  2304. outline:none;
  2305. pointer-events:none;
  2306. transform-origin:0 0;
  2307. }
  2308. :is(.annotationEditorLayer .highlightEditor):not(.free){
  2309. transform:none;
  2310. }
  2311. :is(.annotationEditorLayer .highlightEditor) .internal{
  2312. position:absolute;
  2313. top:0;
  2314. left:0;
  2315. width:100%;
  2316. height:100%;
  2317. pointer-events:auto;
  2318. }
  2319. .disabled:is(.annotationEditorLayer .highlightEditor) .internal{
  2320. pointer-events:none;
  2321. }
  2322. .selectedEditor:is(.annotationEditorLayer .highlightEditor) .internal{
  2323. cursor:pointer;
  2324. }
  2325. :is(.annotationEditorLayer .highlightEditor) .editToolbar{
  2326. --editor-toolbar-colorpicker-arrow-image:url(images/toolbarButton-menuArrow.svg);
  2327. transform-origin:center !important;
  2328. }
  2329. :is(:is(:is(.annotationEditorLayer .highlightEditor) .editToolbar) .buttons) .colorPicker{
  2330. position:relative;
  2331. width:auto;
  2332. display:flex;
  2333. justify-content:center;
  2334. align-items:center;
  2335. gap:4px;
  2336. padding:4px;
  2337. }
  2338. :is(:is(:is(:is(.annotationEditorLayer .highlightEditor) .editToolbar) .buttons) .colorPicker)::after{
  2339. content:"";
  2340. -webkit-mask-image:var(--editor-toolbar-colorpicker-arrow-image);
  2341. mask-image:var(--editor-toolbar-colorpicker-arrow-image);
  2342. -webkit-mask-repeat:no-repeat;
  2343. mask-repeat:no-repeat;
  2344. -webkit-mask-position:center;
  2345. mask-position:center;
  2346. display:inline-block;
  2347. background-color:var(--editor-toolbar-fg-color);
  2348. width:12px;
  2349. height:12px;
  2350. }
  2351. :is(:is(:is(:is(.annotationEditorLayer .highlightEditor) .editToolbar) .buttons) .colorPicker):hover::after{
  2352. background-color:var(--editor-toolbar-hover-fg-color);
  2353. }
  2354. :is(:is(:is(:is(.annotationEditorLayer .highlightEditor) .editToolbar) .buttons) .colorPicker):has(.dropdown:not(.hidden)){
  2355. background-color:var(--editor-toolbar-hover-bg-color);
  2356. }
  2357. :is(:is(:is(:is(.annotationEditorLayer .highlightEditor) .editToolbar) .buttons) .colorPicker):has(.dropdown:not(.hidden))::after{
  2358. scale:-1;
  2359. }
  2360. :is(:is(:is(:is(.annotationEditorLayer .highlightEditor) .editToolbar) .buttons) .colorPicker) .dropdown{
  2361. position:absolute;
  2362. display:flex;
  2363. justify-content:center;
  2364. align-items:center;
  2365. flex-direction:column;
  2366. gap:11px;
  2367. padding-block:8px;
  2368. border-radius:6px;
  2369. background-color:var(--editor-toolbar-bg-color);
  2370. border:1px solid var(--editor-toolbar-border-color);
  2371. box-shadow:var(--editor-toolbar-shadow);
  2372. inset-block-start:calc(100% + 4px);
  2373. width:calc(100% + 2 * var(--editor-toolbar-padding));
  2374. }
  2375. :is(:is(:is(:is(:is(.annotationEditorLayer .highlightEditor) .editToolbar) .buttons) .colorPicker) .dropdown) button{
  2376. width:100%;
  2377. height:auto;
  2378. border:none;
  2379. cursor:pointer;
  2380. display:flex;
  2381. justify-content:center;
  2382. align-items:center;
  2383. background:none;
  2384. }
  2385. :is(:is(:is(:is(:is(:is(.annotationEditorLayer .highlightEditor) .editToolbar) .buttons) .colorPicker) .dropdown) button):is(:active,:focus-visible){
  2386. outline:none;
  2387. }
  2388. :is(:is(:is(:is(:is(:is(.annotationEditorLayer .highlightEditor) .editToolbar) .buttons) .colorPicker) .dropdown) button) > .swatch{
  2389. outline-offset:2px;
  2390. }
  2391. [aria-selected="true"]:is(:is(:is(:is(:is(:is(.annotationEditorLayer .highlightEditor) .editToolbar) .buttons) .colorPicker) .dropdown) button) > .swatch{
  2392. outline:2px solid var(--selected-outline-color);
  2393. }
  2394. :is(:is(:is(:is(:is(:is(.annotationEditorLayer .highlightEditor) .editToolbar) .buttons) .colorPicker) .dropdown) button):is(:hover,:active,:focus-visible) > .swatch{
  2395. outline:2px solid var(--hover-outline-color);
  2396. }
  2397. .editorParamsToolbar:has(#highlightParamsToolbarContainer){
  2398. padding:unset;
  2399. }
  2400. #highlightParamsToolbarContainer{
  2401. gap:16px;
  2402. padding-inline:10px;
  2403. padding-block-end:12px;
  2404. }
  2405. #highlightParamsToolbarContainer .colorPicker{
  2406. display:flex;
  2407. flex-direction:column;
  2408. gap:8px;
  2409. }
  2410. :is(#highlightParamsToolbarContainer .colorPicker) .dropdown{
  2411. display:flex;
  2412. justify-content:space-between;
  2413. align-items:center;
  2414. flex-direction:row;
  2415. height:auto;
  2416. }
  2417. :is(:is(#highlightParamsToolbarContainer .colorPicker) .dropdown) button{
  2418. width:auto;
  2419. height:auto;
  2420. border:none;
  2421. cursor:pointer;
  2422. display:flex;
  2423. justify-content:center;
  2424. align-items:center;
  2425. background:none;
  2426. flex:0 0 auto;
  2427. padding:0;
  2428. }
  2429. :is(:is(:is(#highlightParamsToolbarContainer .colorPicker) .dropdown) button) .swatch{
  2430. width:24px;
  2431. height:24px;
  2432. }
  2433. :is(:is(:is(#highlightParamsToolbarContainer .colorPicker) .dropdown) button):is(:active,:focus-visible){
  2434. outline:none;
  2435. }
  2436. [aria-selected="true"]:is(:is(:is(#highlightParamsToolbarContainer .colorPicker) .dropdown) button) > .swatch{
  2437. outline:2px solid var(--selected-outline-color);
  2438. }
  2439. :is(:is(:is(#highlightParamsToolbarContainer .colorPicker) .dropdown) button):is(:hover,:active,:focus-visible) > .swatch{
  2440. outline:2px solid var(--hover-outline-color);
  2441. }
  2442. #highlightParamsToolbarContainer #editorHighlightThickness{
  2443. display:flex;
  2444. flex-direction:column;
  2445. align-items:center;
  2446. gap:4px;
  2447. align-self:stretch;
  2448. }
  2449. :is(#highlightParamsToolbarContainer #editorHighlightThickness) .editorParamsLabel{
  2450. height:auto;
  2451. align-self:stretch;
  2452. }
  2453. :is(#highlightParamsToolbarContainer #editorHighlightThickness) .thicknessPicker{
  2454. display:flex;
  2455. justify-content:space-between;
  2456. align-items:center;
  2457. align-self:stretch;
  2458. --example-color:#bfbfc9;
  2459. }
  2460. @media (prefers-color-scheme: dark){
  2461. :is(#highlightParamsToolbarContainer #editorHighlightThickness) .thicknessPicker{
  2462. --example-color:#80808e;
  2463. }
  2464. }
  2465. @media screen and (forced-colors: active){
  2466. :is(#highlightParamsToolbarContainer #editorHighlightThickness) .thicknessPicker{
  2467. --example-color:CanvasText;
  2468. }
  2469. }
  2470. :is(:is(:is(#highlightParamsToolbarContainer #editorHighlightThickness) .thicknessPicker) > .editorParamsSlider[disabled]){
  2471. opacity:0.4;
  2472. }
  2473. :is(:is(#highlightParamsToolbarContainer #editorHighlightThickness) .thicknessPicker)::before,:is(:is(#highlightParamsToolbarContainer #editorHighlightThickness) .thicknessPicker)::after{
  2474. content:"";
  2475. width:8px;
  2476. aspect-ratio:1;
  2477. display:block;
  2478. border-radius:100%;
  2479. background-color:var(--example-color);
  2480. }
  2481. :is(:is(#highlightParamsToolbarContainer #editorHighlightThickness) .thicknessPicker)::after{
  2482. width:24px;
  2483. }
  2484. :is(:is(#highlightParamsToolbarContainer #editorHighlightThickness) .thicknessPicker) .editorParamsSlider{
  2485. width:unset;
  2486. height:14px;
  2487. }
  2488. #highlightParamsToolbarContainer #editorHighlightVisibility{
  2489. display:flex;
  2490. flex-direction:column;
  2491. align-items:flex-start;
  2492. gap:8px;
  2493. align-self:stretch;
  2494. }
  2495. :is(#highlightParamsToolbarContainer #editorHighlightVisibility) .divider{
  2496. --divider-color:#d7d7db;
  2497. }
  2498. @media (prefers-color-scheme: dark){
  2499. :is(#highlightParamsToolbarContainer #editorHighlightVisibility) .divider{
  2500. --divider-color:#8f8f9d;
  2501. }
  2502. }
  2503. @media screen and (forced-colors: active){
  2504. :is(#highlightParamsToolbarContainer #editorHighlightVisibility) .divider{
  2505. --divider-color:CanvasText;
  2506. }
  2507. }
  2508. :is(#highlightParamsToolbarContainer #editorHighlightVisibility) .divider{
  2509. margin-block:4px;
  2510. width:100%;
  2511. height:1px;
  2512. background-color:var(--divider-color);
  2513. }
  2514. :is(#highlightParamsToolbarContainer #editorHighlightVisibility) .toggler{
  2515. display:flex;
  2516. justify-content:space-between;
  2517. align-items:center;
  2518. align-self:stretch;
  2519. }
  2520. #altTextSettingsDialog{
  2521. padding:16px;
  2522. }
  2523. #altTextSettingsDialog #altTextSettingsContainer{
  2524. display:flex;
  2525. width:573px;
  2526. flex-direction:column;
  2527. gap:16px;
  2528. }
  2529. :is(#altTextSettingsDialog #altTextSettingsContainer) .mainContainer{
  2530. gap:16px;
  2531. }
  2532. :is(#altTextSettingsDialog #altTextSettingsContainer) .description{
  2533. color:var(--text-secondary-color);
  2534. }
  2535. :is(#altTextSettingsDialog #altTextSettingsContainer) #aiModelSettings{
  2536. display:flex;
  2537. flex-direction:column;
  2538. gap:12px;
  2539. }
  2540. :is(:is(#altTextSettingsDialog #altTextSettingsContainer) #aiModelSettings) button{
  2541. width:-moz-fit-content;
  2542. width:fit-content;
  2543. }
  2544. .download:is(:is(#altTextSettingsDialog #altTextSettingsContainer) #aiModelSettings) #deleteModelButton{
  2545. display:none;
  2546. }
  2547. :is(:is(#altTextSettingsDialog #altTextSettingsContainer) #aiModelSettings):not(.download) #downloadModelButton{
  2548. display:none;
  2549. }
  2550. :is(#altTextSettingsDialog #altTextSettingsContainer) #automaticAltText,:is(#altTextSettingsDialog #altTextSettingsContainer) #altTextEditor{
  2551. display:flex;
  2552. flex-direction:column;
  2553. gap:8px;
  2554. }
  2555. :is(#altTextSettingsDialog #altTextSettingsContainer) #createModelDescription,:is(#altTextSettingsDialog #altTextSettingsContainer) #aiModelSettings,:is(#altTextSettingsDialog #altTextSettingsContainer) #showAltTextDialogDescription{
  2556. padding-inline-start:40px;
  2557. }
  2558. :is(#altTextSettingsDialog #altTextSettingsContainer) #automaticSettings{
  2559. display:flex;
  2560. flex-direction:column;
  2561. gap:16px;
  2562. }
  2563. :root{
  2564. --viewer-container-height:0;
  2565. --pdfViewer-padding-bottom:0;
  2566. --page-margin:1px auto -8px;
  2567. --page-border:9px solid transparent;
  2568. --spreadHorizontalWrapped-margin-LR:-3.5px;
  2569. --loading-icon-delay:400ms;
  2570. }
  2571. @media screen and (forced-colors: active){
  2572. :root{
  2573. --pdfViewer-padding-bottom:9px;
  2574. --page-margin:8px auto -1px;
  2575. --page-border:1px solid CanvasText;
  2576. --spreadHorizontalWrapped-margin-LR:3.5px;
  2577. }
  2578. }
  2579. [data-main-rotation="90"]{
  2580. transform:rotate(90deg) translateY(-100%);
  2581. }
  2582. [data-main-rotation="180"]{
  2583. transform:rotate(180deg) translate(-100%, -100%);
  2584. }
  2585. [data-main-rotation="270"]{
  2586. transform:rotate(270deg) translateX(-100%);
  2587. }
  2588. #hiddenCopyElement,
  2589. .hiddenCanvasElement{
  2590. position:absolute;
  2591. top:0;
  2592. left:0;
  2593. width:0;
  2594. height:0;
  2595. display:none;
  2596. }
  2597. .pdfViewer{
  2598. --scale-factor:1;
  2599. --page-bg-color:unset;
  2600. padding-bottom:var(--pdfViewer-padding-bottom);
  2601. --hcm-highlight-filter:none;
  2602. --hcm-highlight-selected-filter:none;
  2603. }
  2604. @media screen and (forced-colors: active){
  2605. .pdfViewer{
  2606. --hcm-highlight-filter:invert(100%);
  2607. }
  2608. }
  2609. .pdfViewer.copyAll{
  2610. cursor:wait;
  2611. }
  2612. .pdfViewer .canvasWrapper{
  2613. overflow:hidden;
  2614. width:100%;
  2615. height:100%;
  2616. }
  2617. :is(.pdfViewer .canvasWrapper) canvas{
  2618. position:absolute;
  2619. top:0;
  2620. left:0;
  2621. margin:0;
  2622. display:block;
  2623. width:100%;
  2624. height:100%;
  2625. contain:content;
  2626. }
  2627. :is(:is(.pdfViewer .canvasWrapper) canvas) .structTree{
  2628. contain:strict;
  2629. }
  2630. .pdfViewer .page{
  2631. --scale-round-x:1px;
  2632. --scale-round-y:1px;
  2633. direction:ltr;
  2634. width:816px;
  2635. height:1056px;
  2636. margin:var(--page-margin);
  2637. position:relative;
  2638. overflow:visible;
  2639. border:var(--page-border);
  2640. background-clip:content-box;
  2641. background-color:var(--page-bg-color, rgb(255 255 255));
  2642. }
  2643. .pdfViewer .dummyPage{
  2644. position:relative;
  2645. width:0;
  2646. height:var(--viewer-container-height);
  2647. }
  2648. .pdfViewer.noUserSelect{
  2649. -webkit-user-select:none;
  2650. -moz-user-select:none;
  2651. user-select:none;
  2652. }
  2653. .pdfViewer.removePageBorders .page{
  2654. margin:0 auto 10px;
  2655. border:none;
  2656. }
  2657. .pdfViewer.singlePageView{
  2658. display:inline-block;
  2659. }
  2660. .pdfViewer.singlePageView .page{
  2661. margin:0;
  2662. border:none;
  2663. }
  2664. .pdfViewer:is(.scrollHorizontal, .scrollWrapped),
  2665. .spread{
  2666. margin-inline:3.5px;
  2667. text-align:center;
  2668. }
  2669. .pdfViewer.scrollHorizontal,
  2670. .spread{
  2671. white-space:nowrap;
  2672. }
  2673. .pdfViewer.removePageBorders,
  2674. .pdfViewer:is(.scrollHorizontal, .scrollWrapped) .spread{
  2675. margin-inline:0;
  2676. }
  2677. .spread :is(.page, .dummyPage),
  2678. .pdfViewer:is(.scrollHorizontal, .scrollWrapped) :is(.page, .spread){
  2679. display:inline-block;
  2680. vertical-align:middle;
  2681. }
  2682. .spread .page,
  2683. .pdfViewer:is(.scrollHorizontal, .scrollWrapped) .page{
  2684. margin-inline:var(--spreadHorizontalWrapped-margin-LR);
  2685. }
  2686. .pdfViewer.removePageBorders .spread .page,
  2687. .pdfViewer.removePageBorders:is(.scrollHorizontal, .scrollWrapped) .page{
  2688. margin-inline:5px;
  2689. }
  2690. .pdfViewer .page.loadingIcon::after{
  2691. position:absolute;
  2692. top:0;
  2693. left:0;
  2694. content:"";
  2695. width:100%;
  2696. height:100%;
  2697. background:url("images/loading-icon.gif") center no-repeat;
  2698. display:none;
  2699. transition-property:display;
  2700. transition-delay:var(--loading-icon-delay);
  2701. z-index:5;
  2702. contain:strict;
  2703. }
  2704. .pdfViewer .page.loading::after{
  2705. display:block;
  2706. }
  2707. .pdfViewer .page:not(.loading)::after{
  2708. transition-property:none;
  2709. display:none;
  2710. }
  2711. .pdfPresentationMode .pdfViewer{
  2712. padding-bottom:0;
  2713. }
  2714. .pdfPresentationMode .spread{
  2715. margin:0;
  2716. }
  2717. .pdfPresentationMode .pdfViewer .page{
  2718. margin:0 auto;
  2719. border:2px solid transparent;
  2720. }