viewer.css 93 KB

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