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