editor.main.css 155 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514
  1. /*!-----------------------------------------------------------
  2. * Copyright (c) Microsoft Corporation. All rights reserved.
  3. * Version: 0.38.0(0e330ae453813de4e6cf272460fb79c7117073d0)
  4. * Released under the MIT license
  5. * https://github.com/microsoft/vscode/blob/main/LICENSE.txt
  6. *-----------------------------------------------------------*/
  7. /*---------------------------------------------------------
  8. * Copyright (c) Microsoft Corporation. All rights reserved.
  9. *--------------------------------------------------------*/
  10. /*---------------------------------------------------------------------------------------------
  11. * Copyright (c) Microsoft Corporation. All rights reserved.
  12. * Licensed under the MIT License. See License.txt in the project root for license information.
  13. *--------------------------------------------------------------------------------------------*/
  14. .monaco-action-bar {
  15. white-space: nowrap;
  16. height: 100%;
  17. }
  18. .monaco-action-bar .actions-container {
  19. display: flex;
  20. margin: 0 auto;
  21. padding: 0;
  22. height: 100%;
  23. width: 100%;
  24. align-items: center;
  25. }
  26. .monaco-action-bar.vertical .actions-container {
  27. display: inline-block;
  28. }
  29. .monaco-action-bar .action-item {
  30. display: block;
  31. align-items: center;
  32. justify-content: center;
  33. cursor: pointer;
  34. position: relative; /* DO NOT REMOVE - this is the key to preventing the ghosting icon bug in Chrome 42 */
  35. }
  36. .monaco-action-bar .action-item.disabled {
  37. cursor: default;
  38. }
  39. .monaco-action-bar .action-item .icon,
  40. .monaco-action-bar .action-item .codicon {
  41. display: block;
  42. }
  43. .monaco-action-bar .action-item .codicon {
  44. display: flex;
  45. align-items: center;
  46. width: 16px;
  47. height: 16px;
  48. }
  49. .monaco-action-bar .action-label {
  50. display: flex;
  51. font-size: 11px;
  52. padding: 3px;
  53. border-radius: 5px;
  54. }
  55. .monaco-action-bar .action-item.disabled .action-label,
  56. .monaco-action-bar .action-item.disabled .action-label::before,
  57. .monaco-action-bar .action-item.disabled .action-label:hover {
  58. opacity: 0.6;
  59. }
  60. /* Vertical actions */
  61. .monaco-action-bar.vertical {
  62. text-align: left;
  63. }
  64. .monaco-action-bar.vertical .action-item {
  65. display: block;
  66. }
  67. .monaco-action-bar.vertical .action-label.separator {
  68. display: block;
  69. border-bottom: 1px solid #bbb;
  70. padding-top: 1px;
  71. margin-left: .8em;
  72. margin-right: .8em;
  73. }
  74. .monaco-action-bar .action-item .action-label.separator {
  75. width: 1px;
  76. height: 16px;
  77. margin: 5px 4px !important;
  78. cursor: default;
  79. min-width: 1px;
  80. padding: 0;
  81. background-color: #bbb;
  82. }
  83. .secondary-actions .monaco-action-bar .action-label {
  84. margin-left: 6px;
  85. }
  86. /* Action Items */
  87. .monaco-action-bar .action-item.select-container {
  88. overflow: hidden; /* somehow the dropdown overflows its container, we prevent it here to not push */
  89. flex: 1;
  90. max-width: 170px;
  91. min-width: 60px;
  92. display: flex;
  93. align-items: center;
  94. justify-content: center;
  95. margin-right: 10px;
  96. }
  97. .monaco-action-bar .action-item.action-dropdown-item {
  98. display: flex;
  99. }
  100. .monaco-action-bar .action-item.action-dropdown-item > .action-dropdown-item-separator {
  101. display: flex;
  102. align-items: center;
  103. cursor: default;
  104. }
  105. .monaco-action-bar .action-item.action-dropdown-item > .action-dropdown-item-separator > div {
  106. width: 1px;
  107. }
  108. /*---------------------------------------------------------------------------------------------
  109. * Copyright (c) Microsoft Corporation. All rights reserved.
  110. * Licensed under the MIT License. See License.txt in the project root for license information.
  111. *--------------------------------------------------------------------------------------------*/
  112. .monaco-aria-container {
  113. position: absolute; /* try to hide from window but not from screen readers */
  114. left:-999em;
  115. }
  116. /*---------------------------------------------------------------------------------------------
  117. * Copyright (c) Microsoft Corporation. All rights reserved.
  118. * Licensed under the MIT License. See License.txt in the project root for license information.
  119. *--------------------------------------------------------------------------------------------*/
  120. .monaco-text-button {
  121. box-sizing: border-box;
  122. display: flex;
  123. width: 100%;
  124. padding: 4px;
  125. border-radius: 2px;
  126. text-align: center;
  127. cursor: pointer;
  128. justify-content: center;
  129. align-items: center;
  130. border: 1px solid var(--vscode-button-border, transparent);
  131. line-height: 18px;
  132. }
  133. .monaco-text-button:focus {
  134. outline-offset: 2px !important;
  135. }
  136. .monaco-text-button:hover {
  137. text-decoration: none !important;
  138. }
  139. .monaco-button.disabled:focus,
  140. .monaco-button.disabled {
  141. opacity: 0.4 !important;
  142. cursor: default;
  143. }
  144. .monaco-text-button .codicon {
  145. margin: 0 0.2em;
  146. color: inherit !important;
  147. }
  148. .monaco-text-button.monaco-text-button-with-short-label {
  149. flex-direction: row;
  150. flex-wrap: wrap;
  151. padding: 0 4px;
  152. overflow: hidden;
  153. height: 28px;
  154. }
  155. .monaco-text-button.monaco-text-button-with-short-label > .monaco-button-label {
  156. flex-basis: 100%;
  157. }
  158. .monaco-text-button.monaco-text-button-with-short-label > .monaco-button-label-short {
  159. flex-grow: 1;
  160. width: 0;
  161. overflow: hidden;
  162. }
  163. .monaco-text-button.monaco-text-button-with-short-label > .monaco-button-label,
  164. .monaco-text-button.monaco-text-button-with-short-label > .monaco-button-label-short {
  165. display: flex;
  166. justify-content: center;
  167. align-items: center;
  168. font-weight: normal;
  169. font-style: inherit;
  170. padding: 4px 0;
  171. }
  172. .monaco-button-dropdown {
  173. display: flex;
  174. cursor: pointer;
  175. }
  176. .monaco-button-dropdown.disabled {
  177. cursor: default;
  178. }
  179. .monaco-button-dropdown > .monaco-button:focus {
  180. outline-offset: -1px !important;
  181. }
  182. .monaco-button-dropdown.disabled > .monaco-button.disabled,
  183. .monaco-button-dropdown.disabled > .monaco-button.disabled:focus,
  184. .monaco-button-dropdown.disabled > .monaco-button-dropdown-separator {
  185. opacity: 0.4 !important;
  186. }
  187. .monaco-button-dropdown > .monaco-button.monaco-text-button {
  188. border-right-width: 0 !important;
  189. }
  190. .monaco-button-dropdown .monaco-button-dropdown-separator {
  191. padding: 4px 0;
  192. cursor: default;
  193. }
  194. .monaco-button-dropdown .monaco-button-dropdown-separator > div {
  195. height: 100%;
  196. width: 1px;
  197. }
  198. .monaco-button-dropdown > .monaco-button.monaco-dropdown-button {
  199. border: 1px solid var(--vscode-button-border, transparent);
  200. border-left-width: 0 !important;
  201. border-radius: 0 2px 2px 0;
  202. }
  203. .monaco-button-dropdown > .monaco-button.monaco-text-button {
  204. border-radius: 2px 0 0 2px;
  205. }
  206. .monaco-description-button {
  207. display: flex;
  208. flex-direction: column;
  209. align-items: center;
  210. margin: 4px 5px; /* allows button focus outline to be visible */
  211. }
  212. .monaco-description-button .monaco-button-description {
  213. font-style: italic;
  214. font-size: 11px;
  215. padding: 4px 20px;
  216. }
  217. .monaco-description-button .monaco-button-label,
  218. .monaco-description-button .monaco-button-description {
  219. display: flex;
  220. justify-content: center;
  221. align-items: center;
  222. }
  223. .monaco-description-button .monaco-button-label > .codicon,
  224. .monaco-description-button .monaco-button-description > .codicon {
  225. margin: 0 0.2em;
  226. color: inherit !important;
  227. }
  228. /*---------------------------------------------------------------------------------------------
  229. * Copyright (c) Microsoft Corporation. All rights reserved.
  230. * Licensed under the MIT License. See License.txt in the project root for license information.
  231. *--------------------------------------------------------------------------------------------*/
  232. @font-face {
  233. font-family: "codicon";
  234. font-display: block;
  235. src: url(../base/browser/ui/codicons/codicon/codicon.ttf) format("truetype");
  236. }
  237. .codicon[class*='codicon-'] {
  238. font: normal normal normal 16px/1 codicon;
  239. display: inline-block;
  240. text-decoration: none;
  241. text-rendering: auto;
  242. text-align: center;
  243. text-transform: none;
  244. -webkit-font-smoothing: antialiased;
  245. -moz-osx-font-smoothing: grayscale;
  246. user-select: none;
  247. -webkit-user-select: none;
  248. }
  249. /* icon rules are dynamically created by the platform theme service (see iconsStyleSheet.ts) */
  250. /*---------------------------------------------------------------------------------------------
  251. * Copyright (c) Microsoft Corporation. All rights reserved.
  252. * Licensed under the MIT License. See License.txt in the project root for license information.
  253. *--------------------------------------------------------------------------------------------*/
  254. .codicon-wrench-subaction {
  255. opacity: 0.5;
  256. }
  257. @keyframes codicon-spin {
  258. 100% {
  259. transform:rotate(360deg);
  260. }
  261. }
  262. .codicon-sync.codicon-modifier-spin,
  263. .codicon-loading.codicon-modifier-spin,
  264. .codicon-gear.codicon-modifier-spin,
  265. .codicon-notebook-state-executing.codicon-modifier-spin {
  266. /* Use steps to throttle FPS to reduce CPU usage */
  267. animation: codicon-spin 1.5s steps(30) infinite;
  268. }
  269. .codicon-modifier-disabled {
  270. opacity: 0.4;
  271. }
  272. /* custom speed & easing for loading icon */
  273. .codicon-loading,
  274. .codicon-tree-item-loading::before {
  275. animation-duration: 1s !important;
  276. animation-timing-function: cubic-bezier(0.53, 0.21, 0.29, 0.67) !important;
  277. }
  278. /*---------------------------------------------------------------------------------------------
  279. * Copyright (c) Microsoft Corporation. All rights reserved.
  280. * Licensed under the MIT License. See License.txt in the project root for license information.
  281. *--------------------------------------------------------------------------------------------*/
  282. .context-view {
  283. position: absolute;
  284. }
  285. .context-view.fixed {
  286. all: initial;
  287. font-family: inherit;
  288. font-size: 13px;
  289. position: fixed;
  290. color: inherit;
  291. }
  292. /*---------------------------------------------------------------------------------------------
  293. * Copyright (c) Microsoft Corporation. All rights reserved.
  294. * Licensed under the MIT License. See License.txt in the project root for license information.
  295. *--------------------------------------------------------------------------------------------*/
  296. .monaco-count-badge {
  297. padding: 3px 6px;
  298. border-radius: 11px;
  299. font-size: 11px;
  300. min-width: 18px;
  301. min-height: 18px;
  302. line-height: 11px;
  303. font-weight: normal;
  304. text-align: center;
  305. display: inline-block;
  306. box-sizing: border-box;
  307. }
  308. .monaco-count-badge.long {
  309. padding: 2px 3px;
  310. border-radius: 2px;
  311. min-height: auto;
  312. line-height: normal;
  313. }
  314. /*---------------------------------------------------------------------------------------------
  315. * Copyright (c) Microsoft Corporation. All rights reserved.
  316. * Licensed under the MIT License. See License.txt in the project root for license information.
  317. *--------------------------------------------------------------------------------------------*/
  318. .monaco-dropdown {
  319. height: 100%;
  320. padding: 0;
  321. }
  322. .monaco-dropdown > .dropdown-label {
  323. cursor: pointer;
  324. height: 100%;
  325. display: flex;
  326. align-items: center;
  327. justify-content: center;
  328. }
  329. .monaco-dropdown > .dropdown-label > .action-label.disabled {
  330. cursor: default;
  331. }
  332. .monaco-dropdown-with-primary {
  333. display: flex !important;
  334. flex-direction: row;
  335. border-radius: 5px;
  336. }
  337. .monaco-dropdown-with-primary > .action-container > .action-label {
  338. margin-right: 0;
  339. }
  340. .monaco-dropdown-with-primary > .dropdown-action-container > .monaco-dropdown > .dropdown-label .codicon[class*='codicon-'] {
  341. font-size: 12px;
  342. padding-left: 0px;
  343. padding-right: 0px;
  344. line-height: 16px;
  345. margin-left: -3px;
  346. }
  347. .monaco-dropdown-with-primary > .dropdown-action-container > .monaco-dropdown > .dropdown-label > .action-label {
  348. display: block;
  349. background-size: 16px;
  350. background-position: center center;
  351. background-repeat: no-repeat;
  352. }
  353. /*---------------------------------------------------------------------------------------------
  354. * Copyright (c) Microsoft Corporation. All rights reserved.
  355. * Licensed under the MIT License. See License.txt in the project root for license information.
  356. *--------------------------------------------------------------------------------------------*/
  357. /* ---------- Find input ---------- */
  358. .monaco-findInput {
  359. position: relative;
  360. }
  361. .monaco-findInput .monaco-inputbox {
  362. font-size: 13px;
  363. width: 100%;
  364. }
  365. .monaco-findInput > .controls {
  366. position: absolute;
  367. top: 3px;
  368. right: 2px;
  369. }
  370. .vs .monaco-findInput.disabled {
  371. background-color: #E1E1E1;
  372. }
  373. /* Theming */
  374. .vs-dark .monaco-findInput.disabled {
  375. background-color: #333;
  376. }
  377. /* Highlighting */
  378. .monaco-findInput.highlight-0 .controls,
  379. .hc-light .monaco-findInput.highlight-0 .controls {
  380. animation: monaco-findInput-highlight-0 100ms linear 0s;
  381. }
  382. .monaco-findInput.highlight-1 .controls,
  383. .hc-light .monaco-findInput.highlight-1 .controls {
  384. animation: monaco-findInput-highlight-1 100ms linear 0s;
  385. }
  386. .hc-black .monaco-findInput.highlight-0 .controls,
  387. .vs-dark .monaco-findInput.highlight-0 .controls {
  388. animation: monaco-findInput-highlight-dark-0 100ms linear 0s;
  389. }
  390. .hc-black .monaco-findInput.highlight-1 .controls,
  391. .vs-dark .monaco-findInput.highlight-1 .controls {
  392. animation: monaco-findInput-highlight-dark-1 100ms linear 0s;
  393. }
  394. @keyframes monaco-findInput-highlight-0 {
  395. 0% { background: rgba(253, 255, 0, 0.8); }
  396. 100% { background: transparent; }
  397. }
  398. @keyframes monaco-findInput-highlight-1 {
  399. 0% { background: rgba(253, 255, 0, 0.8); }
  400. /* Made intentionally different such that the CSS minifier does not collapse the two animations into a single one*/
  401. 99% { background: transparent; }
  402. }
  403. @keyframes monaco-findInput-highlight-dark-0 {
  404. 0% { background: rgba(255, 255, 255, 0.44); }
  405. 100% { background: transparent; }
  406. }
  407. @keyframes monaco-findInput-highlight-dark-1 {
  408. 0% { background: rgba(255, 255, 255, 0.44); }
  409. /* Made intentionally different such that the CSS minifier does not collapse the two animations into a single one*/
  410. 99% { background: transparent; }
  411. }
  412. /*---------------------------------------------------------------------------------------------
  413. * Copyright (c) Microsoft Corporation. All rights reserved.
  414. * Licensed under the MIT License. See License.txt in the project root for license information.
  415. *--------------------------------------------------------------------------------------------*/
  416. .monaco-hover {
  417. cursor: default;
  418. position: absolute;
  419. overflow: hidden;
  420. z-index: 50;
  421. user-select: text;
  422. -webkit-user-select: text;
  423. box-sizing: initial;
  424. animation: fadein 100ms linear;
  425. line-height: 1.5em;
  426. }
  427. .monaco-hover.hidden {
  428. display: none;
  429. }
  430. .monaco-hover a:hover:not(.disabled) {
  431. cursor: pointer;
  432. }
  433. .monaco-hover .hover-contents:not(.html-hover-contents) {
  434. padding: 4px 8px;
  435. }
  436. .monaco-hover .markdown-hover > .hover-contents:not(.code-hover-contents) {
  437. max-width: 500px;
  438. word-wrap: break-word;
  439. }
  440. .monaco-hover .markdown-hover > .hover-contents:not(.code-hover-contents) hr {
  441. min-width: 100%;
  442. }
  443. .monaco-hover p,
  444. .monaco-hover .code,
  445. .monaco-hover ul,
  446. .monaco-hover h1,
  447. .monaco-hover h2,
  448. .monaco-hover h3,
  449. .monaco-hover h4,
  450. .monaco-hover h5,
  451. .monaco-hover h6 {
  452. margin: 8px 0;
  453. }
  454. .monaco-hover h1,
  455. .monaco-hover h2,
  456. .monaco-hover h3,
  457. .monaco-hover h4,
  458. .monaco-hover h5,
  459. .monaco-hover h6 {
  460. line-height: 1.1;
  461. }
  462. .monaco-hover code {
  463. font-family: var(--monaco-monospace-font);
  464. }
  465. .monaco-hover hr {
  466. box-sizing: border-box;
  467. border-left: 0px;
  468. border-right: 0px;
  469. margin-top: 4px;
  470. margin-bottom: -4px;
  471. margin-left: -8px;
  472. margin-right: -8px;
  473. height: 1px;
  474. }
  475. .monaco-hover p:first-child,
  476. .monaco-hover .code:first-child,
  477. .monaco-hover ul:first-child {
  478. margin-top: 0;
  479. }
  480. .monaco-hover p:last-child,
  481. .monaco-hover .code:last-child,
  482. .monaco-hover ul:last-child {
  483. margin-bottom: 0;
  484. }
  485. /* MarkupContent Layout */
  486. .monaco-hover ul {
  487. padding-left: 20px;
  488. }
  489. .monaco-hover ol {
  490. padding-left: 20px;
  491. }
  492. .monaco-hover li > p {
  493. margin-bottom: 0;
  494. }
  495. .monaco-hover li > ul {
  496. margin-top: 0;
  497. }
  498. .monaco-hover code {
  499. border-radius: 3px;
  500. padding: 0 0.4em;
  501. }
  502. .monaco-hover .monaco-tokenized-source {
  503. white-space: pre-wrap;
  504. }
  505. .monaco-hover .hover-row.status-bar {
  506. font-size: 12px;
  507. line-height: 22px;
  508. }
  509. .monaco-hover .hover-row.status-bar .info {
  510. font-style: italic;
  511. padding: 0px 8px;
  512. }
  513. .monaco-hover .hover-row.status-bar .actions {
  514. display: flex;
  515. padding: 0px 8px;
  516. }
  517. .monaco-hover .hover-row.status-bar .actions .action-container {
  518. margin-right: 16px;
  519. cursor: pointer;
  520. }
  521. .monaco-hover .hover-row.status-bar .actions .action-container .action .icon {
  522. padding-right: 4px;
  523. }
  524. .monaco-hover .markdown-hover .hover-contents .codicon {
  525. color: inherit;
  526. font-size: inherit;
  527. vertical-align: middle;
  528. }
  529. .monaco-hover .hover-contents a.code-link:hover,
  530. .monaco-hover .hover-contents a.code-link {
  531. color: inherit;
  532. }
  533. .monaco-hover .hover-contents a.code-link:before {
  534. content: '(';
  535. }
  536. .monaco-hover .hover-contents a.code-link:after {
  537. content: ')';
  538. }
  539. .monaco-hover .hover-contents a.code-link > span {
  540. text-decoration: underline;
  541. /** Hack to force underline to show **/
  542. border-bottom: 1px solid transparent;
  543. text-underline-position: under;
  544. color: var(--vscode-textLink-foreground);
  545. }
  546. .monaco-hover .hover-contents a.code-link > span:hover {
  547. color: var(--vscode-textLink-activeForeground);
  548. }
  549. /** Spans in markdown hovers need a margin-bottom to avoid looking cramped: https://github.com/microsoft/vscode/issues/101496 **/
  550. .monaco-hover .markdown-hover .hover-contents:not(.code-hover-contents):not(.html-hover-contents) span {
  551. margin-bottom: 4px;
  552. display: inline-block;
  553. }
  554. .monaco-hover-content .action-container a {
  555. -webkit-user-select: none;
  556. user-select: none;
  557. }
  558. .monaco-hover-content .action-container.disabled {
  559. pointer-events: none;
  560. opacity: 0.4;
  561. cursor: default;
  562. }
  563. /*---------------------------------------------------------------------------------------------
  564. * Copyright (c) Microsoft Corporation. All rights reserved.
  565. * Licensed under the MIT License. See License.txt in the project root for license information.
  566. *--------------------------------------------------------------------------------------------*/
  567. /* ---------- Icon label ---------- */
  568. .monaco-icon-label {
  569. display: flex; /* required for icons support :before rule */
  570. overflow: hidden;
  571. text-overflow: ellipsis;
  572. }
  573. .monaco-icon-label::before {
  574. /* svg icons rendered as background image */
  575. background-size: 16px;
  576. background-position: left center;
  577. background-repeat: no-repeat;
  578. padding-right: 6px;
  579. width: 16px;
  580. height: 22px;
  581. line-height: inherit !important;
  582. display: inline-block;
  583. /* fonts icons */
  584. -webkit-font-smoothing: antialiased;
  585. -moz-osx-font-smoothing: grayscale;
  586. vertical-align: top;
  587. flex-shrink: 0; /* fix for https://github.com/microsoft/vscode/issues/13787 */
  588. }
  589. .monaco-icon-label-container.disabled {
  590. color: var(--vscode-disabledForeground);
  591. }
  592. .monaco-icon-label > .monaco-icon-label-container {
  593. min-width: 0;
  594. overflow: hidden;
  595. text-overflow: ellipsis;
  596. flex: 1;
  597. }
  598. .monaco-icon-label > .monaco-icon-label-container > .monaco-icon-name-container > .label-name {
  599. color: inherit;
  600. white-space: pre; /* enable to show labels that include multiple whitespaces */
  601. }
  602. .monaco-icon-label > .monaco-icon-label-container > .monaco-icon-name-container > .label-name > .label-separator {
  603. margin: 0 2px;
  604. opacity: 0.5;
  605. }
  606. .monaco-icon-label > .monaco-icon-label-container > .monaco-icon-description-container > .label-description {
  607. opacity: .7;
  608. margin-left: 0.5em;
  609. font-size: 0.9em;
  610. white-space: pre; /* enable to show labels that include multiple whitespaces */
  611. }
  612. .monaco-icon-label.nowrap > .monaco-icon-label-container > .monaco-icon-description-container > .label-description{
  613. white-space: nowrap
  614. }
  615. .vs .monaco-icon-label > .monaco-icon-label-container > .monaco-icon-description-container > .label-description {
  616. opacity: .95;
  617. }
  618. .monaco-icon-label.italic > .monaco-icon-label-container > .monaco-icon-name-container > .label-name,
  619. .monaco-icon-label.italic > .monaco-icon-label-container > .monaco-icon-description-container > .label-description {
  620. font-style: italic;
  621. }
  622. .monaco-icon-label.deprecated {
  623. text-decoration: line-through;
  624. opacity: 0.66;
  625. }
  626. /* make sure apply italic font style to decorations as well */
  627. .monaco-icon-label.italic::after {
  628. font-style: italic;
  629. }
  630. .monaco-icon-label.strikethrough > .monaco-icon-label-container > .monaco-icon-name-container > .label-name,
  631. .monaco-icon-label.strikethrough > .monaco-icon-label-container > .monaco-icon-description-container > .label-description {
  632. text-decoration: line-through;
  633. }
  634. .monaco-icon-label::after {
  635. opacity: 0.75;
  636. font-size: 90%;
  637. font-weight: 600;
  638. margin: auto 16px 0 5px; /* https://github.com/microsoft/vscode/issues/113223 */
  639. text-align: center;
  640. }
  641. /* make sure selection color wins when a label is being selected */
  642. .monaco-list:focus .selected .monaco-icon-label, /* list */
  643. .monaco-list:focus .selected .monaco-icon-label::after
  644. {
  645. color: inherit !important;
  646. }
  647. .monaco-list-row.focused.selected .label-description,
  648. .monaco-list-row.selected .label-description {
  649. opacity: .8;
  650. }
  651. /*---------------------------------------------------------------------------------------------
  652. * Copyright (c) Microsoft Corporation. All rights reserved.
  653. * Licensed under the MIT License. See License.txt in the project root for license information.
  654. *--------------------------------------------------------------------------------------------*/
  655. .monaco-inputbox {
  656. position: relative;
  657. display: block;
  658. padding: 0;
  659. box-sizing: border-box;
  660. border-radius: 2px;
  661. /* Customizable */
  662. font-size: inherit;
  663. }
  664. .monaco-inputbox > .ibwrapper > .input,
  665. .monaco-inputbox > .ibwrapper > .mirror {
  666. /* Customizable */
  667. padding: 4px 6px;
  668. }
  669. .monaco-inputbox > .ibwrapper {
  670. position: relative;
  671. width: 100%;
  672. height: 100%;
  673. }
  674. .monaco-inputbox > .ibwrapper > .input {
  675. display: inline-block;
  676. box-sizing: border-box;
  677. width: 100%;
  678. height: 100%;
  679. line-height: inherit;
  680. border: none;
  681. font-family: inherit;
  682. font-size: inherit;
  683. resize: none;
  684. color: inherit;
  685. }
  686. .monaco-inputbox > .ibwrapper > input {
  687. text-overflow: ellipsis;
  688. }
  689. .monaco-inputbox > .ibwrapper > textarea.input {
  690. display: block;
  691. scrollbar-width: none; /* Firefox: hide scrollbars */
  692. outline: none;
  693. }
  694. .monaco-inputbox > .ibwrapper > textarea.input::-webkit-scrollbar {
  695. display: none; /* Chrome + Safari: hide scrollbar */
  696. }
  697. .monaco-inputbox > .ibwrapper > textarea.input.empty {
  698. white-space: nowrap;
  699. }
  700. .monaco-inputbox > .ibwrapper > .mirror {
  701. position: absolute;
  702. display: inline-block;
  703. width: 100%;
  704. top: 0;
  705. left: 0;
  706. box-sizing: border-box;
  707. white-space: pre-wrap;
  708. visibility: hidden;
  709. word-wrap: break-word;
  710. }
  711. /* Context view */
  712. .monaco-inputbox-container {
  713. text-align: right;
  714. }
  715. .monaco-inputbox-container .monaco-inputbox-message {
  716. display: inline-block;
  717. overflow: hidden;
  718. text-align: left;
  719. width: 100%;
  720. box-sizing: border-box;
  721. padding: 0.4em;
  722. font-size: 12px;
  723. line-height: 17px;
  724. margin-top: -1px;
  725. word-wrap: break-word;
  726. }
  727. /* Action bar support */
  728. .monaco-inputbox .monaco-action-bar {
  729. position: absolute;
  730. right: 2px;
  731. top: 4px;
  732. }
  733. .monaco-inputbox .monaco-action-bar .action-item {
  734. margin-left: 2px;
  735. }
  736. .monaco-inputbox .monaco-action-bar .action-item .codicon {
  737. background-repeat: no-repeat;
  738. width: 16px;
  739. height: 16px;
  740. }
  741. /*---------------------------------------------------------------------------------------------
  742. * Copyright (c) Microsoft Corporation. All rights reserved.
  743. * Licensed under the MIT License. See License.txt in the project root for license information.
  744. *--------------------------------------------------------------------------------------------*/
  745. .monaco-keybinding {
  746. display: flex;
  747. align-items: center;
  748. line-height: 10px;
  749. }
  750. .monaco-keybinding > .monaco-keybinding-key {
  751. display: inline-block;
  752. border-style: solid;
  753. border-width: 1px;
  754. border-radius: 3px;
  755. vertical-align: middle;
  756. font-size: 11px;
  757. padding: 3px 5px;
  758. margin: 0 2px;
  759. }
  760. .monaco-keybinding > .monaco-keybinding-key:first-child {
  761. margin-left: 0;
  762. }
  763. .monaco-keybinding > .monaco-keybinding-key:last-child {
  764. margin-right: 0;
  765. }
  766. .monaco-keybinding > .monaco-keybinding-key-separator {
  767. display: inline-block;
  768. }
  769. .monaco-keybinding > .monaco-keybinding-key-chord-separator {
  770. width: 6px;
  771. }
  772. /*---------------------------------------------------------------------------------------------
  773. * Copyright (c) Microsoft Corporation. All rights reserved.
  774. * Licensed under the MIT License. See License.txt in the project root for license information.
  775. *--------------------------------------------------------------------------------------------*/
  776. .monaco-list {
  777. position: relative;
  778. height: 100%;
  779. width: 100%;
  780. white-space: nowrap;
  781. }
  782. .monaco-list.mouse-support {
  783. user-select: none;
  784. -webkit-user-select: none;
  785. }
  786. .monaco-list > .monaco-scrollable-element {
  787. height: 100%;
  788. }
  789. .monaco-list-rows {
  790. position: relative;
  791. width: 100%;
  792. height: 100%;
  793. }
  794. .monaco-list.horizontal-scrolling .monaco-list-rows {
  795. width: auto;
  796. min-width: 100%;
  797. }
  798. .monaco-list-row {
  799. position: absolute;
  800. box-sizing: border-box;
  801. overflow: hidden;
  802. width: 100%;
  803. }
  804. .monaco-list.mouse-support .monaco-list-row {
  805. cursor: pointer;
  806. touch-action: none;
  807. }
  808. /* for OS X ballistic scrolling */
  809. .monaco-list-row.scrolling {
  810. display: none !important;
  811. }
  812. /* Focus */
  813. .monaco-list.element-focused,
  814. .monaco-list.selection-single,
  815. .monaco-list.selection-multiple {
  816. outline: 0 !important;
  817. }
  818. /* Dnd */
  819. .monaco-drag-image {
  820. display: inline-block;
  821. padding: 1px 7px;
  822. border-radius: 10px;
  823. font-size: 12px;
  824. position: absolute;
  825. z-index: 1000;
  826. }
  827. /* Filter */
  828. .monaco-list-type-filter-message {
  829. position: absolute;
  830. box-sizing: border-box;
  831. width: 100%;
  832. height: 100%;
  833. top: 0;
  834. left: 0;
  835. padding: 40px 1em 1em 1em;
  836. text-align: center;
  837. white-space: normal;
  838. opacity: 0.7;
  839. pointer-events: none;
  840. }
  841. .monaco-list-type-filter-message:empty {
  842. display: none;
  843. }
  844. /*---------------------------------------------------------------------------------------------
  845. * Copyright (c) Microsoft Corporation. All rights reserved.
  846. * Licensed under the MIT License. See License.txt in the project root for license information.
  847. *--------------------------------------------------------------------------------------------*/
  848. .monaco-mouse-cursor-text {
  849. cursor: text;
  850. }
  851. /*---------------------------------------------------------------------------------------------
  852. * Copyright (c) Microsoft Corporation. All rights reserved.
  853. * Licensed under the MIT License. See License.txt in the project root for license information.
  854. *--------------------------------------------------------------------------------------------*/
  855. .monaco-progress-container {
  856. width: 100%;
  857. height: 5px;
  858. overflow: hidden; /* keep progress bit in bounds */
  859. }
  860. .monaco-progress-container .progress-bit {
  861. width: 2%;
  862. height: 5px;
  863. position: absolute;
  864. left: 0;
  865. display: none;
  866. }
  867. .monaco-progress-container.active .progress-bit {
  868. display: inherit;
  869. }
  870. .monaco-progress-container.discrete .progress-bit {
  871. left: 0;
  872. transition: width 100ms linear;
  873. }
  874. .monaco-progress-container.discrete.done .progress-bit {
  875. width: 100%;
  876. }
  877. .monaco-progress-container.infinite .progress-bit {
  878. animation-name: progress;
  879. animation-duration: 4s;
  880. animation-iteration-count: infinite;
  881. transform: translate3d(0px, 0px, 0px);
  882. animation-timing-function: linear;
  883. }
  884. .monaco-progress-container.infinite.infinite-long-running .progress-bit {
  885. /*
  886. The more smooth `linear` timing function can cause
  887. higher GPU consumption as indicated in
  888. https://github.com/microsoft/vscode/issues/97900 &
  889. https://github.com/microsoft/vscode/issues/138396
  890. */
  891. animation-timing-function: steps(100);
  892. }
  893. /**
  894. * The progress bit has a width: 2% (1/50) of the parent container. The animation moves it from 0% to 100% of
  895. * that container. Since translateX is relative to the progress bit size, we have to multiple it with
  896. * its relative size to the parent container:
  897. * parent width: 5000%
  898. * bit width: 100%
  899. * translateX should be as follow:
  900. * 50%: 5000% * 50% - 50% (set to center) = 2450%
  901. * 100%: 5000% * 100% - 100% (do not overflow) = 4900%
  902. */
  903. @keyframes progress { from { transform: translateX(0%) scaleX(1) } 50% { transform: translateX(2500%) scaleX(3) } to { transform: translateX(4900%) scaleX(1) } }
  904. /*---------------------------------------------------------------------------------------------
  905. * Copyright (c) Microsoft Corporation. All rights reserved.
  906. * Licensed under the MIT License. See License.txt in the project root for license information.
  907. *--------------------------------------------------------------------------------------------*/
  908. :root {
  909. --vscode-sash-size: 4px;
  910. }
  911. .monaco-sash {
  912. position: absolute;
  913. z-index: 35;
  914. touch-action: none;
  915. }
  916. .monaco-sash.disabled {
  917. pointer-events: none;
  918. }
  919. .monaco-sash.mac.vertical {
  920. cursor: col-resize;
  921. }
  922. .monaco-sash.vertical.minimum {
  923. cursor: e-resize;
  924. }
  925. .monaco-sash.vertical.maximum {
  926. cursor: w-resize;
  927. }
  928. .monaco-sash.mac.horizontal {
  929. cursor: row-resize;
  930. }
  931. .monaco-sash.horizontal.minimum {
  932. cursor: s-resize;
  933. }
  934. .monaco-sash.horizontal.maximum {
  935. cursor: n-resize;
  936. }
  937. .monaco-sash.disabled {
  938. cursor: default !important;
  939. pointer-events: none !important;
  940. }
  941. .monaco-sash.vertical {
  942. cursor: ew-resize;
  943. top: 0;
  944. width: var(--vscode-sash-size);
  945. height: 100%;
  946. }
  947. .monaco-sash.horizontal {
  948. cursor: ns-resize;
  949. left: 0;
  950. width: 100%;
  951. height: var(--vscode-sash-size);
  952. }
  953. .monaco-sash:not(.disabled) > .orthogonal-drag-handle {
  954. content: " ";
  955. height: calc(var(--vscode-sash-size) * 2);
  956. width: calc(var(--vscode-sash-size) * 2);
  957. z-index: 100;
  958. display: block;
  959. cursor: all-scroll;
  960. position: absolute;
  961. }
  962. .monaco-sash.horizontal.orthogonal-edge-north:not(.disabled)
  963. > .orthogonal-drag-handle.start,
  964. .monaco-sash.horizontal.orthogonal-edge-south:not(.disabled)
  965. > .orthogonal-drag-handle.end {
  966. cursor: nwse-resize;
  967. }
  968. .monaco-sash.horizontal.orthogonal-edge-north:not(.disabled)
  969. > .orthogonal-drag-handle.end,
  970. .monaco-sash.horizontal.orthogonal-edge-south:not(.disabled)
  971. > .orthogonal-drag-handle.start {
  972. cursor: nesw-resize;
  973. }
  974. .monaco-sash.vertical > .orthogonal-drag-handle.start {
  975. left: calc(var(--vscode-sash-size) * -0.5);
  976. top: calc(var(--vscode-sash-size) * -1);
  977. }
  978. .monaco-sash.vertical > .orthogonal-drag-handle.end {
  979. left: calc(var(--vscode-sash-size) * -0.5);
  980. bottom: calc(var(--vscode-sash-size) * -1);
  981. }
  982. .monaco-sash.horizontal > .orthogonal-drag-handle.start {
  983. top: calc(var(--vscode-sash-size) * -0.5);
  984. left: calc(var(--vscode-sash-size) * -1);
  985. }
  986. .monaco-sash.horizontal > .orthogonal-drag-handle.end {
  987. top: calc(var(--vscode-sash-size) * -0.5);
  988. right: calc(var(--vscode-sash-size) * -1);
  989. }
  990. .monaco-sash:before {
  991. content: '';
  992. pointer-events: none;
  993. position: absolute;
  994. width: 100%;
  995. height: 100%;
  996. background: transparent;
  997. }
  998. .monaco-workbench:not(.reduce-motion) .monaco-sash:before {
  999. transition: background-color 0.1s ease-out;
  1000. }
  1001. .monaco-sash.hover:before,
  1002. .monaco-sash.active:before {
  1003. background: var(--vscode-sash-hoverBorder);
  1004. }
  1005. .monaco-sash.vertical:before {
  1006. width: var(--vscode-sash-hover-size);
  1007. left: calc(50% - (var(--vscode-sash-hover-size) / 2));
  1008. }
  1009. .monaco-sash.horizontal:before {
  1010. height: var(--vscode-sash-hover-size);
  1011. top: calc(50% - (var(--vscode-sash-hover-size) / 2));
  1012. }
  1013. .pointer-events-disabled {
  1014. pointer-events: none !important;
  1015. }
  1016. /** Debug **/
  1017. .monaco-sash.debug {
  1018. background: cyan;
  1019. }
  1020. .monaco-sash.debug.disabled {
  1021. background: rgba(0, 255, 255, 0.2);
  1022. }
  1023. .monaco-sash.debug:not(.disabled) > .orthogonal-drag-handle {
  1024. background: red;
  1025. }
  1026. /*---------------------------------------------------------------------------------------------
  1027. * Copyright (c) Microsoft Corporation. All rights reserved.
  1028. * Licensed under the MIT License. See License.txt in the project root for license information.
  1029. *--------------------------------------------------------------------------------------------*/
  1030. /* Arrows */
  1031. .monaco-scrollable-element > .scrollbar > .scra {
  1032. cursor: pointer;
  1033. font-size: 11px !important;
  1034. }
  1035. .monaco-scrollable-element > .visible {
  1036. opacity: 1;
  1037. /* Background rule added for IE9 - to allow clicks on dom node */
  1038. background:rgba(0,0,0,0);
  1039. transition: opacity 100ms linear;
  1040. /* In front of peek view */
  1041. z-index: 11;
  1042. }
  1043. .monaco-scrollable-element > .invisible {
  1044. opacity: 0;
  1045. pointer-events: none;
  1046. }
  1047. .monaco-scrollable-element > .invisible.fade {
  1048. transition: opacity 800ms linear;
  1049. }
  1050. /* Scrollable Content Inset Shadow */
  1051. .monaco-scrollable-element > .shadow {
  1052. position: absolute;
  1053. display: none;
  1054. }
  1055. .monaco-scrollable-element > .shadow.top {
  1056. display: block;
  1057. top: 0;
  1058. left: 3px;
  1059. height: 3px;
  1060. width: 100%;
  1061. box-shadow: var(--vscode-scrollbar-shadow) 0 6px 6px -6px inset;
  1062. }
  1063. .monaco-scrollable-element > .shadow.left {
  1064. display: block;
  1065. top: 3px;
  1066. left: 0;
  1067. height: 100%;
  1068. width: 3px;
  1069. box-shadow: var(--vscode-scrollbar-shadow) 6px 0 6px -6px inset;
  1070. }
  1071. .monaco-scrollable-element > .shadow.top-left-corner {
  1072. display: block;
  1073. top: 0;
  1074. left: 0;
  1075. height: 3px;
  1076. width: 3px;
  1077. }
  1078. .monaco-scrollable-element > .shadow.top.left {
  1079. box-shadow: var(--vscode-scrollbar-shadow) 6px 0 6px -6px inset;
  1080. }
  1081. .monaco-scrollable-element > .scrollbar > .slider {
  1082. background: var(--vscode-scrollbarSlider-background);
  1083. }
  1084. .monaco-scrollable-element > .scrollbar > .slider:hover {
  1085. background: var(--vscode-scrollbarSlider-hoverBackground);
  1086. }
  1087. .monaco-scrollable-element > .scrollbar > .slider.active {
  1088. background: var(--vscode-scrollbarSlider-activeBackground);
  1089. }
  1090. /*---------------------------------------------------------------------------------------------
  1091. * Copyright (c) Microsoft Corporation. All rights reserved.
  1092. * Licensed under the MIT License. See License.txt in the project root for license information.
  1093. *--------------------------------------------------------------------------------------------*/
  1094. .monaco-select-box {
  1095. width: 100%;
  1096. cursor: pointer;
  1097. border-radius: 2px;
  1098. }
  1099. .monaco-select-box-dropdown-container {
  1100. font-size: 13px;
  1101. font-weight: normal;
  1102. text-transform: none;
  1103. }
  1104. /** Actions */
  1105. .monaco-action-bar .action-item.select-container {
  1106. cursor: default;
  1107. }
  1108. .monaco-action-bar .action-item .monaco-select-box {
  1109. cursor: pointer;
  1110. min-width: 100px;
  1111. min-height: 18px;
  1112. padding: 2px 23px 2px 8px;
  1113. }
  1114. .mac .monaco-action-bar .action-item .monaco-select-box {
  1115. font-size: 11px;
  1116. border-radius: 5px;
  1117. }
  1118. /*---------------------------------------------------------------------------------------------
  1119. * Copyright (c) Microsoft Corporation. All rights reserved.
  1120. * Licensed under the MIT License. See License.txt in the project root for license information.
  1121. *--------------------------------------------------------------------------------------------*/
  1122. /* Use custom CSS vars to expose padding into parent select for padding calculation */
  1123. .monaco-select-box-dropdown-padding {
  1124. --dropdown-padding-top: 1px;
  1125. --dropdown-padding-bottom: 1px;
  1126. }
  1127. .hc-black .monaco-select-box-dropdown-padding,
  1128. .hc-light .monaco-select-box-dropdown-padding {
  1129. --dropdown-padding-top: 3px;
  1130. --dropdown-padding-bottom: 4px;
  1131. }
  1132. .monaco-select-box-dropdown-container {
  1133. display: none;
  1134. box-sizing: border-box;
  1135. }
  1136. .monaco-select-box-dropdown-container > .select-box-details-pane > .select-box-description-markdown * {
  1137. margin: 0;
  1138. }
  1139. .monaco-select-box-dropdown-container > .select-box-details-pane > .select-box-description-markdown a:focus {
  1140. outline: 1px solid -webkit-focus-ring-color;
  1141. outline-offset: -1px;
  1142. }
  1143. .monaco-select-box-dropdown-container > .select-box-details-pane > .select-box-description-markdown code {
  1144. line-height: 15px; /** For some reason, this is needed, otherwise <code> will take up 20px height */
  1145. font-family: var(--monaco-monospace-font);
  1146. }
  1147. .monaco-select-box-dropdown-container.visible {
  1148. display: flex;
  1149. flex-direction: column;
  1150. text-align: left;
  1151. width: 1px;
  1152. overflow: hidden;
  1153. border-bottom-left-radius: 3px;
  1154. border-bottom-right-radius: 3px;
  1155. }
  1156. .monaco-select-box-dropdown-container > .select-box-dropdown-list-container {
  1157. flex: 0 0 auto;
  1158. align-self: flex-start;
  1159. padding-top: var(--dropdown-padding-top);
  1160. padding-bottom: var(--dropdown-padding-bottom);
  1161. padding-left: 1px;
  1162. padding-right: 1px;
  1163. width: 100%;
  1164. overflow: hidden;
  1165. box-sizing: border-box;
  1166. }
  1167. .monaco-select-box-dropdown-container > .select-box-details-pane {
  1168. padding: 5px;
  1169. }
  1170. .hc-black .monaco-select-box-dropdown-container > .select-box-dropdown-list-container {
  1171. padding-top: var(--dropdown-padding-top);
  1172. padding-bottom: var(--dropdown-padding-bottom);
  1173. }
  1174. .monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row {
  1175. cursor: pointer;
  1176. }
  1177. .monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row > .option-text {
  1178. text-overflow: ellipsis;
  1179. overflow: hidden;
  1180. padding-left: 3.5px;
  1181. white-space: nowrap;
  1182. float: left;
  1183. }
  1184. .monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row > .option-detail {
  1185. text-overflow: ellipsis;
  1186. overflow: hidden;
  1187. padding-left: 3.5px;
  1188. white-space: nowrap;
  1189. float: left;
  1190. opacity: 0.7;
  1191. }
  1192. .monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row > .option-decorator-right {
  1193. text-overflow: ellipsis;
  1194. overflow: hidden;
  1195. padding-right: 10px;
  1196. white-space: nowrap;
  1197. float: right;
  1198. }
  1199. /* Accepted CSS hiding technique for accessibility reader text */
  1200. /* https://webaim.org/techniques/css/invisiblecontent/ */
  1201. .monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row > .visually-hidden {
  1202. position: absolute;
  1203. left: -10000px;
  1204. top: auto;
  1205. width: 1px;
  1206. height: 1px;
  1207. overflow: hidden;
  1208. }
  1209. .monaco-select-box-dropdown-container > .select-box-dropdown-container-width-control {
  1210. flex: 1 1 auto;
  1211. align-self: flex-start;
  1212. opacity: 0;
  1213. }
  1214. .monaco-select-box-dropdown-container > .select-box-dropdown-container-width-control > .width-control-div {
  1215. overflow: hidden;
  1216. max-height: 0px;
  1217. }
  1218. .monaco-select-box-dropdown-container > .select-box-dropdown-container-width-control > .width-control-div > .option-text-width-control {
  1219. padding-left: 4px;
  1220. padding-right: 8px;
  1221. white-space: nowrap;
  1222. }
  1223. /*---------------------------------------------------------------------------------------------
  1224. * Copyright (c) Microsoft Corporation. All rights reserved.
  1225. * Licensed under the MIT License. See License.txt in the project root for license information.
  1226. *--------------------------------------------------------------------------------------------*/
  1227. .monaco-split-view2 {
  1228. position: relative;
  1229. width: 100%;
  1230. height: 100%;
  1231. }
  1232. .monaco-split-view2 > .sash-container {
  1233. position: absolute;
  1234. width: 100%;
  1235. height: 100%;
  1236. pointer-events: none;
  1237. }
  1238. .monaco-split-view2 > .sash-container > .monaco-sash {
  1239. pointer-events: initial;
  1240. }
  1241. .monaco-split-view2 > .monaco-scrollable-element {
  1242. width: 100%;
  1243. height: 100%;
  1244. }
  1245. .monaco-split-view2 > .monaco-scrollable-element > .split-view-container {
  1246. width: 100%;
  1247. height: 100%;
  1248. white-space: nowrap;
  1249. position: relative;
  1250. }
  1251. .monaco-split-view2 > .monaco-scrollable-element > .split-view-container > .split-view-view {
  1252. white-space: initial;
  1253. position: absolute;
  1254. }
  1255. .monaco-split-view2 > .monaco-scrollable-element > .split-view-container > .split-view-view:not(.visible) {
  1256. display: none;
  1257. }
  1258. .monaco-split-view2.vertical > .monaco-scrollable-element > .split-view-container > .split-view-view {
  1259. width: 100%;
  1260. }
  1261. .monaco-split-view2.horizontal > .monaco-scrollable-element > .split-view-container > .split-view-view {
  1262. height: 100%;
  1263. }
  1264. .monaco-split-view2.separator-border > .monaco-scrollable-element > .split-view-container > .split-view-view:not(:first-child)::before {
  1265. content: ' ';
  1266. position: absolute;
  1267. top: 0;
  1268. left: 0;
  1269. z-index: 5;
  1270. pointer-events: none;
  1271. background-color: var(--separator-border);
  1272. }
  1273. .monaco-split-view2.separator-border.horizontal > .monaco-scrollable-element > .split-view-container > .split-view-view:not(:first-child)::before {
  1274. height: 100%;
  1275. width: 1px;
  1276. }
  1277. .monaco-split-view2.separator-border.vertical > .monaco-scrollable-element > .split-view-container > .split-view-view:not(:first-child)::before {
  1278. height: 1px;
  1279. width: 100%;
  1280. }
  1281. /*---------------------------------------------------------------------------------------------
  1282. * Copyright (c) Microsoft Corporation. All rights reserved.
  1283. * Licensed under the MIT License. See License.txt in the project root for license information.
  1284. *--------------------------------------------------------------------------------------------*/
  1285. .monaco-table {
  1286. display: flex;
  1287. flex-direction: column;
  1288. position: relative;
  1289. height: 100%;
  1290. width: 100%;
  1291. white-space: nowrap;
  1292. overflow: hidden;
  1293. }
  1294. .monaco-table > .monaco-split-view2 {
  1295. border-bottom: 1px solid transparent;
  1296. }
  1297. .monaco-table > .monaco-list {
  1298. flex: 1;
  1299. }
  1300. .monaco-table-tr {
  1301. display: flex;
  1302. height: 100%;
  1303. }
  1304. .monaco-table-th {
  1305. width: 100%;
  1306. height: 100%;
  1307. font-weight: bold;
  1308. overflow: hidden;
  1309. text-overflow: ellipsis;
  1310. }
  1311. .monaco-table-th,
  1312. .monaco-table-td {
  1313. box-sizing: border-box;
  1314. flex-shrink: 0;
  1315. overflow: hidden;
  1316. white-space: nowrap;
  1317. text-overflow: ellipsis;
  1318. }
  1319. .monaco-table > .monaco-split-view2 .monaco-sash.vertical::before {
  1320. content: "";
  1321. position: absolute;
  1322. left: calc(var(--vscode-sash-size) / 2);
  1323. width: 0;
  1324. border-left: 1px solid transparent;
  1325. }
  1326. .monaco-workbench:not(.reduce-motion) .monaco-table > .monaco-split-view2,
  1327. .monaco-workbench:not(.reduce-motion) .monaco-table > .monaco-split-view2 .monaco-sash.vertical::before {
  1328. transition: border-color 0.2s ease-out;
  1329. }
  1330. /*---------------------------------------------------------------------------------------------
  1331. * Copyright (c) Microsoft Corporation. All rights reserved.
  1332. * Licensed under the MIT License. See License.txt in the project root for license information.
  1333. *--------------------------------------------------------------------------------------------*/
  1334. .monaco-custom-toggle {
  1335. margin-left: 2px;
  1336. float: left;
  1337. cursor: pointer;
  1338. overflow: hidden;
  1339. width: 20px;
  1340. height: 20px;
  1341. border-radius: 3px;
  1342. border: 1px solid transparent;
  1343. padding: 1px;
  1344. box-sizing: border-box;
  1345. user-select: none;
  1346. -webkit-user-select: none;
  1347. }
  1348. .monaco-custom-toggle:hover {
  1349. background-color: var(--vscode-inputOption-hoverBackground);
  1350. }
  1351. .hc-black .monaco-custom-toggle:hover,
  1352. .hc-light .monaco-custom-toggle:hover {
  1353. border: 1px dashed var(--vscode-focusBorder);
  1354. }
  1355. .hc-black .monaco-custom-toggle,
  1356. .hc-light .monaco-custom-toggle {
  1357. background: none;
  1358. }
  1359. .hc-black .monaco-custom-toggle:hover,
  1360. .hc-light .monaco-custom-toggle:hover {
  1361. background: none;
  1362. }
  1363. .monaco-custom-toggle.monaco-checkbox {
  1364. height: 18px;
  1365. width: 18px;
  1366. border: 1px solid transparent;
  1367. border-radius: 3px;
  1368. margin-right: 9px;
  1369. margin-left: 0px;
  1370. padding: 0px;
  1371. opacity: 1;
  1372. background-size: 16px !important;
  1373. }
  1374. /* hide check when unchecked */
  1375. .monaco-custom-toggle.monaco-checkbox:not(.checked)::before {
  1376. visibility: hidden;
  1377. }
  1378. /*---------------------------------------------------------------------------------------------
  1379. * Copyright (c) Microsoft Corporation. All rights reserved.
  1380. * Licensed under the MIT License. See License.txt in the project root for license information.
  1381. *--------------------------------------------------------------------------------------------*/
  1382. .monaco-toolbar {
  1383. height: 100%;
  1384. }
  1385. .monaco-toolbar .toolbar-toggle-more {
  1386. display: inline-block;
  1387. padding: 0;
  1388. }
  1389. /*---------------------------------------------------------------------------------------------
  1390. * Copyright (c) Microsoft Corporation. All rights reserved.
  1391. * Licensed under the MIT License. See License.txt in the project root for license information.
  1392. *--------------------------------------------------------------------------------------------*/
  1393. .monaco-tl-row {
  1394. display: flex;
  1395. height: 100%;
  1396. align-items: center;
  1397. position: relative;
  1398. }
  1399. .monaco-tl-row.disabled {
  1400. cursor: default;
  1401. }
  1402. .monaco-tl-indent {
  1403. height: 100%;
  1404. position: absolute;
  1405. top: 0;
  1406. left: 16px;
  1407. pointer-events: none;
  1408. }
  1409. .hide-arrows .monaco-tl-indent {
  1410. left: 12px;
  1411. }
  1412. .monaco-tl-indent > .indent-guide {
  1413. display: inline-block;
  1414. box-sizing: border-box;
  1415. height: 100%;
  1416. border-left: 1px solid transparent;
  1417. }
  1418. .monaco-workbench:not(.reduce-motion) .monaco-tl-indent > .indent-guide {
  1419. transition: border-color 0.1s linear;
  1420. }
  1421. .monaco-tl-twistie,
  1422. .monaco-tl-contents {
  1423. height: 100%;
  1424. }
  1425. .monaco-tl-twistie {
  1426. font-size: 10px;
  1427. text-align: right;
  1428. padding-right: 6px;
  1429. flex-shrink: 0;
  1430. width: 16px;
  1431. display: flex !important;
  1432. align-items: center;
  1433. justify-content: center;
  1434. transform: translateX(3px);
  1435. }
  1436. .monaco-tl-contents {
  1437. flex: 1;
  1438. overflow: hidden;
  1439. }
  1440. .monaco-tl-twistie::before {
  1441. border-radius: 20px;
  1442. }
  1443. .monaco-tl-twistie.collapsed::before {
  1444. transform: rotate(-90deg);
  1445. }
  1446. .monaco-tl-twistie.codicon-tree-item-loading::before {
  1447. /* Use steps to throttle FPS to reduce CPU usage */
  1448. animation: codicon-spin 1.25s steps(30) infinite;
  1449. }
  1450. .monaco-tree-type-filter {
  1451. position: absolute;
  1452. top: 0;
  1453. display: flex;
  1454. padding: 3px;
  1455. max-width: 200px;
  1456. z-index: 100;
  1457. margin: 0 6px;
  1458. border: 1px solid var(--vscode-widget-border);
  1459. border-bottom-left-radius: 4px;
  1460. border-bottom-right-radius: 4px;
  1461. }
  1462. .monaco-workbench:not(.reduce-motion) .monaco-tree-type-filter {
  1463. transition: top 0.3s;
  1464. }
  1465. .monaco-tree-type-filter.disabled {
  1466. top: -40px !important;
  1467. }
  1468. .monaco-tree-type-filter-grab {
  1469. display: flex !important;
  1470. align-items: center;
  1471. justify-content: center;
  1472. cursor: grab;
  1473. margin-right: 2px;
  1474. }
  1475. .monaco-tree-type-filter-grab.grabbing {
  1476. cursor: grabbing;
  1477. }
  1478. .monaco-tree-type-filter-input {
  1479. flex: 1;
  1480. }
  1481. .monaco-tree-type-filter-input .monaco-inputbox {
  1482. height: 23px;
  1483. }
  1484. .monaco-tree-type-filter-input .monaco-inputbox > .ibwrapper > .input,
  1485. .monaco-tree-type-filter-input .monaco-inputbox > .ibwrapper > .mirror {
  1486. padding: 2px 4px;
  1487. }
  1488. .monaco-tree-type-filter-input .monaco-findInput > .controls {
  1489. top: 2px;
  1490. }
  1491. .monaco-tree-type-filter-actionbar {
  1492. margin-left: 4px;
  1493. }
  1494. .monaco-tree-type-filter-actionbar .monaco-action-bar .action-label {
  1495. padding: 2px;
  1496. }
  1497. /*---------------------------------------------------------------------------------------------
  1498. * Copyright (c) Microsoft Corporation. All rights reserved.
  1499. * Licensed under the MIT License. See License.txt in the project root for license information.
  1500. *--------------------------------------------------------------------------------------------*/
  1501. .monaco-editor .inputarea {
  1502. min-width: 0;
  1503. min-height: 0;
  1504. margin: 0;
  1505. padding: 0;
  1506. position: absolute;
  1507. outline: none !important;
  1508. resize: none;
  1509. border: none;
  1510. overflow: hidden;
  1511. color: transparent;
  1512. background-color: transparent;
  1513. z-index: -10;
  1514. }
  1515. /*.monaco-editor .inputarea {
  1516. position: fixed !important;
  1517. width: 800px !important;
  1518. height: 500px !important;
  1519. top: initial !important;
  1520. left: initial !important;
  1521. bottom: 0 !important;
  1522. right: 0 !important;
  1523. color: black !important;
  1524. background: white !important;
  1525. line-height: 15px !important;
  1526. font-size: 14px !important;
  1527. z-index: 10 !important;
  1528. }*/
  1529. .monaco-editor .inputarea.ime-input {
  1530. z-index: 10;
  1531. caret-color: var(--vscode-editorCursor-foreground);
  1532. color: var(--vscode-editor-foreground);
  1533. }
  1534. /*---------------------------------------------------------------------------------------------
  1535. * Copyright (c) Microsoft Corporation. All rights reserved.
  1536. * Licensed under the MIT License. See License.txt in the project root for license information.
  1537. *--------------------------------------------------------------------------------------------*/
  1538. .monaco-editor .blockDecorations-container {
  1539. position: absolute;
  1540. top: 0;
  1541. pointer-events: none;
  1542. }
  1543. .monaco-editor .blockDecorations-block {
  1544. position: absolute;
  1545. box-sizing: border-box;
  1546. }
  1547. /*---------------------------------------------------------------------------------------------
  1548. * Copyright (c) Microsoft Corporation. All rights reserved.
  1549. * Licensed under the MIT License. See License.txt in the project root for license information.
  1550. *--------------------------------------------------------------------------------------------*/
  1551. .monaco-editor .view-overlays .current-line {
  1552. display: block;
  1553. position: absolute;
  1554. left: 0;
  1555. top: 0;
  1556. box-sizing: border-box;
  1557. }
  1558. .monaco-editor .margin-view-overlays .current-line {
  1559. display: block;
  1560. position: absolute;
  1561. left: 0;
  1562. top: 0;
  1563. box-sizing: border-box;
  1564. }
  1565. .monaco-editor .margin-view-overlays .current-line.current-line-margin.current-line-margin-both {
  1566. border-right: 0;
  1567. }
  1568. /*---------------------------------------------------------------------------------------------
  1569. * Copyright (c) Microsoft Corporation. All rights reserved.
  1570. * Licensed under the MIT License. See License.txt in the project root for license information.
  1571. *--------------------------------------------------------------------------------------------*/
  1572. /*
  1573. Keeping name short for faster parsing.
  1574. cdr = core decorations rendering (div)
  1575. */
  1576. .monaco-editor .lines-content .cdr {
  1577. position: absolute;
  1578. }
  1579. /*---------------------------------------------------------------------------------------------
  1580. * Copyright (c) Microsoft Corporation. All rights reserved.
  1581. * Licensed under the MIT License. See License.txt in the project root for license information.
  1582. *--------------------------------------------------------------------------------------------*/
  1583. .monaco-editor .glyph-margin {
  1584. position: absolute;
  1585. top: 0;
  1586. }
  1587. /*
  1588. Keeping name short for faster parsing.
  1589. cgmr = core glyph margin rendering (div)
  1590. */
  1591. .monaco-editor .margin-view-overlays .cgmr {
  1592. position: absolute;
  1593. display: flex;
  1594. align-items: center;
  1595. }
  1596. /*---------------------------------------------------------------------------------------------
  1597. * Copyright (c) Microsoft Corporation. All rights reserved.
  1598. * Licensed under the MIT License. See License.txt in the project root for license information.
  1599. *--------------------------------------------------------------------------------------------*/
  1600. .monaco-editor .lines-content .core-guide {
  1601. position: absolute;
  1602. box-sizing: border-box;
  1603. }
  1604. .monaco-editor .lines-content .core-guide-indent {
  1605. box-shadow: 1px 0 0 0 var(--vscode-editorIndentGuide-background) inset;
  1606. }
  1607. .monaco-editor .lines-content .core-guide-indent-active {
  1608. box-shadow: 1px 0 0 0 var(--vscode-editorIndentGuide-activeBackground, --vscode-editorIndentGuide-background) inset;
  1609. }
  1610. /*---------------------------------------------------------------------------------------------
  1611. * Copyright (c) Microsoft Corporation. All rights reserved.
  1612. * Licensed under the MIT License. See License.txt in the project root for license information.
  1613. *--------------------------------------------------------------------------------------------*/
  1614. .monaco-editor .margin-view-overlays .line-numbers {
  1615. font-variant-numeric: tabular-nums;
  1616. position: absolute;
  1617. text-align: right;
  1618. display: inline-block;
  1619. vertical-align: middle;
  1620. box-sizing: border-box;
  1621. cursor: default;
  1622. height: 100%;
  1623. }
  1624. .monaco-editor .relative-current-line-number {
  1625. text-align: left;
  1626. display: inline-block;
  1627. width: 100%;
  1628. }
  1629. .monaco-editor .margin-view-overlays .line-numbers.lh-odd {
  1630. margin-top: 1px;
  1631. }
  1632. .monaco-editor .line-numbers {
  1633. color: var(--vscode-editorLineNumber-foreground);
  1634. }
  1635. .monaco-editor .line-numbers.active-line-number {
  1636. color: var(--vscode-editorLineNumber-activeForeground);
  1637. }
  1638. /*---------------------------------------------------------------------------------------------
  1639. * Copyright (c) Microsoft Corporation. All rights reserved.
  1640. * Licensed under the MIT License. See License.txt in the project root for license information.
  1641. *--------------------------------------------------------------------------------------------*/
  1642. /* Uncomment to see lines flashing when they're painted */
  1643. /*.monaco-editor .view-lines > .view-line {
  1644. background-color: none;
  1645. animation-name: flash-background;
  1646. animation-duration: 800ms;
  1647. }
  1648. @keyframes flash-background {
  1649. 0% { background-color: lightgreen; }
  1650. 100% { background-color: none }
  1651. }*/
  1652. .mtkcontrol {
  1653. color: rgb(255, 255, 255) !important;
  1654. background: rgb(150, 0, 0) !important;
  1655. }
  1656. .mtkoverflow {
  1657. background-color: var(--vscode-button-background, --vscode-editor-background);
  1658. color: var(--vscode-button-foreground, --vscode-editor-foreground);
  1659. border-width: 1px;
  1660. border-style: solid;
  1661. border-color: var(--vscode-contrastBorder);
  1662. border-radius: 2px;
  1663. padding: 4px;
  1664. cursor: pointer;
  1665. }
  1666. .mtkoverflow:hover {
  1667. background-color: var(--vscode-button-hoverBackground);
  1668. }
  1669. .monaco-editor.no-user-select .lines-content,
  1670. .monaco-editor.no-user-select .view-line,
  1671. .monaco-editor.no-user-select .view-lines {
  1672. user-select: none;
  1673. -webkit-user-select: none;
  1674. }
  1675. /* Use user-select: text for lookup feature on macOS */
  1676. /* https://github.com/microsoft/vscode/issues/85632 */
  1677. .monaco-editor.mac .lines-content:hover,
  1678. .monaco-editor.mac .view-line:hover,
  1679. .monaco-editor.mac .view-lines:hover {
  1680. user-select: text;
  1681. -webkit-user-select: text;
  1682. -ms-user-select: text;
  1683. }
  1684. .monaco-editor.enable-user-select {
  1685. user-select: initial;
  1686. -webkit-user-select: initial;
  1687. }
  1688. .monaco-editor .view-lines {
  1689. white-space: nowrap;
  1690. }
  1691. .monaco-editor .view-line {
  1692. position: absolute;
  1693. width: 100%;
  1694. }
  1695. .monaco-editor .mtkw {
  1696. color: var(--vscode-editorWhitespace-foreground) !important;
  1697. }
  1698. .monaco-editor .mtkz {
  1699. display: inline-block;
  1700. color: var(--vscode-editorWhitespace-foreground) !important;
  1701. }
  1702. /* TODO@tokenization bootstrap fix */
  1703. /*.monaco-editor .view-line > span > span {
  1704. float: none;
  1705. min-height: inherit;
  1706. margin-left: inherit;
  1707. }*/
  1708. /*---------------------------------------------------------------------------------------------
  1709. * Copyright (c) Microsoft Corporation. All rights reserved.
  1710. * Licensed under the MIT License. See License.txt in the project root for license information.
  1711. *--------------------------------------------------------------------------------------------*/
  1712. .monaco-editor .lines-decorations {
  1713. position: absolute;
  1714. top: 0;
  1715. background: white;
  1716. }
  1717. /*
  1718. Keeping name short for faster parsing.
  1719. cldr = core lines decorations rendering (div)
  1720. */
  1721. .monaco-editor .margin-view-overlays .cldr {
  1722. position: absolute;
  1723. height: 100%;
  1724. }
  1725. /*---------------------------------------------------------------------------------------------
  1726. * Copyright (c) Microsoft Corporation. All rights reserved.
  1727. * Licensed under the MIT License. See License.txt in the project root for license information.
  1728. *--------------------------------------------------------------------------------------------*/
  1729. .monaco-editor .margin {
  1730. background-color: var(--vscode-editorGutter-background);
  1731. }
  1732. /*---------------------------------------------------------------------------------------------
  1733. * Copyright (c) Microsoft Corporation. All rights reserved.
  1734. * Licensed under the MIT License. See License.txt in the project root for license information.
  1735. *--------------------------------------------------------------------------------------------*/
  1736. /*
  1737. Keeping name short for faster parsing.
  1738. cmdr = core margin decorations rendering (div)
  1739. */
  1740. .monaco-editor .margin-view-overlays .cmdr {
  1741. position: absolute;
  1742. left: 0;
  1743. width: 100%;
  1744. height: 100%;
  1745. }
  1746. /*---------------------------------------------------------------------------------------------
  1747. * Copyright (c) Microsoft Corporation. All rights reserved.
  1748. * Licensed under the MIT License. See License.txt in the project root for license information.
  1749. *--------------------------------------------------------------------------------------------*/
  1750. /* START cover the case that slider is visible on mouseover */
  1751. .monaco-editor .minimap.slider-mouseover .minimap-slider {
  1752. opacity: 0;
  1753. transition: opacity 100ms linear;
  1754. }
  1755. .monaco-editor .minimap.slider-mouseover:hover .minimap-slider {
  1756. opacity: 1;
  1757. }
  1758. .monaco-editor .minimap.slider-mouseover .minimap-slider.active {
  1759. opacity: 1;
  1760. }
  1761. /* END cover the case that slider is visible on mouseover */
  1762. .monaco-editor .minimap-slider .minimap-slider-horizontal {
  1763. background: var(--vscode-minimapSlider-background);
  1764. }
  1765. .monaco-editor .minimap-slider:hover .minimap-slider-horizontal {
  1766. background: var(--vscode-minimapSlider-hoverBackground);
  1767. }
  1768. .monaco-editor .minimap-slider.active .minimap-slider-horizontal {
  1769. background: var(--vscode-minimapSlider-activeBackground);
  1770. }
  1771. .monaco-editor .minimap-shadow-visible {
  1772. box-shadow: var(--vscode-scrollbar-shadow) -6px 0 6px -6px inset;
  1773. }
  1774. .monaco-editor .minimap-shadow-hidden {
  1775. position: absolute;
  1776. width: 0;
  1777. }
  1778. .monaco-editor .minimap-shadow-visible {
  1779. position: absolute;
  1780. left: -6px;
  1781. width: 6px;
  1782. }
  1783. .monaco-editor.no-minimap-shadow .minimap-shadow-visible {
  1784. position: absolute;
  1785. left: -1px;
  1786. width: 1px;
  1787. }
  1788. /* 0.5s fade in/out for the minimap */
  1789. .minimap.autohide {
  1790. opacity: 0;
  1791. transition: opacity 0.5s;
  1792. }
  1793. .minimap.autohide:hover {
  1794. opacity: 1;
  1795. }
  1796. /*---------------------------------------------------------------------------------------------
  1797. * Copyright (c) Microsoft Corporation. All rights reserved.
  1798. * Licensed under the MIT License. See License.txt in the project root for license information.
  1799. *--------------------------------------------------------------------------------------------*/
  1800. .monaco-editor .overlayWidgets {
  1801. position: absolute;
  1802. top: 0;
  1803. left:0;
  1804. }
  1805. /*---------------------------------------------------------------------------------------------
  1806. * Copyright (c) Microsoft Corporation. All rights reserved.
  1807. * Licensed under the MIT License. See License.txt in the project root for license information.
  1808. *--------------------------------------------------------------------------------------------*/
  1809. .monaco-editor .view-ruler {
  1810. position: absolute;
  1811. top: 0;
  1812. box-shadow: 1px 0 0 0 var(--vscode-editorRuler-foreground) inset;
  1813. }
  1814. /*---------------------------------------------------------------------------------------------
  1815. * Copyright (c) Microsoft Corporation. All rights reserved.
  1816. * Licensed under the MIT License. See License.txt in the project root for license information.
  1817. *--------------------------------------------------------------------------------------------*/
  1818. .monaco-editor .scroll-decoration {
  1819. position: absolute;
  1820. top: 0;
  1821. left: 0;
  1822. height: 6px;
  1823. box-shadow: var(--vscode-scrollbar-shadow) 0 6px 6px -6px inset;
  1824. }
  1825. /*---------------------------------------------------------------------------------------------
  1826. * Copyright (c) Microsoft Corporation. All rights reserved.
  1827. * Licensed under the MIT License. See License.txt in the project root for license information.
  1828. *--------------------------------------------------------------------------------------------*/
  1829. /*
  1830. Keeping name short for faster parsing.
  1831. cslr = core selections layer rendering (div)
  1832. */
  1833. .monaco-editor .lines-content .cslr {
  1834. position: absolute;
  1835. }
  1836. .monaco-editor .focused .selected-text {
  1837. background-color: var(--vscode-editor-selectionBackground);
  1838. }
  1839. .monaco-editor .selected-text {
  1840. background-color: var(--vscode-editor-inactiveSelectionBackground);
  1841. }
  1842. .monaco-editor .top-left-radius { border-top-left-radius: 3px; }
  1843. .monaco-editor .bottom-left-radius { border-bottom-left-radius: 3px; }
  1844. .monaco-editor .top-right-radius { border-top-right-radius: 3px; }
  1845. .monaco-editor .bottom-right-radius { border-bottom-right-radius: 3px; }
  1846. .monaco-editor.hc-black .top-left-radius { border-top-left-radius: 0; }
  1847. .monaco-editor.hc-black .bottom-left-radius { border-bottom-left-radius: 0; }
  1848. .monaco-editor.hc-black .top-right-radius { border-top-right-radius: 0; }
  1849. .monaco-editor.hc-black .bottom-right-radius { border-bottom-right-radius: 0; }
  1850. .monaco-editor.hc-light .top-left-radius { border-top-left-radius: 0; }
  1851. .monaco-editor.hc-light .bottom-left-radius { border-bottom-left-radius: 0; }
  1852. .monaco-editor.hc-light .top-right-radius { border-top-right-radius: 0; }
  1853. .monaco-editor.hc-light .bottom-right-radius { border-bottom-right-radius: 0; }
  1854. /*---------------------------------------------------------------------------------------------
  1855. * Copyright (c) Microsoft Corporation. All rights reserved.
  1856. * Licensed under the MIT License. See License.txt in the project root for license information.
  1857. *--------------------------------------------------------------------------------------------*/
  1858. .monaco-editor .cursors-layer {
  1859. position: absolute;
  1860. top: 0;
  1861. }
  1862. .monaco-editor .cursors-layer > .cursor {
  1863. position: absolute;
  1864. overflow: hidden;
  1865. box-sizing: border-box;
  1866. }
  1867. /* -- smooth-caret-animation -- */
  1868. .monaco-editor .cursors-layer.cursor-smooth-caret-animation > .cursor {
  1869. transition: all 80ms;
  1870. }
  1871. /* -- block-outline-style -- */
  1872. .monaco-editor .cursors-layer.cursor-block-outline-style > .cursor {
  1873. background: transparent !important;
  1874. border-style: solid;
  1875. border-width: 1px;
  1876. }
  1877. /* -- underline-style -- */
  1878. .monaco-editor .cursors-layer.cursor-underline-style > .cursor {
  1879. border-bottom-width: 2px;
  1880. border-bottom-style: solid;
  1881. background: transparent !important;
  1882. }
  1883. /* -- underline-thin-style -- */
  1884. .monaco-editor .cursors-layer.cursor-underline-thin-style > .cursor {
  1885. border-bottom-width: 1px;
  1886. border-bottom-style: solid;
  1887. background: transparent !important;
  1888. }
  1889. @keyframes monaco-cursor-smooth {
  1890. 0%,
  1891. 20% {
  1892. opacity: 1;
  1893. }
  1894. 60%,
  1895. 100% {
  1896. opacity: 0;
  1897. }
  1898. }
  1899. @keyframes monaco-cursor-phase {
  1900. 0%,
  1901. 20% {
  1902. opacity: 1;
  1903. }
  1904. 90%,
  1905. 100% {
  1906. opacity: 0;
  1907. }
  1908. }
  1909. @keyframes monaco-cursor-expand {
  1910. 0%,
  1911. 20% {
  1912. transform: scaleY(1);
  1913. }
  1914. 80%,
  1915. 100% {
  1916. transform: scaleY(0);
  1917. }
  1918. }
  1919. .cursor-smooth {
  1920. animation: monaco-cursor-smooth 0.5s ease-in-out 0s 20 alternate;
  1921. }
  1922. .cursor-phase {
  1923. animation: monaco-cursor-phase 0.5s ease-in-out 0s 20 alternate;
  1924. }
  1925. .cursor-expand > .cursor {
  1926. animation: monaco-cursor-expand 0.5s ease-in-out 0s 20 alternate;
  1927. }
  1928. /*---------------------------------------------------------------------------------------------
  1929. * Copyright (c) Microsoft Corporation. All rights reserved.
  1930. * Licensed under the MIT License. See License.txt in the project root for license information.
  1931. *--------------------------------------------------------------------------------------------*/
  1932. .monaco-editor .mwh {
  1933. position: absolute;
  1934. color: var(--vscode-editorWhitespace-foreground) !important;
  1935. }
  1936. /*---------------------------------------------------------------------------------------------
  1937. * Copyright (c) Microsoft Corporation. All rights reserved.
  1938. * Licensed under the MIT License. See License.txt in the project root for license information.
  1939. *--------------------------------------------------------------------------------------------*/
  1940. /* ---------- DiffEditor ---------- */
  1941. .monaco-diff-editor .diffOverview {
  1942. z-index: 9;
  1943. }
  1944. .monaco-diff-editor .diffOverview .diffViewport {
  1945. z-index: 10;
  1946. }
  1947. /* colors not externalized: using transparancy on background */
  1948. .monaco-diff-editor.vs .diffOverview { background: rgba(0, 0, 0, 0.03); }
  1949. .monaco-diff-editor.vs-dark .diffOverview { background: rgba(255, 255, 255, 0.01); }
  1950. .monaco-scrollable-element.modified-in-monaco-diff-editor.vs .scrollbar { background: rgba(0,0,0,0); }
  1951. .monaco-scrollable-element.modified-in-monaco-diff-editor.vs-dark .scrollbar { background: rgba(0,0,0,0); }
  1952. .monaco-scrollable-element.modified-in-monaco-diff-editor.hc-black .scrollbar { background: none; }
  1953. .monaco-scrollable-element.modified-in-monaco-diff-editor.hc-light .scrollbar { background: none; }
  1954. .monaco-scrollable-element.modified-in-monaco-diff-editor .slider {
  1955. z-index: 10;
  1956. }
  1957. .modified-in-monaco-diff-editor .slider.active { background: rgba(171, 171, 171, .4); }
  1958. .modified-in-monaco-diff-editor.hc-black .slider.active { background: none; }
  1959. .modified-in-monaco-diff-editor.hc-light .slider.active { background: none; }
  1960. /* ---------- Diff ---------- */
  1961. .monaco-editor .insert-sign,
  1962. .monaco-diff-editor .insert-sign,
  1963. .monaco-editor .delete-sign,
  1964. .monaco-diff-editor .delete-sign {
  1965. font-size: 11px !important;
  1966. opacity: 0.7 !important;
  1967. display: flex !important;
  1968. align-items: center;
  1969. }
  1970. .monaco-editor.hc-black .insert-sign,
  1971. .monaco-diff-editor.hc-black .insert-sign,
  1972. .monaco-editor.hc-black .delete-sign,
  1973. .monaco-diff-editor.hc-black .delete-sign,
  1974. .monaco-editor.hc-light .insert-sign,
  1975. .monaco-diff-editor.hc-light .insert-sign,
  1976. .monaco-editor.hc-light .delete-sign,
  1977. .monaco-diff-editor.hc-light .delete-sign {
  1978. opacity: 1;
  1979. }
  1980. .monaco-editor .inline-deleted-margin-view-zone {
  1981. text-align: right;
  1982. }
  1983. .monaco-editor .inline-added-margin-view-zone {
  1984. text-align: right;
  1985. }
  1986. .monaco-editor .arrow-revert-change {
  1987. z-index: 10;
  1988. position: absolute;
  1989. }
  1990. .monaco-editor .arrow-revert-change:hover {
  1991. cursor: pointer;
  1992. }
  1993. /* ---------- Inline Diff ---------- */
  1994. .monaco-editor .view-zones .view-lines .view-line span {
  1995. display: inline-block;
  1996. }
  1997. .monaco-editor .margin-view-zones .lightbulb-glyph:hover {
  1998. cursor: pointer;
  1999. }
  2000. .monaco-editor .char-insert, .monaco-diff-editor .char-insert {
  2001. background-color: var(--vscode-diffEditor-insertedTextBackground);
  2002. }
  2003. .monaco-editor .line-insert, .monaco-diff-editor .line-insert {
  2004. background-color: var(--vscode-diffEditor-insertedLineBackground, --vscode-diffEditor-insertedTextBackground);
  2005. }
  2006. .monaco-editor .line-insert,
  2007. .monaco-editor .char-insert {
  2008. box-sizing: border-box;
  2009. border: 1px solid var(--vscode-diffEditor-insertedTextBorder);
  2010. }
  2011. .monaco-editor.hc-black .line-insert, .monaco-editor.hc-light .line-insert,
  2012. .monaco-editor.hc-black .char-insert, .monaco-editor.hc-light .char-insert {
  2013. border-style: dashed;
  2014. }
  2015. .monaco-editor .line-delete,
  2016. .monaco-editor .char-delete {
  2017. box-sizing: border-box;
  2018. border: 1px solid var(--vscode-diffEditor-removedTextBorder);
  2019. }
  2020. .monaco-editor.hc-black .line-delete, .monaco-editor.hc-light .line-delete,
  2021. .monaco-editor.hc-black .char-delete, .monaco-editor.hc-light .char-delete {
  2022. border-style: dashed;
  2023. }
  2024. .monaco-editor .inline-added-margin-view-zone,
  2025. .monaco-editor .gutter-insert, .monaco-diff-editor .gutter-insert {
  2026. background-color: var(--vscode-diffEditorGutter-insertedLineBackground, --vscode-diffEditor-insertedLineBackground, --vscode-diffEditor-insertedTextBackground);
  2027. }
  2028. .monaco-editor .char-delete, .monaco-diff-editor .char-delete {
  2029. background-color: var(--vscode-diffEditor-removedTextBackground);
  2030. }
  2031. .monaco-editor .line-delete, .monaco-diff-editor .line-delete {
  2032. background-color: var(--vscode-diffEditor-removedLineBackground, --vscode-diffEditor-removedTextBackground);
  2033. }
  2034. .monaco-editor .inline-deleted-margin-view-zone,
  2035. .monaco-editor .gutter-delete, .monaco-diff-editor .gutter-delete {
  2036. background-color: var(--vscode-diffEditorGutter-removedLineBackground, --vscode-diffEditor-removedLineBackground, --vscode-diffEditor-removedTextBackground);
  2037. }
  2038. .monaco-diff-editor.side-by-side .editor.modified {
  2039. box-shadow: -6px 0 5px -5px var(--vscode-scrollbar-shadow);
  2040. border-left: 1px solid var(--vscode-diffEditor-border);
  2041. }
  2042. .monaco-diff-editor .diffViewport {
  2043. background: var(--vscode-scrollbarSlider-background);
  2044. }
  2045. .monaco-diff-editor .diffViewport:hover {
  2046. background: var(--vscode-scrollbarSlider-hoverBackground);
  2047. }
  2048. .monaco-diff-editor .diffViewport:active {
  2049. background: var(--vscode-scrollbarSlider-activeBackground);
  2050. }
  2051. /*---------------------------------------------------------------------------------------------
  2052. * Copyright (c) Microsoft Corporation. All rights reserved.
  2053. * Licensed under the MIT License. See License.txt in the project root for license information.
  2054. *--------------------------------------------------------------------------------------------*/
  2055. .monaco-diff-editor .diff-review-line-number {
  2056. text-align: right;
  2057. display: inline-block;
  2058. color: var(--vscode-editorLineNumber-foreground);
  2059. }
  2060. .monaco-diff-editor .diff-review {
  2061. position: absolute;
  2062. user-select: none;
  2063. -webkit-user-select: none;
  2064. }
  2065. .monaco-diff-editor .diff-review-summary {
  2066. padding-left: 10px;
  2067. }
  2068. .monaco-diff-editor .diff-review-shadow {
  2069. position: absolute;
  2070. box-shadow: var(--vscode-scrollbar-shadow) 0 -6px 6px -6px inset;
  2071. }
  2072. .monaco-diff-editor .diff-review-row {
  2073. white-space: pre;
  2074. }
  2075. .monaco-diff-editor .diff-review-table {
  2076. display: table;
  2077. min-width: 100%;
  2078. }
  2079. .monaco-diff-editor .diff-review-row {
  2080. display: table-row;
  2081. width: 100%;
  2082. }
  2083. .monaco-diff-editor .diff-review-spacer {
  2084. display: inline-block;
  2085. width: 10px;
  2086. vertical-align: middle;
  2087. }
  2088. .monaco-diff-editor .diff-review-spacer > .codicon {
  2089. font-size: 9px !important;
  2090. }
  2091. .monaco-diff-editor .diff-review-actions {
  2092. display: inline-block;
  2093. position: absolute;
  2094. right: 10px;
  2095. top: 2px;
  2096. }
  2097. .monaco-diff-editor .diff-review-actions .action-label {
  2098. width: 16px;
  2099. height: 16px;
  2100. margin: 2px 0;
  2101. }
  2102. /*---------------------------------------------------------------------------------------------
  2103. * Copyright (c) Microsoft Corporation. All rights reserved.
  2104. * Licensed under the MIT License. See License.txt in the project root for license information.
  2105. *--------------------------------------------------------------------------------------------*/
  2106. /* -------------------- IE10 remove auto clear button -------------------- */
  2107. ::-ms-clear {
  2108. display: none;
  2109. }
  2110. /* All widgets */
  2111. /* I am not a big fan of this rule */
  2112. .monaco-editor .editor-widget input {
  2113. color: inherit;
  2114. }
  2115. /* -------------------- Editor -------------------- */
  2116. .monaco-editor {
  2117. position: relative;
  2118. overflow: visible;
  2119. -webkit-text-size-adjust: 100%;
  2120. color: var(--vscode-editor-foreground);
  2121. background-color: var(--vscode-editor-background);
  2122. }
  2123. .monaco-editor-background {
  2124. background-color: var(--vscode-editor-background);
  2125. }
  2126. .monaco-editor .rangeHighlight {
  2127. background-color: var(--vscode-editor-rangeHighlightBackground);
  2128. box-sizing: border-box;
  2129. border: 1px solid var(--vscode-editor-rangeHighlightBorder);
  2130. }
  2131. .monaco-editor.hc-black .rangeHighlight, .monaco-editor.hc-light .rangeHighlight {
  2132. border-style: dotted;
  2133. }
  2134. .monaco-editor .symbolHighlight {
  2135. background-color: var(--vscode-editor-symbolHighlightBackground);
  2136. box-sizing: border-box;
  2137. border: 1px solid var(--vscode-editor-symbolHighlightBorder);
  2138. }
  2139. .monaco-editor.hc-black .symbolHighlight, .monaco-editor.hc-light .symbolHighlight {
  2140. border-style: dotted;
  2141. }
  2142. /* -------------------- Misc -------------------- */
  2143. .monaco-editor .overflow-guard {
  2144. position: relative;
  2145. overflow: hidden;
  2146. }
  2147. .monaco-editor .view-overlays {
  2148. position: absolute;
  2149. top: 0;
  2150. }
  2151. /*
  2152. .monaco-editor .auto-closed-character {
  2153. opacity: 0.3;
  2154. }
  2155. */
  2156. .monaco-editor .squiggly-error {
  2157. border-bottom: 4px double var(--vscode-editorError-border);
  2158. }
  2159. .monaco-editor .squiggly-error::before {
  2160. display: block;
  2161. content: '';
  2162. width: 100%;
  2163. height: 100%;
  2164. background: var(--vscode-editorError-background);
  2165. }
  2166. .monaco-editor .squiggly-warning {
  2167. border-bottom: 4px double var(--vscode-editorWarning-border);
  2168. }
  2169. .monaco-editor .squiggly-warning::before {
  2170. display: block;
  2171. content: '';
  2172. width: 100%;
  2173. height: 100%;
  2174. background: var(--vscode-editorWarning-background);
  2175. }
  2176. .monaco-editor .squiggly-info {
  2177. border-bottom: 4px double var(--vscode-editorInfo-border);
  2178. }
  2179. .monaco-editor .squiggly-info::before {
  2180. display: block;
  2181. content: '';
  2182. width: 100%;
  2183. height: 100%;
  2184. background: var(--vscode-editorInfo-background);
  2185. }
  2186. .monaco-editor .squiggly-hint {
  2187. border-bottom: 2px dotted var(--vscode-editorHint-border);
  2188. }
  2189. .monaco-editor.showUnused .squiggly-unnecessary {
  2190. border-bottom: 2px dashed var(--vscode-editorUnnecessaryCode-border);
  2191. }
  2192. .monaco-editor.showDeprecated .squiggly-inline-deprecated {
  2193. text-decoration: line-through;
  2194. text-decoration-color: var(--vscode-editor-foreground, inherit);
  2195. }
  2196. /*---------------------------------------------------------------------------------------------
  2197. * Copyright (c) Microsoft Corporation. All rights reserved.
  2198. * Licensed under the MIT License. See License.txt in the project root for license information.
  2199. *--------------------------------------------------------------------------------------------*/
  2200. .monaco-editor .selection-anchor {
  2201. background-color: #007ACC;
  2202. width: 2px !important;
  2203. }
  2204. /*---------------------------------------------------------------------------------------------
  2205. * Copyright (c) Microsoft Corporation. All rights reserved.
  2206. * Licensed under the MIT License. See License.txt in the project root for license information.
  2207. *--------------------------------------------------------------------------------------------*/
  2208. .monaco-editor .bracket-match {
  2209. box-sizing: border-box;
  2210. background-color: var(--vscode-editorBracketMatch-background);
  2211. border: 1px solid var(--vscode-editorBracketMatch-border);
  2212. }
  2213. /*---------------------------------------------------------------------------------------------
  2214. * Copyright (c) Microsoft Corporation. All rights reserved.
  2215. * Licensed under the MIT License. See License.txt in the project root for license information.
  2216. *--------------------------------------------------------------------------------------------*/
  2217. .monaco-editor .lightBulbWidget {
  2218. display: flex;
  2219. align-items: center;
  2220. justify-content: center;
  2221. }
  2222. .monaco-editor .lightBulbWidget:hover{
  2223. cursor: pointer;
  2224. }
  2225. .monaco-editor .lightBulbWidget.codicon-light-bulb {
  2226. color: var(--vscode-editorLightBulb-foreground);
  2227. }
  2228. .monaco-editor .lightBulbWidget.codicon-lightbulb-autofix {
  2229. color: var(--vscode-editorLightBulbAutoFix-foreground, var(--vscode-editorLightBulb-foreground));
  2230. }
  2231. .monaco-editor .lightBulbWidget:before {
  2232. position: relative;
  2233. z-index: 2;
  2234. }
  2235. .monaco-editor .lightBulbWidget:after {
  2236. position: absolute;
  2237. top: 0;
  2238. left: 0;
  2239. content: '';
  2240. display: block;
  2241. width: 100%;
  2242. height: 100%;
  2243. opacity: 0.3;
  2244. background-color: var(--vscode-editor-background);
  2245. z-index: 1;
  2246. }
  2247. /*---------------------------------------------------------------------------------------------
  2248. * Copyright (c) Microsoft Corporation. All rights reserved.
  2249. * Licensed under the MIT License. See License.txt in the project root for license information.
  2250. *--------------------------------------------------------------------------------------------*/
  2251. .monaco-editor .codelens-decoration {
  2252. overflow: hidden;
  2253. display: inline-block;
  2254. text-overflow: ellipsis;
  2255. white-space: nowrap;
  2256. color: var(--vscode-editorCodeLens-foreground);
  2257. line-height: var(--vscode-editorCodeLens-lineHeight);
  2258. font-size: var(--vscode-editorCodeLens-fontSize);
  2259. padding-right: calc(var(--vscode-editorCodeLens-fontSize)*0.5);
  2260. font-feature-settings: var(--vscode-editorCodeLens-fontFeatureSettings);
  2261. font-family: var(--vscode-editorCodeLens-fontFamily), var(--vscode-editorCodeLens-fontFamilyDefault);
  2262. }
  2263. .monaco-editor .codelens-decoration>span,
  2264. .monaco-editor .codelens-decoration>a {
  2265. user-select: none;
  2266. -webkit-user-select: none;
  2267. white-space: nowrap;
  2268. vertical-align: sub;
  2269. }
  2270. .monaco-editor .codelens-decoration>a {
  2271. text-decoration: none;
  2272. }
  2273. .monaco-editor .codelens-decoration>a:hover {
  2274. cursor: pointer;
  2275. color: var(--vscode-editorLink-activeForeground) !important;
  2276. }
  2277. .monaco-editor .codelens-decoration>a:hover .codicon {
  2278. color: var(--vscode-editorLink-activeForeground) !important;
  2279. }
  2280. .monaco-editor .codelens-decoration .codicon {
  2281. vertical-align: middle;
  2282. color: currentColor !important;
  2283. color: var(--vscode-editorCodeLens-foreground);
  2284. line-height: var(--vscode-editorCodeLens-lineHeight);
  2285. font-size: var(--vscode-editorCodeLens-fontSize);
  2286. }
  2287. .monaco-editor .codelens-decoration>a:hover .codicon::before {
  2288. cursor: pointer;
  2289. }
  2290. @keyframes fadein {
  2291. 0% {
  2292. opacity: 0;
  2293. visibility: visible;
  2294. }
  2295. 100% {
  2296. opacity: 1;
  2297. }
  2298. }
  2299. .monaco-editor .codelens-decoration.fadein {
  2300. animation: fadein 0.1s linear;
  2301. }
  2302. /*---------------------------------------------------------------------------------------------
  2303. * Copyright (c) Microsoft Corporation. All rights reserved.
  2304. * Licensed under the MIT License. See License.txt in the project root for license information.
  2305. *--------------------------------------------------------------------------------------------*/
  2306. .colorpicker-widget {
  2307. height: 190px;
  2308. user-select: none;
  2309. -webkit-user-select: none;
  2310. }
  2311. /* Decoration */
  2312. .colorpicker-color-decoration,
  2313. .hc-light .colorpicker-color-decoration {
  2314. border: solid 0.1em #000;
  2315. box-sizing: border-box;
  2316. margin: 0.1em 0.2em 0 0.2em;
  2317. width: 0.8em;
  2318. height: 0.8em;
  2319. line-height: 0.8em;
  2320. display: inline-block;
  2321. cursor: pointer;
  2322. }
  2323. .hc-black .colorpicker-color-decoration,
  2324. .vs-dark .colorpicker-color-decoration {
  2325. border: solid 0.1em #eee;
  2326. }
  2327. /* Header */
  2328. .colorpicker-header {
  2329. display: flex;
  2330. height: 24px;
  2331. position: relative;
  2332. background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAAAHUlEQVQYV2PYvXu3JAi7uLiAMaYAjAGTQBPYLQkAa/0Zef3qRswAAAAASUVORK5CYII=);
  2333. background-size: 9px 9px;
  2334. image-rendering: pixelated;
  2335. }
  2336. .colorpicker-header .picked-color {
  2337. width: 240px;
  2338. display: flex;
  2339. align-items: center;
  2340. justify-content: center;
  2341. line-height: 24px;
  2342. cursor: pointer;
  2343. color: white;
  2344. flex: 1;
  2345. }
  2346. .colorpicker-header .picked-color .codicon {
  2347. color: inherit;
  2348. font-size: 14px;
  2349. position: absolute;
  2350. left: 8px;
  2351. }
  2352. .colorpicker-header .picked-color.light {
  2353. color: black;
  2354. }
  2355. .colorpicker-header .original-color {
  2356. width: 74px;
  2357. z-index: inherit;
  2358. cursor: pointer;
  2359. }
  2360. .standalone-colorpicker {
  2361. color: var(--vscode-editorHoverWidget-foreground);
  2362. background-color: var(--vscode-editorHoverWidget-background);
  2363. border: 1px solid var(--vscode-editorHoverWidget-border);
  2364. }
  2365. .colorpicker-header.standalone-colorpicker {
  2366. border-bottom: none;
  2367. }
  2368. .colorpicker-header .close-button {
  2369. cursor: pointer;
  2370. background-color: var(--vscode-editorHoverWidget-background);
  2371. border-left: 1px solid var(--vscode-editorHoverWidget-border);
  2372. }
  2373. .colorpicker-header .close-button-inner-div {
  2374. width: 100%;
  2375. height: 100%;
  2376. text-align: center;
  2377. }
  2378. .colorpicker-header .close-button-inner-div:hover {
  2379. background-color: var(--vscode-toolbar-hoverBackground);
  2380. }
  2381. .colorpicker-header .close-icon {
  2382. padding: 3px;
  2383. }
  2384. /* Body */
  2385. .colorpicker-body {
  2386. display: flex;
  2387. padding: 8px;
  2388. position: relative;
  2389. }
  2390. .colorpicker-body .saturation-wrap {
  2391. overflow: hidden;
  2392. height: 150px;
  2393. position: relative;
  2394. min-width: 220px;
  2395. flex: 1;
  2396. }
  2397. .colorpicker-body .saturation-box {
  2398. height: 150px;
  2399. position: absolute;
  2400. }
  2401. .colorpicker-body .saturation-selection {
  2402. width: 9px;
  2403. height: 9px;
  2404. margin: -5px 0 0 -5px;
  2405. border: 1px solid rgb(255, 255, 255);
  2406. border-radius: 100%;
  2407. box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.8);
  2408. position: absolute;
  2409. }
  2410. .colorpicker-body .strip {
  2411. width: 25px;
  2412. height: 150px;
  2413. }
  2414. .colorpicker-body .standalone-strip {
  2415. width: 25px;
  2416. height: 122px;
  2417. }
  2418. .colorpicker-body .hue-strip {
  2419. position: relative;
  2420. margin-left: 8px;
  2421. cursor: grab;
  2422. background: linear-gradient(to bottom, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
  2423. }
  2424. .colorpicker-body .opacity-strip {
  2425. position: relative;
  2426. margin-left: 8px;
  2427. cursor: grab;
  2428. background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAAAHUlEQVQYV2PYvXu3JAi7uLiAMaYAjAGTQBPYLQkAa/0Zef3qRswAAAAASUVORK5CYII=);
  2429. background-size: 9px 9px;
  2430. image-rendering: pixelated;
  2431. }
  2432. .colorpicker-body .strip.grabbing {
  2433. cursor: grabbing;
  2434. }
  2435. .colorpicker-body .slider {
  2436. position: absolute;
  2437. top: 0;
  2438. left: -2px;
  2439. width: calc(100% + 4px);
  2440. height: 4px;
  2441. box-sizing: border-box;
  2442. border: 1px solid rgba(255, 255, 255, 0.71);
  2443. box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.85);
  2444. }
  2445. .colorpicker-body .strip .overlay {
  2446. height: 150px;
  2447. pointer-events: none;
  2448. }
  2449. .colorpicker-body .standalone-strip .standalone-overlay {
  2450. height: 122px;
  2451. pointer-events: none;
  2452. }
  2453. .standalone-colorpicker-body {
  2454. display: block;
  2455. border: 1px solid transparent;
  2456. border-bottom: 1px solid var(--vscode-editorHoverWidget-border);
  2457. overflow: hidden;
  2458. }
  2459. .colorpicker-body .insert-button {
  2460. height: 20px;
  2461. width: 58px;
  2462. position: absolute;
  2463. right: 8px;
  2464. bottom: 8px;
  2465. background: var(--vscode-button-background);
  2466. color: var(--vscode-button-foreground);
  2467. border-radius: 2px;
  2468. border: none;
  2469. cursor: pointer;
  2470. }
  2471. .colorpicker-body .insert-button:hover{
  2472. background: var(--vscode-button-hoverBackground);
  2473. }
  2474. /*---------------------------------------------------------------------------------------------
  2475. * Copyright (c) Microsoft Corporation. All rights reserved.
  2476. * Licensed under the MIT License. See License.txt in the project root for license information.
  2477. *--------------------------------------------------------------------------------------------*/
  2478. .monaco-editor.vs .dnd-target,
  2479. .monaco-editor.hc-light .dnd-target {
  2480. border-right: 2px dotted black;
  2481. color: white; /* opposite of black */
  2482. }
  2483. .monaco-editor.vs-dark .dnd-target {
  2484. border-right: 2px dotted #AEAFAD;
  2485. color: #51504f; /* opposite of #AEAFAD */
  2486. }
  2487. .monaco-editor.hc-black .dnd-target {
  2488. border-right: 2px dotted #fff;
  2489. color: #000; /* opposite of #fff */
  2490. }
  2491. .monaco-editor.mouse-default .view-lines,
  2492. .monaco-editor.vs-dark.mac.mouse-default .view-lines,
  2493. .monaco-editor.hc-black.mac.mouse-default .view-lines,
  2494. .monaco-editor.hc-light.mac.mouse-default .view-lines {
  2495. cursor: default;
  2496. }
  2497. .monaco-editor.mouse-copy .view-lines,
  2498. .monaco-editor.vs-dark.mac.mouse-copy .view-lines,
  2499. .monaco-editor.hc-black.mac.mouse-copy .view-lines,
  2500. .monaco-editor.hc-light.mac.mouse-copy .view-lines {
  2501. cursor: copy;
  2502. }
  2503. /*---------------------------------------------------------------------------------------------
  2504. * Copyright (c) Microsoft Corporation. All rights reserved.
  2505. * Licensed under the MIT License. See License.txt in the project root for license information.
  2506. *--------------------------------------------------------------------------------------------*/
  2507. .post-drop-widget {
  2508. box-shadow: 0 0 8px 2px var(--vscode-widget-shadow);
  2509. border: 1px solid var(--vscode-widget-border, transparent);
  2510. border-radius: 4px;
  2511. background-color: var(--vscode-editorWidget-background);
  2512. overflow: hidden;
  2513. }
  2514. .post-drop-widget .monaco-button {
  2515. padding: 2px;
  2516. border: none;
  2517. border-radius: 0;
  2518. }
  2519. .post-drop-widget .monaco-button:hover {
  2520. background-color: var(--vscode-button-secondaryHoverBackground) !important;
  2521. }
  2522. .post-drop-widget .monaco-button .codicon {
  2523. margin: 0;
  2524. }
  2525. /*---------------------------------------------------------------------------------------------
  2526. * Copyright (c) Microsoft Corporation. All rights reserved.
  2527. * Licensed under the MIT License. See License.txt in the project root for license information.
  2528. *--------------------------------------------------------------------------------------------*/
  2529. .monaco-editor .findOptionsWidget {
  2530. background-color: var(--vscode-editorWidget-background);
  2531. color: var(--vscode-editorWidget-foreground);
  2532. box-shadow: 0 0 8px 2px var(--vscode-widget-shadow);
  2533. border: 2px solid var(--vscode-contrastBorder);
  2534. }
  2535. /*---------------------------------------------------------------------------------------------
  2536. * Copyright (c) Microsoft Corporation. All rights reserved.
  2537. * Licensed under the MIT License. See License.txt in the project root for license information.
  2538. *--------------------------------------------------------------------------------------------*/
  2539. /* Find widget */
  2540. .monaco-editor .find-widget {
  2541. position: absolute;
  2542. z-index: 35;
  2543. height: 33px;
  2544. overflow: hidden;
  2545. line-height: 19px;
  2546. transition: transform 200ms linear;
  2547. padding: 0 4px;
  2548. box-sizing: border-box;
  2549. transform: translateY(calc(-100% - 10px)); /* shadow (10px) */
  2550. border-bottom-left-radius: 4px;
  2551. border-bottom-right-radius: 4px;
  2552. }
  2553. .monaco-workbench.reduce-motion .monaco-editor .find-widget {
  2554. transition: transform 0ms linear;
  2555. }
  2556. .monaco-editor .find-widget textarea {
  2557. margin: 0px;
  2558. }
  2559. .monaco-editor .find-widget.hiddenEditor {
  2560. display: none;
  2561. }
  2562. /* Find widget when replace is toggled on */
  2563. .monaco-editor .find-widget.replaceToggled > .replace-part {
  2564. display: flex;
  2565. }
  2566. .monaco-editor .find-widget.visible {
  2567. transform: translateY(0);
  2568. }
  2569. .monaco-editor .find-widget .monaco-inputbox.synthetic-focus {
  2570. outline: 1px solid -webkit-focus-ring-color;
  2571. outline-offset: -1px;
  2572. }
  2573. .monaco-editor .find-widget .monaco-inputbox .input {
  2574. background-color: transparent;
  2575. min-height: 0;
  2576. }
  2577. .monaco-editor .find-widget .monaco-findInput .input {
  2578. font-size: 13px;
  2579. }
  2580. .monaco-editor .find-widget > .find-part,
  2581. .monaco-editor .find-widget > .replace-part {
  2582. margin: 3px 0 0 17px;
  2583. font-size: 12px;
  2584. display: flex;
  2585. }
  2586. .monaco-editor .find-widget > .find-part .monaco-inputbox,
  2587. .monaco-editor .find-widget > .replace-part .monaco-inputbox {
  2588. min-height: 25px;
  2589. }
  2590. .monaco-editor .find-widget > .replace-part .monaco-inputbox > .ibwrapper > .mirror {
  2591. padding-right: 22px;
  2592. }
  2593. .monaco-editor .find-widget > .find-part .monaco-inputbox > .ibwrapper > .input,
  2594. .monaco-editor .find-widget > .find-part .monaco-inputbox > .ibwrapper > .mirror,
  2595. .monaco-editor .find-widget > .replace-part .monaco-inputbox > .ibwrapper > .input,
  2596. .monaco-editor .find-widget > .replace-part .monaco-inputbox > .ibwrapper > .mirror {
  2597. padding-top: 2px;
  2598. padding-bottom: 2px;
  2599. }
  2600. .monaco-editor .find-widget > .find-part .find-actions {
  2601. height: 25px;
  2602. display: flex;
  2603. align-items: center;
  2604. }
  2605. .monaco-editor .find-widget > .replace-part .replace-actions {
  2606. height: 25px;
  2607. display: flex;
  2608. align-items: center;
  2609. }
  2610. .monaco-editor .find-widget .monaco-findInput {
  2611. vertical-align: middle;
  2612. display: flex;
  2613. flex:1;
  2614. }
  2615. .monaco-editor .find-widget .monaco-findInput .monaco-scrollable-element {
  2616. /* Make sure textarea inherits the width correctly */
  2617. width: 100%;
  2618. }
  2619. .monaco-editor .find-widget .monaco-findInput .monaco-scrollable-element .scrollbar.vertical {
  2620. /* Hide vertical scrollbar */
  2621. opacity: 0;
  2622. }
  2623. .monaco-editor .find-widget .matchesCount {
  2624. display: flex;
  2625. flex: initial;
  2626. margin: 0 0 0 3px;
  2627. padding: 2px 0 0 2px;
  2628. height: 25px;
  2629. vertical-align: middle;
  2630. box-sizing: border-box;
  2631. text-align: center;
  2632. line-height: 23px;
  2633. }
  2634. .monaco-editor .find-widget .button {
  2635. width: 16px;
  2636. height: 16px;
  2637. padding: 3px;
  2638. border-radius: 5px;
  2639. display: flex;
  2640. flex: initial;
  2641. margin-left: 3px;
  2642. background-position: center center;
  2643. background-repeat: no-repeat;
  2644. cursor: pointer;
  2645. display: flex;
  2646. align-items: center;
  2647. justify-content: center;
  2648. }
  2649. /* find in selection button */
  2650. .monaco-editor .find-widget .codicon-find-selection {
  2651. width: 22px;
  2652. height: 22px;
  2653. padding: 3px;
  2654. border-radius: 5px;
  2655. }
  2656. .monaco-editor .find-widget .button.left {
  2657. margin-left: 0;
  2658. margin-right: 3px;
  2659. }
  2660. .monaco-editor .find-widget .button.wide {
  2661. width: auto;
  2662. padding: 1px 6px;
  2663. top: -1px;
  2664. }
  2665. .monaco-editor .find-widget .button.toggle {
  2666. position: absolute;
  2667. top: 0;
  2668. left: 3px;
  2669. width: 18px;
  2670. height: 100%;
  2671. border-radius: 0;
  2672. box-sizing: border-box;
  2673. }
  2674. .monaco-editor .find-widget .button.toggle.disabled {
  2675. display: none;
  2676. }
  2677. .monaco-editor .find-widget .disabled {
  2678. color: var(--vscode-disabledForeground);
  2679. cursor: default;
  2680. }
  2681. .monaco-editor .find-widget > .replace-part {
  2682. display: none;
  2683. }
  2684. .monaco-editor .find-widget > .replace-part > .monaco-findInput {
  2685. position: relative;
  2686. display: flex;
  2687. vertical-align: middle;
  2688. flex: auto;
  2689. flex-grow: 0;
  2690. flex-shrink: 0;
  2691. }
  2692. .monaco-editor .find-widget > .replace-part > .monaco-findInput > .controls {
  2693. position: absolute;
  2694. top: 3px;
  2695. right: 2px;
  2696. }
  2697. /* REDUCED */
  2698. .monaco-editor .find-widget.reduced-find-widget .matchesCount {
  2699. display:none;
  2700. }
  2701. /* NARROW (SMALLER THAN REDUCED) */
  2702. .monaco-editor .find-widget.narrow-find-widget {
  2703. max-width: 257px !important;
  2704. }
  2705. /* COLLAPSED (SMALLER THAN NARROW) */
  2706. .monaco-editor .find-widget.collapsed-find-widget {
  2707. max-width: 170px !important;
  2708. }
  2709. .monaco-editor .find-widget.collapsed-find-widget .button.previous,
  2710. .monaco-editor .find-widget.collapsed-find-widget .button.next,
  2711. .monaco-editor .find-widget.collapsed-find-widget .button.replace,
  2712. .monaco-editor .find-widget.collapsed-find-widget .button.replace-all,
  2713. .monaco-editor .find-widget.collapsed-find-widget > .find-part .monaco-findInput .controls {
  2714. display:none;
  2715. }
  2716. .monaco-editor .findMatch {
  2717. animation-duration: 0;
  2718. animation-name: inherit !important;
  2719. }
  2720. .monaco-editor .find-widget .monaco-sash {
  2721. left: 0 !important;
  2722. }
  2723. .monaco-editor.hc-black .find-widget .button:before {
  2724. position: relative;
  2725. top: 1px;
  2726. left: 2px;
  2727. }
  2728. /*---------------------------------------------------------------------------------------------
  2729. * Copyright (c) Microsoft Corporation. All rights reserved.
  2730. * Licensed under the MIT License. See License.txt in the project root for license information.
  2731. *--------------------------------------------------------------------------------------------*/
  2732. .monaco-editor .margin-view-overlays .codicon-folding-manual-collapsed,
  2733. .monaco-editor .margin-view-overlays .codicon-folding-manual-expanded,
  2734. .monaco-editor .margin-view-overlays .codicon-folding-expanded,
  2735. .monaco-editor .margin-view-overlays .codicon-folding-collapsed {
  2736. cursor: pointer;
  2737. opacity: 0;
  2738. transition: opacity 0.5s;
  2739. display: flex;
  2740. align-items: center;
  2741. justify-content: center;
  2742. font-size: 140%;
  2743. margin-left: 2px;
  2744. }
  2745. .monaco-workbench.reduce-motion .monaco-editor .margin-view-overlays .codicon-folding-manual-collapsed,
  2746. .monaco-workbench.reduce-motion .monaco-editor .margin-view-overlays .codicon-folding-manual-expanded,
  2747. .monaco-workbench.reduce-motion .monaco-editor .margin-view-overlays .codicon-folding-expanded,
  2748. .monaco-workbench.reduce-motion .monaco-editor .margin-view-overlays .codicon-folding-collapsed {
  2749. transition: initial;
  2750. }
  2751. .monaco-editor .margin-view-overlays:hover .codicon,
  2752. .monaco-editor .margin-view-overlays .codicon.codicon-folding-collapsed,
  2753. .monaco-editor .margin-view-overlays .codicon.codicon-folding-manual-collapsed,
  2754. .monaco-editor .margin-view-overlays .codicon.alwaysShowFoldIcons {
  2755. opacity: 1;
  2756. }
  2757. .monaco-editor .inline-folded:after {
  2758. color: grey;
  2759. margin: 0.1em 0.2em 0 0.2em;
  2760. content: "\22EF"; /* ellipses unicode character */
  2761. display: inline;
  2762. line-height: 1em;
  2763. cursor: pointer;
  2764. }
  2765. .monaco-editor .folded-background {
  2766. background-color: var(--vscode-editor-foldBackground);
  2767. }
  2768. .monaco-editor .cldr.codicon.codicon-folding-expanded,
  2769. .monaco-editor .cldr.codicon.codicon-folding-collapsed,
  2770. .monaco-editor .cldr.codicon.codicon-folding-manual-expanded,
  2771. .monaco-editor .cldr.codicon.codicon-folding-manual-collapsed {
  2772. color: var(--vscode-editorGutter-foldingControlForeground) !important;
  2773. }
  2774. /*---------------------------------------------------------------------------------------------
  2775. * Copyright (c) Microsoft Corporation. All rights reserved.
  2776. * Licensed under the MIT License. See License.txt in the project root for license information.
  2777. *--------------------------------------------------------------------------------------------*/
  2778. /* marker zone */
  2779. .monaco-editor .peekview-widget .head .peekview-title .severity-icon {
  2780. display: inline-block;
  2781. vertical-align: text-top;
  2782. margin-right: 4px;
  2783. }
  2784. .monaco-editor .marker-widget {
  2785. text-overflow: ellipsis;
  2786. white-space: nowrap;
  2787. }
  2788. .monaco-editor .marker-widget > .stale {
  2789. opacity: 0.6;
  2790. font-style: italic;
  2791. }
  2792. .monaco-editor .marker-widget .title {
  2793. display: inline-block;
  2794. padding-right: 5px;
  2795. }
  2796. .monaco-editor .marker-widget .descriptioncontainer {
  2797. position: absolute;
  2798. white-space: pre;
  2799. user-select: text;
  2800. -webkit-user-select: text;
  2801. padding: 8px 12px 0 20px;
  2802. }
  2803. .monaco-editor .marker-widget .descriptioncontainer .message {
  2804. display: flex;
  2805. flex-direction: column;
  2806. }
  2807. .monaco-editor .marker-widget .descriptioncontainer .message .details {
  2808. padding-left: 6px;
  2809. }
  2810. .monaco-editor .marker-widget .descriptioncontainer .message .source,
  2811. .monaco-editor .marker-widget .descriptioncontainer .message span.code {
  2812. opacity: 0.6;
  2813. }
  2814. .monaco-editor .marker-widget .descriptioncontainer .message a.code-link {
  2815. opacity: 0.6;
  2816. color: inherit;
  2817. }
  2818. .monaco-editor .marker-widget .descriptioncontainer .message a.code-link:before {
  2819. content: '(';
  2820. }
  2821. .monaco-editor .marker-widget .descriptioncontainer .message a.code-link:after {
  2822. content: ')';
  2823. }
  2824. .monaco-editor .marker-widget .descriptioncontainer .message a.code-link > span {
  2825. text-decoration: underline;
  2826. /** Hack to force underline to show **/
  2827. border-bottom: 1px solid transparent;
  2828. text-underline-position: under;
  2829. color: var(--vscode-textLink-foreground);
  2830. }
  2831. .monaco-editor .marker-widget .descriptioncontainer .message a.code-link > span {
  2832. color: var(--vscode-textLink-activeForeground);
  2833. }
  2834. .monaco-editor .marker-widget .descriptioncontainer .filename {
  2835. cursor: pointer;
  2836. }
  2837. /*---------------------------------------------------------------------------------------------
  2838. * Copyright (c) Microsoft Corporation. All rights reserved.
  2839. * Licensed under the MIT License. See License.txt in the project root for license information.
  2840. *--------------------------------------------------------------------------------------------*/
  2841. .monaco-editor .goto-definition-link {
  2842. text-decoration: underline;
  2843. cursor: pointer;
  2844. color: var(--vscode-editorLink-activeForeground) !important;
  2845. }
  2846. /*---------------------------------------------------------------------------------------------
  2847. * Copyright (c) Microsoft Corporation. All rights reserved.
  2848. * Licensed under the MIT License. See License.txt in the project root for license information.
  2849. *--------------------------------------------------------------------------------------------*/
  2850. /* -- zone widget */
  2851. .monaco-editor .zone-widget .zone-widget-container.reference-zone-widget {
  2852. border-top-width: 1px;
  2853. border-bottom-width: 1px;
  2854. }
  2855. .monaco-editor .reference-zone-widget .inline {
  2856. display: inline-block;
  2857. vertical-align: top;
  2858. }
  2859. .monaco-editor .reference-zone-widget .messages {
  2860. height: 100%;
  2861. width: 100%;
  2862. text-align: center;
  2863. padding: 3em 0;
  2864. }
  2865. .monaco-editor .reference-zone-widget .ref-tree {
  2866. line-height: 23px;
  2867. background-color: var(--vscode-peekViewResult-background);
  2868. color: var(--vscode-peekViewResult-lineForeground);
  2869. }
  2870. .monaco-editor .reference-zone-widget .ref-tree .reference {
  2871. text-overflow: ellipsis;
  2872. overflow: hidden;
  2873. }
  2874. .monaco-editor .reference-zone-widget .ref-tree .reference-file {
  2875. display: inline-flex;
  2876. width: 100%;
  2877. height: 100%;
  2878. color: var(--vscode-peekViewResult-fileForeground);
  2879. }
  2880. .monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .selected .reference-file {
  2881. color: inherit !important;
  2882. }
  2883. .monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .monaco-list-rows > .monaco-list-row.selected:not(.highlighted) {
  2884. background-color: var(--vscode-peekViewResult-selectionBackground);
  2885. color: var(--vscode-peekViewResult-selectionForeground) !important;
  2886. }
  2887. .monaco-editor .reference-zone-widget .ref-tree .reference-file .count {
  2888. margin-right: 12px;
  2889. margin-left: auto;
  2890. }
  2891. .monaco-editor .reference-zone-widget .ref-tree .referenceMatch .highlight {
  2892. background-color: var(--vscode-peekViewResult-matchHighlightBackground);
  2893. }
  2894. .monaco-editor .reference-zone-widget .preview .reference-decoration {
  2895. background-color: var(--vscode-peekViewEditor-matchHighlightBackground);
  2896. border: 2px solid var(--vscode-peekViewEditor-matchHighlightBorder);
  2897. box-sizing: border-box;
  2898. }
  2899. .monaco-editor .reference-zone-widget .preview .monaco-editor .monaco-editor-background,
  2900. .monaco-editor .reference-zone-widget .preview .monaco-editor .inputarea.ime-input {
  2901. background-color: var(--vscode-peekViewEditor-background);
  2902. }
  2903. .monaco-editor .reference-zone-widget .preview .monaco-editor .margin {
  2904. background-color: var(--vscode-peekViewEditorGutter-background);
  2905. }
  2906. /* High Contrast Theming */
  2907. .monaco-editor.hc-black .reference-zone-widget .ref-tree .reference-file,
  2908. .monaco-editor.hc-light .reference-zone-widget .ref-tree .reference-file {
  2909. font-weight: bold;
  2910. }
  2911. .monaco-editor.hc-black .reference-zone-widget .ref-tree .referenceMatch .highlight,
  2912. .monaco-editor.hc-light .reference-zone-widget .ref-tree .referenceMatch .highlight {
  2913. border: 1px dotted var(--vscode-contrastActiveBorder, transparent);
  2914. box-sizing: border-box;
  2915. }
  2916. /*---------------------------------------------------------------------------------------------
  2917. * Copyright (c) Microsoft Corporation. All rights reserved.
  2918. * Licensed under the MIT License. See License.txt in the project root for license information.
  2919. *--------------------------------------------------------------------------------------------*/
  2920. .monaco-editor .hoverHighlight {
  2921. background-color: var(--vscode-editor-hoverHighlightBackground);
  2922. }
  2923. .monaco-editor .monaco-hover {
  2924. color: var(--vscode-editorHoverWidget-foreground);
  2925. background-color: var(--vscode-editorHoverWidget-background);
  2926. border: 1px solid var(--vscode-editorHoverWidget-border);
  2927. }
  2928. .monaco-editor .monaco-hover a {
  2929. color: var(--vscode-textLink-foreground);
  2930. }
  2931. .monaco-editor .monaco-hover a:hover {
  2932. color: var(--vscode-textLink-activeForeground);
  2933. }
  2934. .monaco-editor .monaco-hover .hover-row .actions {
  2935. background-color: var(--vscode-editorHoverWidget-statusBarBackground);
  2936. }
  2937. .monaco-editor .monaco-hover code {
  2938. background-color: var(--vscode-textCodeBlock-background);
  2939. }
  2940. /*---------------------------------------------------------------------------------------------
  2941. * Copyright (c) Microsoft Corporation. All rights reserved.
  2942. * Licensed under the MIT License. See License.txt in the project root for license information.
  2943. *--------------------------------------------------------------------------------------------*/
  2944. .monaco-editor.vs .valueSetReplacement {
  2945. outline: solid 2px var(--vscode-editorBracketMatch-border);
  2946. }
  2947. /*---------------------------------------------------------------------------------------------
  2948. * Copyright (c) Microsoft Corporation. All rights reserved.
  2949. * Licensed under the MIT License. See License.txt in the project root for license information.
  2950. *--------------------------------------------------------------------------------------------*/
  2951. .monaco-editor .suggest-preview-additional-widget {
  2952. white-space: nowrap;
  2953. }
  2954. .monaco-editor .suggest-preview-additional-widget .content-spacer {
  2955. color: transparent;
  2956. white-space: pre;
  2957. }
  2958. .monaco-editor .suggest-preview-additional-widget .button {
  2959. display: inline-block;
  2960. cursor: pointer;
  2961. text-decoration: underline;
  2962. text-underline-position: under;
  2963. }
  2964. .monaco-editor .ghost-text-hidden {
  2965. opacity: 0;
  2966. font-size: 0;
  2967. }
  2968. .monaco-editor .ghost-text-decoration, .monaco-editor .suggest-preview-text .ghost-text {
  2969. font-style: italic;
  2970. }
  2971. .monaco-editor .inline-completion-text-to-replace {
  2972. text-decoration: underline;
  2973. text-underline-position: under;
  2974. }
  2975. .monaco-editor .ghost-text-decoration,
  2976. .monaco-editor .ghost-text-decoration-preview,
  2977. .monaco-editor .suggest-preview-text .ghost-text {
  2978. color: var(--vscode-editorGhostText-foreground) !important;
  2979. background-color: var(--vscode-editorGhostText-background);
  2980. border: 1px solid var(--vscode-editorGhostText-border);
  2981. }
  2982. /*---------------------------------------------------------------------------------------------
  2983. * Copyright (c) Microsoft Corporation. All rights reserved.
  2984. * Licensed under the MIT License. See License.txt in the project root for license information.
  2985. *--------------------------------------------------------------------------------------------*/
  2986. .monaco-editor .inlineSuggestionsHints.withBorder {
  2987. z-index: 39;
  2988. color: var(--vscode-editorHoverWidget-foreground);
  2989. background-color: var(--vscode-editorHoverWidget-background);
  2990. border: 1px solid var(--vscode-editorHoverWidget-border);
  2991. }
  2992. .monaco-editor .inlineSuggestionsHints a {
  2993. color: var(--vscode-foreground);
  2994. }
  2995. .monaco-editor .inlineSuggestionsHints a:hover {
  2996. color: var(--vscode-foreground);
  2997. }
  2998. .monaco-editor .inlineSuggestionsHints .keybinding {
  2999. display: flex;
  3000. margin-left: 4px;
  3001. opacity: 0.6;
  3002. }
  3003. .monaco-editor .inlineSuggestionsHints .keybinding .monaco-keybinding-key {
  3004. font-size: 8px;
  3005. padding: 2px 3px;
  3006. }
  3007. .monaco-editor .inlineSuggestionsHints .custom-actions .action-item:nth-child(2) a {
  3008. display: flex;
  3009. min-width: 19px;
  3010. justify-content: center;
  3011. }
  3012. .monaco-editor .inlineSuggestionStatusBarItemLabel {
  3013. margin-right: 2px;
  3014. }
  3015. /*---------------------------------------------------------------------------------------------
  3016. * Copyright (c) Microsoft Corporation. All rights reserved.
  3017. * Licensed under the MIT License. See License.txt in the project root for license information.
  3018. *--------------------------------------------------------------------------------------------*/
  3019. .inline-editor-progress-decoration {
  3020. display: inline-block;
  3021. width: 1em;
  3022. height: 1em;
  3023. }
  3024. .inline-progress-widget {
  3025. display: flex !important;
  3026. justify-content: center;
  3027. align-items: center;
  3028. }
  3029. .inline-progress-widget .icon {
  3030. font-size: 80% !important;
  3031. }
  3032. .inline-progress-widget:hover .icon {
  3033. font-size: 90% !important;
  3034. animation: none;
  3035. }
  3036. .inline-progress-widget:hover .icon::before {
  3037. content: "\ea76"; /* codicon-x */
  3038. }
  3039. /*---------------------------------------------------------------------------------------------
  3040. * Copyright (c) Microsoft Corporation. All rights reserved.
  3041. * Licensed under the MIT License. See License.txt in the project root for license information.
  3042. *--------------------------------------------------------------------------------------------*/
  3043. .monaco-editor .linked-editing-decoration {
  3044. background-color: var(--vscode-editor-linkedEditingBackground);
  3045. /* Ensure decoration is visible even if range is empty */
  3046. min-width: 1px;
  3047. }
  3048. /*---------------------------------------------------------------------------------------------
  3049. * Copyright (c) Microsoft Corporation. All rights reserved.
  3050. * Licensed under the MIT License. See License.txt in the project root for license information.
  3051. *--------------------------------------------------------------------------------------------*/
  3052. .monaco-editor .detected-link,
  3053. .monaco-editor .detected-link-active {
  3054. text-decoration: underline;
  3055. text-underline-position: under;
  3056. }
  3057. .monaco-editor .detected-link-active {
  3058. cursor: pointer;
  3059. color: var(--vscode-editorLink-activeForeground) !important;
  3060. }
  3061. /*---------------------------------------------------------------------------------------------
  3062. * Copyright (c) Microsoft Corporation. All rights reserved.
  3063. * Licensed under the MIT License. See License.txt in the project root for license information.
  3064. *--------------------------------------------------------------------------------------------*/
  3065. .monaco-editor .rendered-markdown kbd {
  3066. background-color: var(--vscode-keybindingLabel-background);
  3067. color: var(--vscode-keybindingLabel-foreground);
  3068. border-style: solid;
  3069. border-width: 1px;
  3070. border-radius: 3px;
  3071. border-color: var(--vscode-keybindingLabel-border);
  3072. border-bottom-color: var(--vscode-keybindingLabel-bottomBorder);
  3073. box-shadow: inset 0 -1px 0 var(--vscode-widget-shadow);
  3074. vertical-align: middle;
  3075. padding: 1px 3px;
  3076. }
  3077. /*---------------------------------------------------------------------------------------------
  3078. * Copyright (c) Microsoft Corporation. All rights reserved.
  3079. * Licensed under the MIT License. See License.txt in the project root for license information.
  3080. *--------------------------------------------------------------------------------------------*/
  3081. .monaco-editor .monaco-editor-overlaymessage {
  3082. padding-bottom: 8px;
  3083. z-index: 10000;
  3084. }
  3085. .monaco-editor .monaco-editor-overlaymessage.below {
  3086. padding-bottom: 0;
  3087. padding-top: 8px;
  3088. z-index: 10000;
  3089. }
  3090. @keyframes fadeIn {
  3091. from { opacity: 0; }
  3092. to { opacity: 1; }
  3093. }
  3094. .monaco-editor .monaco-editor-overlaymessage.fadeIn {
  3095. animation: fadeIn 150ms ease-out;
  3096. }
  3097. @keyframes fadeOut {
  3098. from { opacity: 1; }
  3099. to { opacity: 0; }
  3100. }
  3101. .monaco-editor .monaco-editor-overlaymessage.fadeOut {
  3102. animation: fadeOut 100ms ease-out;
  3103. }
  3104. .monaco-editor .monaco-editor-overlaymessage .message {
  3105. padding: 1px 4px;
  3106. color: var(--vscode-inputValidation-infoForeground);
  3107. background-color: var(--vscode-inputValidation-infoBackground);
  3108. border: 1px solid var(--vscode-inputValidation-infoBorder);
  3109. }
  3110. .monaco-editor.hc-black .monaco-editor-overlaymessage .message,
  3111. .monaco-editor.hc-light .monaco-editor-overlaymessage .message {
  3112. border-width: 2px;
  3113. }
  3114. .monaco-editor .monaco-editor-overlaymessage .anchor {
  3115. width: 0 !important;
  3116. height: 0 !important;
  3117. border-color: transparent;
  3118. border-style: solid;
  3119. z-index: 1000;
  3120. border-width: 8px;
  3121. position: absolute;
  3122. }
  3123. .monaco-editor .monaco-editor-overlaymessage .anchor.top {
  3124. border-bottom-color: var(--vscode-inputValidation-infoBorder);
  3125. }
  3126. .monaco-editor .monaco-editor-overlaymessage .anchor.below {
  3127. border-top-color: var(--vscode-inputValidation-infoBorder);
  3128. }
  3129. .monaco-editor .monaco-editor-overlaymessage:not(.below) .anchor.top,
  3130. .monaco-editor .monaco-editor-overlaymessage.below .anchor.below {
  3131. display: none;
  3132. }
  3133. .monaco-editor .monaco-editor-overlaymessage.below .anchor.top {
  3134. display: inherit;
  3135. top: -8px;
  3136. }
  3137. /*---------------------------------------------------------------------------------------------
  3138. * Copyright (c) Microsoft Corporation. All rights reserved.
  3139. * Licensed under the MIT License. See License.txt in the project root for license information.
  3140. *--------------------------------------------------------------------------------------------*/
  3141. .monaco-editor .parameter-hints-widget {
  3142. /* Must be higher than the sash's z-index and terminal canvases but lower than the suggest widget */
  3143. z-index: 39;
  3144. display: flex;
  3145. flex-direction: column;
  3146. line-height: 1.5em;
  3147. cursor: default;
  3148. color: var(--vscode-editorHoverWidget-foreground);
  3149. background-color: var(--vscode-editorHoverWidget-background);
  3150. border: 1px solid var(--vscode-editorHoverWidget-border);
  3151. }
  3152. .hc-black .monaco-editor .parameter-hints-widget,
  3153. .hc-light .monaco-editor .parameter-hints-widget {
  3154. border-width: 2px;
  3155. }
  3156. .monaco-editor .parameter-hints-widget > .phwrapper {
  3157. max-width: 440px;
  3158. display: flex;
  3159. flex-direction: row;
  3160. }
  3161. .monaco-editor .parameter-hints-widget.multiple {
  3162. min-height: 3.3em;
  3163. padding: 0;
  3164. }
  3165. .monaco-editor .parameter-hints-widget.multiple .body::before {
  3166. content: "";
  3167. display: block;
  3168. height: 100%;
  3169. position: absolute;
  3170. opacity: 0.5;
  3171. border-left: 1px solid var(--vscode-editorHoverWidget-border);
  3172. }
  3173. .monaco-editor .parameter-hints-widget p,
  3174. .monaco-editor .parameter-hints-widget ul {
  3175. margin: 8px 0;
  3176. }
  3177. .monaco-editor .parameter-hints-widget .monaco-scrollable-element,
  3178. .monaco-editor .parameter-hints-widget .body {
  3179. display: flex;
  3180. flex: 1;
  3181. flex-direction: column;
  3182. min-height: 100%;
  3183. }
  3184. .monaco-editor .parameter-hints-widget .signature {
  3185. padding: 4px 5px;
  3186. position: relative;
  3187. }
  3188. .monaco-editor .parameter-hints-widget .signature.has-docs::after {
  3189. content: "";
  3190. display: block;
  3191. position: absolute;
  3192. left: 0;
  3193. width: 100%;
  3194. padding-top: 4px;
  3195. opacity: 0.5;
  3196. border-bottom: 1px solid var(--vscode-editorHoverWidget-border);
  3197. }
  3198. .monaco-editor .parameter-hints-widget .docs {
  3199. padding: 0 10px 0 5px;
  3200. white-space: pre-wrap;
  3201. }
  3202. .monaco-editor .parameter-hints-widget .docs.empty {
  3203. display: none;
  3204. }
  3205. .monaco-editor .parameter-hints-widget .docs a {
  3206. color: var(--vscode-textLink-foreground);
  3207. }
  3208. .monaco-editor .parameter-hints-widget .docs a:hover {
  3209. color: var(--vscode-textLink-activeForeground);
  3210. cursor: pointer;
  3211. }
  3212. .monaco-editor .parameter-hints-widget .docs .markdown-docs {
  3213. white-space: initial;
  3214. }
  3215. .monaco-editor .parameter-hints-widget .docs code {
  3216. font-family: var(--monaco-monospace-font);
  3217. border-radius: 3px;
  3218. padding: 0 0.4em;
  3219. background-color: var(--vscode-textCodeBlock-background);
  3220. }
  3221. .monaco-editor .parameter-hints-widget .docs .monaco-tokenized-source,
  3222. .monaco-editor .parameter-hints-widget .docs .code {
  3223. white-space: pre-wrap;
  3224. }
  3225. .monaco-editor .parameter-hints-widget .controls {
  3226. display: none;
  3227. flex-direction: column;
  3228. align-items: center;
  3229. min-width: 22px;
  3230. justify-content: flex-end;
  3231. }
  3232. .monaco-editor .parameter-hints-widget.multiple .controls {
  3233. display: flex;
  3234. padding: 0 2px;
  3235. }
  3236. .monaco-editor .parameter-hints-widget.multiple .button {
  3237. width: 16px;
  3238. height: 16px;
  3239. background-repeat: no-repeat;
  3240. cursor: pointer;
  3241. }
  3242. .monaco-editor .parameter-hints-widget .button.previous {
  3243. bottom: 24px;
  3244. }
  3245. .monaco-editor .parameter-hints-widget .overloads {
  3246. text-align: center;
  3247. height: 12px;
  3248. line-height: 12px;
  3249. font-family: var(--monaco-monospace-font);
  3250. }
  3251. .monaco-editor .parameter-hints-widget .signature .parameter.active {
  3252. color: var(--vscode-editorHoverWidget-highlightForeground);
  3253. font-weight: bold;
  3254. }
  3255. .monaco-editor .parameter-hints-widget .documentation-parameter > .parameter {
  3256. font-weight: bold;
  3257. margin-right: 0.5em;
  3258. }
  3259. /*---------------------------------------------------------------------------------------------
  3260. * Copyright (c) Microsoft Corporation. All rights reserved.
  3261. * Licensed under the MIT License. See License.txt in the project root for license information.
  3262. *--------------------------------------------------------------------------------------------*/
  3263. .monaco-editor .peekview-widget .head {
  3264. box-sizing: border-box;
  3265. display: flex;
  3266. justify-content: space-between;
  3267. flex-wrap: nowrap;
  3268. }
  3269. .monaco-editor .peekview-widget .head .peekview-title {
  3270. display: flex;
  3271. align-items: baseline;
  3272. font-size: 13px;
  3273. margin-left: 20px;
  3274. min-width: 0;
  3275. text-overflow: ellipsis;
  3276. overflow: hidden;
  3277. }
  3278. .monaco-editor .peekview-widget .head .peekview-title.clickable {
  3279. cursor: pointer;
  3280. }
  3281. .monaco-editor .peekview-widget .head .peekview-title .dirname:not(:empty) {
  3282. font-size: 0.9em;
  3283. margin-left: 0.5em;
  3284. }
  3285. .monaco-editor .peekview-widget .head .peekview-title .meta {
  3286. white-space: nowrap;
  3287. overflow: hidden;
  3288. text-overflow: ellipsis;
  3289. }
  3290. .monaco-editor .peekview-widget .head .peekview-title .dirname {
  3291. overflow: hidden;
  3292. text-overflow: ellipsis;
  3293. white-space: nowrap;
  3294. }
  3295. .monaco-editor .peekview-widget .head .peekview-title .filename {
  3296. overflow: hidden;
  3297. text-overflow: ellipsis;
  3298. white-space: nowrap;
  3299. }
  3300. .monaco-editor .peekview-widget .head .peekview-title .meta:not(:empty)::before {
  3301. content: '-';
  3302. padding: 0 0.3em;
  3303. }
  3304. .monaco-editor .peekview-widget .head .peekview-actions {
  3305. flex: 1;
  3306. text-align: right;
  3307. padding-right: 2px;
  3308. }
  3309. .monaco-editor .peekview-widget .head .peekview-actions > .monaco-action-bar {
  3310. display: inline-block;
  3311. }
  3312. .monaco-editor .peekview-widget .head .peekview-actions > .monaco-action-bar,
  3313. .monaco-editor .peekview-widget .head .peekview-actions > .monaco-action-bar > .actions-container {
  3314. height: 100%;
  3315. }
  3316. .monaco-editor .peekview-widget > .body {
  3317. border-top: 1px solid;
  3318. position: relative;
  3319. }
  3320. .monaco-editor .peekview-widget .head .peekview-title .codicon {
  3321. margin-right: 4px;
  3322. align-self: center;
  3323. }
  3324. .monaco-editor .peekview-widget .monaco-list .monaco-list-row.focused .codicon {
  3325. color: inherit !important;
  3326. }
  3327. /*---------------------------------------------------------------------------------------------
  3328. * Copyright (c) Microsoft Corporation. All rights reserved.
  3329. * Licensed under the MIT License. See License.txt in the project root for license information.
  3330. *--------------------------------------------------------------------------------------------*/
  3331. .monaco-editor .rename-box {
  3332. z-index: 100;
  3333. color: inherit;
  3334. border-radius: 4px;
  3335. }
  3336. .monaco-editor .rename-box.preview {
  3337. padding: 4px 4px 0 4px;
  3338. }
  3339. .monaco-editor .rename-box .rename-input {
  3340. padding: 3px;
  3341. border-radius: 2px;
  3342. }
  3343. .monaco-editor .rename-box .rename-label {
  3344. display: none;
  3345. opacity: .8;
  3346. }
  3347. .monaco-editor .rename-box.preview .rename-label {
  3348. display: inherit;
  3349. }
  3350. /*---------------------------------------------------------------------------------------------
  3351. * Copyright (c) Microsoft Corporation. All rights reserved.
  3352. * Licensed under the MIT License. See License.txt in the project root for license information.
  3353. *--------------------------------------------------------------------------------------------*/
  3354. .monaco-editor .snippet-placeholder {
  3355. min-width: 2px;
  3356. outline-style: solid;
  3357. outline-width: 1px;
  3358. background-color: var(--vscode-editor-snippetTabstopHighlightBackground, transparent);
  3359. outline-color: var(--vscode-editor-snippetTabstopHighlightBorder, transparent);
  3360. }
  3361. .monaco-editor .finish-snippet-placeholder {
  3362. outline-style: solid;
  3363. outline-width: 1px;
  3364. background-color: var(--vscode-editor-snippetFinalTabstopHighlightBackground, transparent);
  3365. outline-color: var(--vscode-editor-snippetFinalTabstopHighlightBorder, transparent);
  3366. }
  3367. /*---------------------------------------------------------------------------------------------
  3368. * Copyright (c) Microsoft Corporation. All rights reserved.
  3369. * Licensed under the MIT License. See License.txt in the project root for license information.
  3370. *--------------------------------------------------------------------------------------------*/
  3371. .monaco-editor .sticky-line {
  3372. color: var(--vscode-editorLineNumber-foreground);
  3373. overflow: hidden;
  3374. white-space: nowrap;
  3375. display: inline-block;
  3376. }
  3377. .monaco-editor .sticky-line-number {
  3378. text-align: right;
  3379. float: left;
  3380. }
  3381. .monaco-editor .sticky-line-root {
  3382. background-color: inherit;
  3383. overflow: hidden;
  3384. white-space: nowrap;
  3385. width: 100%;
  3386. }
  3387. .monaco-editor.hc-black .sticky-widget,
  3388. .monaco-editor.hc-light .sticky-widget {
  3389. border-bottom: 1px solid var(--vscode-contrastBorder);
  3390. }
  3391. .monaco-editor .sticky-line-root:hover {
  3392. background-color: var(--vscode-editorStickyScrollHover-background);
  3393. cursor: pointer;
  3394. }
  3395. .monaco-editor .sticky-widget {
  3396. width: 100%;
  3397. box-shadow: var(--vscode-scrollbar-shadow) 0 3px 2px -2px;
  3398. z-index: 4;
  3399. background-color: var(--vscode-editorStickyScroll-background);
  3400. }
  3401. .monaco-editor .sticky-widget.peek {
  3402. background-color: var(--vscode-peekViewEditorStickyScroll-background);
  3403. }
  3404. /*---------------------------------------------------------------------------------------------
  3405. * Copyright (c) Microsoft Corporation. All rights reserved.
  3406. * Licensed under the MIT License. See License.txt in the project root for license information.
  3407. *--------------------------------------------------------------------------------------------*/
  3408. /* Suggest widget*/
  3409. .monaco-editor .suggest-widget {
  3410. width: 430px;
  3411. z-index: 40;
  3412. display: flex;
  3413. flex-direction: column;
  3414. }
  3415. .monaco-editor .suggest-widget.message {
  3416. flex-direction: row;
  3417. align-items: center;
  3418. }
  3419. .monaco-editor .suggest-widget,
  3420. .monaco-editor .suggest-details {
  3421. flex: 0 1 auto;
  3422. width: 100%;
  3423. border-style: solid;
  3424. border-width: 1px;
  3425. border-color: var(--vscode-editorSuggestWidget-border);
  3426. background-color: var(--vscode-editorSuggestWidget-background);
  3427. }
  3428. .monaco-editor.hc-black .suggest-widget,
  3429. .monaco-editor.hc-black .suggest-details,
  3430. .monaco-editor.hc-light .suggest-widget,
  3431. .monaco-editor.hc-light .suggest-details {
  3432. border-width: 2px;
  3433. }
  3434. /* Styles for status bar part */
  3435. .monaco-editor .suggest-widget .suggest-status-bar {
  3436. box-sizing: border-box;
  3437. display: none;
  3438. flex-flow: row nowrap;
  3439. justify-content: space-between;
  3440. width: 100%;
  3441. font-size: 80%;
  3442. padding: 0 4px 0 4px;
  3443. border-top: 1px solid var(--vscode-editorSuggestWidget-border);
  3444. overflow: hidden;
  3445. }
  3446. .monaco-editor .suggest-widget.with-status-bar .suggest-status-bar {
  3447. display: flex;
  3448. }
  3449. .monaco-editor .suggest-widget .suggest-status-bar .left {
  3450. padding-right: 8px;
  3451. }
  3452. .monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-label {
  3453. color: var(--vscode-editorSuggestWidgetStatus-foreground);
  3454. }
  3455. .monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-item:not(:last-of-type) .action-label {
  3456. margin-right: 0;
  3457. }
  3458. .monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-item:not(:last-of-type) .action-label::after {
  3459. content: ', ';
  3460. margin-right: 0.3em;
  3461. }
  3462. .monaco-editor .suggest-widget.with-status-bar .monaco-list .monaco-list-row>.contents>.main>.right>.readMore,
  3463. .monaco-editor .suggest-widget.with-status-bar .monaco-list .monaco-list-row.focused.string-label>.contents>.main>.right>.readMore {
  3464. display: none;
  3465. }
  3466. .monaco-editor .suggest-widget.with-status-bar:not(.docs-side) .monaco-list .monaco-list-row:hover>.contents>.main>.right.can-expand-details>.details-label {
  3467. width: 100%;
  3468. }
  3469. /* Styles for Message element for when widget is loading or is empty */
  3470. .monaco-editor .suggest-widget>.message {
  3471. padding-left: 22px;
  3472. }
  3473. /** Styles for the list element **/
  3474. .monaco-editor .suggest-widget>.tree {
  3475. height: 100%;
  3476. width: 100%;
  3477. }
  3478. .monaco-editor .suggest-widget .monaco-list {
  3479. user-select: none;
  3480. -webkit-user-select: none;
  3481. }
  3482. /** Styles for each row in the list element **/
  3483. .monaco-editor .suggest-widget .monaco-list .monaco-list-row {
  3484. display: flex;
  3485. -mox-box-sizing: border-box;
  3486. box-sizing: border-box;
  3487. padding-right: 10px;
  3488. background-repeat: no-repeat;
  3489. background-position: 2px 2px;
  3490. white-space: nowrap;
  3491. cursor: pointer;
  3492. touch-action: none;
  3493. }
  3494. .monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused {
  3495. color: var(--vscode-editorSuggestWidget-selectedForeground);
  3496. }
  3497. .monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused .codicon {
  3498. color: var(--vscode-editorSuggestWidget-selectedIconForeground);
  3499. }
  3500. .monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents {
  3501. flex: 1;
  3502. height: 100%;
  3503. overflow: hidden;
  3504. padding-left: 2px;
  3505. }
  3506. .monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main {
  3507. display: flex;
  3508. overflow: hidden;
  3509. text-overflow: ellipsis;
  3510. white-space: pre;
  3511. justify-content: space-between;
  3512. }
  3513. .monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left,
  3514. .monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right {
  3515. display: flex;
  3516. }
  3517. .monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.focused)>.contents>.main .monaco-icon-label {
  3518. color: var(--vscode-editorSuggestWidget-foreground);
  3519. }
  3520. .monaco-editor .suggest-widget:not(.frozen) .monaco-highlighted-label .highlight {
  3521. font-weight: bold;
  3522. }
  3523. .monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main .monaco-highlighted-label .highlight {
  3524. color: var(--vscode-editorSuggestWidget-highlightForeground);
  3525. }
  3526. .monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused>.contents>.main .monaco-highlighted-label .highlight {
  3527. color: var(--vscode-editorSuggestWidget-focusHighlightForeground);
  3528. }
  3529. /** ReadMore Icon styles **/
  3530. .monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close,
  3531. .monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore::before {
  3532. color: inherit;
  3533. opacity: 1;
  3534. font-size: 14px;
  3535. cursor: pointer;
  3536. }
  3537. .monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close {
  3538. position: absolute;
  3539. top: 6px;
  3540. right: 2px;
  3541. }
  3542. .monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close:hover,
  3543. .monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore:hover {
  3544. opacity: 1;
  3545. }
  3546. /** signature, qualifier, type/details opacity **/
  3547. .monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label {
  3548. opacity: 0.7;
  3549. }
  3550. .monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.signature-label {
  3551. overflow: hidden;
  3552. text-overflow: ellipsis;
  3553. opacity: 0.6;
  3554. }
  3555. .monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.qualifier-label {
  3556. margin-left: 12px;
  3557. opacity: 0.4;
  3558. font-size: 85%;
  3559. line-height: initial;
  3560. text-overflow: ellipsis;
  3561. overflow: hidden;
  3562. align-self: center;
  3563. }
  3564. /** Type Info and icon next to the label in the focused completion item **/
  3565. .monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label {
  3566. font-size: 85%;
  3567. margin-left: 1.1em;
  3568. overflow: hidden;
  3569. text-overflow: ellipsis;
  3570. white-space: nowrap;
  3571. }
  3572. .monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label>.monaco-tokenized-source {
  3573. display: inline;
  3574. }
  3575. /** Details: if using CompletionItem#details, show on focus **/
  3576. .monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label {
  3577. display: none;
  3578. }
  3579. .monaco-editor .suggest-widget:not(.shows-details) .monaco-list .monaco-list-row.focused>.contents>.main>.right>.details-label {
  3580. display: inline;
  3581. }
  3582. /** Details: if using CompletionItemLabel#details, always show **/
  3583. .monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.string-label)>.contents>.main>.right>.details-label,
  3584. .monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row.focused:not(.string-label)>.contents>.main>.right>.details-label {
  3585. display: inline;
  3586. }
  3587. /** Ellipsis on hover **/
  3588. .monaco-editor .suggest-widget:not(.docs-side) .monaco-list .monaco-list-row.focused:hover>.contents>.main>.right.can-expand-details>.details-label {
  3589. width: calc(100% - 26px);
  3590. }
  3591. .monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left {
  3592. flex-shrink: 1;
  3593. flex-grow: 1;
  3594. overflow: hidden;
  3595. }
  3596. .monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.monaco-icon-label {
  3597. flex-shrink: 0;
  3598. }
  3599. .monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.string-label)>.contents>.main>.left>.monaco-icon-label {
  3600. max-width: 100%;
  3601. }
  3602. .monaco-editor .suggest-widget .monaco-list .monaco-list-row.string-label>.contents>.main>.left>.monaco-icon-label {
  3603. flex-shrink: 1;
  3604. }
  3605. .monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right {
  3606. overflow: hidden;
  3607. flex-shrink: 4;
  3608. max-width: 70%;
  3609. }
  3610. .monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore {
  3611. display: inline-block;
  3612. position: absolute;
  3613. right: 10px;
  3614. width: 18px;
  3615. height: 18px;
  3616. visibility: hidden;
  3617. }
  3618. /** Do NOT display ReadMore when docs is side/below **/
  3619. .monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row>.contents>.main>.right>.readMore {
  3620. display: none !important;
  3621. }
  3622. /** Do NOT display ReadMore when using plain CompletionItemLabel (details/documentation might not be resolved) **/
  3623. .monaco-editor .suggest-widget .monaco-list .monaco-list-row.string-label>.contents>.main>.right>.readMore {
  3624. display: none;
  3625. }
  3626. /** Focused item can show ReadMore, but can't when docs is side/below **/
  3627. .monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused.string-label>.contents>.main>.right>.readMore {
  3628. display: inline-block;
  3629. }
  3630. .monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused:hover>.contents>.main>.right>.readMore {
  3631. visibility: visible;
  3632. }
  3633. /** Styles for each row in the list **/
  3634. .monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label.deprecated {
  3635. opacity: 0.66;
  3636. text-decoration: unset;
  3637. }
  3638. .monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label.deprecated>.monaco-icon-label-container>.monaco-icon-name-container {
  3639. text-decoration: line-through;
  3640. }
  3641. .monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label::before {
  3642. height: 100%;
  3643. }
  3644. .monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon {
  3645. display: block;
  3646. height: 16px;
  3647. width: 16px;
  3648. margin-left: 2px;
  3649. background-repeat: no-repeat;
  3650. background-size: 80%;
  3651. background-position: center;
  3652. }
  3653. .monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon.hide {
  3654. display: none;
  3655. }
  3656. .monaco-editor .suggest-widget .monaco-list .monaco-list-row .suggest-icon {
  3657. display: flex;
  3658. align-items: center;
  3659. margin-right: 4px;
  3660. }
  3661. .monaco-editor .suggest-widget.no-icons .monaco-list .monaco-list-row .icon,
  3662. .monaco-editor .suggest-widget.no-icons .monaco-list .monaco-list-row .suggest-icon::before {
  3663. display: none;
  3664. }
  3665. .monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon.customcolor .colorspan {
  3666. margin: 0 0 0 0.3em;
  3667. border: 0.1em solid #000;
  3668. width: 0.7em;
  3669. height: 0.7em;
  3670. display: inline-block;
  3671. }
  3672. /** Styles for the docs of the completion item in focus **/
  3673. .monaco-editor .suggest-details-container {
  3674. z-index: 41;
  3675. }
  3676. .monaco-editor .suggest-details {
  3677. display: flex;
  3678. flex-direction: column;
  3679. cursor: default;
  3680. color: var(--vscode-editorSuggestWidget-foreground);
  3681. }
  3682. .monaco-editor .suggest-details.focused {
  3683. border-color: var(--vscode-focusBorder);
  3684. }
  3685. .monaco-editor .suggest-details a {
  3686. color: var(--vscode-textLink-foreground);
  3687. }
  3688. .monaco-editor .suggest-details a:hover {
  3689. color: var(--vscode-textLink-activeForeground);
  3690. }
  3691. .monaco-editor .suggest-details code {
  3692. background-color: var(--vscode-textCodeBlock-background);
  3693. }
  3694. .monaco-editor .suggest-details.no-docs {
  3695. display: none;
  3696. }
  3697. .monaco-editor .suggest-details>.monaco-scrollable-element {
  3698. flex: 1;
  3699. }
  3700. .monaco-editor .suggest-details>.monaco-scrollable-element>.body {
  3701. box-sizing: border-box;
  3702. height: 100%;
  3703. width: 100%;
  3704. }
  3705. .monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.type {
  3706. flex: 2;
  3707. overflow: hidden;
  3708. text-overflow: ellipsis;
  3709. opacity: 0.7;
  3710. white-space: pre;
  3711. margin: 0 24px 0 0;
  3712. padding: 4px 0 12px 5px;
  3713. }
  3714. .monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.type.auto-wrap {
  3715. white-space: normal;
  3716. word-break: break-all;
  3717. }
  3718. .monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs {
  3719. margin: 0;
  3720. padding: 4px 5px;
  3721. white-space: pre-wrap;
  3722. }
  3723. .monaco-editor .suggest-details.no-type>.monaco-scrollable-element>.body>.docs {
  3724. margin-right: 24px;
  3725. overflow: hidden;
  3726. }
  3727. .monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs {
  3728. padding: 0;
  3729. white-space: initial;
  3730. min-height: calc(1rem + 8px);
  3731. }
  3732. .monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div,
  3733. .monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>span:not(:empty) {
  3734. padding: 4px 5px;
  3735. }
  3736. .monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div>p:first-child {
  3737. margin-top: 0;
  3738. }
  3739. .monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div>p:last-child {
  3740. margin-bottom: 0;
  3741. }
  3742. .monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs .monaco-tokenized-source {
  3743. white-space: pre;
  3744. }
  3745. .monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs .code {
  3746. white-space: pre-wrap;
  3747. word-wrap: break-word;
  3748. }
  3749. .monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs .codicon {
  3750. vertical-align: sub;
  3751. }
  3752. .monaco-editor .suggest-details>.monaco-scrollable-element>.body>p:empty {
  3753. display: none;
  3754. }
  3755. .monaco-editor .suggest-details code {
  3756. border-radius: 3px;
  3757. padding: 0 0.4em;
  3758. }
  3759. .monaco-editor .suggest-details ul {
  3760. padding-left: 20px;
  3761. }
  3762. .monaco-editor .suggest-details ol {
  3763. padding-left: 20px;
  3764. }
  3765. .monaco-editor .suggest-details p code {
  3766. font-family: var(--monaco-monospace-font);
  3767. }
  3768. /*---------------------------------------------------------------------------------------------
  3769. * Copyright (c) Microsoft Corporation. All rights reserved.
  3770. * Licensed under the MIT License. See License.txt in the project root for license information.
  3771. *--------------------------------------------------------------------------------------------*/
  3772. .monaco-editor .codicon.codicon-symbol-array,
  3773. .monaco-workbench .codicon.codicon-symbol-array { color: var(--vscode-symbolIcon-arrayForeground); }
  3774. .monaco-editor .codicon.codicon-symbol-boolean,
  3775. .monaco-workbench .codicon.codicon-symbol-boolean { color: var(--vscode-symbolIcon-booleanForeground); }
  3776. .monaco-editor .codicon.codicon-symbol-class,
  3777. .monaco-workbench .codicon.codicon-symbol-class { color: var(--vscode-symbolIcon-classForeground); }
  3778. .monaco-editor .codicon.codicon-symbol-method,
  3779. .monaco-workbench .codicon.codicon-symbol-method { color: var(--vscode-symbolIcon-methodForeground); }
  3780. .monaco-editor .codicon.codicon-symbol-color,
  3781. .monaco-workbench .codicon.codicon-symbol-color { color: var(--vscode-symbolIcon-colorForeground); }
  3782. .monaco-editor .codicon.codicon-symbol-constant,
  3783. .monaco-workbench .codicon.codicon-symbol-constant { color: var(--vscode-symbolIcon-constantForeground); }
  3784. .monaco-editor .codicon.codicon-symbol-constructor,
  3785. .monaco-workbench .codicon.codicon-symbol-constructor { color: var(--vscode-symbolIcon-constructorForeground); }
  3786. .monaco-editor .codicon.codicon-symbol-value,
  3787. .monaco-workbench .codicon.codicon-symbol-value,
  3788. .monaco-editor .codicon.codicon-symbol-enum,
  3789. .monaco-workbench .codicon.codicon-symbol-enum { color: var(--vscode-symbolIcon-enumeratorForeground); }
  3790. .monaco-editor .codicon.codicon-symbol-enum-member,
  3791. .monaco-workbench .codicon.codicon-symbol-enum-member { color: var(--vscode-symbolIcon-enumeratorMemberForeground); }
  3792. .monaco-editor .codicon.codicon-symbol-event,
  3793. .monaco-workbench .codicon.codicon-symbol-event { color: var(--vscode-symbolIcon-eventForeground); }
  3794. .monaco-editor .codicon.codicon-symbol-field,
  3795. .monaco-workbench .codicon.codicon-symbol-field { color: var(--vscode-symbolIcon-fieldForeground); }
  3796. .monaco-editor .codicon.codicon-symbol-file,
  3797. .monaco-workbench .codicon.codicon-symbol-file { color: var(--vscode-symbolIcon-fileForeground); }
  3798. .monaco-editor .codicon.codicon-symbol-folder,
  3799. .monaco-workbench .codicon.codicon-symbol-folder { color: var(--vscode-symbolIcon-folderForeground); }
  3800. .monaco-editor .codicon.codicon-symbol-function,
  3801. .monaco-workbench .codicon.codicon-symbol-function { color: var(--vscode-symbolIcon-functionForeground); }
  3802. .monaco-editor .codicon.codicon-symbol-interface,
  3803. .monaco-workbench .codicon.codicon-symbol-interface { color: var(--vscode-symbolIcon-interfaceForeground); }
  3804. .monaco-editor .codicon.codicon-symbol-key,
  3805. .monaco-workbench .codicon.codicon-symbol-key { color: var(--vscode-symbolIcon-keyForeground); }
  3806. .monaco-editor .codicon.codicon-symbol-keyword,
  3807. .monaco-workbench .codicon.codicon-symbol-keyword { color: var(--vscode-symbolIcon-keywordForeground); }
  3808. .monaco-editor .codicon.codicon-symbol-module,
  3809. .monaco-workbench .codicon.codicon-symbol-module { color: var(--vscode-symbolIcon-moduleForeground); }
  3810. .monaco-editor .codicon.codicon-symbol-namespace,
  3811. .monaco-workbench .codicon.codicon-symbol-namespace { color: var(--vscode-symbolIcon-namespaceForeground); }
  3812. .monaco-editor .codicon.codicon-symbol-null,
  3813. .monaco-workbench .codicon.codicon-symbol-null { color: var(--vscode-symbolIcon-nullForeground); }
  3814. .monaco-editor .codicon.codicon-symbol-number,
  3815. .monaco-workbench .codicon.codicon-symbol-number { color: var(--vscode-symbolIcon-numberForeground); }
  3816. .monaco-editor .codicon.codicon-symbol-object,
  3817. .monaco-workbench .codicon.codicon-symbol-object { color: var(--vscode-symbolIcon-objectForeground); }
  3818. .monaco-editor .codicon.codicon-symbol-operator,
  3819. .monaco-workbench .codicon.codicon-symbol-operator { color: var(--vscode-symbolIcon-operatorForeground); }
  3820. .monaco-editor .codicon.codicon-symbol-package,
  3821. .monaco-workbench .codicon.codicon-symbol-package { color: var(--vscode-symbolIcon-packageForeground); }
  3822. .monaco-editor .codicon.codicon-symbol-property,
  3823. .monaco-workbench .codicon.codicon-symbol-property { color: var(--vscode-symbolIcon-propertyForeground); }
  3824. .monaco-editor .codicon.codicon-symbol-reference,
  3825. .monaco-workbench .codicon.codicon-symbol-reference { color: var(--vscode-symbolIcon-referenceForeground); }
  3826. .monaco-editor .codicon.codicon-symbol-snippet,
  3827. .monaco-workbench .codicon.codicon-symbol-snippet { color: var(--vscode-symbolIcon-snippetForeground); }
  3828. .monaco-editor .codicon.codicon-symbol-string,
  3829. .monaco-workbench .codicon.codicon-symbol-string { color: var(--vscode-symbolIcon-stringForeground); }
  3830. .monaco-editor .codicon.codicon-symbol-struct,
  3831. .monaco-workbench .codicon.codicon-symbol-struct { color: var(--vscode-symbolIcon-structForeground); }
  3832. .monaco-editor .codicon.codicon-symbol-text,
  3833. .monaco-workbench .codicon.codicon-symbol-text { color: var(--vscode-symbolIcon-textForeground); }
  3834. .monaco-editor .codicon.codicon-symbol-type-parameter,
  3835. .monaco-workbench .codicon.codicon-symbol-type-parameter { color: var(--vscode-symbolIcon-typeParameterForeground); }
  3836. .monaco-editor .codicon.codicon-symbol-unit,
  3837. .monaco-workbench .codicon.codicon-symbol-unit { color: var(--vscode-symbolIcon-unitForeground); }
  3838. .monaco-editor .codicon.codicon-symbol-variable,
  3839. .monaco-workbench .codicon.codicon-symbol-variable { color: var(--vscode-symbolIcon-variableForeground); }
  3840. /*---------------------------------------------------------------------------------------------
  3841. * Copyright (c) Microsoft Corporation. All rights reserved.
  3842. * Licensed under the MIT License. See License.txt in the project root for license information.
  3843. *--------------------------------------------------------------------------------------------*/
  3844. .editor-banner {
  3845. box-sizing: border-box;
  3846. cursor: default;
  3847. width: 100%;
  3848. font-size: 12px;
  3849. display: flex;
  3850. overflow: visible;
  3851. height: 26px;
  3852. background: var(--vscode-banner-background);
  3853. }
  3854. .editor-banner .icon-container {
  3855. display: flex;
  3856. flex-shrink: 0;
  3857. align-items: center;
  3858. padding: 0 6px 0 10px;
  3859. }
  3860. .editor-banner .icon-container.custom-icon {
  3861. background-repeat: no-repeat;
  3862. background-position: center center;
  3863. background-size: 16px;
  3864. width: 16px;
  3865. padding: 0;
  3866. margin: 0 6px 0 10px;
  3867. }
  3868. .editor-banner .message-container {
  3869. display: flex;
  3870. align-items: center;
  3871. line-height: 26px;
  3872. text-overflow: ellipsis;
  3873. white-space: nowrap;
  3874. overflow: hidden;
  3875. }
  3876. .editor-banner .message-container p {
  3877. margin-block-start: 0;
  3878. margin-block-end: 0;
  3879. }
  3880. .editor-banner .message-actions-container {
  3881. flex-grow: 1;
  3882. flex-shrink: 0;
  3883. line-height: 26px;
  3884. margin: 0 4px;
  3885. }
  3886. .editor-banner .message-actions-container a.monaco-button {
  3887. width: inherit;
  3888. margin: 2px 8px;
  3889. padding: 0px 12px;
  3890. }
  3891. .editor-banner .message-actions-container a {
  3892. padding: 3px;
  3893. margin-left: 12px;
  3894. text-decoration: underline;
  3895. }
  3896. .editor-banner .action-container {
  3897. padding: 0 10px 0 6px;
  3898. }
  3899. .editor-banner {
  3900. background-color: var(--vscode-banner-background);
  3901. }
  3902. .editor-banner,
  3903. .editor-banner .action-container .codicon,
  3904. .editor-banner .message-actions-container .monaco-link {
  3905. color: var(--vscode-banner-foreground);
  3906. }
  3907. .editor-banner .icon-container .codicon {
  3908. color: var(--vscode-banner-iconForeground);
  3909. }
  3910. /*---------------------------------------------------------------------------------------------
  3911. * Copyright (c) Microsoft Corporation. All rights reserved.
  3912. * Licensed under the MIT License. See License.txt in the project root for license information.
  3913. *--------------------------------------------------------------------------------------------*/
  3914. .monaco-editor .unicode-highlight {
  3915. border: 1px solid var(--vscode-editorUnicodeHighlight-border);
  3916. background-color: var(--vscode-editorUnicodeHighlight-background);
  3917. box-sizing: border-box;
  3918. }
  3919. /*---------------------------------------------------------------------------------------------
  3920. * Copyright (c) Microsoft Corporation. All rights reserved.
  3921. * Licensed under the MIT License. See License.txt in the project root for license information.
  3922. *--------------------------------------------------------------------------------------------*/
  3923. .monaco-editor .focused .selectionHighlight {
  3924. background-color: var(--vscode-editor-selectionHighlightBackground);
  3925. box-sizing: border-box;
  3926. border: 1px solid var(--vscode-editor-selectionHighlightBorder);
  3927. }
  3928. .monaco-editor.hc-black .focused .selectionHighlight, .monaco-editor.hc-light .focused .selectionHighlight {
  3929. border-style: dotted;
  3930. }
  3931. .monaco-editor .wordHighlight {
  3932. background-color: var(--vscode-editor-wordHighlightBackground);
  3933. box-sizing: border-box;
  3934. border: 1px solid var(--vscode-editor-wordHighlightBorder);
  3935. }
  3936. .monaco-editor.hc-black .wordHighlight, .monaco-editor.hc-light .wordHighlight {
  3937. border-style: dotted;
  3938. }
  3939. .monaco-editor .wordHighlightStrong {
  3940. background-color: var(--vscode-editor-wordHighlightStrongBackground);
  3941. box-sizing: border-box;
  3942. border: 1px solid var(--vscode-editor-wordHighlightStrongBorder);
  3943. }
  3944. .monaco-editor.hc-black .wordHighlightStrong, .monaco-editor.hc-light .wordHighlightStrong {
  3945. border-style: dotted;
  3946. }
  3947. .monaco-editor .wordHighlightText {
  3948. background-color: var(--vscode-editor-wordHighlightTextBackground);
  3949. box-sizing: border-box;
  3950. border: 1px solid var(--vscode-editor-wordHighlightTextBorder);
  3951. }
  3952. .monaco-editor.hc-black .wordHighlightText, .monaco-editor.hc-light .wordHighlightText {
  3953. border-style: dotted;
  3954. }
  3955. /*---------------------------------------------------------------------------------------------
  3956. * Copyright (c) Microsoft Corporation. All rights reserved.
  3957. * Licensed under the MIT License. See License.txt in the project root for license information.
  3958. *--------------------------------------------------------------------------------------------*/
  3959. .monaco-editor .zone-widget {
  3960. position: absolute;
  3961. z-index: 10;
  3962. }
  3963. .monaco-editor .zone-widget .zone-widget-container {
  3964. border-top-style: solid;
  3965. border-bottom-style: solid;
  3966. border-top-width: 0;
  3967. border-bottom-width: 0;
  3968. position: relative;
  3969. }
  3970. /*---------------------------------------------------------------------------------------------
  3971. * Copyright (c) Microsoft Corporation. All rights reserved.
  3972. * Licensed under the MIT License. See License.txt in the project root for license information.
  3973. *--------------------------------------------------------------------------------------------*/
  3974. .monaco-editor .accessibilityHelpWidget {
  3975. padding: 10px;
  3976. vertical-align: middle;
  3977. overflow: scroll;
  3978. color: var(--vscode-editorWidget-foreground);
  3979. background-color: var(--vscode-editorWidget-background);
  3980. box-shadow: 0 2px 8px var(--vscode-widget-shadow);
  3981. border: 2px solid var(--vscode-contrastBorder);
  3982. }
  3983. /*---------------------------------------------------------------------------------------------
  3984. * Copyright (c) Microsoft Corporation. All rights reserved.
  3985. * Licensed under the MIT License. See License.txt in the project root for license information.
  3986. *--------------------------------------------------------------------------------------------*/
  3987. .monaco-editor .iPadShowKeyboard {
  3988. width: 58px;
  3989. min-width: 0;
  3990. height: 36px;
  3991. min-height: 0;
  3992. margin: 0;
  3993. padding: 0;
  3994. position: absolute;
  3995. resize: none;
  3996. overflow: hidden;
  3997. background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIHZpZXdCb3g9IjAgMCA1MyAzNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwKSI+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNNDguMDM2NCA0LjAxMDQySDQuMDA3NzlMNC4wMDc3OSAzMi4wMjg2SDQ4LjAzNjRWNC4wMTA0MlpNNC4wMDc3OSAwLjAwNzgxMjVDMS43OTcyMSAwLjAwNzgxMjUgMC4wMDUxODc5OSAxLjc5OTg0IDAuMDA1MTg3OTkgNC4wMTA0MlYzMi4wMjg2QzAuMDA1MTg3OTkgMzQuMjM5MiAxLjc5NzIxIDM2LjAzMTIgNC4wMDc3OSAzNi4wMzEySDQ4LjAzNjRDNTAuMjQ3IDM2LjAzMTIgNTIuMDM5IDM0LjIzOTIgNTIuMDM5IDMyLjAyODZWNC4wMTA0MkM1Mi4wMzkgMS43OTk4NCA1MC4yNDcgMC4wMDc4MTI1IDQ4LjAzNjQgMC4wMDc4MTI1SDQuMDA3NzlaTTguMDEwNDIgOC4wMTMwMkgxMi4wMTNWMTIuMDE1Nkg4LjAxMDQyVjguMDEzMDJaTTIwLjAxODIgOC4wMTMwMkgxNi4wMTU2VjEyLjAxNTZIMjAuMDE4MlY4LjAxMzAyWk0yNC4wMjA4IDguMDEzMDJIMjguMDIzNFYxMi4wMTU2SDI0LjAyMDhWOC4wMTMwMlpNMzYuMDI4NiA4LjAxMzAySDMyLjAyNlYxMi4wMTU2SDM2LjAyODZWOC4wMTMwMlpNNDAuMDMxMiA4LjAxMzAySDQ0LjAzMzlWMTIuMDE1Nkg0MC4wMzEyVjguMDEzMDJaTTE2LjAxNTYgMTYuMDE4Mkg4LjAxMDQyVjIwLjAyMDhIMTYuMDE1NlYxNi4wMTgyWk0yMC4wMTgyIDE2LjAxODJIMjQuMDIwOFYyMC4wMjA4SDIwLjAxODJWMTYuMDE4MlpNMzIuMDI2IDE2LjAxODJIMjguMDIzNFYyMC4wMjA4SDMyLjAyNlYxNi4wMTgyWk00NC4wMzM5IDE2LjAxODJWMjAuMDIwOEgzNi4wMjg2VjE2LjAxODJINDQuMDMzOVpNMTIuMDEzIDI0LjAyMzRIOC4wMTA0MlYyOC4wMjZIMTIuMDEzVjI0LjAyMzRaTTE2LjAxNTYgMjQuMDIzNEgzNi4wMjg2VjI4LjAyNkgxNi4wMTU2VjI0LjAyMzRaTTQ0LjAzMzkgMjQuMDIzNEg0MC4wMzEyVjI4LjAyNkg0NC4wMzM5VjI0LjAyMzRaIiBmaWxsPSIjNDI0MjQyIi8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDAiPgo8cmVjdCB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIGZpbGw9IndoaXRlIi8+CjwvY2xpcFBhdGg+CjwvZGVmcz4KPC9zdmc+Cg==) center center no-repeat;
  3998. border: 4px solid #F6F6F6;
  3999. border-radius: 4px;
  4000. }
  4001. .monaco-editor.vs-dark .iPadShowKeyboard {
  4002. background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIHZpZXdCb3g9IjAgMCA1MyAzNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwKSI+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNNDguMDM2NCA0LjAxMDQySDQuMDA3NzlMNC4wMDc3OSAzMi4wMjg2SDQ4LjAzNjRWNC4wMTA0MlpNNC4wMDc3OSAwLjAwNzgxMjVDMS43OTcyMSAwLjAwNzgxMjUgMC4wMDUxODc5OSAxLjc5OTg0IDAuMDA1MTg3OTkgNC4wMTA0MlYzMi4wMjg2QzAuMDA1MTg3OTkgMzQuMjM5MiAxLjc5NzIxIDM2LjAzMTIgNC4wMDc3OSAzNi4wMzEySDQ4LjAzNjRDNTAuMjQ3IDM2LjAzMTIgNTIuMDM5IDM0LjIzOTIgNTIuMDM5IDMyLjAyODZWNC4wMTA0MkM1Mi4wMzkgMS43OTk4NCA1MC4yNDcgMC4wMDc4MTI1IDQ4LjAzNjQgMC4wMDc4MTI1SDQuMDA3NzlaTTguMDEwNDIgOC4wMTMwMkgxMi4wMTNWMTIuMDE1Nkg4LjAxMDQyVjguMDEzMDJaTTIwLjAxODIgOC4wMTMwMkgxNi4wMTU2VjEyLjAxNTZIMjAuMDE4MlY4LjAxMzAyWk0yNC4wMjA4IDguMDEzMDJIMjguMDIzNFYxMi4wMTU2SDI0LjAyMDhWOC4wMTMwMlpNMzYuMDI4NiA4LjAxMzAySDMyLjAyNlYxMi4wMTU2SDM2LjAyODZWOC4wMTMwMlpNNDAuMDMxMiA4LjAxMzAySDQ0LjAzMzlWMTIuMDE1Nkg0MC4wMzEyVjguMDEzMDJaTTE2LjAxNTYgMTYuMDE4Mkg4LjAxMDQyVjIwLjAyMDhIMTYuMDE1NlYxNi4wMTgyWk0yMC4wMTgyIDE2LjAxODJIMjQuMDIwOFYyMC4wMjA4SDIwLjAxODJWMTYuMDE4MlpNMzIuMDI2IDE2LjAxODJIMjguMDIzNFYyMC4wMjA4SDMyLjAyNlYxNi4wMTgyWk00NC4wMzM5IDE2LjAxODJWMjAuMDIwOEgzNi4wMjg2VjE2LjAxODJINDQuMDMzOVpNMTIuMDEzIDI0LjAyMzRIOC4wMTA0MlYyOC4wMjZIMTIuMDEzVjI0LjAyMzRaTTE2LjAxNTYgMjQuMDIzNEgzNi4wMjg2VjI4LjAyNkgxNi4wMTU2VjI0LjAyMzRaTTQ0LjAzMzkgMjQuMDIzNEg0MC4wMzEyVjI4LjAyNkg0NC4wMzM5VjI0LjAyMzRaIiBmaWxsPSIjQzVDNUM1Ii8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDAiPgo8cmVjdCB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIGZpbGw9IndoaXRlIi8+CjwvY2xpcFBhdGg+CjwvZGVmcz4KPC9zdmc+Cg==) center center no-repeat;
  4003. border: 4px solid #252526;
  4004. }
  4005. /*---------------------------------------------------------------------------------------------
  4006. * Copyright (c) Microsoft Corporation. All rights reserved.
  4007. * Licensed under the MIT License. See License.txt in the project root for license information.
  4008. *--------------------------------------------------------------------------------------------*/
  4009. .monaco-editor .tokens-inspect-widget {
  4010. z-index: 50;
  4011. user-select: text;
  4012. -webkit-user-select: text;
  4013. padding: 10px;
  4014. color: var(--vscode-editorHoverWidget-foreground);
  4015. background-color: var(--vscode-editorHoverWidget-background);
  4016. border: 1px solid var(--vscode-editorHoverWidget-border);
  4017. }
  4018. .monaco-editor.hc-black .tokens-inspect-widget, .monaco-editor.hc-light .tokens-inspect-widget {
  4019. border-width: 2px;
  4020. }
  4021. .monaco-editor .tokens-inspect-widget .tokens-inspect-separator {
  4022. height: 1px;
  4023. border: 0;
  4024. background-color: var(--vscode-editorHoverWidget-border);
  4025. }
  4026. .monaco-editor .tokens-inspect-widget .tm-token {
  4027. font-family: var(--monaco-monospace-font);
  4028. }
  4029. .monaco-editor .tokens-inspect-widget .tm-token-length {
  4030. font-weight: normal;
  4031. font-size: 60%;
  4032. float: right;
  4033. }
  4034. .monaco-editor .tokens-inspect-widget .tm-metadata-table {
  4035. width: 100%;
  4036. }
  4037. .monaco-editor .tokens-inspect-widget .tm-metadata-value {
  4038. font-family: var(--monaco-monospace-font);
  4039. text-align: right;
  4040. }
  4041. .monaco-editor .tokens-inspect-widget .tm-token-type {
  4042. font-family: var(--monaco-monospace-font);
  4043. }
  4044. /*---------------------------------------------------------------------------------------------
  4045. * Copyright (c) Microsoft Corporation. All rights reserved.
  4046. * Licensed under the MIT License. See License.txt in the project root for license information.
  4047. *--------------------------------------------------------------------------------------------*/
  4048. .quick-input-widget {
  4049. font-size: 13px;
  4050. }
  4051. .quick-input-widget .monaco-highlighted-label .highlight,
  4052. .quick-input-widget .monaco-highlighted-label .highlight {
  4053. color: #0066BF;
  4054. }
  4055. .vs .quick-input-widget .monaco-list-row.focused .monaco-highlighted-label .highlight,
  4056. .vs .quick-input-widget .monaco-list-row.focused .monaco-highlighted-label .highlight {
  4057. color: #9DDDFF;
  4058. }
  4059. .vs-dark .quick-input-widget .monaco-highlighted-label .highlight,
  4060. .vs-dark .quick-input-widget .monaco-highlighted-label .highlight {
  4061. color: #0097fb;
  4062. }
  4063. .hc-black .quick-input-widget .monaco-highlighted-label .highlight,
  4064. .hc-black .quick-input-widget .monaco-highlighted-label .highlight {
  4065. color: #F38518;
  4066. }
  4067. .hc-light .quick-input-widget .monaco-highlighted-label .highlight,
  4068. .hc-light .quick-input-widget .monaco-highlighted-label .highlight {
  4069. color: #0F4A85;
  4070. }
  4071. .monaco-keybinding > .monaco-keybinding-key {
  4072. background-color: rgba(221, 221, 221, 0.4);
  4073. border: solid 1px rgba(204, 204, 204, 0.4);
  4074. border-bottom-color: rgba(187, 187, 187, 0.4);
  4075. box-shadow: inset 0 -1px 0 rgba(187, 187, 187, 0.4);
  4076. color: #555;
  4077. }
  4078. .hc-black .monaco-keybinding > .monaco-keybinding-key {
  4079. background-color: transparent;
  4080. border: solid 1px rgb(111, 195, 223);
  4081. box-shadow: none;
  4082. color: #fff;
  4083. }
  4084. .hc-light .monaco-keybinding > .monaco-keybinding-key {
  4085. background-color: transparent;
  4086. border: solid 1px #0F4A85;
  4087. box-shadow: none;
  4088. color: #292929;
  4089. }
  4090. .vs-dark .monaco-keybinding > .monaco-keybinding-key {
  4091. background-color: rgba(128, 128, 128, 0.17);
  4092. border: solid 1px rgba(51, 51, 51, 0.6);
  4093. border-bottom-color: rgba(68, 68, 68, 0.6);
  4094. box-shadow: inset 0 -1px 0 rgba(68, 68, 68, 0.6);
  4095. color: #ccc;
  4096. }
  4097. /*---------------------------------------------------------------------------------------------
  4098. * Copyright (c) Microsoft Corporation. All rights reserved.
  4099. * Licensed under the MIT License. See License.txt in the project root for license information.
  4100. *--------------------------------------------------------------------------------------------*/
  4101. /* Default standalone editor fonts */
  4102. .monaco-editor {
  4103. font-family: -apple-system, BlinkMacSystemFont, "Segoe WPC", "Segoe UI", "HelveticaNeue-Light", system-ui, "Ubuntu", "Droid Sans", sans-serif;
  4104. --monaco-monospace-font: "SF Mono", Monaco, Menlo, Consolas, "Ubuntu Mono", "Liberation Mono", "DejaVu Sans Mono", "Courier New", monospace;
  4105. }
  4106. .monaco-menu .monaco-action-bar.vertical .action-item .action-menu-item:focus .action-label {
  4107. stroke-width: 1.2px;
  4108. }
  4109. .monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,
  4110. .monaco-editor.hc-black .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,
  4111. .monaco-editor.hc-light .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label {
  4112. stroke-width: 1.2px;
  4113. }
  4114. .monaco-hover p {
  4115. margin: 0;
  4116. }
  4117. /* See https://github.com/microsoft/monaco-editor/issues/2168#issuecomment-780078600 */
  4118. .monaco-aria-container {
  4119. position: absolute !important;
  4120. top: 0; /* avoid being placed underneath a sibling element */
  4121. height: 1px;
  4122. width: 1px;
  4123. margin: -1px;
  4124. overflow: hidden;
  4125. padding: 0;
  4126. clip: rect(1px, 1px, 1px, 1px);
  4127. clip-path: inset(50%);
  4128. }
  4129. /*.monaco-editor.vs [tabindex="0"]:focus {
  4130. outline: 1px solid rgba(0, 122, 204, 0.4);
  4131. outline-offset: -1px;
  4132. opacity: 1 !important;
  4133. }
  4134. .monaco-editor.vs-dark [tabindex="0"]:focus {
  4135. outline: 1px solid rgba(14, 99, 156, 0.6);
  4136. outline-offset: -1px;
  4137. opacity: 1 !important;
  4138. }*/
  4139. /*---------------------------------------------------------------------------------------------
  4140. * Copyright (c) Microsoft Corporation. All rights reserved.
  4141. * Licensed under the MIT License. See License.txt in the project root for license information.
  4142. *--------------------------------------------------------------------------------------------*/
  4143. .action-widget {
  4144. font-size: 13px;
  4145. border-radius: 0;
  4146. min-width: 160px;
  4147. max-width: 500px;
  4148. z-index: 40;
  4149. display: block;
  4150. width: 100%;
  4151. border: 1px solid var(--vscode-editorWidget-border) !important;
  4152. background-color: var(--vscode-editorWidget-background);
  4153. color: var(--vscode-editorWidget-foreground);
  4154. }
  4155. .context-view-block {
  4156. position: fixed;
  4157. cursor: initial;
  4158. left: 0;
  4159. top: 0;
  4160. width: 100%;
  4161. height: 100%;
  4162. z-index: -1;
  4163. }
  4164. .context-view-pointerBlock {
  4165. position: fixed;
  4166. cursor: initial;
  4167. left: 0;
  4168. top: 0;
  4169. width: 100%;
  4170. height: 100%;
  4171. z-index: 2;
  4172. }
  4173. .action-widget .monaco-list {
  4174. user-select: none;
  4175. -webkit-user-select: none;
  4176. border: none !important;
  4177. border-width: 0 !important;
  4178. }
  4179. .action-widget .monaco-list:focus:before {
  4180. outline: 0 !important;
  4181. }
  4182. .action-widget .monaco-list .monaco-scrollable-element {
  4183. overflow: visible;
  4184. }
  4185. /** Styles for each row in the list element **/
  4186. .action-widget .monaco-list .monaco-list-row {
  4187. padding: 0 10px;
  4188. white-space: nowrap;
  4189. cursor: pointer;
  4190. touch-action: none;
  4191. width: 100%;
  4192. }
  4193. .action-widget .monaco-list .monaco-list-row.action.focused:not(.option-disabled) {
  4194. background-color: var(--vscode-quickInputList-focusBackground) !important;
  4195. color: var(--vscode-quickInputList-focusForeground);
  4196. outline: 1px solid var(--vscode-menu-selectionBorder, transparent);
  4197. outline-offset: -1px;
  4198. }
  4199. .action-widget .monaco-list-row.group-header {
  4200. color: var(--vscode-pickerGroup-foreground) !important;
  4201. font-weight: 600;
  4202. }
  4203. .action-widget .monaco-list .group-header,
  4204. .action-widget .monaco-list .option-disabled,
  4205. .action-widget .monaco-list .option-disabled:before,
  4206. .action-widget .monaco-list .option-disabled .focused,
  4207. .action-widget .monaco-list .option-disabled .focused:before {
  4208. cursor: default !important;
  4209. -webkit-touch-callout: none;
  4210. -webkit-user-select: none;
  4211. user-select: none;
  4212. background-color: transparent !important;
  4213. outline: 0 solid !important;
  4214. }
  4215. .action-widget .monaco-list-row.action {
  4216. display: flex;
  4217. gap: 6px;
  4218. align-items: center;
  4219. }
  4220. .action-widget .monaco-list-row.action.option-disabled {
  4221. color: var(--vscode-disabledForeground);
  4222. }
  4223. .action-widget .monaco-list-row.action.option-disabled .codicon {
  4224. opacity: 0.4;
  4225. }
  4226. .action-widget .monaco-list-row.action:not(.option-disabled) .codicon {
  4227. color: inherit;
  4228. }
  4229. .action-widget .monaco-list-row.action .title {
  4230. flex: 1;
  4231. overflow: hidden;
  4232. text-overflow: ellipsis;
  4233. }
  4234. /* Action bar */
  4235. .action-widget .action-widget-action-bar {
  4236. background-color: var(--vscode-editorHoverWidget-statusBarBackground);
  4237. border-top: 1px solid var(--vscode-editorHoverWidget-border);
  4238. }
  4239. .action-widget .action-widget-action-bar::before {
  4240. display: block;
  4241. content: "";
  4242. width: 100%;
  4243. }
  4244. .action-widget .action-widget-action-bar .actions-container {
  4245. padding: 0 8px;
  4246. }
  4247. .action-widget-action-bar .action-label {
  4248. color: var(--vscode-textLink-activeForeground);
  4249. font-size: 12px;
  4250. line-height: 22px;
  4251. padding: 0;
  4252. pointer-events: all;
  4253. }
  4254. .action-widget-action-bar .action-item {
  4255. margin-right: 16px;
  4256. pointer-events: none;
  4257. }
  4258. .action-widget-action-bar .action-label:hover {
  4259. background-color: transparent !important;
  4260. }
  4261. /*---------------------------------------------------------------------------------------------
  4262. * Copyright (c) Microsoft Corporation. All rights reserved.
  4263. * Licensed under the MIT License. See License.txt in the project root for license information.
  4264. *--------------------------------------------------------------------------------------------*/
  4265. .monaco-action-bar .action-item.menu-entry .action-label.icon {
  4266. width: 16px;
  4267. height: 16px;
  4268. background-repeat: no-repeat;
  4269. background-position: 50%;
  4270. background-size: 16px;
  4271. }
  4272. .monaco-dropdown-with-default {
  4273. display: flex !important;
  4274. flex-direction: row;
  4275. border-radius: 5px;
  4276. }
  4277. .monaco-dropdown-with-default > .action-container > .action-label {
  4278. margin-right: 0;
  4279. }
  4280. .monaco-dropdown-with-default > .action-container.menu-entry > .action-label.icon {
  4281. width: 16px;
  4282. height: 16px;
  4283. background-repeat: no-repeat;
  4284. background-position: 50%;
  4285. background-size: 16px;
  4286. }
  4287. .monaco-dropdown-with-default > .dropdown-action-container > .monaco-dropdown > .dropdown-label .codicon[class*='codicon-'] {
  4288. font-size: 12px;
  4289. padding-left: 0px;
  4290. padding-right: 0px;
  4291. line-height: 16px;
  4292. margin-left: -3px;
  4293. }
  4294. .monaco-dropdown-with-default > .dropdown-action-container > .monaco-dropdown > .dropdown-label > .action-label {
  4295. display: block;
  4296. background-size: 16px;
  4297. background-position: center center;
  4298. background-repeat: no-repeat;
  4299. }
  4300. /*---------------------------------------------------------------------------------------------
  4301. * Copyright (c) Microsoft Corporation. All rights reserved.
  4302. * Licensed under the MIT License. See License.txt in the project root for license information.
  4303. *--------------------------------------------------------------------------------------------*/
  4304. .monaco-link {
  4305. color: var(--vscode-textLink-foreground);
  4306. }
  4307. .monaco-link:hover {
  4308. color: var(--vscode-textLink-activeForeground);
  4309. }
  4310. /*---------------------------------------------------------------------------------------------
  4311. * Copyright (c) Microsoft Corporation. All rights reserved.
  4312. * Licensed under the MIT License. See License.txt in the project root for license information.
  4313. *--------------------------------------------------------------------------------------------*/
  4314. .quick-input-widget {
  4315. position: absolute;
  4316. width: 600px;
  4317. z-index: 2550;
  4318. left: 50%;
  4319. margin-left: -300px;
  4320. -webkit-app-region: no-drag;
  4321. border-radius: 6px;
  4322. }
  4323. .quick-input-titlebar {
  4324. display: flex;
  4325. align-items: center;
  4326. border-top-left-radius: 5px; /* match border radius of quick input widget */
  4327. border-top-right-radius: 5px;
  4328. }
  4329. .quick-input-left-action-bar {
  4330. display: flex;
  4331. margin-left: 4px;
  4332. flex: 1;
  4333. }
  4334. .quick-input-title {
  4335. padding: 3px 0px;
  4336. text-align: center;
  4337. text-overflow: ellipsis;
  4338. overflow: hidden;
  4339. }
  4340. .quick-input-right-action-bar {
  4341. display: flex;
  4342. margin-right: 4px;
  4343. flex: 1;
  4344. }
  4345. .quick-input-right-action-bar > .actions-container {
  4346. justify-content: flex-end;
  4347. }
  4348. .quick-input-titlebar .monaco-action-bar .action-label.codicon {
  4349. background-position: center;
  4350. background-repeat: no-repeat;
  4351. padding: 2px;
  4352. }
  4353. .quick-input-description {
  4354. margin: 6px;
  4355. }
  4356. .quick-input-header .quick-input-description {
  4357. margin: 4px 2px;
  4358. }
  4359. .quick-input-header {
  4360. display: flex;
  4361. padding: 8px 6px 6px 6px;
  4362. }
  4363. .quick-input-widget.hidden-input .quick-input-header {
  4364. /* reduce margins and paddings when input box hidden */
  4365. padding: 0;
  4366. margin-bottom: 0;
  4367. }
  4368. .quick-input-and-message {
  4369. display: flex;
  4370. flex-direction: column;
  4371. flex-grow: 1;
  4372. min-width: 0;
  4373. position: relative;
  4374. }
  4375. .quick-input-check-all {
  4376. align-self: center;
  4377. margin: 0;
  4378. }
  4379. .quick-input-filter {
  4380. flex-grow: 1;
  4381. display: flex;
  4382. position: relative;
  4383. }
  4384. .quick-input-box {
  4385. flex-grow: 1;
  4386. }
  4387. .quick-input-widget.show-checkboxes .quick-input-box,
  4388. .quick-input-widget.show-checkboxes .quick-input-message {
  4389. margin-left: 5px;
  4390. }
  4391. .quick-input-visible-count {
  4392. position: absolute;
  4393. left: -10000px;
  4394. }
  4395. .quick-input-count {
  4396. align-self: center;
  4397. position: absolute;
  4398. right: 4px;
  4399. display: flex;
  4400. align-items: center;
  4401. }
  4402. .quick-input-count .monaco-count-badge {
  4403. vertical-align: middle;
  4404. padding: 2px 4px;
  4405. border-radius: 2px;
  4406. min-height: auto;
  4407. line-height: normal;
  4408. }
  4409. .quick-input-action {
  4410. margin-left: 6px;
  4411. }
  4412. .quick-input-action .monaco-text-button {
  4413. font-size: 11px;
  4414. padding: 0 6px;
  4415. display: flex;
  4416. height: 25px;
  4417. align-items: center;
  4418. }
  4419. .quick-input-message {
  4420. margin-top: -1px;
  4421. padding: 5px;
  4422. overflow-wrap: break-word;
  4423. }
  4424. .quick-input-message > .codicon {
  4425. margin: 0 0.2em;
  4426. vertical-align: text-bottom;
  4427. }
  4428. /* Links in descriptions & validations */
  4429. .quick-input-message a {
  4430. color: inherit;
  4431. }
  4432. .quick-input-progress.monaco-progress-container {
  4433. position: relative;
  4434. }
  4435. .quick-input-progress.monaco-progress-container,
  4436. .quick-input-progress.monaco-progress-container .progress-bit {
  4437. height: 2px;
  4438. }
  4439. .quick-input-list {
  4440. line-height: 22px;
  4441. }
  4442. .quick-input-widget.hidden-input .quick-input-list {
  4443. margin-top: 4px; /* reduce margins when input box hidden */
  4444. padding-bottom: 4px;
  4445. }
  4446. .quick-input-list .monaco-list {
  4447. overflow: hidden;
  4448. max-height: calc(20 * 22px);
  4449. padding-bottom: 5px;
  4450. }
  4451. .quick-input-list .monaco-scrollable-element {
  4452. padding: 0px 5px;
  4453. }
  4454. .quick-input-list .quick-input-list-entry {
  4455. box-sizing: border-box;
  4456. overflow: hidden;
  4457. display: flex;
  4458. height: 100%;
  4459. padding: 0 6px;
  4460. }
  4461. .quick-input-list .quick-input-list-entry.quick-input-list-separator-border {
  4462. border-top-width: 1px;
  4463. border-top-style: solid;
  4464. }
  4465. .quick-input-list .monaco-list-row {
  4466. border-radius: 3px;
  4467. }
  4468. .quick-input-list .monaco-list-row[data-index="0"] .quick-input-list-entry.quick-input-list-separator-border {
  4469. border-top-style: none;
  4470. }
  4471. .quick-input-list .quick-input-list-label {
  4472. overflow: hidden;
  4473. display: flex;
  4474. height: 100%;
  4475. flex: 1;
  4476. }
  4477. .quick-input-list .quick-input-list-checkbox {
  4478. align-self: center;
  4479. margin: 0;
  4480. }
  4481. .quick-input-list .quick-input-list-rows {
  4482. overflow: hidden;
  4483. text-overflow: ellipsis;
  4484. display: flex;
  4485. flex-direction: column;
  4486. height: 100%;
  4487. flex: 1;
  4488. margin-left: 5px;
  4489. }
  4490. .quick-input-widget.show-checkboxes .quick-input-list .quick-input-list-rows {
  4491. margin-left: 10px;
  4492. }
  4493. .quick-input-widget .quick-input-list .quick-input-list-checkbox {
  4494. display: none;
  4495. }
  4496. .quick-input-widget.show-checkboxes .quick-input-list .quick-input-list-checkbox {
  4497. display: inline;
  4498. }
  4499. .quick-input-list .quick-input-list-rows > .quick-input-list-row {
  4500. display: flex;
  4501. align-items: center;
  4502. }
  4503. .quick-input-list .quick-input-list-rows > .quick-input-list-row .monaco-icon-label,
  4504. .quick-input-list .quick-input-list-rows > .quick-input-list-row .monaco-icon-label .monaco-icon-label-container > .monaco-icon-name-container {
  4505. flex: 1; /* make sure the icon label grows within the row */
  4506. }
  4507. .quick-input-list .quick-input-list-rows > .quick-input-list-row .codicon[class*='codicon-'] {
  4508. vertical-align: text-bottom;
  4509. }
  4510. .quick-input-list .quick-input-list-rows .monaco-highlighted-label > span {
  4511. opacity: 1;
  4512. }
  4513. .quick-input-list .quick-input-list-entry .quick-input-list-entry-keybinding {
  4514. margin-right: 8px; /* separate from the separator label or scrollbar if any */
  4515. }
  4516. .quick-input-list .quick-input-list-label-meta {
  4517. opacity: 0.7;
  4518. line-height: normal;
  4519. text-overflow: ellipsis;
  4520. overflow: hidden;
  4521. }
  4522. .quick-input-list .monaco-highlighted-label .highlight {
  4523. font-weight: bold;
  4524. }
  4525. .quick-input-list .quick-input-list-entry .quick-input-list-separator {
  4526. margin-right: 4px; /* separate from keybindings or actions */
  4527. }
  4528. .quick-input-list .quick-input-list-entry-action-bar {
  4529. display: flex;
  4530. flex: 0;
  4531. overflow: visible;
  4532. }
  4533. .quick-input-list .quick-input-list-entry-action-bar .action-label {
  4534. /*
  4535. * By default, actions in the quick input action bar are hidden
  4536. * until hovered over them or selected.
  4537. */
  4538. display: none;
  4539. }
  4540. .quick-input-list .quick-input-list-entry-action-bar .action-label.codicon {
  4541. margin-right: 4px;
  4542. padding: 0px 2px 2px 2px;
  4543. }
  4544. .quick-input-list .quick-input-list-entry-action-bar {
  4545. margin-top: 1px;
  4546. }
  4547. .quick-input-list .quick-input-list-entry-action-bar {
  4548. margin-right: 4px; /* separate from scrollbar */
  4549. }
  4550. .quick-input-list .quick-input-list-entry .quick-input-list-entry-action-bar .action-label.always-visible,
  4551. .quick-input-list .quick-input-list-entry:hover .quick-input-list-entry-action-bar .action-label,
  4552. .quick-input-list .monaco-list-row.focused .quick-input-list-entry-action-bar .action-label {
  4553. display: flex;
  4554. }
  4555. /* focused items in quick pick */
  4556. .quick-input-list .monaco-list-row.focused .monaco-keybinding-key,
  4557. .quick-input-list .monaco-list-row.focused .quick-input-list-entry .quick-input-list-separator {
  4558. color: inherit
  4559. }
  4560. .quick-input-list .monaco-list-row.focused .monaco-keybinding-key {
  4561. background: none;
  4562. }
  4563. /*---------------------------------------------------------------------------------------------
  4564. * Copyright (c) Microsoft Corporation. All rights reserved.
  4565. * Licensed under the MIT License. See License.txt in the project root for license information.
  4566. *--------------------------------------------------------------------------------------------*/
  4567. .monaco-editor .zone-widget .codicon.codicon-error,
  4568. .markers-panel .marker-icon.error, .markers-panel .marker-icon .codicon.codicon-error,
  4569. .text-search-provider-messages .providerMessage .codicon.codicon-error,
  4570. .extensions-viewlet > .extensions .codicon.codicon-error,
  4571. .extension-editor .codicon.codicon-error,
  4572. .preferences-editor .codicon.codicon-error {
  4573. color: var(--vscode-problemsErrorIcon-foreground);
  4574. }
  4575. .monaco-editor .zone-widget .codicon.codicon-warning,
  4576. .markers-panel .marker-icon.warning, .markers-panel .marker-icon .codicon.codicon-warning,
  4577. .text-search-provider-messages .providerMessage .codicon.codicon-warning,
  4578. .extensions-viewlet > .extensions .codicon.codicon-warning,
  4579. .extension-editor .codicon.codicon-warning,
  4580. .preferences-editor .codicon.codicon-warning {
  4581. color: var(--vscode-problemsWarningIcon-foreground);
  4582. }
  4583. .monaco-editor .zone-widget .codicon.codicon-info,
  4584. .markers-panel .marker-icon.info, .markers-panel .marker-icon .codicon.codicon-info,
  4585. .text-search-provider-messages .providerMessage .codicon.codicon-info,
  4586. .extensions-viewlet > .extensions .codicon.codicon-info,
  4587. .extension-editor .codicon.codicon-info,
  4588. .preferences-editor .codicon.codicon-info {
  4589. color: var(--vscode-problemsInfoIcon-foreground);
  4590. }