viewer.css 93 KB

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