editor.main.css 113 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235
  1. /*!-----------------------------------------------------------
  2. * Copyright (c) Microsoft Corporation. All rights reserved.
  3. * Version: 0.28.1(5871d139726f045842cd7dcb06c5465ca4eeaf1d)
  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. font-size: 11px;
  51. padding: 3px;
  52. border-radius: 5px;
  53. }
  54. .monaco-action-bar .action-item.disabled .action-label,
  55. .monaco-action-bar .action-item.disabled .action-label::before,
  56. .monaco-action-bar .action-item.disabled .action-label:hover {
  57. opacity: 0.4;
  58. }
  59. /* Vertical actions */
  60. .monaco-action-bar.vertical {
  61. text-align: left;
  62. }
  63. .monaco-action-bar.vertical .action-item {
  64. display: block;
  65. }
  66. .monaco-action-bar.vertical .action-label.separator {
  67. display: block;
  68. border-bottom: 1px solid #bbb;
  69. padding-top: 1px;
  70. margin-left: .8em;
  71. margin-right: .8em;
  72. }
  73. .monaco-action-bar .action-item .action-label.separator {
  74. width: 1px;
  75. height: 16px;
  76. margin: 5px 4px !important;
  77. cursor: default;
  78. min-width: 1px;
  79. padding: 0;
  80. background-color: #bbb;
  81. }
  82. .secondary-actions .monaco-action-bar .action-label {
  83. margin-left: 6px;
  84. }
  85. /* Action Items */
  86. .monaco-action-bar .action-item.select-container {
  87. overflow: hidden; /* somehow the dropdown overflows its container, we prevent it here to not push */
  88. flex: 1;
  89. max-width: 170px;
  90. min-width: 60px;
  91. display: flex;
  92. align-items: center;
  93. justify-content: center;
  94. margin-right: 10px;
  95. }
  96. .monaco-action-bar .action-item.action-dropdown-item {
  97. display: flex;
  98. }
  99. .monaco-action-bar .action-item.action-dropdown-item > .action-label {
  100. margin-right: 1px;
  101. }
  102. /*---------------------------------------------------------------------------------------------
  103. * Copyright (c) Microsoft Corporation. All rights reserved.
  104. * Licensed under the MIT License. See License.txt in the project root for license information.
  105. *--------------------------------------------------------------------------------------------*/
  106. .monaco-aria-container {
  107. position: absolute; /* try to hide from window but not from screen readers */
  108. left:-999em;
  109. }
  110. /*---------------------------------------------------------------------------------------------
  111. * Copyright (c) Microsoft Corporation. All rights reserved.
  112. * Licensed under the MIT License. See License.txt in the project root for license information.
  113. *--------------------------------------------------------------------------------------------*/
  114. .monaco-text-button {
  115. box-sizing: border-box;
  116. display: flex;
  117. width: 100%;
  118. padding: 4px;
  119. text-align: center;
  120. cursor: pointer;
  121. justify-content: center;
  122. align-items: center;
  123. }
  124. .monaco-text-button:focus {
  125. outline-offset: 2px !important;
  126. }
  127. .monaco-text-button:hover {
  128. text-decoration: none !important;
  129. }
  130. .monaco-button.disabled:focus,
  131. .monaco-button.disabled {
  132. opacity: 0.4 !important;
  133. cursor: default;
  134. }
  135. .monaco-text-button > .codicon {
  136. margin: 0 0.2em;
  137. color: inherit !important;
  138. }
  139. .monaco-button-dropdown {
  140. display: flex;
  141. cursor: pointer;
  142. }
  143. .monaco-button-dropdown > .monaco-dropdown-button {
  144. margin-left: 1px;
  145. }
  146. .monaco-description-button {
  147. flex-direction: column;
  148. }
  149. .monaco-description-button .monaco-button-label {
  150. font-weight: 500;
  151. }
  152. .monaco-description-button .monaco-button-description {
  153. font-style: italic;
  154. }
  155. /*---------------------------------------------------------------------------------------------
  156. * Copyright (c) Microsoft Corporation. All rights reserved.
  157. * Licensed under the MIT License. See License.txt in the project root for license information.
  158. *--------------------------------------------------------------------------------------------*/
  159. .monaco-custom-checkbox {
  160. margin-left: 2px;
  161. float: left;
  162. cursor: pointer;
  163. overflow: hidden;
  164. opacity: 0.7;
  165. width: 20px;
  166. height: 20px;
  167. border: 1px solid transparent;
  168. padding: 1px;
  169. box-sizing: border-box;
  170. user-select: none;
  171. -webkit-user-select: none;
  172. -ms-user-select: none;
  173. }
  174. .monaco-custom-checkbox:hover,
  175. .monaco-custom-checkbox.checked {
  176. opacity: 1;
  177. }
  178. .hc-black .monaco-custom-checkbox {
  179. background: none;
  180. }
  181. .hc-black .monaco-custom-checkbox:hover {
  182. background: none;
  183. }
  184. .monaco-custom-checkbox.monaco-simple-checkbox {
  185. height: 18px;
  186. width: 18px;
  187. border: 1px solid transparent;
  188. border-radius: 3px;
  189. margin-right: 9px;
  190. margin-left: 0px;
  191. padding: 0px;
  192. opacity: 1;
  193. background-size: 16px !important;
  194. }
  195. /* hide check when unchecked */
  196. .monaco-custom-checkbox.monaco-simple-checkbox:not(.checked)::before {
  197. visibility: hidden;
  198. }
  199. /*---------------------------------------------------------------------------------------------
  200. * Copyright (c) Microsoft Corporation. All rights reserved.
  201. * Licensed under the MIT License. See License.txt in the project root for license information.
  202. *--------------------------------------------------------------------------------------------*/
  203. @font-face {
  204. font-family: "codicon";
  205. font-display: block;
  206. src: url(../base/browser/ui/codicons/codicon/codicon.ttf) format("truetype");
  207. }
  208. .codicon[class*='codicon-'] {
  209. font: normal normal normal 16px/1 codicon;
  210. display: inline-block;
  211. text-decoration: none;
  212. text-rendering: auto;
  213. text-align: center;
  214. -webkit-font-smoothing: antialiased;
  215. -moz-osx-font-smoothing: grayscale;
  216. user-select: none;
  217. -webkit-user-select: none;
  218. -ms-user-select: none;
  219. }
  220. /* icon rules are dynamically created in codiconStyles */
  221. /*---------------------------------------------------------------------------------------------
  222. * Copyright (c) Microsoft Corporation. All rights reserved.
  223. * Licensed under the MIT License. See License.txt in the project root for license information.
  224. *--------------------------------------------------------------------------------------------*/
  225. .codicon-wrench-subaction {
  226. opacity: 0.5;
  227. }
  228. @keyframes codicon-spin {
  229. 100% {
  230. transform:rotate(360deg);
  231. }
  232. }
  233. .codicon-sync.codicon-modifier-spin,
  234. .codicon-loading.codicon-modifier-spin,
  235. .codicon-gear.codicon-modifier-spin,
  236. .codicon-notebook-state-executing.codicon-modifier-spin {
  237. /* Use steps to throttle FPS to reduce CPU usage */
  238. animation: codicon-spin 1.5s steps(30) infinite;
  239. }
  240. .codicon-modifier-disabled {
  241. opacity: 0.4;
  242. }
  243. /* custom speed & easing for loading icon */
  244. .codicon-loading,
  245. .codicon-tree-item-loading::before {
  246. animation-duration: 1s !important;
  247. animation-timing-function: cubic-bezier(0.53, 0.21, 0.29, 0.67) !important;
  248. }
  249. /*---------------------------------------------------------------------------------------------
  250. * Copyright (c) Microsoft Corporation. All rights reserved.
  251. * Licensed under the MIT License. See License.txt in the project root for license information.
  252. *--------------------------------------------------------------------------------------------*/
  253. .context-view {
  254. position: absolute;
  255. z-index: 2500;
  256. }
  257. .context-view.fixed {
  258. all: initial;
  259. font-family: inherit;
  260. font-size: 13px;
  261. position: fixed;
  262. z-index: 2500;
  263. color: inherit;
  264. }
  265. /*---------------------------------------------------------------------------------------------
  266. * Copyright (c) Microsoft Corporation. All rights reserved.
  267. * Licensed under the MIT License. See License.txt in the project root for license information.
  268. *--------------------------------------------------------------------------------------------*/
  269. .monaco-count-badge {
  270. padding: 3px 6px;
  271. border-radius: 11px;
  272. font-size: 11px;
  273. min-width: 18px;
  274. min-height: 18px;
  275. line-height: 11px;
  276. font-weight: normal;
  277. text-align: center;
  278. display: inline-block;
  279. box-sizing: border-box;
  280. }
  281. .monaco-count-badge.long {
  282. padding: 2px 3px;
  283. border-radius: 2px;
  284. min-height: auto;
  285. line-height: normal;
  286. }
  287. /*---------------------------------------------------------------------------------------------
  288. * Copyright (c) Microsoft Corporation. All rights reserved.
  289. * Licensed under the MIT License. See License.txt in the project root for license information.
  290. *--------------------------------------------------------------------------------------------*/
  291. .monaco-dropdown {
  292. height: 100%;
  293. padding: 0;
  294. }
  295. .monaco-dropdown > .dropdown-label {
  296. cursor: pointer;
  297. height: 100%;
  298. display: flex;
  299. align-items: center;
  300. justify-content: center;
  301. }
  302. .monaco-dropdown > .dropdown-label > .action-label.disabled {
  303. cursor: default;
  304. }
  305. .monaco-dropdown-with-primary {
  306. display: flex !important;
  307. flex-direction: row;
  308. border-radius: 5px;
  309. }
  310. .monaco-dropdown-with-primary > .action-container > .action-label {
  311. margin-right: 0;
  312. }
  313. .monaco-dropdown-with-primary > .dropdown-action-container > .monaco-dropdown > .dropdown-label .codicon[class*='codicon-'] {
  314. font-size: 12px;
  315. padding-left: 0px;
  316. padding-right: 0px;
  317. line-height: 16px;
  318. margin-left: -3px;
  319. }
  320. .monaco-dropdown-with-primary > .dropdown-action-container > .monaco-dropdown > .dropdown-label > .action-label {
  321. display: block;
  322. background-size: 16px;
  323. background-position: center center;
  324. background-repeat: no-repeat;
  325. }
  326. /*---------------------------------------------------------------------------------------------
  327. * Copyright (c) Microsoft Corporation. All rights reserved.
  328. * Licensed under the MIT License. See License.txt in the project root for license information.
  329. *--------------------------------------------------------------------------------------------*/
  330. /* ---------- Find input ---------- */
  331. .monaco-findInput {
  332. position: relative;
  333. }
  334. .monaco-findInput .monaco-inputbox {
  335. font-size: 13px;
  336. width: 100%;
  337. }
  338. .monaco-findInput > .controls {
  339. position: absolute;
  340. top: 3px;
  341. right: 2px;
  342. }
  343. .vs .monaco-findInput.disabled {
  344. background-color: #E1E1E1;
  345. }
  346. /* Theming */
  347. .vs-dark .monaco-findInput.disabled {
  348. background-color: #333;
  349. }
  350. /* Highlighting */
  351. .monaco-findInput.highlight-0 .controls {
  352. animation: monaco-findInput-highlight-0 100ms linear 0s;
  353. }
  354. .monaco-findInput.highlight-1 .controls {
  355. animation: monaco-findInput-highlight-1 100ms linear 0s;
  356. }
  357. .hc-black .monaco-findInput.highlight-0 .controls,
  358. .vs-dark .monaco-findInput.highlight-0 .controls {
  359. animation: monaco-findInput-highlight-dark-0 100ms linear 0s;
  360. }
  361. .hc-black .monaco-findInput.highlight-1 .controls,
  362. .vs-dark .monaco-findInput.highlight-1 .controls {
  363. animation: monaco-findInput-highlight-dark-1 100ms linear 0s;
  364. }
  365. @keyframes monaco-findInput-highlight-0 {
  366. 0% { background: rgba(253, 255, 0, 0.8); }
  367. 100% { background: transparent; }
  368. }
  369. @keyframes monaco-findInput-highlight-1 {
  370. 0% { background: rgba(253, 255, 0, 0.8); }
  371. /* Made intentionally different such that the CSS minifier does not collapse the two animations into a single one*/
  372. 99% { background: transparent; }
  373. }
  374. @keyframes monaco-findInput-highlight-dark-0 {
  375. 0% { background: rgba(255, 255, 255, 0.44); }
  376. 100% { background: transparent; }
  377. }
  378. @keyframes monaco-findInput-highlight-dark-1 {
  379. 0% { background: rgba(255, 255, 255, 0.44); }
  380. /* Made intentionally different such that the CSS minifier does not collapse the two animations into a single one*/
  381. 99% { background: transparent; }
  382. }
  383. /*---------------------------------------------------------------------------------------------
  384. * Copyright (c) Microsoft Corporation. All rights reserved.
  385. * Licensed under the MIT License. See License.txt in the project root for license information.
  386. *--------------------------------------------------------------------------------------------*/
  387. .monaco-hover {
  388. cursor: default;
  389. position: absolute;
  390. overflow: hidden;
  391. z-index: 50;
  392. user-select: text;
  393. -webkit-user-select: text;
  394. -ms-user-select: text;
  395. box-sizing: initial;
  396. animation: fadein 100ms linear;
  397. line-height: 1.5em;
  398. }
  399. .monaco-hover.hidden {
  400. display: none;
  401. }
  402. .monaco-hover .hover-contents {
  403. padding: 4px 8px;
  404. }
  405. .monaco-hover .markdown-hover > .hover-contents:not(.code-hover-contents) {
  406. max-width: 500px;
  407. word-wrap: break-word;
  408. }
  409. .monaco-hover .markdown-hover > .hover-contents:not(.code-hover-contents) hr {
  410. min-width: 100%;
  411. }
  412. .monaco-hover p,
  413. .monaco-hover .code,
  414. .monaco-hover ul {
  415. margin: 8px 0;
  416. }
  417. .monaco-hover code {
  418. font-family: var(--monaco-monospace-font);
  419. }
  420. .monaco-hover hr {
  421. box-sizing: border-box;
  422. border-left: 0px;
  423. border-right: 0px;
  424. margin-top: 4px;
  425. margin-bottom: -4px;
  426. margin-left: -8px;
  427. margin-right: -8px;
  428. height: 1px;
  429. }
  430. .monaco-hover p:first-child,
  431. .monaco-hover .code:first-child,
  432. .monaco-hover ul:first-child {
  433. margin-top: 0;
  434. }
  435. .monaco-hover p:last-child,
  436. .monaco-hover .code:last-child,
  437. .monaco-hover ul:last-child {
  438. margin-bottom: 0;
  439. }
  440. /* MarkupContent Layout */
  441. .monaco-hover ul {
  442. padding-left: 20px;
  443. }
  444. .monaco-hover ol {
  445. padding-left: 20px;
  446. }
  447. .monaco-hover li > p {
  448. margin-bottom: 0;
  449. }
  450. .monaco-hover li > ul {
  451. margin-top: 0;
  452. }
  453. .monaco-hover code {
  454. border-radius: 3px;
  455. padding: 0 0.4em;
  456. }
  457. .monaco-hover .monaco-tokenized-source {
  458. white-space: pre-wrap;
  459. }
  460. .monaco-hover .hover-row.status-bar {
  461. font-size: 12px;
  462. line-height: 22px;
  463. }
  464. .monaco-hover .hover-row.status-bar .actions {
  465. display: flex;
  466. padding: 0px 8px;
  467. }
  468. .monaco-hover .hover-row.status-bar .actions .action-container {
  469. margin-right: 16px;
  470. cursor: pointer;
  471. }
  472. .monaco-hover .hover-row.status-bar .actions .action-container .action .icon {
  473. padding-right: 4px;
  474. }
  475. .monaco-hover .markdown-hover .hover-contents .codicon {
  476. color: inherit;
  477. font-size: inherit;
  478. vertical-align: middle;
  479. }
  480. .monaco-hover .hover-contents a.code-link:hover,
  481. .monaco-hover .hover-contents a.code-link {
  482. color: inherit;
  483. }
  484. .monaco-hover .hover-contents a.code-link:before {
  485. content: '(';
  486. }
  487. .monaco-hover .hover-contents a.code-link:after {
  488. content: ')';
  489. }
  490. .monaco-hover .hover-contents a.code-link > span {
  491. text-decoration: underline;
  492. /** Hack to force underline to show **/
  493. border-bottom: 1px solid transparent;
  494. text-underline-position: under;
  495. }
  496. /** Spans in markdown hovers need a margin-bottom to avoid looking cramped: https://github.com/microsoft/vscode/issues/101496 **/
  497. .monaco-hover .markdown-hover .hover-contents:not(.code-hover-contents) span {
  498. margin-bottom: 4px;
  499. display: inline-block;
  500. }
  501. .monaco-hover-content .action-container a {
  502. -webkit-user-select: none;
  503. user-select: none;
  504. }
  505. .monaco-hover-content .action-container.disabled {
  506. pointer-events: none;
  507. opacity: 0.4;
  508. cursor: default;
  509. }
  510. /*---------------------------------------------------------------------------------------------
  511. * Copyright (c) Microsoft Corporation. All rights reserved.
  512. * Licensed under the MIT License. See License.txt in the project root for license information.
  513. *--------------------------------------------------------------------------------------------*/
  514. /* ---------- Icon label ---------- */
  515. .monaco-icon-label {
  516. display: flex; /* required for icons support :before rule */
  517. overflow: hidden;
  518. text-overflow: ellipsis;
  519. }
  520. .monaco-icon-label::before {
  521. /* svg icons rendered as background image */
  522. background-size: 16px;
  523. background-position: left center;
  524. background-repeat: no-repeat;
  525. padding-right: 6px;
  526. width: 16px;
  527. height: 22px;
  528. line-height: inherit !important;
  529. display: inline-block;
  530. /* fonts icons */
  531. -webkit-font-smoothing: antialiased;
  532. -moz-osx-font-smoothing: grayscale;
  533. vertical-align: top;
  534. flex-shrink: 0; /* fix for https://github.com/microsoft/vscode/issues/13787 */
  535. }
  536. .monaco-icon-label > .monaco-icon-label-container {
  537. min-width: 0;
  538. overflow: hidden;
  539. text-overflow: ellipsis;
  540. flex: 1;
  541. }
  542. .monaco-icon-label > .monaco-icon-label-container > .monaco-icon-name-container > .label-name {
  543. color: inherit;
  544. white-space: pre; /* enable to show labels that include multiple whitespaces */
  545. }
  546. .monaco-icon-label > .monaco-icon-label-container > .monaco-icon-name-container > .label-name > .label-separator {
  547. margin: 0 2px;
  548. opacity: 0.5;
  549. }
  550. .monaco-icon-label > .monaco-icon-label-container > .monaco-icon-description-container > .label-description {
  551. opacity: .7;
  552. margin-left: 0.5em;
  553. font-size: 0.9em;
  554. white-space: pre; /* enable to show labels that include multiple whitespaces */
  555. }
  556. .monaco-icon-label.nowrap > .monaco-icon-label-container > .monaco-icon-description-container > .label-description{
  557. white-space: nowrap
  558. }
  559. .vs .monaco-icon-label > .monaco-icon-label-container > .monaco-icon-description-container > .label-description {
  560. opacity: .95;
  561. }
  562. .monaco-icon-label.italic > .monaco-icon-label-container > .monaco-icon-name-container > .label-name,
  563. .monaco-icon-label.italic > .monaco-icon-label-container > .monaco-icon-description-container > .label-description {
  564. font-style: italic;
  565. }
  566. .monaco-icon-label.deprecated {
  567. text-decoration: line-through;
  568. opacity: 0.66;
  569. }
  570. /* make sure apply italic font style to decorations as well */
  571. .monaco-icon-label.italic::after {
  572. font-style: italic;
  573. }
  574. .monaco-icon-label.strikethrough > .monaco-icon-label-container > .monaco-icon-name-container > .label-name,
  575. .monaco-icon-label.strikethrough > .monaco-icon-label-container > .monaco-icon-description-container > .label-description {
  576. text-decoration: line-through;
  577. }
  578. .monaco-icon-label::after {
  579. opacity: 0.75;
  580. font-size: 90%;
  581. font-weight: 600;
  582. margin: 0 16px 0 5px;
  583. text-align: center;
  584. }
  585. /* make sure selection color wins when a label is being selected */
  586. .monaco-list:focus .selected .monaco-icon-label, /* list */
  587. .monaco-list:focus .selected .monaco-icon-label::after
  588. {
  589. color: inherit !important;
  590. }
  591. .monaco-list-row.focused.selected .label-description,
  592. .monaco-list-row.selected .label-description {
  593. opacity: .8;
  594. }
  595. /*---------------------------------------------------------------------------------------------
  596. * Copyright (c) Microsoft Corporation. All rights reserved.
  597. * Licensed under the MIT License. See License.txt in the project root for license information.
  598. *--------------------------------------------------------------------------------------------*/
  599. .monaco-inputbox {
  600. position: relative;
  601. display: block;
  602. padding: 0;
  603. box-sizing: border-box;
  604. /* Customizable */
  605. font-size: inherit;
  606. }
  607. .monaco-inputbox.idle {
  608. border: 1px solid transparent;
  609. }
  610. .monaco-inputbox > .ibwrapper > .input,
  611. .monaco-inputbox > .ibwrapper > .mirror {
  612. /* Customizable */
  613. padding: 4px;
  614. }
  615. .monaco-inputbox > .ibwrapper {
  616. position: relative;
  617. width: 100%;
  618. height: 100%;
  619. }
  620. .monaco-inputbox > .ibwrapper > .input {
  621. display: inline-block;
  622. box-sizing: border-box;
  623. width: 100%;
  624. height: 100%;
  625. line-height: inherit;
  626. border: none;
  627. font-family: inherit;
  628. font-size: inherit;
  629. resize: none;
  630. color: inherit;
  631. }
  632. .monaco-inputbox > .ibwrapper > input {
  633. text-overflow: ellipsis;
  634. }
  635. .monaco-inputbox > .ibwrapper > textarea.input {
  636. display: block;
  637. -ms-overflow-style: none; /* IE 10+: hide scrollbars */
  638. scrollbar-width: none; /* Firefox: hide scrollbars */
  639. outline: none;
  640. }
  641. .monaco-inputbox > .ibwrapper > textarea.input::-webkit-scrollbar {
  642. display: none; /* Chrome + Safari: hide scrollbar */
  643. }
  644. .monaco-inputbox > .ibwrapper > textarea.input.empty {
  645. white-space: nowrap;
  646. }
  647. .monaco-inputbox > .ibwrapper > .mirror {
  648. position: absolute;
  649. display: inline-block;
  650. width: 100%;
  651. top: 0;
  652. left: 0;
  653. box-sizing: border-box;
  654. white-space: pre-wrap;
  655. visibility: hidden;
  656. word-wrap: break-word;
  657. }
  658. /* Context view */
  659. .monaco-inputbox-container {
  660. text-align: right;
  661. }
  662. .monaco-inputbox-container .monaco-inputbox-message {
  663. display: inline-block;
  664. overflow: hidden;
  665. text-align: left;
  666. width: 100%;
  667. box-sizing: border-box;
  668. padding: 0.4em;
  669. font-size: 12px;
  670. line-height: 17px;
  671. margin-top: -1px;
  672. word-wrap: break-word;
  673. }
  674. /* Action bar support */
  675. .monaco-inputbox .monaco-action-bar {
  676. position: absolute;
  677. right: 2px;
  678. top: 4px;
  679. }
  680. .monaco-inputbox .monaco-action-bar .action-item {
  681. margin-left: 2px;
  682. }
  683. .monaco-inputbox .monaco-action-bar .action-item .codicon {
  684. background-repeat: no-repeat;
  685. width: 16px;
  686. height: 16px;
  687. }
  688. /*---------------------------------------------------------------------------------------------
  689. * Copyright (c) Microsoft Corporation. All rights reserved.
  690. * Licensed under the MIT License. See License.txt in the project root for license information.
  691. *--------------------------------------------------------------------------------------------*/
  692. .monaco-keybinding {
  693. display: flex;
  694. align-items: center;
  695. line-height: 10px;
  696. }
  697. .monaco-keybinding > .monaco-keybinding-key {
  698. display: inline-block;
  699. border-style: solid;
  700. border-width: 1px;
  701. border-radius: 3px;
  702. vertical-align: middle;
  703. font-size: 11px;
  704. padding: 3px 5px;
  705. margin: 0 2px;
  706. }
  707. .monaco-keybinding > .monaco-keybinding-key:first-child {
  708. margin-left: 0;
  709. }
  710. .monaco-keybinding > .monaco-keybinding-key:last-child {
  711. margin-right: 0;
  712. }
  713. .monaco-keybinding > .monaco-keybinding-key-separator {
  714. display: inline-block;
  715. }
  716. .monaco-keybinding > .monaco-keybinding-key-chord-separator {
  717. width: 6px;
  718. }
  719. /*---------------------------------------------------------------------------------------------
  720. * Copyright (c) Microsoft Corporation. All rights reserved.
  721. * Licensed under the MIT License. See License.txt in the project root for license information.
  722. *--------------------------------------------------------------------------------------------*/
  723. .monaco-list {
  724. position: relative;
  725. height: 100%;
  726. width: 100%;
  727. white-space: nowrap;
  728. }
  729. .monaco-list.mouse-support {
  730. user-select: none;
  731. -webkit-user-select: none;
  732. -ms-user-select: none;
  733. }
  734. .monaco-list > .monaco-scrollable-element {
  735. height: 100%;
  736. }
  737. .monaco-list-rows {
  738. position: relative;
  739. width: 100%;
  740. height: 100%;
  741. }
  742. .monaco-list.horizontal-scrolling .monaco-list-rows {
  743. width: auto;
  744. min-width: 100%;
  745. }
  746. .monaco-list-row {
  747. position: absolute;
  748. box-sizing: border-box;
  749. overflow: hidden;
  750. width: 100%;
  751. }
  752. .monaco-list.mouse-support .monaco-list-row {
  753. cursor: pointer;
  754. touch-action: none;
  755. }
  756. /* for OS X ballistic scrolling */
  757. .monaco-list-row.scrolling {
  758. display: none !important;
  759. }
  760. /* Focus */
  761. .monaco-list.element-focused,
  762. .monaco-list.selection-single,
  763. .monaco-list.selection-multiple {
  764. outline: 0 !important;
  765. }
  766. /* Dnd */
  767. .monaco-drag-image {
  768. display: inline-block;
  769. padding: 1px 7px;
  770. border-radius: 10px;
  771. font-size: 12px;
  772. position: absolute;
  773. z-index: 1000;
  774. }
  775. /* Type filter */
  776. .monaco-list-type-filter {
  777. display: flex;
  778. align-items: center;
  779. position: absolute;
  780. border-radius: 2px;
  781. padding: 0px 3px;
  782. max-width: calc(100% - 10px);
  783. text-overflow: ellipsis;
  784. overflow: hidden;
  785. text-align: right;
  786. box-sizing: border-box;
  787. cursor: all-scroll;
  788. font-size: 13px;
  789. line-height: 18px;
  790. height: 20px;
  791. z-index: 1;
  792. top: 4px;
  793. }
  794. .monaco-list-type-filter.dragging {
  795. transition: top 0.2s, left 0.2s;
  796. }
  797. .monaco-list-type-filter.ne {
  798. right: 4px;
  799. }
  800. .monaco-list-type-filter.nw {
  801. left: 4px;
  802. }
  803. .monaco-list-type-filter > .controls {
  804. display: flex;
  805. align-items: center;
  806. box-sizing: border-box;
  807. transition: width 0.2s;
  808. width: 0;
  809. }
  810. .monaco-list-type-filter.dragging > .controls,
  811. .monaco-list-type-filter:hover > .controls {
  812. width: 36px;
  813. }
  814. .monaco-list-type-filter > .controls > * {
  815. border: none;
  816. box-sizing: border-box;
  817. -webkit-appearance: none;
  818. -moz-appearance: none;
  819. background: none;
  820. width: 16px;
  821. height: 16px;
  822. flex-shrink: 0;
  823. margin: 0;
  824. padding: 0;
  825. display: flex;
  826. align-items: center;
  827. justify-content: center;
  828. cursor: pointer;
  829. }
  830. .monaco-list-type-filter > .controls > .filter {
  831. margin-left: 4px;
  832. }
  833. .monaco-list-type-filter-message {
  834. position: absolute;
  835. box-sizing: border-box;
  836. width: 100%;
  837. height: 100%;
  838. top: 0;
  839. left: 0;
  840. padding: 40px 1em 1em 1em;
  841. text-align: center;
  842. white-space: normal;
  843. opacity: 0.7;
  844. pointer-events: none;
  845. }
  846. .monaco-list-type-filter-message:empty {
  847. display: none;
  848. }
  849. /* Electron */
  850. .monaco-list-type-filter {
  851. cursor: grab;
  852. }
  853. .monaco-list-type-filter.dragging {
  854. cursor: grabbing;
  855. }
  856. /*---------------------------------------------------------------------------------------------
  857. * Copyright (c) Microsoft Corporation. All rights reserved.
  858. * Licensed under the MIT License. See License.txt in the project root for license information.
  859. *--------------------------------------------------------------------------------------------*/
  860. .monaco-mouse-cursor-text {
  861. cursor: text;
  862. }
  863. /* The following selector looks a bit funny, but that is needed to cover all the workbench and the editor!! */
  864. .vs-dark .mac .monaco-mouse-cursor-text, .hc-black .mac .monaco-mouse-cursor-text,
  865. .vs-dark.mac .monaco-mouse-cursor-text, .hc-black.mac .monaco-mouse-cursor-text {
  866. cursor: -webkit-image-set(url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAAAL0lEQVQoz2NgCD3x//9/BhBYBWdhgFVAiVW4JBFKGIa4AqD0//9D3pt4I4tAdAMAHTQ/j5Zom30AAAAASUVORK5CYII=) 1x, url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAQAAADZc7J/AAAAz0lEQVRIx2NgYGBY/R8I/vx5eelX3n82IJ9FxGf6tksvf/8FiTMQAcAGQMDvSwu09abffY8QYSAScNk45G198eX//yev73/4///701eh//kZSARckrNBRvz//+8+6ZohwCzjGNjdgQxkAg7B9WADeBjIBqtJCbhRA0YNoIkBSNmaPEMoNmA0FkYNoFKhapJ6FGyAH3nauaSmPfwI0v/3OukVi0CIZ+F25KrtYcx/CTIy0e+rC7R1Z4KMICVTQQ14feVXIbR695u14+Ir4gwAAD49E54wc1kWAAAAAElFTkSuQmCC) 2x) 5 8, text;
  867. }
  868. /*---------------------------------------------------------------------------------------------
  869. * Copyright (c) Microsoft Corporation. All rights reserved.
  870. * Licensed under the MIT License. See License.txt in the project root for license information.
  871. *--------------------------------------------------------------------------------------------*/
  872. .monaco-progress-container {
  873. width: 100%;
  874. height: 5px;
  875. overflow: hidden; /* keep progress bit in bounds */
  876. }
  877. .monaco-progress-container .progress-bit {
  878. width: 2%;
  879. height: 5px;
  880. position: absolute;
  881. left: 0;
  882. display: none;
  883. }
  884. .monaco-progress-container.active .progress-bit {
  885. display: inherit;
  886. }
  887. .monaco-progress-container.discrete .progress-bit {
  888. left: 0;
  889. transition: width 100ms linear;
  890. }
  891. .monaco-progress-container.discrete.done .progress-bit {
  892. width: 100%;
  893. }
  894. .monaco-progress-container.infinite .progress-bit {
  895. animation-name: progress;
  896. animation-duration: 4s;
  897. animation-iteration-count: infinite;
  898. animation-timing-function: linear;
  899. transform: translate3d(0px, 0px, 0px);
  900. }
  901. /**
  902. * The progress bit has a width: 2% (1/50) of the parent container. The animation moves it from 0% to 100% of
  903. * that container. Since translateX is relative to the progress bit size, we have to multiple it with
  904. * its relative size to the parent container:
  905. * parent width: 5000%
  906. * bit width: 100%
  907. * translateX should be as follow:
  908. * 50%: 5000% * 50% - 50% (set to center) = 2450%
  909. * 100%: 5000% * 100% - 100% (do not overflow) = 4900%
  910. */
  911. @keyframes progress { from { transform: translateX(0%) scaleX(1) } 50% { transform: translateX(2500%) scaleX(3) } to { transform: translateX(4900%) scaleX(1) } }
  912. /*---------------------------------------------------------------------------------------------
  913. * Copyright (c) Microsoft Corporation. All rights reserved.
  914. * Licensed under the MIT License. See License.txt in the project root for license information.
  915. *--------------------------------------------------------------------------------------------*/
  916. :root {
  917. --sash-size: 4px;
  918. }
  919. .monaco-sash {
  920. position: absolute;
  921. z-index: 35;
  922. touch-action: none;
  923. }
  924. .monaco-sash.disabled {
  925. pointer-events: none;
  926. }
  927. .monaco-sash.mac.vertical {
  928. cursor: col-resize;
  929. }
  930. .monaco-sash.vertical.minimum {
  931. cursor: e-resize;
  932. }
  933. .monaco-sash.vertical.maximum {
  934. cursor: w-resize;
  935. }
  936. .monaco-sash.mac.horizontal {
  937. cursor: row-resize;
  938. }
  939. .monaco-sash.horizontal.minimum {
  940. cursor: s-resize;
  941. }
  942. .monaco-sash.horizontal.maximum {
  943. cursor: n-resize;
  944. }
  945. .monaco-sash.disabled {
  946. cursor: default !important;
  947. pointer-events: none !important;
  948. }
  949. .monaco-sash.vertical {
  950. cursor: ew-resize;
  951. top: 0;
  952. width: var(--sash-size);
  953. height: 100%;
  954. }
  955. .monaco-sash.horizontal {
  956. cursor: ns-resize;
  957. left: 0;
  958. width: 100%;
  959. height: var(--sash-size);
  960. }
  961. .monaco-sash:not(.disabled) > .orthogonal-drag-handle {
  962. content: " ";
  963. height: calc(var(--sash-size) * 2);
  964. width: calc(var(--sash-size) * 2);
  965. z-index: 100;
  966. display: block;
  967. cursor: all-scroll;
  968. position: absolute;
  969. }
  970. .monaco-sash.horizontal.orthogonal-edge-north:not(.disabled)
  971. > .orthogonal-drag-handle.start,
  972. .monaco-sash.horizontal.orthogonal-edge-south:not(.disabled)
  973. > .orthogonal-drag-handle.end {
  974. cursor: nwse-resize;
  975. }
  976. .monaco-sash.horizontal.orthogonal-edge-north:not(.disabled)
  977. > .orthogonal-drag-handle.end,
  978. .monaco-sash.horizontal.orthogonal-edge-south:not(.disabled)
  979. > .orthogonal-drag-handle.start {
  980. cursor: nesw-resize;
  981. }
  982. .monaco-sash.vertical > .orthogonal-drag-handle.start {
  983. left: calc(var(--sash-size) * -0.5);
  984. top: calc(var(--sash-size) * -1);
  985. }
  986. .monaco-sash.vertical > .orthogonal-drag-handle.end {
  987. left: calc(var(--sash-size) * -0.5);
  988. bottom: calc(var(--sash-size) * -1);
  989. }
  990. .monaco-sash.horizontal > .orthogonal-drag-handle.start {
  991. top: calc(var(--sash-size) * -0.5);
  992. left: calc(var(--sash-size) * -1);
  993. }
  994. .monaco-sash.horizontal > .orthogonal-drag-handle.end {
  995. top: calc(var(--sash-size) * -0.5);
  996. right: calc(var(--sash-size) * -1);
  997. }
  998. .monaco-sash:before {
  999. content: '';
  1000. pointer-events: none;
  1001. position: absolute;
  1002. width: 100%;
  1003. height: 100%;
  1004. transition: background-color 0.1s ease-out;
  1005. background: transparent;
  1006. }
  1007. .monaco-sash.vertical:before {
  1008. width: var(--sash-hover-size);
  1009. left: calc(50% - (var(--sash-hover-size) / 2));
  1010. }
  1011. .monaco-sash.horizontal:before {
  1012. height: var(--sash-hover-size);
  1013. top: calc(50% - (var(--sash-hover-size) / 2));
  1014. }
  1015. /** Debug **/
  1016. .monaco-sash.debug {
  1017. background: cyan;
  1018. }
  1019. .monaco-sash.debug.disabled {
  1020. background: rgba(0, 255, 255, 0.2);
  1021. }
  1022. .monaco-sash.debug:not(.disabled) > .orthogonal-drag-handle {
  1023. background: red;
  1024. }
  1025. /*---------------------------------------------------------------------------------------------
  1026. * Copyright (c) Microsoft Corporation. All rights reserved.
  1027. * Licensed under the MIT License. See License.txt in the project root for license information.
  1028. *--------------------------------------------------------------------------------------------*/
  1029. /* Arrows */
  1030. .monaco-scrollable-element > .scrollbar > .scra {
  1031. cursor: pointer;
  1032. font-size: 11px !important;
  1033. }
  1034. .monaco-scrollable-element > .visible {
  1035. opacity: 1;
  1036. /* Background rule added for IE9 - to allow clicks on dom node */
  1037. background:rgba(0,0,0,0);
  1038. transition: opacity 100ms linear;
  1039. }
  1040. .monaco-scrollable-element > .invisible {
  1041. opacity: 0;
  1042. pointer-events: none;
  1043. }
  1044. .monaco-scrollable-element > .invisible.fade {
  1045. transition: opacity 800ms linear;
  1046. }
  1047. /* Scrollable Content Inset Shadow */
  1048. .monaco-scrollable-element > .shadow {
  1049. position: absolute;
  1050. display: none;
  1051. }
  1052. .monaco-scrollable-element > .shadow.top {
  1053. display: block;
  1054. top: 0;
  1055. left: 3px;
  1056. height: 3px;
  1057. width: 100%;
  1058. box-shadow: #DDD 0 6px 6px -6px inset;
  1059. }
  1060. .monaco-scrollable-element > .shadow.left {
  1061. display: block;
  1062. top: 3px;
  1063. left: 0;
  1064. height: 100%;
  1065. width: 3px;
  1066. box-shadow: #DDD 6px 0 6px -6px inset;
  1067. }
  1068. .monaco-scrollable-element > .shadow.top-left-corner {
  1069. display: block;
  1070. top: 0;
  1071. left: 0;
  1072. height: 3px;
  1073. width: 3px;
  1074. }
  1075. .monaco-scrollable-element > .shadow.top.left {
  1076. box-shadow: #DDD 6px 6px 6px -6px inset;
  1077. }
  1078. /* ---------- Default Style ---------- */
  1079. .vs .monaco-scrollable-element > .scrollbar > .slider {
  1080. background: rgba(100, 100, 100, .4);
  1081. }
  1082. .vs-dark .monaco-scrollable-element > .scrollbar > .slider {
  1083. background: rgba(121, 121, 121, .4);
  1084. }
  1085. .hc-black .monaco-scrollable-element > .scrollbar > .slider {
  1086. background: rgba(111, 195, 223, .6);
  1087. }
  1088. .monaco-scrollable-element > .scrollbar > .slider:hover {
  1089. background: rgba(100, 100, 100, .7);
  1090. }
  1091. .hc-black .monaco-scrollable-element > .scrollbar > .slider:hover {
  1092. background: rgba(111, 195, 223, .8);
  1093. }
  1094. .monaco-scrollable-element > .scrollbar > .slider.active {
  1095. background: rgba(0, 0, 0, .6);
  1096. }
  1097. .vs-dark .monaco-scrollable-element > .scrollbar > .slider.active {
  1098. background: rgba(191, 191, 191, .4);
  1099. }
  1100. .hc-black .monaco-scrollable-element > .scrollbar > .slider.active {
  1101. background: rgba(111, 195, 223, 1);
  1102. }
  1103. .vs-dark .monaco-scrollable-element .shadow.top {
  1104. box-shadow: none;
  1105. }
  1106. .vs-dark .monaco-scrollable-element .shadow.left {
  1107. box-shadow: #000 6px 0 6px -6px inset;
  1108. }
  1109. .vs-dark .monaco-scrollable-element .shadow.top.left {
  1110. box-shadow: #000 6px 6px 6px -6px inset;
  1111. }
  1112. .hc-black .monaco-scrollable-element .shadow.top {
  1113. box-shadow: none;
  1114. }
  1115. .hc-black .monaco-scrollable-element .shadow.left {
  1116. box-shadow: none;
  1117. }
  1118. .hc-black .monaco-scrollable-element .shadow.top.left {
  1119. box-shadow: none;
  1120. }
  1121. /*---------------------------------------------------------------------------------------------
  1122. * Copyright (c) Microsoft Corporation. All rights reserved.
  1123. * Licensed under the MIT License. See License.txt in the project root for license information.
  1124. *--------------------------------------------------------------------------------------------*/
  1125. .monaco-split-view2 {
  1126. position: relative;
  1127. width: 100%;
  1128. height: 100%;
  1129. }
  1130. .monaco-split-view2 > .sash-container {
  1131. position: absolute;
  1132. width: 100%;
  1133. height: 100%;
  1134. pointer-events: none;
  1135. }
  1136. .monaco-split-view2 > .sash-container > .monaco-sash {
  1137. pointer-events: initial;
  1138. }
  1139. .monaco-split-view2 > .monaco-scrollable-element {
  1140. width: 100%;
  1141. height: 100%;
  1142. }
  1143. .monaco-split-view2 > .monaco-scrollable-element > .split-view-container {
  1144. width: 100%;
  1145. height: 100%;
  1146. white-space: nowrap;
  1147. position: relative;
  1148. }
  1149. .monaco-split-view2 > .monaco-scrollable-element > .split-view-container > .split-view-view {
  1150. white-space: initial;
  1151. position: absolute;
  1152. }
  1153. .monaco-split-view2 > .monaco-scrollable-element > .split-view-container > .split-view-view:not(.visible) {
  1154. display: none;
  1155. }
  1156. .monaco-split-view2.vertical > .monaco-scrollable-element > .split-view-container > .split-view-view {
  1157. width: 100%;
  1158. }
  1159. .monaco-split-view2.horizontal > .monaco-scrollable-element > .split-view-container > .split-view-view {
  1160. height: 100%;
  1161. }
  1162. .monaco-split-view2.separator-border > .monaco-scrollable-element > .split-view-container > .split-view-view:not(:first-child)::before {
  1163. content: ' ';
  1164. position: absolute;
  1165. top: 0;
  1166. left: 0;
  1167. z-index: 5;
  1168. pointer-events: none;
  1169. background-color: var(--separator-border);
  1170. }
  1171. .monaco-split-view2.separator-border.horizontal > .monaco-scrollable-element > .split-view-container > .split-view-view:not(:first-child)::before {
  1172. height: 100%;
  1173. width: 1px;
  1174. }
  1175. .monaco-split-view2.separator-border.vertical > .monaco-scrollable-element > .split-view-container > .split-view-view:not(:first-child)::before {
  1176. height: 1px;
  1177. width: 100%;
  1178. }
  1179. /*---------------------------------------------------------------------------------------------
  1180. * Copyright (c) Microsoft Corporation. All rights reserved.
  1181. * Licensed under the MIT License. See License.txt in the project root for license information.
  1182. *--------------------------------------------------------------------------------------------*/
  1183. .monaco-table {
  1184. display: flex;
  1185. flex-direction: column;
  1186. position: relative;
  1187. height: 100%;
  1188. width: 100%;
  1189. white-space: nowrap;
  1190. }
  1191. .monaco-table > .monaco-split-view2 {
  1192. border-bottom: 1px solid transparent;
  1193. }
  1194. .monaco-table > .monaco-list {
  1195. flex: 1;
  1196. }
  1197. .monaco-table-tr {
  1198. display: flex;
  1199. height: 100%;
  1200. }
  1201. .monaco-table-th {
  1202. width: 100%;
  1203. height: 100%;
  1204. font-weight: bold;
  1205. overflow: hidden;
  1206. text-overflow: ellipsis;
  1207. }
  1208. .monaco-table-th,
  1209. .monaco-table-td {
  1210. box-sizing: border-box;
  1211. flex-shrink: 0;
  1212. overflow: hidden;
  1213. white-space: nowrap;
  1214. text-overflow: ellipsis;
  1215. }
  1216. .monaco-table > .monaco-split-view2 .monaco-sash.vertical::before {
  1217. content: "";
  1218. position: absolute;
  1219. left: calc(var(--sash-size) / 2);
  1220. width: 0;
  1221. border-left: 1px solid transparent;
  1222. }
  1223. .monaco-table > .monaco-split-view2,
  1224. .monaco-table > .monaco-split-view2 .monaco-sash.vertical::before {
  1225. transition: border-color 0.2s ease-out;
  1226. }
  1227. /*
  1228. .monaco-table:hover > .monaco-split-view2,
  1229. .monaco-table:hover > .monaco-split-view2 .monaco-sash.vertical::before {
  1230. border-color: rgba(204, 204, 204, 0.2);
  1231. } */
  1232. /*---------------------------------------------------------------------------------------------
  1233. * Copyright (c) Microsoft Corporation. All rights reserved.
  1234. * Licensed under the MIT License. See License.txt in the project root for license information.
  1235. *--------------------------------------------------------------------------------------------*/
  1236. .monaco-tl-row {
  1237. display: flex;
  1238. height: 100%;
  1239. align-items: center;
  1240. position: relative;
  1241. }
  1242. .monaco-tl-indent {
  1243. height: 100%;
  1244. position: absolute;
  1245. top: 0;
  1246. left: 16px;
  1247. pointer-events: none;
  1248. }
  1249. .hide-arrows .monaco-tl-indent {
  1250. left: 12px;
  1251. }
  1252. .monaco-tl-indent > .indent-guide {
  1253. display: inline-block;
  1254. box-sizing: border-box;
  1255. height: 100%;
  1256. border-left: 1px solid transparent;
  1257. }
  1258. .monaco-tl-indent > .indent-guide {
  1259. transition: border-color 0.1s linear;
  1260. }
  1261. .monaco-tl-twistie,
  1262. .monaco-tl-contents {
  1263. height: 100%;
  1264. }
  1265. .monaco-tl-twistie {
  1266. font-size: 10px;
  1267. text-align: right;
  1268. padding-right: 6px;
  1269. flex-shrink: 0;
  1270. width: 16px;
  1271. display: flex !important;
  1272. align-items: center;
  1273. justify-content: center;
  1274. transform: translateX(3px);
  1275. }
  1276. .monaco-tl-contents {
  1277. flex: 1;
  1278. overflow: hidden;
  1279. }
  1280. .monaco-tl-twistie::before {
  1281. border-radius: 20px;
  1282. }
  1283. .monaco-tl-twistie.collapsed::before {
  1284. transform: rotate(-90deg);
  1285. }
  1286. .monaco-tl-twistie.codicon-tree-item-loading::before {
  1287. /* Use steps to throttle FPS to reduce CPU usage */
  1288. animation: codicon-spin 1.25s steps(30) infinite;
  1289. }
  1290. /*---------------------------------------------------------------------------------------------
  1291. * Copyright (c) Microsoft Corporation. All rights reserved.
  1292. * Licensed under the MIT License. See License.txt in the project root for license information.
  1293. *--------------------------------------------------------------------------------------------*/
  1294. .quick-input-widget {
  1295. position: absolute;
  1296. width: 600px;
  1297. z-index: 2000;
  1298. padding: 0 1px 1px 1px;
  1299. left: 50%;
  1300. margin-left: -300px;
  1301. }
  1302. .quick-input-titlebar {
  1303. display: flex;
  1304. align-items: center;
  1305. }
  1306. .quick-input-left-action-bar {
  1307. display: flex;
  1308. margin-left: 4px;
  1309. flex: 1;
  1310. }
  1311. .quick-input-title {
  1312. padding: 3px 0px;
  1313. text-align: center;
  1314. text-overflow: ellipsis;
  1315. overflow: hidden;
  1316. }
  1317. .quick-input-right-action-bar {
  1318. display: flex;
  1319. margin-right: 4px;
  1320. flex: 1;
  1321. }
  1322. .quick-input-right-action-bar > .actions-container {
  1323. justify-content: flex-end;
  1324. }
  1325. .quick-input-titlebar .monaco-action-bar .action-label.codicon {
  1326. background-position: center;
  1327. background-repeat: no-repeat;
  1328. padding: 2px;
  1329. }
  1330. .quick-input-description {
  1331. margin: 6px;
  1332. }
  1333. .quick-input-header .quick-input-description {
  1334. margin: 4px 2px;
  1335. }
  1336. .quick-input-header {
  1337. display: flex;
  1338. padding: 6px 6px 0px 6px;
  1339. margin-bottom: -2px;
  1340. }
  1341. .quick-input-widget.hidden-input .quick-input-header {
  1342. /* reduce margins and paddings when input box hidden */
  1343. padding: 0;
  1344. margin-bottom: 0;
  1345. }
  1346. .quick-input-and-message {
  1347. display: flex;
  1348. flex-direction: column;
  1349. flex-grow: 1;
  1350. min-width: 0;
  1351. position: relative;
  1352. }
  1353. .quick-input-check-all {
  1354. align-self: center;
  1355. margin: 0;
  1356. }
  1357. .quick-input-filter {
  1358. flex-grow: 1;
  1359. display: flex;
  1360. position: relative;
  1361. }
  1362. .quick-input-box {
  1363. flex-grow: 1;
  1364. }
  1365. .quick-input-widget.show-checkboxes .quick-input-box,
  1366. .quick-input-widget.show-checkboxes .quick-input-message {
  1367. margin-left: 5px;
  1368. }
  1369. .quick-input-visible-count {
  1370. position: absolute;
  1371. left: -10000px;
  1372. }
  1373. .quick-input-count {
  1374. align-self: center;
  1375. position: absolute;
  1376. right: 4px;
  1377. display: flex;
  1378. align-items: center;
  1379. }
  1380. .quick-input-count .monaco-count-badge {
  1381. vertical-align: middle;
  1382. padding: 2px 4px;
  1383. border-radius: 2px;
  1384. min-height: auto;
  1385. line-height: normal;
  1386. }
  1387. .quick-input-action {
  1388. margin-left: 6px;
  1389. }
  1390. .quick-input-action .monaco-text-button {
  1391. font-size: 11px;
  1392. padding: 0 6px;
  1393. display: flex;
  1394. height: 27.5px;
  1395. align-items: center;
  1396. }
  1397. .quick-input-message {
  1398. margin-top: -1px;
  1399. padding: 5px 5px 2px 5px;
  1400. overflow-wrap: break-word;
  1401. }
  1402. .quick-input-message > .codicon {
  1403. margin: 0 0.2em;
  1404. vertical-align: text-bottom;
  1405. }
  1406. .quick-input-progress.monaco-progress-container {
  1407. position: relative;
  1408. }
  1409. .quick-input-progress.monaco-progress-container,
  1410. .quick-input-progress.monaco-progress-container .progress-bit {
  1411. height: 2px;
  1412. }
  1413. .quick-input-list {
  1414. line-height: 22px;
  1415. margin-top: 6px;
  1416. }
  1417. .quick-input-widget.hidden-input .quick-input-list {
  1418. margin-top: 0; /* reduce margins when input box hidden */
  1419. }
  1420. .quick-input-list .monaco-list {
  1421. overflow: hidden;
  1422. max-height: calc(20 * 22px);
  1423. }
  1424. .quick-input-list .quick-input-list-entry {
  1425. box-sizing: border-box;
  1426. overflow: hidden;
  1427. display: flex;
  1428. height: 100%;
  1429. padding: 0 6px;
  1430. }
  1431. .quick-input-list .quick-input-list-entry.quick-input-list-separator-border {
  1432. border-top-width: 1px;
  1433. border-top-style: solid;
  1434. }
  1435. .quick-input-list .monaco-list-row[data-index="0"] .quick-input-list-entry.quick-input-list-separator-border {
  1436. border-top-style: none;
  1437. }
  1438. .quick-input-list .quick-input-list-label {
  1439. overflow: hidden;
  1440. display: flex;
  1441. height: 100%;
  1442. flex: 1;
  1443. }
  1444. .quick-input-list .quick-input-list-checkbox {
  1445. align-self: center;
  1446. margin: 0;
  1447. }
  1448. .quick-input-list .quick-input-list-rows {
  1449. overflow: hidden;
  1450. text-overflow: ellipsis;
  1451. display: flex;
  1452. flex-direction: column;
  1453. height: 100%;
  1454. flex: 1;
  1455. margin-left: 5px;
  1456. }
  1457. .quick-input-widget.show-checkboxes .quick-input-list .quick-input-list-rows {
  1458. margin-left: 10px;
  1459. }
  1460. .quick-input-widget .quick-input-list .quick-input-list-checkbox {
  1461. display: none;
  1462. }
  1463. .quick-input-widget.show-checkboxes .quick-input-list .quick-input-list-checkbox {
  1464. display: inline;
  1465. }
  1466. .quick-input-list .quick-input-list-rows > .quick-input-list-row {
  1467. display: flex;
  1468. align-items: center;
  1469. }
  1470. .quick-input-list .quick-input-list-rows > .quick-input-list-row .monaco-icon-label,
  1471. .quick-input-list .quick-input-list-rows > .quick-input-list-row .monaco-icon-label .monaco-icon-label-container > .monaco-icon-name-container {
  1472. flex: 1; /* make sure the icon label grows within the row */
  1473. }
  1474. .quick-input-list .quick-input-list-rows > .quick-input-list-row .codicon[class*='codicon-'] {
  1475. vertical-align: text-bottom;
  1476. }
  1477. .quick-input-list .quick-input-list-rows .monaco-highlighted-label span {
  1478. opacity: 1;
  1479. }
  1480. .quick-input-list .quick-input-list-entry .quick-input-list-entry-keybinding {
  1481. margin-right: 8px; /* separate from the separator label or scrollbar if any */
  1482. }
  1483. .quick-input-list .quick-input-list-label-meta {
  1484. opacity: 0.7;
  1485. line-height: normal;
  1486. text-overflow: ellipsis;
  1487. overflow: hidden;
  1488. }
  1489. .quick-input-list .monaco-highlighted-label .highlight {
  1490. font-weight: bold;
  1491. }
  1492. .quick-input-list .quick-input-list-entry .quick-input-list-separator {
  1493. margin-right: 8px; /* separate from keybindings or actions */
  1494. }
  1495. .quick-input-list .quick-input-list-entry-action-bar {
  1496. display: flex;
  1497. flex: 0;
  1498. overflow: visible;
  1499. }
  1500. .quick-input-list .quick-input-list-entry-action-bar .action-label {
  1501. /*
  1502. * By default, actions in the quick input action bar are hidden
  1503. * until hovered over them or selected.
  1504. */
  1505. display: none;
  1506. }
  1507. .quick-input-list .quick-input-list-entry-action-bar .action-label.codicon {
  1508. margin-right: 4px;
  1509. padding: 0px 2px 2px 2px;
  1510. }
  1511. .quick-input-list .quick-input-list-entry-action-bar {
  1512. margin-top: 1px;
  1513. }
  1514. .quick-input-list .quick-input-list-entry-action-bar {
  1515. margin-right: 4px; /* separate from scrollbar */
  1516. }
  1517. .quick-input-list .quick-input-list-entry .quick-input-list-entry-action-bar .action-label.always-visible,
  1518. .quick-input-list .quick-input-list-entry:hover .quick-input-list-entry-action-bar .action-label,
  1519. .quick-input-list .monaco-list-row.focused .quick-input-list-entry-action-bar .action-label {
  1520. display: flex;
  1521. }
  1522. /* focused items in quick pick */
  1523. .quick-input-list .monaco-list-row.focused .monaco-keybinding-key,
  1524. .quick-input-list .monaco-list-row.focused .quick-input-list-entry .quick-input-list-separator {
  1525. color: inherit
  1526. }
  1527. .quick-input-list .monaco-list-row.focused .monaco-keybinding-key {
  1528. background: none;
  1529. }
  1530. /*---------------------------------------------------------------------------------------------
  1531. * Copyright (c) Microsoft Corporation. All rights reserved.
  1532. * Licensed under the MIT License. See License.txt in the project root for license information.
  1533. *--------------------------------------------------------------------------------------------*/
  1534. .monaco-editor .inputarea {
  1535. min-width: 0;
  1536. min-height: 0;
  1537. margin: 0;
  1538. padding: 0;
  1539. position: absolute;
  1540. outline: none !important;
  1541. resize: none;
  1542. border: none;
  1543. overflow: hidden;
  1544. color: transparent;
  1545. background-color: transparent;
  1546. }
  1547. /*.monaco-editor .inputarea {
  1548. position: fixed !important;
  1549. width: 800px !important;
  1550. height: 500px !important;
  1551. top: initial !important;
  1552. left: initial !important;
  1553. bottom: 0 !important;
  1554. right: 0 !important;
  1555. color: black !important;
  1556. background: white !important;
  1557. line-height: 15px !important;
  1558. font-size: 14px !important;
  1559. }*/
  1560. .monaco-editor .inputarea.ime-input {
  1561. z-index: 10;
  1562. }
  1563. /*---------------------------------------------------------------------------------------------
  1564. * Copyright (c) Microsoft Corporation. All rights reserved.
  1565. * Licensed under the MIT License. See License.txt in the project root for license information.
  1566. *--------------------------------------------------------------------------------------------*/
  1567. .monaco-editor .view-overlays .current-line {
  1568. display: block;
  1569. position: absolute;
  1570. left: 0;
  1571. top: 0;
  1572. box-sizing: border-box;
  1573. }
  1574. .monaco-editor .margin-view-overlays .current-line {
  1575. display: block;
  1576. position: absolute;
  1577. left: 0;
  1578. top: 0;
  1579. box-sizing: border-box;
  1580. }
  1581. .monaco-editor .margin-view-overlays .current-line.current-line-margin.current-line-margin-both {
  1582. border-right: 0;
  1583. }
  1584. /*---------------------------------------------------------------------------------------------
  1585. * Copyright (c) Microsoft Corporation. All rights reserved.
  1586. * Licensed under the MIT License. See License.txt in the project root for license information.
  1587. *--------------------------------------------------------------------------------------------*/
  1588. /*
  1589. Keeping name short for faster parsing.
  1590. cdr = core decorations rendering (div)
  1591. */
  1592. .monaco-editor .lines-content .cdr {
  1593. position: absolute;
  1594. }
  1595. /*---------------------------------------------------------------------------------------------
  1596. * Copyright (c) Microsoft Corporation. All rights reserved.
  1597. * Licensed under the MIT License. See License.txt in the project root for license information.
  1598. *--------------------------------------------------------------------------------------------*/
  1599. .monaco-editor .glyph-margin {
  1600. position: absolute;
  1601. top: 0;
  1602. }
  1603. /*
  1604. Keeping name short for faster parsing.
  1605. cgmr = core glyph margin rendering (div)
  1606. */
  1607. .monaco-editor .margin-view-overlays .cgmr {
  1608. position: absolute;
  1609. display: flex;
  1610. align-items: center;
  1611. justify-content: center;
  1612. }
  1613. /*---------------------------------------------------------------------------------------------
  1614. * Copyright (c) Microsoft Corporation. All rights reserved.
  1615. * Licensed under the MIT License. See License.txt in the project root for license information.
  1616. *--------------------------------------------------------------------------------------------*/
  1617. /*
  1618. Keeping name short for faster parsing.
  1619. cigr = core ident guides rendering (div)
  1620. */
  1621. .monaco-editor .lines-content .cigr {
  1622. position: absolute;
  1623. }
  1624. .monaco-editor .lines-content .cigra {
  1625. position: absolute;
  1626. }
  1627. /*---------------------------------------------------------------------------------------------
  1628. * Copyright (c) Microsoft Corporation. All rights reserved.
  1629. * Licensed under the MIT License. See License.txt in the project root for license information.
  1630. *--------------------------------------------------------------------------------------------*/
  1631. .monaco-editor .margin-view-overlays .line-numbers {
  1632. font-variant-numeric: tabular-nums;
  1633. position: absolute;
  1634. text-align: right;
  1635. display: inline-block;
  1636. vertical-align: middle;
  1637. box-sizing: border-box;
  1638. cursor: default;
  1639. height: 100%;
  1640. }
  1641. .monaco-editor .relative-current-line-number {
  1642. text-align: left;
  1643. display: inline-block;
  1644. width: 100%;
  1645. }
  1646. .monaco-editor .margin-view-overlays .line-numbers.lh-odd {
  1647. margin-top: 1px;
  1648. }
  1649. /*---------------------------------------------------------------------------------------------
  1650. * Copyright (c) Microsoft Corporation. All rights reserved.
  1651. * Licensed under the MIT License. See License.txt in the project root for license information.
  1652. *--------------------------------------------------------------------------------------------*/
  1653. /* Uncomment to see lines flashing when they're painted */
  1654. /*.monaco-editor .view-lines > .view-line {
  1655. background-color: none;
  1656. animation-name: flash-background;
  1657. animation-duration: 800ms;
  1658. }
  1659. @keyframes flash-background {
  1660. 0% { background-color: lightgreen; }
  1661. 100% { background-color: none }
  1662. }*/
  1663. .monaco-editor.no-user-select .lines-content,
  1664. .monaco-editor.no-user-select .view-line,
  1665. .monaco-editor.no-user-select .view-lines {
  1666. user-select: none;
  1667. -webkit-user-select: none;
  1668. -ms-user-select: none;
  1669. }
  1670. .monaco-editor .view-lines {
  1671. white-space: nowrap;
  1672. }
  1673. .monaco-editor .view-line {
  1674. position: absolute;
  1675. width: 100%;
  1676. }
  1677. .monaco-editor .mtkz {
  1678. display: inline-block;
  1679. }
  1680. /* TODO@tokenization bootstrap fix */
  1681. /*.monaco-editor .view-line > span > span {
  1682. float: none;
  1683. min-height: inherit;
  1684. margin-left: inherit;
  1685. }*/
  1686. /*---------------------------------------------------------------------------------------------
  1687. * Copyright (c) Microsoft Corporation. All rights reserved.
  1688. * Licensed under the MIT License. See License.txt in the project root for license information.
  1689. *--------------------------------------------------------------------------------------------*/
  1690. .monaco-editor .lines-decorations {
  1691. position: absolute;
  1692. top: 0;
  1693. background: white;
  1694. }
  1695. /*
  1696. Keeping name short for faster parsing.
  1697. cldr = core lines decorations rendering (div)
  1698. */
  1699. .monaco-editor .margin-view-overlays .cldr {
  1700. position: absolute;
  1701. height: 100%;
  1702. }
  1703. /*---------------------------------------------------------------------------------------------
  1704. * Copyright (c) Microsoft Corporation. All rights reserved.
  1705. * Licensed under the MIT License. See License.txt in the project root for license information.
  1706. *--------------------------------------------------------------------------------------------*/
  1707. /*
  1708. Keeping name short for faster parsing.
  1709. cmdr = core margin decorations rendering (div)
  1710. */
  1711. .monaco-editor .margin-view-overlays .cmdr {
  1712. position: absolute;
  1713. left: 0;
  1714. width: 100%;
  1715. height: 100%;
  1716. }
  1717. /*---------------------------------------------------------------------------------------------
  1718. * Copyright (c) Microsoft Corporation. All rights reserved.
  1719. * Licensed under the MIT License. See License.txt in the project root for license information.
  1720. *--------------------------------------------------------------------------------------------*/
  1721. /* START cover the case that slider is visible on mouseover */
  1722. .monaco-editor .minimap.slider-mouseover .minimap-slider {
  1723. opacity: 0;
  1724. transition: opacity 100ms linear;
  1725. }
  1726. .monaco-editor .minimap.slider-mouseover:hover .minimap-slider {
  1727. opacity: 1;
  1728. }
  1729. .monaco-editor .minimap.slider-mouseover .minimap-slider.active {
  1730. opacity: 1;
  1731. }
  1732. /* END cover the case that slider is visible on mouseover */
  1733. .monaco-editor .minimap-shadow-hidden {
  1734. position: absolute;
  1735. width: 0;
  1736. }
  1737. .monaco-editor .minimap-shadow-visible {
  1738. position: absolute;
  1739. left: -6px;
  1740. width: 6px;
  1741. }
  1742. .monaco-editor.no-minimap-shadow .minimap-shadow-visible {
  1743. position: absolute;
  1744. left: -1px;
  1745. width: 1px;
  1746. }
  1747. /*---------------------------------------------------------------------------------------------
  1748. * Copyright (c) Microsoft Corporation. All rights reserved.
  1749. * Licensed under the MIT License. See License.txt in the project root for license information.
  1750. *--------------------------------------------------------------------------------------------*/
  1751. .monaco-editor .overlayWidgets {
  1752. position: absolute;
  1753. top: 0;
  1754. left:0;
  1755. }
  1756. /*---------------------------------------------------------------------------------------------
  1757. * Copyright (c) Microsoft Corporation. All rights reserved.
  1758. * Licensed under the MIT License. See License.txt in the project root for license information.
  1759. *--------------------------------------------------------------------------------------------*/
  1760. .monaco-editor .view-ruler {
  1761. position: absolute;
  1762. top: 0;
  1763. }
  1764. /*---------------------------------------------------------------------------------------------
  1765. * Copyright (c) Microsoft Corporation. All rights reserved.
  1766. * Licensed under the MIT License. See License.txt in the project root for license information.
  1767. *--------------------------------------------------------------------------------------------*/
  1768. .monaco-editor .scroll-decoration {
  1769. position: absolute;
  1770. top: 0;
  1771. left: 0;
  1772. height: 6px;
  1773. }
  1774. /*---------------------------------------------------------------------------------------------
  1775. * Copyright (c) Microsoft Corporation. All rights reserved.
  1776. * Licensed under the MIT License. See License.txt in the project root for license information.
  1777. *--------------------------------------------------------------------------------------------*/
  1778. /*
  1779. Keeping name short for faster parsing.
  1780. cslr = core selections layer rendering (div)
  1781. */
  1782. .monaco-editor .lines-content .cslr {
  1783. position: absolute;
  1784. }
  1785. .monaco-editor .top-left-radius { border-top-left-radius: 3px; }
  1786. .monaco-editor .bottom-left-radius { border-bottom-left-radius: 3px; }
  1787. .monaco-editor .top-right-radius { border-top-right-radius: 3px; }
  1788. .monaco-editor .bottom-right-radius { border-bottom-right-radius: 3px; }
  1789. .monaco-editor.hc-black .top-left-radius { border-top-left-radius: 0; }
  1790. .monaco-editor.hc-black .bottom-left-radius { border-bottom-left-radius: 0; }
  1791. .monaco-editor.hc-black .top-right-radius { border-top-right-radius: 0; }
  1792. .monaco-editor.hc-black .bottom-right-radius { border-bottom-right-radius: 0; }
  1793. /*---------------------------------------------------------------------------------------------
  1794. * Copyright (c) Microsoft Corporation. All rights reserved.
  1795. * Licensed under the MIT License. See License.txt in the project root for license information.
  1796. *--------------------------------------------------------------------------------------------*/
  1797. .monaco-editor .cursors-layer {
  1798. position: absolute;
  1799. top: 0;
  1800. }
  1801. .monaco-editor .cursors-layer > .cursor {
  1802. position: absolute;
  1803. overflow: hidden;
  1804. }
  1805. /* -- smooth-caret-animation -- */
  1806. .monaco-editor .cursors-layer.cursor-smooth-caret-animation > .cursor {
  1807. transition: all 80ms;
  1808. }
  1809. /* -- block-outline-style -- */
  1810. .monaco-editor .cursors-layer.cursor-block-outline-style > .cursor {
  1811. box-sizing: border-box;
  1812. background: transparent !important;
  1813. border-style: solid;
  1814. border-width: 1px;
  1815. }
  1816. /* -- underline-style -- */
  1817. .monaco-editor .cursors-layer.cursor-underline-style > .cursor {
  1818. border-bottom-width: 2px;
  1819. border-bottom-style: solid;
  1820. background: transparent !important;
  1821. box-sizing: border-box;
  1822. }
  1823. /* -- underline-thin-style -- */
  1824. .monaco-editor .cursors-layer.cursor-underline-thin-style > .cursor {
  1825. border-bottom-width: 1px;
  1826. border-bottom-style: solid;
  1827. background: transparent !important;
  1828. box-sizing: border-box;
  1829. }
  1830. @keyframes monaco-cursor-smooth {
  1831. 0%,
  1832. 20% {
  1833. opacity: 1;
  1834. }
  1835. 60%,
  1836. 100% {
  1837. opacity: 0;
  1838. }
  1839. }
  1840. @keyframes monaco-cursor-phase {
  1841. 0%,
  1842. 20% {
  1843. opacity: 1;
  1844. }
  1845. 90%,
  1846. 100% {
  1847. opacity: 0;
  1848. }
  1849. }
  1850. @keyframes monaco-cursor-expand {
  1851. 0%,
  1852. 20% {
  1853. transform: scaleY(1);
  1854. }
  1855. 80%,
  1856. 100% {
  1857. transform: scaleY(0);
  1858. }
  1859. }
  1860. .cursor-smooth {
  1861. animation: monaco-cursor-smooth 0.5s ease-in-out 0s 20 alternate;
  1862. }
  1863. .cursor-phase {
  1864. animation: monaco-cursor-phase 0.5s ease-in-out 0s 20 alternate;
  1865. }
  1866. .cursor-expand > .cursor {
  1867. animation: monaco-cursor-expand 0.5s ease-in-out 0s 20 alternate;
  1868. }
  1869. /*---------------------------------------------------------------------------------------------
  1870. * Copyright (c) Microsoft Corporation. All rights reserved.
  1871. * Licensed under the MIT License. See License.txt in the project root for license information.
  1872. *--------------------------------------------------------------------------------------------*/
  1873. /* ---------- DiffEditor ---------- */
  1874. .monaco-diff-editor .diffOverview {
  1875. z-index: 9;
  1876. }
  1877. .monaco-diff-editor .diffOverview .diffViewport {
  1878. z-index: 10;
  1879. }
  1880. /* colors not externalized: using transparancy on background */
  1881. .monaco-diff-editor.vs .diffOverview { background: rgba(0, 0, 0, 0.03); }
  1882. .monaco-diff-editor.vs-dark .diffOverview { background: rgba(255, 255, 255, 0.01); }
  1883. .monaco-scrollable-element.modified-in-monaco-diff-editor.vs .scrollbar { background: rgba(0,0,0,0); }
  1884. .monaco-scrollable-element.modified-in-monaco-diff-editor.vs-dark .scrollbar { background: rgba(0,0,0,0); }
  1885. .monaco-scrollable-element.modified-in-monaco-diff-editor.hc-black .scrollbar { background: none; }
  1886. .monaco-scrollable-element.modified-in-monaco-diff-editor .slider {
  1887. z-index: 10;
  1888. }
  1889. .modified-in-monaco-diff-editor .slider.active { background: rgba(171, 171, 171, .4); }
  1890. .modified-in-monaco-diff-editor.hc-black .slider.active { background: none; }
  1891. /* ---------- Diff ---------- */
  1892. .monaco-editor .insert-sign,
  1893. .monaco-diff-editor .insert-sign,
  1894. .monaco-editor .delete-sign,
  1895. .monaco-diff-editor .delete-sign {
  1896. font-size: 11px !important;
  1897. opacity: 0.7 !important;
  1898. display: flex !important;
  1899. align-items: center;
  1900. }
  1901. .monaco-editor.hc-black .insert-sign,
  1902. .monaco-diff-editor.hc-black .insert-sign,
  1903. .monaco-editor.hc-black .delete-sign,
  1904. .monaco-diff-editor.hc-black .delete-sign {
  1905. opacity: 1;
  1906. }
  1907. .monaco-editor .inline-deleted-margin-view-zone {
  1908. text-align: right;
  1909. }
  1910. .monaco-editor .inline-added-margin-view-zone {
  1911. text-align: right;
  1912. }
  1913. /* ---------- Inline Diff ---------- */
  1914. .monaco-editor .view-zones .view-lines .view-line span {
  1915. display: inline-block;
  1916. }
  1917. .monaco-editor .margin-view-zones .lightbulb-glyph:hover {
  1918. cursor: pointer;
  1919. }
  1920. /*---------------------------------------------------------------------------------------------
  1921. * Copyright (c) Microsoft Corporation. All rights reserved.
  1922. * Licensed under the MIT License. See License.txt in the project root for license information.
  1923. *--------------------------------------------------------------------------------------------*/
  1924. .monaco-diff-editor .diff-review-line-number {
  1925. text-align: right;
  1926. display: inline-block;
  1927. }
  1928. .monaco-diff-editor .diff-review {
  1929. position: absolute;
  1930. user-select: none;
  1931. -webkit-user-select: none;
  1932. -ms-user-select: none;
  1933. }
  1934. .monaco-diff-editor .diff-review-summary {
  1935. padding-left: 10px;
  1936. }
  1937. .monaco-diff-editor .diff-review-shadow {
  1938. position: absolute;
  1939. }
  1940. .monaco-diff-editor .diff-review-row {
  1941. white-space: pre;
  1942. }
  1943. .monaco-diff-editor .diff-review-table {
  1944. display: table;
  1945. min-width: 100%;
  1946. }
  1947. .monaco-diff-editor .diff-review-row {
  1948. display: table-row;
  1949. width: 100%;
  1950. }
  1951. .monaco-diff-editor .diff-review-spacer {
  1952. display: inline-block;
  1953. width: 10px;
  1954. vertical-align: middle;
  1955. }
  1956. .monaco-diff-editor .diff-review-spacer > .codicon {
  1957. font-size: 9px !important;
  1958. }
  1959. .monaco-diff-editor .diff-review-actions {
  1960. display: inline-block;
  1961. position: absolute;
  1962. right: 10px;
  1963. top: 2px;
  1964. }
  1965. .monaco-diff-editor .diff-review-actions .action-label {
  1966. width: 16px;
  1967. height: 16px;
  1968. margin: 2px 0;
  1969. }
  1970. /*---------------------------------------------------------------------------------------------
  1971. * Copyright (c) Microsoft Corporation. All rights reserved.
  1972. * Licensed under the MIT License. See License.txt in the project root for license information.
  1973. *--------------------------------------------------------------------------------------------*/
  1974. /* -------------------- IE10 remove auto clear button -------------------- */
  1975. ::-ms-clear {
  1976. display: none;
  1977. }
  1978. /* All widgets */
  1979. /* I am not a big fan of this rule */
  1980. .monaco-editor .editor-widget input {
  1981. color: inherit;
  1982. }
  1983. /* -------------------- Editor -------------------- */
  1984. .monaco-editor {
  1985. position: relative;
  1986. overflow: visible;
  1987. -webkit-text-size-adjust: 100%;
  1988. }
  1989. /* -------------------- Misc -------------------- */
  1990. .monaco-editor .overflow-guard {
  1991. position: relative;
  1992. overflow: hidden;
  1993. }
  1994. .monaco-editor .view-overlays {
  1995. position: absolute;
  1996. top: 0;
  1997. }
  1998. /*
  1999. .monaco-editor .auto-closed-character {
  2000. opacity: 0.3;
  2001. }
  2002. */
  2003. /*---------------------------------------------------------------------------------------------
  2004. * Copyright (c) Microsoft Corporation. All rights reserved.
  2005. * Licensed under the MIT License. See License.txt in the project root for license information.
  2006. *--------------------------------------------------------------------------------------------*/
  2007. .monaco-editor .selection-anchor {
  2008. background-color: #007ACC;
  2009. width: 2px !important;
  2010. }
  2011. /*---------------------------------------------------------------------------------------------
  2012. * Copyright (c) Microsoft Corporation. All rights reserved.
  2013. * Licensed under the MIT License. See License.txt in the project root for license information.
  2014. *--------------------------------------------------------------------------------------------*/
  2015. .monaco-editor .bracket-match {
  2016. box-sizing: border-box;
  2017. }
  2018. /*---------------------------------------------------------------------------------------------
  2019. * Copyright (c) Microsoft Corporation. All rights reserved.
  2020. * Licensed under the MIT License. See License.txt in the project root for license information.
  2021. *--------------------------------------------------------------------------------------------*/
  2022. .monaco-editor .contentWidgets .codicon-light-bulb,
  2023. .monaco-editor .contentWidgets .codicon-lightbulb-autofix {
  2024. display: flex;
  2025. align-items: center;
  2026. justify-content: center;
  2027. }
  2028. .monaco-editor .contentWidgets .codicon-light-bulb:hover,
  2029. .monaco-editor .contentWidgets .codicon-lightbulb-autofix:hover {
  2030. cursor: pointer;
  2031. }
  2032. /*---------------------------------------------------------------------------------------------
  2033. * Copyright (c) Microsoft Corporation. All rights reserved.
  2034. * Licensed under the MIT License. See License.txt in the project root for license information.
  2035. *--------------------------------------------------------------------------------------------*/
  2036. .monaco-editor .codelens-decoration {
  2037. overflow: hidden;
  2038. display: inline-block;
  2039. text-overflow: ellipsis;
  2040. white-space: nowrap;
  2041. }
  2042. .monaco-editor .codelens-decoration > span,
  2043. .monaco-editor .codelens-decoration > a {
  2044. user-select: none;
  2045. -webkit-user-select: none;
  2046. -ms-user-select: none;
  2047. white-space: nowrap;
  2048. vertical-align: sub;
  2049. }
  2050. .monaco-editor .codelens-decoration > a {
  2051. text-decoration: none;
  2052. }
  2053. .monaco-editor .codelens-decoration > a:hover {
  2054. cursor: pointer;
  2055. }
  2056. .monaco-editor .codelens-decoration .codicon {
  2057. vertical-align: middle;
  2058. color: currentColor !important;
  2059. }
  2060. .monaco-editor .codelens-decoration > a:hover .codicon::before {
  2061. cursor: pointer;
  2062. }
  2063. @keyframes fadein {
  2064. 0% { opacity: 0; visibility: visible;}
  2065. 100% { opacity: 1; }
  2066. }
  2067. .monaco-editor .codelens-decoration.fadein {
  2068. animation: fadein 0.1s linear;
  2069. }
  2070. /*---------------------------------------------------------------------------------------------
  2071. * Copyright (c) Microsoft Corporation. All rights reserved.
  2072. * Licensed under the MIT License. See License.txt in the project root for license information.
  2073. *--------------------------------------------------------------------------------------------*/
  2074. .colorpicker-widget {
  2075. height: 190px;
  2076. user-select: none;
  2077. -webkit-user-select: none;
  2078. -ms-user-select: none;
  2079. }
  2080. .monaco-editor .colorpicker-hover:focus {
  2081. outline: none;
  2082. }
  2083. /* Header */
  2084. .colorpicker-header {
  2085. display: flex;
  2086. height: 24px;
  2087. position: relative;
  2088. background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAAAHUlEQVQYV2PYvXu3JAi7uLiAMaYAjAGTQBPYLQkAa/0Zef3qRswAAAAASUVORK5CYII=);
  2089. background-size: 9px 9px;
  2090. image-rendering: pixelated;
  2091. }
  2092. .colorpicker-header .picked-color {
  2093. width: 216px;
  2094. text-align: center;
  2095. line-height: 24px;
  2096. cursor: pointer;
  2097. color: white;
  2098. flex: 1;
  2099. text-align: center;
  2100. }
  2101. .colorpicker-header .picked-color.light {
  2102. color: black;
  2103. }
  2104. .colorpicker-header .original-color {
  2105. width: 74px;
  2106. z-index: inherit;
  2107. cursor: pointer;
  2108. }
  2109. /* Body */
  2110. .colorpicker-body {
  2111. display: flex;
  2112. padding: 8px;
  2113. position: relative;
  2114. }
  2115. .colorpicker-body .saturation-wrap {
  2116. overflow: hidden;
  2117. height: 150px;
  2118. position: relative;
  2119. min-width: 220px;
  2120. flex: 1;
  2121. }
  2122. .colorpicker-body .saturation-box {
  2123. height: 150px;
  2124. position: absolute;
  2125. }
  2126. .colorpicker-body .saturation-selection {
  2127. width: 9px;
  2128. height: 9px;
  2129. margin: -5px 0 0 -5px;
  2130. border: 1px solid rgb(255, 255, 255);
  2131. border-radius: 100%;
  2132. box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.8);
  2133. position: absolute;
  2134. }
  2135. .colorpicker-body .strip {
  2136. width: 25px;
  2137. height: 150px;
  2138. }
  2139. .colorpicker-body .hue-strip {
  2140. position: relative;
  2141. margin-left: 8px;
  2142. cursor: grab;
  2143. background: linear-gradient(to bottom, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
  2144. }
  2145. .colorpicker-body .opacity-strip {
  2146. position: relative;
  2147. margin-left: 8px;
  2148. cursor: grab;
  2149. background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAAAHUlEQVQYV2PYvXu3JAi7uLiAMaYAjAGTQBPYLQkAa/0Zef3qRswAAAAASUVORK5CYII=);
  2150. background-size: 9px 9px;
  2151. image-rendering: pixelated;
  2152. }
  2153. .colorpicker-body .strip.grabbing {
  2154. cursor: grabbing;
  2155. }
  2156. .colorpicker-body .slider {
  2157. position: absolute;
  2158. top: 0;
  2159. left: -2px;
  2160. width: calc(100% + 4px);
  2161. height: 4px;
  2162. box-sizing: border-box;
  2163. border: 1px solid rgba(255, 255, 255, 0.71);
  2164. box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.85);
  2165. }
  2166. .colorpicker-body .strip .overlay {
  2167. height: 150px;
  2168. pointer-events: none;
  2169. }
  2170. /*---------------------------------------------------------------------------------------------
  2171. * Copyright (c) Microsoft Corporation. All rights reserved.
  2172. * Licensed under the MIT License. See License.txt in the project root for license information.
  2173. *--------------------------------------------------------------------------------------------*/
  2174. .monaco-editor.vs .dnd-target {
  2175. border-right: 2px dotted black;
  2176. color: white; /* opposite of black */
  2177. }
  2178. .monaco-editor.vs-dark .dnd-target {
  2179. border-right: 2px dotted #AEAFAD;
  2180. color: #51504f; /* opposite of #AEAFAD */
  2181. }
  2182. .monaco-editor.hc-black .dnd-target {
  2183. border-right: 2px dotted #fff;
  2184. color: #000; /* opposite of #fff */
  2185. }
  2186. .monaco-editor.mouse-default .view-lines,
  2187. .monaco-editor.vs-dark.mac.mouse-default .view-lines,
  2188. .monaco-editor.hc-black.mac.mouse-default .view-lines {
  2189. cursor: default;
  2190. }
  2191. .monaco-editor.mouse-copy .view-lines,
  2192. .monaco-editor.vs-dark.mac.mouse-copy .view-lines,
  2193. .monaco-editor.hc-black.mac.mouse-copy .view-lines {
  2194. cursor: copy;
  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. /* Find widget */
  2201. .monaco-editor .find-widget {
  2202. position: absolute;
  2203. z-index: 35;
  2204. height: 33px;
  2205. overflow: hidden;
  2206. line-height: 19px;
  2207. transition: transform 200ms linear;
  2208. padding: 0 4px;
  2209. box-sizing: border-box;
  2210. transform: translateY(calc(-100% - 10px)); /* shadow (10px) */
  2211. }
  2212. .monaco-editor .find-widget textarea {
  2213. margin: 0px;
  2214. }
  2215. .monaco-editor .find-widget.hiddenEditor {
  2216. display: none;
  2217. }
  2218. /* Find widget when replace is toggled on */
  2219. .monaco-editor .find-widget.replaceToggled > .replace-part {
  2220. display: flex;
  2221. }
  2222. .monaco-editor .find-widget.visible {
  2223. transform: translateY(0);
  2224. }
  2225. .monaco-editor .find-widget .monaco-inputbox.synthetic-focus {
  2226. outline: 1px solid -webkit-focus-ring-color;
  2227. outline-offset: -1px;
  2228. }
  2229. .monaco-editor .find-widget .monaco-inputbox .input {
  2230. background-color: transparent;
  2231. min-height: 0;
  2232. }
  2233. .monaco-editor .find-widget .monaco-findInput .input {
  2234. font-size: 13px;
  2235. }
  2236. .monaco-editor .find-widget > .find-part,
  2237. .monaco-editor .find-widget > .replace-part {
  2238. margin: 4px 0 0 17px;
  2239. font-size: 12px;
  2240. display: flex;
  2241. }
  2242. .monaco-editor .find-widget > .find-part .monaco-inputbox,
  2243. .monaco-editor .find-widget > .replace-part .monaco-inputbox {
  2244. min-height: 25px;
  2245. }
  2246. .monaco-editor .find-widget > .replace-part .monaco-inputbox > .ibwrapper > .mirror {
  2247. padding-right: 22px;
  2248. }
  2249. .monaco-editor .find-widget > .find-part .monaco-inputbox > .ibwrapper > .input,
  2250. .monaco-editor .find-widget > .find-part .monaco-inputbox > .ibwrapper > .mirror,
  2251. .monaco-editor .find-widget > .replace-part .monaco-inputbox > .ibwrapper > .input,
  2252. .monaco-editor .find-widget > .replace-part .monaco-inputbox > .ibwrapper > .mirror {
  2253. padding-top: 2px;
  2254. padding-bottom: 2px;
  2255. }
  2256. .monaco-editor .find-widget > .find-part .find-actions {
  2257. height: 25px;
  2258. display: flex;
  2259. align-items: center;
  2260. }
  2261. .monaco-editor .find-widget > .replace-part .replace-actions {
  2262. height: 25px;
  2263. display: flex;
  2264. align-items: center;
  2265. }
  2266. .monaco-editor .find-widget .monaco-findInput {
  2267. vertical-align: middle;
  2268. display: flex;
  2269. flex:1;
  2270. }
  2271. .monaco-editor .find-widget .monaco-findInput .monaco-scrollable-element {
  2272. /* Make sure textarea inherits the width correctly */
  2273. width: 100%;
  2274. }
  2275. .monaco-editor .find-widget .monaco-findInput .monaco-scrollable-element .scrollbar.vertical {
  2276. /* Hide vertical scrollbar */
  2277. opacity: 0;
  2278. }
  2279. .monaco-editor .find-widget .matchesCount {
  2280. display: flex;
  2281. flex: initial;
  2282. margin: 0 0 0 3px;
  2283. padding: 2px 0 0 2px;
  2284. height: 25px;
  2285. vertical-align: middle;
  2286. box-sizing: border-box;
  2287. text-align: center;
  2288. line-height: 23px;
  2289. }
  2290. .monaco-editor .find-widget .button {
  2291. width: 16px;
  2292. height: 16px;
  2293. padding: 3px;
  2294. border-radius: 5px;
  2295. display: flex;
  2296. flex: initial;
  2297. margin-left: 3px;
  2298. background-position: center center;
  2299. background-repeat: no-repeat;
  2300. cursor: pointer;
  2301. display: flex;
  2302. align-items: center;
  2303. justify-content: center;
  2304. }
  2305. /* find in selection button */
  2306. .monaco-editor .find-widget .codicon-find-selection {
  2307. width: 22px;
  2308. height: 22px;
  2309. padding: 3px;
  2310. border-radius: 5px;
  2311. }
  2312. .monaco-editor .find-widget .button.left {
  2313. margin-left: 0;
  2314. margin-right: 3px;
  2315. }
  2316. .monaco-editor .find-widget .button.wide {
  2317. width: auto;
  2318. padding: 1px 6px;
  2319. top: -1px;
  2320. }
  2321. .monaco-editor .find-widget .button.toggle {
  2322. position: absolute;
  2323. top: 0;
  2324. left: 3px;
  2325. width: 18px;
  2326. height: 100%;
  2327. box-sizing: border-box;
  2328. }
  2329. .monaco-editor .find-widget .button.toggle.disabled {
  2330. display: none;
  2331. }
  2332. .monaco-editor .find-widget .disabled {
  2333. opacity: 0.3;
  2334. cursor: default;
  2335. }
  2336. .monaco-editor .find-widget > .replace-part {
  2337. display: none;
  2338. }
  2339. .monaco-editor .find-widget > .replace-part > .monaco-findInput {
  2340. position: relative;
  2341. display: flex;
  2342. vertical-align: middle;
  2343. flex: auto;
  2344. flex-grow: 0;
  2345. flex-shrink: 0;
  2346. }
  2347. .monaco-editor .find-widget > .replace-part > .monaco-findInput > .controls {
  2348. position: absolute;
  2349. top: 3px;
  2350. right: 2px;
  2351. }
  2352. /* REDUCED */
  2353. .monaco-editor .find-widget.reduced-find-widget .matchesCount {
  2354. display:none;
  2355. }
  2356. /* NARROW (SMALLER THAN REDUCED) */
  2357. .monaco-editor .find-widget.narrow-find-widget {
  2358. max-width: 257px !important;
  2359. }
  2360. /* COLLAPSED (SMALLER THAN NARROW) */
  2361. .monaco-editor .find-widget.collapsed-find-widget {
  2362. max-width: 170px !important;
  2363. }
  2364. .monaco-editor .find-widget.collapsed-find-widget .button.previous,
  2365. .monaco-editor .find-widget.collapsed-find-widget .button.next,
  2366. .monaco-editor .find-widget.collapsed-find-widget .button.replace,
  2367. .monaco-editor .find-widget.collapsed-find-widget .button.replace-all,
  2368. .monaco-editor .find-widget.collapsed-find-widget > .find-part .monaco-findInput .controls {
  2369. display:none;
  2370. }
  2371. .monaco-editor .findMatch {
  2372. animation-duration: 0;
  2373. animation-name: inherit !important;
  2374. }
  2375. .monaco-editor .find-widget .monaco-sash {
  2376. left: 0 !important;
  2377. }
  2378. .monaco-editor.hc-black .find-widget .button:before {
  2379. position: relative;
  2380. top: 1px;
  2381. left: 2px;
  2382. }
  2383. /*---------------------------------------------------------------------------------------------
  2384. * Copyright (c) Microsoft Corporation. All rights reserved.
  2385. * Licensed under the MIT License. See License.txt in the project root for license information.
  2386. *--------------------------------------------------------------------------------------------*/
  2387. .monaco-editor .margin-view-overlays .codicon-folding-expanded,
  2388. .monaco-editor .margin-view-overlays .codicon-folding-collapsed {
  2389. cursor: pointer;
  2390. opacity: 0;
  2391. transition: opacity 0.5s;
  2392. display: flex;
  2393. align-items: center;
  2394. justify-content: center;
  2395. font-size: 140%;
  2396. margin-left: 2px;
  2397. }
  2398. .monaco-editor .margin-view-overlays:hover .codicon,
  2399. .monaco-editor .margin-view-overlays .codicon.codicon-folding-collapsed,
  2400. .monaco-editor .margin-view-overlays .codicon.alwaysShowFoldIcons {
  2401. opacity: 1;
  2402. }
  2403. .monaco-editor .inline-folded:after {
  2404. color: grey;
  2405. margin: 0.1em 0.2em 0 0.2em;
  2406. content: "⋯";
  2407. display: inline;
  2408. line-height: 1em;
  2409. cursor: pointer;
  2410. }
  2411. /*---------------------------------------------------------------------------------------------
  2412. * Copyright (c) Microsoft Corporation. All rights reserved.
  2413. * Licensed under the MIT License. See License.txt in the project root for license information.
  2414. *--------------------------------------------------------------------------------------------*/
  2415. /* marker zone */
  2416. .monaco-editor .peekview-widget .head .peekview-title .severity-icon {
  2417. display: inline-block;
  2418. vertical-align: text-top;
  2419. margin-right: 4px;
  2420. }
  2421. .monaco-editor .marker-widget {
  2422. text-overflow: ellipsis;
  2423. white-space: nowrap;
  2424. }
  2425. .monaco-editor .marker-widget > .stale {
  2426. opacity: 0.6;
  2427. font-style: italic;
  2428. }
  2429. .monaco-editor .marker-widget .title {
  2430. display: inline-block;
  2431. padding-right: 5px;
  2432. }
  2433. .monaco-editor .marker-widget .descriptioncontainer {
  2434. position: absolute;
  2435. white-space: pre;
  2436. user-select: text;
  2437. -webkit-user-select: text;
  2438. -ms-user-select: text;
  2439. padding: 8px 12px 0 20px;
  2440. }
  2441. .monaco-editor .marker-widget .descriptioncontainer .message {
  2442. display: flex;
  2443. flex-direction: column;
  2444. }
  2445. .monaco-editor .marker-widget .descriptioncontainer .message .details {
  2446. padding-left: 6px;
  2447. }
  2448. .monaco-editor .marker-widget .descriptioncontainer .message .source,
  2449. .monaco-editor .marker-widget .descriptioncontainer .message span.code {
  2450. opacity: 0.6;
  2451. }
  2452. .monaco-editor .marker-widget .descriptioncontainer .message a.code-link {
  2453. opacity: 0.6;
  2454. color: inherit;
  2455. }
  2456. .monaco-editor .marker-widget .descriptioncontainer .message a.code-link:before {
  2457. content: '(';
  2458. }
  2459. .monaco-editor .marker-widget .descriptioncontainer .message a.code-link:after {
  2460. content: ')';
  2461. }
  2462. .monaco-editor .marker-widget .descriptioncontainer .message a.code-link > span {
  2463. text-decoration: underline;
  2464. /** Hack to force underline to show **/
  2465. border-bottom: 1px solid transparent;
  2466. text-underline-position: under;
  2467. }
  2468. .monaco-editor .marker-widget .descriptioncontainer .filename {
  2469. cursor: pointer;
  2470. }
  2471. /*---------------------------------------------------------------------------------------------
  2472. * Copyright (c) Microsoft Corporation. All rights reserved.
  2473. * Licensed under the MIT License. See License.txt in the project root for license information.
  2474. *--------------------------------------------------------------------------------------------*/
  2475. .monaco-editor .goto-definition-link {
  2476. text-decoration: underline;
  2477. cursor: pointer;
  2478. }
  2479. /*---------------------------------------------------------------------------------------------
  2480. * Copyright (c) Microsoft Corporation. All rights reserved.
  2481. * Licensed under the MIT License. See License.txt in the project root for license information.
  2482. *--------------------------------------------------------------------------------------------*/
  2483. /* -- zone widget */
  2484. .monaco-editor .zone-widget .zone-widget-container.reference-zone-widget {
  2485. border-top-width: 1px;
  2486. border-bottom-width: 1px;
  2487. }
  2488. .monaco-editor .reference-zone-widget .inline {
  2489. display: inline-block;
  2490. vertical-align: top;
  2491. }
  2492. .monaco-editor .reference-zone-widget .messages {
  2493. height: 100%;
  2494. width: 100%;
  2495. text-align: center;
  2496. padding: 3em 0;
  2497. }
  2498. .monaco-editor .reference-zone-widget .ref-tree {
  2499. line-height: 23px;
  2500. }
  2501. .monaco-editor .reference-zone-widget .ref-tree .reference {
  2502. text-overflow: ellipsis;
  2503. overflow: hidden;
  2504. }
  2505. .monaco-editor .reference-zone-widget .ref-tree .reference-file {
  2506. display: inline-flex;
  2507. width: 100%;
  2508. height: 100%;
  2509. }
  2510. .monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .selected .reference-file {
  2511. color: inherit !important;
  2512. }
  2513. .monaco-editor .reference-zone-widget .ref-tree .reference-file .count {
  2514. margin-right: 12px;
  2515. margin-left: auto;
  2516. }
  2517. /* High Contrast Theming */
  2518. .monaco-editor.hc-black .reference-zone-widget .ref-tree .reference-file {
  2519. font-weight: bold;
  2520. }
  2521. /*---------------------------------------------------------------------------------------------
  2522. * Copyright (c) Microsoft Corporation. All rights reserved.
  2523. * Licensed under the MIT License. See License.txt in the project root for license information.
  2524. *--------------------------------------------------------------------------------------------*/
  2525. .monaco-editor .suggest-preview-additional-widget {
  2526. white-space: nowrap;
  2527. }
  2528. .monaco-editor .suggest-preview-additional-widget .content-spacer {
  2529. color: transparent;
  2530. white-space: pre;
  2531. }
  2532. .monaco-editor .suggest-preview-additional-widget .button {
  2533. display: inline-block;
  2534. cursor: pointer;
  2535. text-decoration: underline;
  2536. text-underline-position: under;
  2537. }
  2538. .monaco-editor .ghost-text-hidden {
  2539. opacity: 0;
  2540. font-size: 0;
  2541. }
  2542. .monaco-editor .ghost-text-decoration-preview {
  2543. font-style: italic;
  2544. }
  2545. /*---------------------------------------------------------------------------------------------
  2546. * Copyright (c) Microsoft Corporation. All rights reserved.
  2547. * Licensed under the MIT License. See License.txt in the project root for license information.
  2548. *--------------------------------------------------------------------------------------------*/
  2549. .monaco-editor .detected-link,
  2550. .monaco-editor .detected-link-active {
  2551. text-decoration: underline;
  2552. text-underline-position: under;
  2553. }
  2554. .monaco-editor .detected-link-active {
  2555. cursor: pointer;
  2556. }
  2557. /*---------------------------------------------------------------------------------------------
  2558. * Copyright (c) Microsoft Corporation. All rights reserved.
  2559. * Licensed under the MIT License. See License.txt in the project root for license information.
  2560. *--------------------------------------------------------------------------------------------*/
  2561. .monaco-editor .monaco-editor-overlaymessage {
  2562. padding-bottom: 8px;
  2563. z-index: 10000;
  2564. }
  2565. .monaco-editor .monaco-editor-overlaymessage.below {
  2566. padding-bottom: 0;
  2567. padding-top: 8px;
  2568. z-index: 10000;
  2569. }
  2570. @keyframes fadeIn {
  2571. from { opacity: 0; }
  2572. to { opacity: 1; }
  2573. }
  2574. .monaco-editor .monaco-editor-overlaymessage.fadeIn {
  2575. animation: fadeIn 150ms ease-out;
  2576. }
  2577. @keyframes fadeOut {
  2578. from { opacity: 1; }
  2579. to { opacity: 0; }
  2580. }
  2581. .monaco-editor .monaco-editor-overlaymessage.fadeOut {
  2582. animation: fadeOut 100ms ease-out;
  2583. }
  2584. .monaco-editor .monaco-editor-overlaymessage .message {
  2585. padding: 1px 4px;
  2586. }
  2587. .monaco-editor .monaco-editor-overlaymessage .anchor {
  2588. width: 0 !important;
  2589. height: 0 !important;
  2590. border-color: transparent;
  2591. border-style: solid;
  2592. z-index: 1000;
  2593. border-width: 8px;
  2594. position: absolute;
  2595. }
  2596. .monaco-editor .monaco-editor-overlaymessage:not(.below) .anchor.top,
  2597. .monaco-editor .monaco-editor-overlaymessage.below .anchor.below {
  2598. display: none;
  2599. }
  2600. .monaco-editor .monaco-editor-overlaymessage.below .anchor.top {
  2601. display: inherit;
  2602. top: -8px;
  2603. }
  2604. /*---------------------------------------------------------------------------------------------
  2605. * Copyright (c) Microsoft Corporation. All rights reserved.
  2606. * Licensed under the MIT License. See License.txt in the project root for license information.
  2607. *--------------------------------------------------------------------------------------------*/
  2608. .monaco-editor .parameter-hints-widget {
  2609. z-index: 10;
  2610. display: flex;
  2611. flex-direction: column;
  2612. line-height: 1.5em;
  2613. }
  2614. .monaco-editor .parameter-hints-widget > .phwrapper {
  2615. max-width: 440px;
  2616. display: flex;
  2617. flex-direction: row;
  2618. }
  2619. .monaco-editor .parameter-hints-widget.multiple {
  2620. min-height: 3.3em;
  2621. padding: 0;
  2622. }
  2623. .monaco-editor .parameter-hints-widget.visible {
  2624. transition: left .05s ease-in-out;
  2625. }
  2626. .monaco-editor .parameter-hints-widget p,
  2627. .monaco-editor .parameter-hints-widget ul {
  2628. margin: 8px 0;
  2629. }
  2630. .monaco-editor .parameter-hints-widget .monaco-scrollable-element,
  2631. .monaco-editor .parameter-hints-widget .body {
  2632. display: flex;
  2633. flex: 1;
  2634. flex-direction: column;
  2635. min-height: 100%;
  2636. }
  2637. .monaco-editor .parameter-hints-widget .signature {
  2638. padding: 4px 5px;
  2639. }
  2640. .monaco-editor .parameter-hints-widget .docs {
  2641. padding: 0 10px 0 5px;
  2642. white-space: pre-wrap;
  2643. }
  2644. .monaco-editor .parameter-hints-widget .docs.empty {
  2645. display: none;
  2646. }
  2647. .monaco-editor .parameter-hints-widget .docs .markdown-docs {
  2648. white-space: initial;
  2649. }
  2650. .monaco-editor .parameter-hints-widget .docs .markdown-docs code {
  2651. font-family: var(--monaco-monospace-font);
  2652. }
  2653. .monaco-editor .parameter-hints-widget .docs .code {
  2654. white-space: pre-wrap;
  2655. }
  2656. .monaco-editor .parameter-hints-widget .docs code {
  2657. border-radius: 3px;
  2658. padding: 0 0.4em;
  2659. }
  2660. .monaco-editor .parameter-hints-widget .controls {
  2661. display: none;
  2662. flex-direction: column;
  2663. align-items: center;
  2664. min-width: 22px;
  2665. justify-content: flex-end;
  2666. }
  2667. .monaco-editor .parameter-hints-widget.multiple .controls {
  2668. display: flex;
  2669. padding: 0 2px;
  2670. }
  2671. .monaco-editor .parameter-hints-widget.multiple .button {
  2672. width: 16px;
  2673. height: 16px;
  2674. background-repeat: no-repeat;
  2675. cursor: pointer;
  2676. }
  2677. .monaco-editor .parameter-hints-widget .button.previous {
  2678. bottom: 24px;
  2679. }
  2680. .monaco-editor .parameter-hints-widget .overloads {
  2681. text-align: center;
  2682. height: 12px;
  2683. line-height: 12px;
  2684. opacity: 0.5;
  2685. font-family: var(--monaco-monospace-font);
  2686. }
  2687. .monaco-editor .parameter-hints-widget .signature .parameter.active {
  2688. font-weight: bold;
  2689. text-decoration: underline;
  2690. }
  2691. .monaco-editor .parameter-hints-widget .documentation-parameter > .parameter {
  2692. font-weight: bold;
  2693. margin-right: 0.5em;
  2694. }
  2695. /*---------------------------------------------------------------------------------------------
  2696. * Copyright (c) Microsoft Corporation. All rights reserved.
  2697. * Licensed under the MIT License. See License.txt in the project root for license information.
  2698. *--------------------------------------------------------------------------------------------*/
  2699. .monaco-editor .peekview-widget .head {
  2700. box-sizing: border-box;
  2701. display: flex;
  2702. }
  2703. .monaco-editor .peekview-widget .head .peekview-title {
  2704. display: flex;
  2705. align-items: center;
  2706. font-size: 13px;
  2707. margin-left: 20px;
  2708. min-width: 0;
  2709. }
  2710. .monaco-editor .peekview-widget .head .peekview-title.clickable {
  2711. cursor: pointer;
  2712. }
  2713. .monaco-editor .peekview-widget .head .peekview-title .dirname:not(:empty) {
  2714. font-size: 0.9em;
  2715. margin-left: 0.5em;
  2716. }
  2717. .monaco-editor .peekview-widget .head .peekview-title .meta {
  2718. white-space: nowrap;
  2719. }
  2720. .monaco-editor .peekview-widget .head .peekview-title .dirname {
  2721. white-space: nowrap;
  2722. }
  2723. .monaco-editor .peekview-widget .head .peekview-title .filename {
  2724. overflow: hidden;
  2725. text-overflow: ellipsis;
  2726. white-space: nowrap;
  2727. }
  2728. .monaco-editor .peekview-widget .head .peekview-title .meta:not(:empty)::before {
  2729. content: '-';
  2730. padding: 0 0.3em;
  2731. }
  2732. .monaco-editor .peekview-widget .head .peekview-actions {
  2733. flex: 1;
  2734. text-align: right;
  2735. padding-right: 2px;
  2736. }
  2737. .monaco-editor .peekview-widget .head .peekview-actions > .monaco-action-bar {
  2738. display: inline-block;
  2739. }
  2740. .monaco-editor .peekview-widget .head .peekview-actions > .monaco-action-bar,
  2741. .monaco-editor .peekview-widget .head .peekview-actions > .monaco-action-bar > .actions-container {
  2742. height: 100%;
  2743. }
  2744. .monaco-editor .peekview-widget > .body {
  2745. border-top: 1px solid;
  2746. position: relative;
  2747. }
  2748. .monaco-editor .peekview-widget .head .peekview-title .codicon {
  2749. margin-right: 4px;
  2750. }
  2751. .monaco-editor .peekview-widget .monaco-list .monaco-list-row.focused .codicon {
  2752. color: inherit !important;
  2753. }
  2754. /*---------------------------------------------------------------------------------------------
  2755. * Copyright (c) Microsoft Corporation. All rights reserved.
  2756. * Licensed under the MIT License. See License.txt in the project root for license information.
  2757. *--------------------------------------------------------------------------------------------*/
  2758. .monaco-editor .rename-box {
  2759. z-index: 100;
  2760. color: inherit;
  2761. }
  2762. .monaco-editor .rename-box.preview {
  2763. padding: 3px 3px 0 3px;
  2764. }
  2765. .monaco-editor .rename-box .rename-input {
  2766. padding: 3px;
  2767. width: calc(100% - 6px);
  2768. }
  2769. .monaco-editor .rename-box .rename-label {
  2770. display: none;
  2771. opacity: .8;
  2772. }
  2773. .monaco-editor .rename-box.preview .rename-label {
  2774. display: inherit;
  2775. }
  2776. /*---------------------------------------------------------------------------------------------
  2777. * Copyright (c) Microsoft Corporation. All rights reserved.
  2778. * Licensed under the MIT License. See License.txt in the project root for license information.
  2779. *--------------------------------------------------------------------------------------------*/
  2780. .monaco-editor .snippet-placeholder {
  2781. min-width: 2px;
  2782. outline-style: solid;
  2783. outline-width: 1px;
  2784. }
  2785. .monaco-editor .finish-snippet-placeholder {
  2786. outline-style: solid;
  2787. outline-width: 1px;
  2788. }
  2789. /*---------------------------------------------------------------------------------------------
  2790. * Copyright (c) Microsoft Corporation. All rights reserved.
  2791. * Licensed under the MIT License. See License.txt in the project root for license information.
  2792. *--------------------------------------------------------------------------------------------*/
  2793. /* Suggest widget*/
  2794. .monaco-editor .suggest-widget {
  2795. width: 430px;
  2796. z-index: 40;
  2797. display: flex;
  2798. flex-direction: column;
  2799. }
  2800. .monaco-editor .suggest-widget.message {
  2801. flex-direction: row;
  2802. align-items: center;
  2803. }
  2804. .monaco-editor .suggest-widget,
  2805. .monaco-editor .suggest-details {
  2806. flex: 0 1 auto;
  2807. width: 100%;
  2808. border-style: solid;
  2809. border-width: 1px;
  2810. }
  2811. .monaco-editor.hc-black .suggest-widget,
  2812. .monaco-editor.hc-black .suggest-details {
  2813. border-width: 2px;
  2814. }
  2815. /* Styles for status bar part */
  2816. .monaco-editor .suggest-widget .suggest-status-bar {
  2817. box-sizing: border-box;
  2818. display: none;
  2819. flex-flow: row nowrap;
  2820. justify-content: space-between;
  2821. width: 100%;
  2822. font-size: 80%;
  2823. padding: 0 4px 0 4px;
  2824. border-top: 1px solid transparent;
  2825. overflow: hidden;
  2826. }
  2827. .monaco-editor .suggest-widget.with-status-bar .suggest-status-bar {
  2828. display: flex;
  2829. }
  2830. .monaco-editor .suggest-widget .suggest-status-bar .left {
  2831. padding-right: 8px;
  2832. }
  2833. .monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-label {
  2834. opacity: 0.5;
  2835. color: inherit;
  2836. }
  2837. .monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-item:not(:last-of-type) .action-label {
  2838. margin-right: 0;
  2839. }
  2840. .monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-item:not(:last-of-type) .action-label::after {
  2841. content: ', ';
  2842. margin-right: 0.3em;
  2843. }
  2844. .monaco-editor .suggest-widget.with-status-bar .monaco-list .monaco-list-row>.contents>.main>.right>.readMore,
  2845. .monaco-editor .suggest-widget.with-status-bar .monaco-list .monaco-list-row.focused.string-label>.contents>.main>.right>.readMore {
  2846. display: none;
  2847. }
  2848. .monaco-editor .suggest-widget.with-status-bar:not(.docs-side) .monaco-list .monaco-list-row:hover>.contents>.main>.right.can-expand-details>.details-label {
  2849. width: 100%;
  2850. }
  2851. /* Styles for Message element for when widget is loading or is empty */
  2852. .monaco-editor .suggest-widget>.message {
  2853. padding-left: 22px;
  2854. }
  2855. /** Styles for the list element **/
  2856. .monaco-editor .suggest-widget>.tree {
  2857. height: 100%;
  2858. width: 100%;
  2859. }
  2860. .monaco-editor .suggest-widget .monaco-list {
  2861. user-select: none;
  2862. -webkit-user-select: none;
  2863. -ms-user-select: none;
  2864. }
  2865. /** Styles for each row in the list element **/
  2866. .monaco-editor .suggest-widget .monaco-list .monaco-list-row {
  2867. display: flex;
  2868. -mox-box-sizing: border-box;
  2869. box-sizing: border-box;
  2870. padding-right: 10px;
  2871. background-repeat: no-repeat;
  2872. background-position: 2px 2px;
  2873. white-space: nowrap;
  2874. cursor: pointer;
  2875. touch-action: none;
  2876. }
  2877. .monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents {
  2878. flex: 1;
  2879. height: 100%;
  2880. overflow: hidden;
  2881. padding-left: 2px;
  2882. }
  2883. .monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main {
  2884. display: flex;
  2885. overflow: hidden;
  2886. text-overflow: ellipsis;
  2887. white-space: pre;
  2888. justify-content: space-between;
  2889. }
  2890. .monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left, .monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right {
  2891. display: flex;
  2892. }
  2893. .monaco-editor .suggest-widget:not(.frozen) .monaco-highlighted-label .highlight {
  2894. font-weight: bold;
  2895. }
  2896. /** ReadMore Icon styles **/
  2897. .monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close,
  2898. .monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore::before {
  2899. color: inherit;
  2900. opacity: 1;
  2901. font-size: 14px;
  2902. cursor: pointer;
  2903. }
  2904. .monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close {
  2905. position: absolute;
  2906. top: 6px;
  2907. right: 2px;
  2908. }
  2909. .monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close:hover,
  2910. .monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore:hover {
  2911. opacity: 1;
  2912. }
  2913. /** signature, qualifier, type/details opacity **/
  2914. .monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label {
  2915. opacity: 0.7;
  2916. }
  2917. .monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.signature-label {
  2918. overflow: hidden;
  2919. text-overflow: ellipsis;
  2920. opacity: 0.6;
  2921. }
  2922. .monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.qualifier-label {
  2923. margin-left: 12px;
  2924. opacity: 0.4;
  2925. font-size: 85%;
  2926. line-height: initial;
  2927. text-overflow: ellipsis;
  2928. overflow: hidden;
  2929. align-self: center;
  2930. }
  2931. /** Type Info and icon next to the label in the focused completion item **/
  2932. .monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label {
  2933. font-size: 85%;
  2934. margin-left: 1.1em;
  2935. overflow: hidden;
  2936. text-overflow: ellipsis;
  2937. white-space: nowrap;
  2938. }
  2939. .monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label>.monaco-tokenized-source {
  2940. display: inline;
  2941. }
  2942. /** Details: if using CompletionItem#details, show on focus **/
  2943. .monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label {
  2944. display: none;
  2945. }
  2946. .monaco-editor .suggest-widget:not(.shows-details) .monaco-list .monaco-list-row.focused>.contents>.main>.right>.details-label {
  2947. display: inline;
  2948. }
  2949. /** Details: if using CompletionItemLabel#details, always show **/
  2950. .monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.string-label)>.contents>.main>.right>.details-label,
  2951. .monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row.focused:not(.string-label)>.contents>.main>.right>.details-label {
  2952. display: inline;
  2953. }
  2954. /** Ellipsis on hover **/
  2955. .monaco-editor .suggest-widget:not(.docs-side) .monaco-list .monaco-list-row:hover>.contents>.main>.right.can-expand-details>.details-label {
  2956. width: calc(100% - 26px);
  2957. }
  2958. .monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left {
  2959. flex-shrink: 1;
  2960. flex-grow: 1;
  2961. overflow: hidden;
  2962. }
  2963. .monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.monaco-icon-label {
  2964. flex-shrink: 0;
  2965. }
  2966. .monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.string-label)>.contents>.main>.left>.monaco-icon-label {
  2967. max-width: 100%;
  2968. }
  2969. .monaco-editor .suggest-widget .monaco-list .monaco-list-row.string-label>.contents>.main>.left>.monaco-icon-label {
  2970. flex-shrink: 1;
  2971. }
  2972. .monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right {
  2973. overflow: hidden;
  2974. flex-shrink: 4;
  2975. max-width: 70%;
  2976. }
  2977. .monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore {
  2978. display: inline-block;
  2979. position: absolute;
  2980. right: 10px;
  2981. width: 18px;
  2982. height: 18px;
  2983. visibility: hidden;
  2984. }
  2985. /** Do NOT display ReadMore when docs is side/below **/
  2986. .monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row>.contents>.main>.right>.readMore, .monaco-editor .suggest-widget.docs-below .monaco-list .monaco-list-row>.contents>.main>.right>.readMore {
  2987. display: none !important;
  2988. }
  2989. /** Do NOT display ReadMore when using plain CompletionItemLabel (details/documentation might not be resolved) **/
  2990. .monaco-editor .suggest-widget .monaco-list .monaco-list-row.string-label>.contents>.main>.right>.readMore {
  2991. display: none;
  2992. }
  2993. /** Focused item can show ReadMore, but can't when docs is side/below **/
  2994. .monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused.string-label>.contents>.main>.right>.readMore {
  2995. display: inline-block;
  2996. }
  2997. .monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row>.contents>.main>.right>.readMore,
  2998. .monaco-editor .suggest-widget.docs-below .monaco-list .monaco-list-row>.contents>.main>.right>.readMore {
  2999. display: none;
  3000. }
  3001. .monaco-editor .suggest-widget .monaco-list .monaco-list-row:hover>.contents>.main>.right>.readMore {
  3002. visibility: visible;
  3003. }
  3004. /** Styles for each row in the list **/
  3005. .monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label.deprecated {
  3006. opacity: 0.66;
  3007. text-decoration: unset;
  3008. }
  3009. .monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label.deprecated>.monaco-icon-label-container>.monaco-icon-name-container {
  3010. text-decoration: line-through;
  3011. }
  3012. .monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label::before {
  3013. height: 100%;
  3014. }
  3015. .monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon {
  3016. display: block;
  3017. height: 16px;
  3018. width: 16px;
  3019. margin-left: 2px;
  3020. background-repeat: no-repeat;
  3021. background-size: 80%;
  3022. background-position: center;
  3023. }
  3024. .monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon.hide {
  3025. display: none;
  3026. }
  3027. .monaco-editor .suggest-widget .monaco-list .monaco-list-row .suggest-icon {
  3028. display: flex;
  3029. align-items: center;
  3030. margin-right: 4px;
  3031. }
  3032. .monaco-editor .suggest-widget.no-icons .monaco-list .monaco-list-row .icon, .monaco-editor .suggest-widget.no-icons .monaco-list .monaco-list-row .suggest-icon::before {
  3033. display: none;
  3034. }
  3035. .monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon.customcolor .colorspan {
  3036. margin: 0 0 0 0.3em;
  3037. border: 0.1em solid #000;
  3038. width: 0.7em;
  3039. height: 0.7em;
  3040. display: inline-block;
  3041. }
  3042. /** Styles for the docs of the completion item in focus **/
  3043. .monaco-editor .suggest-details-container {
  3044. z-index: 41;
  3045. }
  3046. .monaco-editor .suggest-details {
  3047. display: flex;
  3048. flex-direction: column;
  3049. cursor: default;
  3050. }
  3051. .monaco-editor .suggest-details.no-docs {
  3052. display: none;
  3053. }
  3054. .monaco-editor .suggest-details>.monaco-scrollable-element {
  3055. flex: 1;
  3056. }
  3057. .monaco-editor .suggest-details>.monaco-scrollable-element>.body {
  3058. box-sizing: border-box;
  3059. height: 100%;
  3060. width: 100%;
  3061. }
  3062. .monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.type {
  3063. flex: 2;
  3064. overflow: hidden;
  3065. text-overflow: ellipsis;
  3066. opacity: 0.7;
  3067. white-space: pre;
  3068. margin: 0 24px 0 0;
  3069. padding: 4px 0 12px 5px;
  3070. }
  3071. .monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.type.auto-wrap {
  3072. white-space: normal;
  3073. word-break: break-all;
  3074. }
  3075. .monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs {
  3076. margin: 0;
  3077. padding: 4px 5px;
  3078. white-space: pre-wrap;
  3079. }
  3080. .monaco-editor .suggest-details.no-type>.monaco-scrollable-element>.body>.docs {
  3081. margin-right: 24px;
  3082. }
  3083. .monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs {
  3084. padding: 0;
  3085. white-space: initial;
  3086. min-height: calc(1rem + 8px);
  3087. }
  3088. .monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div,
  3089. .monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>span:not(:empty) {
  3090. padding: 4px 5px;
  3091. }
  3092. .monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div>p:first-child {
  3093. margin-top: 0;
  3094. }
  3095. .monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div>p:last-child {
  3096. margin-bottom: 0;
  3097. }
  3098. .monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs .code {
  3099. white-space: pre-wrap;
  3100. word-wrap: break-word;
  3101. }
  3102. .monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs .codicon {
  3103. vertical-align: sub;
  3104. }
  3105. .monaco-editor .suggest-details>.monaco-scrollable-element>.body>p:empty {
  3106. display: none;
  3107. }
  3108. .monaco-editor .suggest-details code {
  3109. border-radius: 3px;
  3110. padding: 0 0.4em;
  3111. }
  3112. .monaco-editor .suggest-details ul {
  3113. padding-left: 20px;
  3114. }
  3115. .monaco-editor .suggest-details ol {
  3116. padding-left: 20px;
  3117. }
  3118. .monaco-editor .suggest-details p code {
  3119. font-family: var(--monaco-monospace-font);
  3120. }
  3121. /*---------------------------------------------------------------------------------------------
  3122. * Copyright (c) Microsoft Corporation. All rights reserved.
  3123. * Licensed under the MIT License. See License.txt in the project root for license information.
  3124. *--------------------------------------------------------------------------------------------*/
  3125. .monaco-editor .zone-widget {
  3126. position: absolute;
  3127. z-index: 10;
  3128. }
  3129. .monaco-editor .zone-widget .zone-widget-container {
  3130. border-top-style: solid;
  3131. border-bottom-style: solid;
  3132. border-top-width: 0;
  3133. border-bottom-width: 0;
  3134. position: relative;
  3135. }
  3136. /*---------------------------------------------------------------------------------------------
  3137. * Copyright (c) Microsoft Corporation. All rights reserved.
  3138. * Licensed under the MIT License. See License.txt in the project root for license information.
  3139. *--------------------------------------------------------------------------------------------*/
  3140. .monaco-editor .accessibilityHelpWidget {
  3141. padding: 10px;
  3142. vertical-align: middle;
  3143. overflow: scroll;
  3144. }
  3145. /*---------------------------------------------------------------------------------------------
  3146. * Copyright (c) Microsoft Corporation. All rights reserved.
  3147. * Licensed under the MIT License. See License.txt in the project root for license information.
  3148. *--------------------------------------------------------------------------------------------*/
  3149. .monaco-editor .iPadShowKeyboard {
  3150. width: 58px;
  3151. min-width: 0;
  3152. height: 36px;
  3153. min-height: 0;
  3154. margin: 0;
  3155. padding: 0;
  3156. position: absolute;
  3157. resize: none;
  3158. overflow: hidden;
  3159. background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIHZpZXdCb3g9IjAgMCA1MyAzNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiPg0KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik00OC4wMzY0IDQuMDEwNDJINC4wMDc3OUw0LjAwNzc5IDMyLjAyODZINDguMDM2NFY0LjAxMDQyWk00LjAwNzc5IDAuMDA3ODEyNUMxLjc5NzIxIDAuMDA3ODEyNSAwLjAwNTE4Nzk5IDEuNzk5ODQgMC4wMDUxODc5OSA0LjAxMDQyVjMyLjAyODZDMC4wMDUxODc5OSAzNC4yMzkyIDEuNzk3MjEgMzYuMDMxMiA0LjAwNzc5IDM2LjAzMTJINDguMDM2NEM1MC4yNDcgMzYuMDMxMiA1Mi4wMzkgMzQuMjM5MiA1Mi4wMzkgMzIuMDI4NlY0LjAxMDQyQzUyLjAzOSAxLjc5OTg0IDUwLjI0NyAwLjAwNzgxMjUgNDguMDM2NCAwLjAwNzgxMjVINC4wMDc3OVpNOC4wMTA0MiA4LjAxMzAySDEyLjAxM1YxMi4wMTU2SDguMDEwNDJWOC4wMTMwMlpNMjAuMDE4MiA4LjAxMzAySDE2LjAxNTZWMTIuMDE1NkgyMC4wMTgyVjguMDEzMDJaTTI0LjAyMDggOC4wMTMwMkgyOC4wMjM0VjEyLjAxNTZIMjQuMDIwOFY4LjAxMzAyWk0zNi4wMjg2IDguMDEzMDJIMzIuMDI2VjEyLjAxNTZIMzYuMDI4NlY4LjAxMzAyWk00MC4wMzEyIDguMDEzMDJINDQuMDMzOVYxMi4wMTU2SDQwLjAzMTJWOC4wMTMwMlpNMTYuMDE1NiAxNi4wMTgySDguMDEwNDJWMjAuMDIwOEgxNi4wMTU2VjE2LjAxODJaTTIwLjAxODIgMTYuMDE4MkgyNC4wMjA4VjIwLjAyMDhIMjAuMDE4MlYxNi4wMTgyWk0zMi4wMjYgMTYuMDE4MkgyOC4wMjM0VjIwLjAyMDhIMzIuMDI2VjE2LjAxODJaTTQ0LjAzMzkgMTYuMDE4MlYyMC4wMjA4SDM2LjAyODZWMTYuMDE4Mkg0NC4wMzM5Wk0xMi4wMTMgMjQuMDIzNEg4LjAxMDQyVjI4LjAyNkgxMi4wMTNWMjQuMDIzNFpNMTYuMDE1NiAyNC4wMjM0SDM2LjAyODZWMjguMDI2SDE2LjAxNTZWMjQuMDIzNFpNNDQuMDMzOSAyNC4wMjM0SDQwLjAzMTJWMjguMDI2SDQ0LjAzMzlWMjQuMDIzNFoiIGZpbGw9IiM0MjQyNDIiLz4NCjwvZz4NCjxkZWZzPg0KPGNsaXBQYXRoIGlkPSJjbGlwMCI+DQo8cmVjdCB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIGZpbGw9IndoaXRlIi8+DQo8L2NsaXBQYXRoPg0KPC9kZWZzPg0KPC9zdmc+DQo=) center center no-repeat;
  3160. border: 4px solid #F6F6F6;
  3161. border-radius: 4px;
  3162. }
  3163. .monaco-editor.vs-dark .iPadShowKeyboard {
  3164. background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIHZpZXdCb3g9IjAgMCA1MyAzNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiPg0KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik00OC4wMzY0IDQuMDEwNDJINC4wMDc3OUw0LjAwNzc5IDMyLjAyODZINDguMDM2NFY0LjAxMDQyWk00LjAwNzc5IDAuMDA3ODEyNUMxLjc5NzIxIDAuMDA3ODEyNSAwLjAwNTE4Nzk5IDEuNzk5ODQgMC4wMDUxODc5OSA0LjAxMDQyVjMyLjAyODZDMC4wMDUxODc5OSAzNC4yMzkyIDEuNzk3MjEgMzYuMDMxMiA0LjAwNzc5IDM2LjAzMTJINDguMDM2NEM1MC4yNDcgMzYuMDMxMiA1Mi4wMzkgMzQuMjM5MiA1Mi4wMzkgMzIuMDI4NlY0LjAxMDQyQzUyLjAzOSAxLjc5OTg0IDUwLjI0NyAwLjAwNzgxMjUgNDguMDM2NCAwLjAwNzgxMjVINC4wMDc3OVpNOC4wMTA0MiA4LjAxMzAySDEyLjAxM1YxMi4wMTU2SDguMDEwNDJWOC4wMTMwMlpNMjAuMDE4MiA4LjAxMzAySDE2LjAxNTZWMTIuMDE1NkgyMC4wMTgyVjguMDEzMDJaTTI0LjAyMDggOC4wMTMwMkgyOC4wMjM0VjEyLjAxNTZIMjQuMDIwOFY4LjAxMzAyWk0zNi4wMjg2IDguMDEzMDJIMzIuMDI2VjEyLjAxNTZIMzYuMDI4NlY4LjAxMzAyWk00MC4wMzEyIDguMDEzMDJINDQuMDMzOVYxMi4wMTU2SDQwLjAzMTJWOC4wMTMwMlpNMTYuMDE1NiAxNi4wMTgySDguMDEwNDJWMjAuMDIwOEgxNi4wMTU2VjE2LjAxODJaTTIwLjAxODIgMTYuMDE4MkgyNC4wMjA4VjIwLjAyMDhIMjAuMDE4MlYxNi4wMTgyWk0zMi4wMjYgMTYuMDE4MkgyOC4wMjM0VjIwLjAyMDhIMzIuMDI2VjE2LjAxODJaTTQ0LjAzMzkgMTYuMDE4MlYyMC4wMjA4SDM2LjAyODZWMTYuMDE4Mkg0NC4wMzM5Wk0xMi4wMTMgMjQuMDIzNEg4LjAxMDQyVjI4LjAyNkgxMi4wMTNWMjQuMDIzNFpNMTYuMDE1NiAyNC4wMjM0SDM2LjAyODZWMjguMDI2SDE2LjAxNTZWMjQuMDIzNFpNNDQuMDMzOSAyNC4wMjM0SDQwLjAzMTJWMjguMDI2SDQ0LjAzMzlWMjQuMDIzNFoiIGZpbGw9IiNDNUM1QzUiLz4NCjwvZz4NCjxkZWZzPg0KPGNsaXBQYXRoIGlkPSJjbGlwMCI+DQo8cmVjdCB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIGZpbGw9IndoaXRlIi8+DQo8L2NsaXBQYXRoPg0KPC9kZWZzPg0KPC9zdmc+DQo=) center center no-repeat;
  3165. border: 4px solid #252526;
  3166. }
  3167. /*---------------------------------------------------------------------------------------------
  3168. * Copyright (c) Microsoft Corporation. All rights reserved.
  3169. * Licensed under the MIT License. See License.txt in the project root for license information.
  3170. *--------------------------------------------------------------------------------------------*/
  3171. .monaco-editor .tokens-inspect-widget {
  3172. z-index: 50;
  3173. user-select: text;
  3174. -webkit-user-select: text;
  3175. -ms-user-select: text;
  3176. padding: 10px;
  3177. }
  3178. .tokens-inspect-separator {
  3179. height: 1px;
  3180. border: 0;
  3181. }
  3182. .monaco-editor .tokens-inspect-widget .tm-token {
  3183. font-family: var(--monaco-monospace-font);
  3184. }
  3185. .monaco-editor .tokens-inspect-widget .tm-token-length {
  3186. font-weight: normal;
  3187. font-size: 60%;
  3188. float: right;
  3189. }
  3190. .monaco-editor .tokens-inspect-widget .tm-metadata-table {
  3191. width: 100%;
  3192. }
  3193. .monaco-editor .tokens-inspect-widget .tm-metadata-value {
  3194. font-family: var(--monaco-monospace-font);
  3195. text-align: right;
  3196. }
  3197. .monaco-editor .tokens-inspect-widget .tm-token-type {
  3198. font-family: var(--monaco-monospace-font);
  3199. }
  3200. /*---------------------------------------------------------------------------------------------
  3201. * Copyright (c) Microsoft Corporation. All rights reserved.
  3202. * Licensed under the MIT License. See License.txt in the project root for license information.
  3203. *--------------------------------------------------------------------------------------------*/
  3204. .quick-input-widget {
  3205. font-size: 13px;
  3206. }
  3207. .quick-input-widget .monaco-highlighted-label .highlight,
  3208. .quick-input-widget .monaco-highlighted-label .highlight {
  3209. color: #0066BF;
  3210. }
  3211. .vs .quick-input-widget .monaco-list-row.focused .monaco-highlighted-label .highlight,
  3212. .vs .quick-input-widget .monaco-list-row.focused .monaco-highlighted-label .highlight {
  3213. color: #9DDDFF;
  3214. }
  3215. .vs-dark .quick-input-widget .monaco-highlighted-label .highlight,
  3216. .vs-dark .quick-input-widget .monaco-highlighted-label .highlight {
  3217. color: #0097fb;
  3218. }
  3219. .hc-black .quick-input-widget .monaco-highlighted-label .highlight,
  3220. .hc-black .quick-input-widget .monaco-highlighted-label .highlight {
  3221. color: #F38518;
  3222. }
  3223. .monaco-keybinding > .monaco-keybinding-key {
  3224. background-color: rgba(221, 221, 221, 0.4);
  3225. border: solid 1px rgba(204, 204, 204, 0.4);
  3226. border-bottom-color: rgba(187, 187, 187, 0.4);
  3227. box-shadow: inset 0 -1px 0 rgba(187, 187, 187, 0.4);
  3228. color: #555;
  3229. }
  3230. .hc-black .monaco-keybinding > .monaco-keybinding-key {
  3231. background-color: transparent;
  3232. border: solid 1px rgb(111, 195, 223);
  3233. box-shadow: none;
  3234. color: #fff;
  3235. }
  3236. .vs-dark .monaco-keybinding > .monaco-keybinding-key {
  3237. background-color: rgba(128, 128, 128, 0.17);
  3238. border: solid 1px rgba(51, 51, 51, 0.6);
  3239. border-bottom-color: rgba(68, 68, 68, 0.6);
  3240. box-shadow: inset 0 -1px 0 rgba(68, 68, 68, 0.6);
  3241. color: #ccc;
  3242. }
  3243. /*---------------------------------------------------------------------------------------------
  3244. * Copyright (c) Microsoft Corporation. All rights reserved.
  3245. * Licensed under the MIT License. See License.txt in the project root for license information.
  3246. *--------------------------------------------------------------------------------------------*/
  3247. /* Default standalone editor fonts */
  3248. .monaco-editor {
  3249. font-family: -apple-system, BlinkMacSystemFont, "Segoe WPC", "Segoe UI", "HelveticaNeue-Light", system-ui, "Ubuntu", "Droid Sans", sans-serif;
  3250. --monaco-monospace-font: "SF Mono", Monaco, Menlo, Consolas, "Ubuntu Mono", "Liberation Mono", "DejaVu Sans Mono", "Courier New", monospace;
  3251. }
  3252. .monaco-menu .monaco-action-bar.vertical .action-item .action-menu-item:focus .action-label {
  3253. stroke-width: 1.2px;
  3254. }
  3255. .monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,
  3256. .monaco-editor.hc-black .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label {
  3257. stroke-width: 1.2px;
  3258. }
  3259. .monaco-hover p {
  3260. margin: 0;
  3261. }
  3262. /* See https://github.com/microsoft/monaco-editor/issues/2168#issuecomment-780078600 */
  3263. .monaco-aria-container {
  3264. position: absolute !important;
  3265. top: 0; /* avoid being placed underneath a sibling element */
  3266. height: 1px;
  3267. width: 1px;
  3268. margin: -1px;
  3269. overflow: hidden;
  3270. padding: 0;
  3271. clip: rect(1px, 1px, 1px, 1px);
  3272. clip-path: inset(50%);
  3273. }
  3274. /* The hc-black theme is already high contrast optimized */
  3275. .monaco-editor.hc-black {
  3276. -ms-high-contrast-adjust: none;
  3277. }
  3278. /* In case the browser goes into high contrast mode and the editor is not configured with the hc-black theme */
  3279. @media screen and (-ms-high-contrast:active) {
  3280. /* current line highlight */
  3281. .monaco-editor.vs .view-overlays .current-line,
  3282. .monaco-editor.vs-dark .view-overlays .current-line {
  3283. border-color: windowtext !important;
  3284. border-left: 0;
  3285. border-right: 0;
  3286. }
  3287. /* view cursors */
  3288. .monaco-editor.vs .cursor,
  3289. .monaco-editor.vs-dark .cursor {
  3290. background-color: windowtext !important;
  3291. }
  3292. /* dnd target */
  3293. .monaco-editor.vs .dnd-target,
  3294. .monaco-editor.vs-dark .dnd-target {
  3295. border-color: windowtext !important;
  3296. }
  3297. /* selected text background */
  3298. .monaco-editor.vs .selected-text,
  3299. .monaco-editor.vs-dark .selected-text {
  3300. background-color: highlight !important;
  3301. }
  3302. /* allow the text to have a transparent background. */
  3303. .monaco-editor.vs .view-line,
  3304. .monaco-editor.vs-dark .view-line {
  3305. -ms-high-contrast-adjust: none;
  3306. }
  3307. /* text color */
  3308. .monaco-editor.vs .view-line span,
  3309. .monaco-editor.vs-dark .view-line span {
  3310. color: windowtext !important;
  3311. }
  3312. /* selected text color */
  3313. .monaco-editor.vs .view-line span.inline-selected-text,
  3314. .monaco-editor.vs-dark .view-line span.inline-selected-text {
  3315. color: highlighttext !important;
  3316. }
  3317. /* allow decorations */
  3318. .monaco-editor.vs .view-overlays,
  3319. .monaco-editor.vs-dark .view-overlays {
  3320. -ms-high-contrast-adjust: none;
  3321. }
  3322. /* various decorations */
  3323. .monaco-editor.vs .selectionHighlight,
  3324. .monaco-editor.vs-dark .selectionHighlight,
  3325. .monaco-editor.vs .wordHighlight,
  3326. .monaco-editor.vs-dark .wordHighlight,
  3327. .monaco-editor.vs .wordHighlightStrong,
  3328. .monaco-editor.vs-dark .wordHighlightStrong,
  3329. .monaco-editor.vs .reference-decoration,
  3330. .monaco-editor.vs-dark .reference-decoration {
  3331. border: 2px dotted highlight !important;
  3332. background: transparent !important;
  3333. box-sizing: border-box;
  3334. }
  3335. .monaco-editor.vs .rangeHighlight,
  3336. .monaco-editor.vs-dark .rangeHighlight {
  3337. background: transparent !important;
  3338. border: 1px dotted activeborder !important;
  3339. box-sizing: border-box;
  3340. }
  3341. .monaco-editor.vs .bracket-match,
  3342. .monaco-editor.vs-dark .bracket-match {
  3343. border-color: windowtext !important;
  3344. background: transparent !important;
  3345. }
  3346. /* find widget */
  3347. .monaco-editor.vs .findMatch,
  3348. .monaco-editor.vs-dark .findMatch,
  3349. .monaco-editor.vs .currentFindMatch,
  3350. .monaco-editor.vs-dark .currentFindMatch {
  3351. border: 2px dotted activeborder !important;
  3352. background: transparent !important;
  3353. box-sizing: border-box;
  3354. }
  3355. .monaco-editor.vs .find-widget,
  3356. .monaco-editor.vs-dark .find-widget {
  3357. border: 1px solid windowtext;
  3358. }
  3359. /* list - used by suggest widget */
  3360. .monaco-editor.vs .monaco-list .monaco-list-row,
  3361. .monaco-editor.vs-dark .monaco-list .monaco-list-row {
  3362. -ms-high-contrast-adjust: none;
  3363. color: windowtext !important;
  3364. }
  3365. .monaco-editor.vs .monaco-list .monaco-list-row.focused,
  3366. .monaco-editor.vs-dark .monaco-list .monaco-list-row.focused {
  3367. color: highlighttext !important;
  3368. background-color: highlight !important;
  3369. }
  3370. .monaco-editor.vs .monaco-list .monaco-list-row:hover,
  3371. .monaco-editor.vs-dark .monaco-list .monaco-list-row:hover {
  3372. background: transparent !important;
  3373. border: 1px solid highlight;
  3374. box-sizing: border-box;
  3375. }
  3376. /* scrollbars */
  3377. .monaco-editor.vs .monaco-scrollable-element > .scrollbar,
  3378. .monaco-editor.vs-dark .monaco-scrollable-element > .scrollbar {
  3379. -ms-high-contrast-adjust: none;
  3380. background: background !important;
  3381. border: 1px solid windowtext;
  3382. box-sizing: border-box;
  3383. }
  3384. .monaco-editor.vs .monaco-scrollable-element > .scrollbar > .slider,
  3385. .monaco-editor.vs-dark .monaco-scrollable-element > .scrollbar > .slider {
  3386. background: windowtext !important;
  3387. }
  3388. .monaco-editor.vs .monaco-scrollable-element > .scrollbar > .slider:hover,
  3389. .monaco-editor.vs-dark .monaco-scrollable-element > .scrollbar > .slider:hover {
  3390. background: highlight !important;
  3391. }
  3392. .monaco-editor.vs .monaco-scrollable-element > .scrollbar > .slider.active,
  3393. .monaco-editor.vs-dark .monaco-scrollable-element > .scrollbar > .slider.active {
  3394. background: highlight !important;
  3395. }
  3396. /* overview ruler */
  3397. .monaco-editor.vs .decorationsOverviewRuler,
  3398. .monaco-editor.vs-dark .decorationsOverviewRuler {
  3399. opacity: 0;
  3400. }
  3401. /* minimap */
  3402. .monaco-editor.vs .minimap,
  3403. .monaco-editor.vs-dark .minimap {
  3404. display: none;
  3405. }
  3406. /* squiggles */
  3407. .monaco-editor.vs .squiggly-d-error,
  3408. .monaco-editor.vs-dark .squiggly-d-error {
  3409. background: transparent !important;
  3410. border-bottom: 4px double #E47777;
  3411. }
  3412. .monaco-editor.vs .squiggly-c-warning,
  3413. .monaco-editor.vs-dark .squiggly-c-warning {
  3414. border-bottom: 4px double #71B771;
  3415. }
  3416. .monaco-editor.vs .squiggly-b-info,
  3417. .monaco-editor.vs-dark .squiggly-b-info {
  3418. border-bottom: 4px double #71B771;
  3419. }
  3420. .monaco-editor.vs .squiggly-a-hint,
  3421. .monaco-editor.vs-dark .squiggly-a-hint {
  3422. border-bottom: 4px double #6c6c6c;
  3423. }
  3424. /* contextmenu */
  3425. .monaco-editor.vs .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,
  3426. .monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label {
  3427. -ms-high-contrast-adjust: none;
  3428. color: highlighttext !important;
  3429. background-color: highlight !important;
  3430. }
  3431. .monaco-editor.vs .monaco-menu .monaco-action-bar.vertical .action-menu-item:hover .action-label,
  3432. .monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:hover .action-label {
  3433. -ms-high-contrast-adjust: none;
  3434. background: transparent !important;
  3435. border: 1px solid highlight;
  3436. box-sizing: border-box;
  3437. }
  3438. /* diff editor */
  3439. .monaco-diff-editor.vs .diffOverviewRuler,
  3440. .monaco-diff-editor.vs-dark .diffOverviewRuler {
  3441. display: none;
  3442. }
  3443. .monaco-editor.vs .line-insert,
  3444. .monaco-editor.vs-dark .line-insert,
  3445. .monaco-editor.vs .line-delete,
  3446. .monaco-editor.vs-dark .line-delete {
  3447. background: transparent !important;
  3448. border: 1px solid highlight !important;
  3449. box-sizing: border-box;
  3450. }
  3451. .monaco-editor.vs .char-insert,
  3452. .monaco-editor.vs-dark .char-insert,
  3453. .monaco-editor.vs .char-delete,
  3454. .monaco-editor.vs-dark .char-delete {
  3455. background: transparent !important;
  3456. }
  3457. }
  3458. /*.monaco-editor.vs [tabindex="0"]:focus {
  3459. outline: 1px solid rgba(0, 122, 204, 0.4);
  3460. outline-offset: -1px;
  3461. opacity: 1 !important;
  3462. }
  3463. .monaco-editor.vs-dark [tabindex="0"]:focus {
  3464. outline: 1px solid rgba(14, 99, 156, 0.6);
  3465. outline-offset: -1px;
  3466. opacity: 1 !important;
  3467. }*/
  3468. /*---------------------------------------------------------------------------------------------
  3469. * Copyright (c) Microsoft Corporation. All rights reserved.
  3470. * Licensed under the MIT License. See License.txt in the project root for license information.
  3471. *--------------------------------------------------------------------------------------------*/
  3472. .monaco-action-bar .action-item.menu-entry .action-label.icon {
  3473. width: 16px;
  3474. height: 16px;
  3475. background-repeat: no-repeat;
  3476. background-position: 50%;
  3477. background-size: 16px;
  3478. }
  3479. .monaco-action-bar .action-item.menu-entry .action-label {
  3480. background-image: var(--menu-entry-icon-light);
  3481. }
  3482. .vs-dark .monaco-action-bar .action-item.menu-entry .action-label,
  3483. .hc-black .monaco-action-bar .action-item.menu-entry .action-label {
  3484. background-image: var(--menu-entry-icon-dark);
  3485. }
  3486. .monaco-dropdown-with-default {
  3487. display: flex !important;
  3488. flex-direction: row;
  3489. border-radius: 5px;
  3490. }
  3491. .monaco-dropdown-with-default > .action-container > .action-label {
  3492. margin-right: 0;
  3493. }
  3494. .monaco-dropdown-with-default > .action-container.menu-entry > .action-label.icon {
  3495. width: 16px;
  3496. height: 16px;
  3497. background-repeat: no-repeat;
  3498. background-position: 50%;
  3499. background-size: 16px;
  3500. }
  3501. .monaco-dropdown-with-default > .action-container.menu-entry > .action-label {
  3502. background-image: var(--menu-entry-icon-light);
  3503. }
  3504. .vs-dark .monaco-dropdown-with-default > .action-container.menu-entry > .action-label,
  3505. .hc-black .monaco-dropdown-with-default > .action-container.menu-entry > .action-label {
  3506. background-image: var(--menu-entry-icon-dark);
  3507. }
  3508. .monaco-dropdown-with-default > .dropdown-action-container > .monaco-dropdown > .dropdown-label .codicon[class*='codicon-'] {
  3509. font-size: 12px;
  3510. padding-left: 0px;
  3511. padding-right: 0px;
  3512. line-height: 16px;
  3513. margin-left: -3px;
  3514. }
  3515. .monaco-dropdown-with-default > .dropdown-action-container > .monaco-dropdown > .dropdown-label > .action-label {
  3516. display: block;
  3517. background-size: 16px;
  3518. background-position: center center;
  3519. background-repeat: no-repeat;
  3520. }
  3521. /*---------------------------------------------------------------------------------------------
  3522. * Copyright (c) Microsoft Corporation. All rights reserved.
  3523. * Licensed under the MIT License. See License.txt in the project root for license information.
  3524. *--------------------------------------------------------------------------------------------*/
  3525. .context-view .monaco-menu {
  3526. min-width: 130px;
  3527. }