viewer.css 93 KB

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