viewer-pdf.css 93 KB

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