viewer.css 93 KB

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