viewer.css 93 KB

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