viewer.css 96 KB

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