加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
base-control.css 91.77 KB
一键复制 编辑 原始数据 按行查看 历史
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835
:root {
--md-char-color: #C7C5C5;
--meta-content-color: #5b808d;
--blur-text-color: #C8C8C8;
--drag-placeholder-color: #c7c5c5;
--panel-border-color: #777777;
--active-toggle-btn-color: #ddd;
--table-border-color: #ccc;
--primary-color: #428bca;
--primary-btn-border-color: #285e8e;
--primary-btn-text-color: #fff;
--search-select-bg-color: #000;
--search-select-text-color: #fff;
--heading-char-color: #ddd;
--color-popover-bg-color: #fafafa;
--control-text-color: var(--text-color);
--control-text-hover-color: var(--text-color);
--window-border: 1px solid #e9e9e9;
--active-file-bg-color: #eee;
--active-file-text-color: inherit;
--active-file-border-color: #777;
--focus-ring-color: #6eace2;
--side-bar-bg-color: var(--bg-color);
--item-hover-bg-color: rgba(229, 229, 229, 0.59);
--item-hover-text-color: inherit;
--side-bar-menu-active-tint: var(--side-bar-menu-active-tint);
--mac-title-bar-height: 20px;
--sidebar-width: 270px;
--rawblock-edit-panel-bd: #f5f6f7
}
@font-face {
font-family: Raleway;
font-style: normal;
font-weight: 400;
src: local('Raleway'), local('Raleway-Regular'), url(Raleway-latin-ext.woff2) format('woff2');
unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF
}
@font-face {
font-family: Raleway;
font-style: normal;
font-weight: 400;
src: local('Raleway'), local('Raleway-Regular'), url(Raleway-latin.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215
}
.md-heading, .md-p, .md-table {
white-space: pre-wrap
}
body {
overflow-y: hidden
}
.modal-content {
background-color: var(--bg-color)
}
div:focus, ul:focus {
outline: 0
}
.btn-default.active, .btn-default.focus, .btn-default:active, .btn-default:focus, .btn-default:hover, .open > .dropdown-toggle.btn-default {
background-color: var(--item-hover-bg-color);
color: var(--item-hover-text-color)
}
.popover {
background: var(--bg-color)
}
.popover.bottom > .arrow:after {
border-bottom-color: var(--bg-color)
}
.dropdown-menu > li {
font-size: 13px;
list-style-type: none
}
.dropdown-menu > li > a {
color: inherit;
color: var(--text-color);
text-decoration: none
}
.dropdown-menu > li > a:focus, .dropdown-menu > li > a:hover {
background: var(--item-hover-bg-color);
color: var(--text-color)
}
button {
background-color: inherit
}
input {
background-color: inherit;
background-color: var(--bg-color);
color: var(--text-color)
}
select {
background: var(--bg-color)
}
.icon-no-pic:before {
content: "\e600"
}
#header {
position: absolute;
height: 50px;
left: 0;
top: 0
}
#footer {
position: absolute;
height: 50px;
left: 0;
bottom: 0
}
content {
overflow-y: auto;
position: absolute;
height: auto;
width: inherit;
bottom: 0;
top: 0;
left: 0;
right: 0;
background-color: inherit;
overflow-x: auto
}
#write {
position: relative;
left: 0;
right: 0;
min-height: 100vh;
padding-left: 30px;
padding-right: 30px;
background-color: inherit;
overflow-x: visible;
-webkit-user-drag: none;
padding-bottom: 70px;
transition: .4s padding-top ease-out
}
.typora-node #write {
min-height: 100%;
top: 0
}
#write.typewriter-mode {
padding-top: 50% !important
}
#write:after {
content: "";
font-size: 0;
display: block;
height: 0
}
#write h1:empty:after, #write h2:empty:after, #write h3:empty:after, #write h4:empty:after, #write h5:empty:after, #write h6:empty:after {
content: '\200B'
}
#write .md-p:empty:after {
content: '\200B'
}
.md-entity > .md-meta, sub > .md-meta, sup > .md-meta {
display: inline-block;
width: 0;
opacity: 0
}
.md-entity > .md-meta {
white-space: nowrap !important
}
.md-entity:after {
content: '\200B'
}
.md-meta-none {
display: none
}
body.ty-on-copy .md-inline-math script, body.ty-on-copy .md-meta, body.ty-on-copy .md-meta-none {
display: inline-block;
width: 0;
height: 0;
overflow: hidden
}
.md-empty .md-meta, .md-expand .md-content, .md-expand .md-meta, .md-expand.md-content, .md-expand.md-meta {
display: inline;
opacity: inherit;
width: auto
}
.md-search-expand .md-content, .md-search-expand .md-meta, .md-search-expand script, .md-search-expand.md-content, .md-search-expand.md-meta, script.md-search-expand {
display: inline !important;
opacity: 1
}
.md-search-hit .md-footnote.md-search-expand {
margin: 0;
padding: 0;
border-radius: 0;
border: none
}
.md-search-expand .MathJax {
display: none !important
}
.md-expand-on-selection .md-meta {
display: inline
}
.md-expand-on-selection .md-meta.md-content {
display: none
}
.md-tmp-expand .md-content, .md-tmp-expand .md-meta {
display: inline !important;
letter-spacing: -100px
}
.md-tab {
display: inline-block;
white-space: pre
}
img {
cursor: default;
border-left: 2px transparent solid;
border-right: 4px transparent solid
}
img[src=''] {
display: none !important
}
p > img:only-child {
display: block;
margin: auto
}
.md-focus .md-expand > img {
display: none
}
.md-content {
display: none;
color: #5b808d;
color: var(--meta-content-color)
}
.md-meta {
display: none;
color: #BBB;
color: var(--md-char-color)
}
.md-after, .md-before {
padding: 0
}
.md-url {
text-decoration: underline;
cursor: pointer
}
[md-inline=linebreak] > .md-linebreak-mark:before {
content: "↓"
}
.hide-br-and-line-break .md-br-content {
opacity: 0;
font-size: .1px
}
.md-br + .md-softbreak {
white-space: normal;
width: 0;
display: inline-block;
margin-top: -1ch
}
.ignore-line-break .md-softbreak {
display: inline
}
.md-linebreak-mark, .md-raw-html-src-content, .md-raw-inline, .md-tag, [md-inline=linebreak] {
font-family: var(--monospace);
opacity: .6;
color: inherit;
white-space: pre-wrap
}
.md-raw-inline.md-meta {
opacity: .8 !important
}
.md-raw-html-src {
white-space: pre-line;
font-size: .9em
}
.hide-br-and-line-break .md-expand .md-br-content, .hide-br-and-line-break .md-expand.md-br-content {
opacity: .8;
font-size: inherit
}
.md-html-inline, .md-ruby {
white-space: normal
}
.md-html-inline:after {
content: "\200b"
}
.md-html-inline .md-meta, .md-ruby .md-meta {
white-space: pre-wrap
}
.md-ruby.md-expand .md-ruby-container {
display: none
}
.ignore-line-break .md-heading, .ignore-line-break .md-p {
white-space: normal
}
.ignore-line-break .md-plain {
white-space: pre-wrap
}
.ignore-line-break .md-softbreak:after {
content: '\200B'
}
.md-br-content:after {
content: " ";
display: block;
height: 0
}
h1 .md-tag, h2 .md-tag, h3 .md-tag, h4 .md-tag, h5 .md-tag, h6 .md-tag {
font-weight: initial;
opacity: .35
}
.md-link-title {
color: inherit;
opacity: .8;
font-style: italic
}
.btn-group .btn + .btn, .btn-group .btn + .btn-group, .btn-group .btn-group + .btn-group {
margin-left: -3px
}
.md-table-resize-popover {
min-width: 130px
}
#table-insert-col, #table-insert-row {
margin-left: 8px
}
.md-align-gp {
z-index: 50
}
.ty-table-edit {
width: 100%;
margin-left: -4px;
position: absolute;
background: 0 0
}
.right-th-button {
float: right
}
.ty-table-edit button {
border: 1px solid transparent;
background: 0 0;
padding: 1px 5px;
font-size: 12px;
line-height: 1.5
}
.md-table-more-label {
display: none
}
.md-table-more:focus, .md-table-more:hover, .ty-table-edit .md-table-more {
border: 0;
outline: 0
}
.md-table-more:focus .md-table-more-label, .md-table-more:hover .md-table-more-label {
display: inline
}
.ty-table-edit .btn-group-sm > .btn {
line-height: inherit;
margin-top: 0
}
.ty-table-edit div {
width: auto
}
.typora-table-insert-marker {
position: absolute;
height: 20px;
width: 20px
}
.typora-table-insert-marker .fa {
font-size: 18px;
position: absolute;
top: 0;
height: 20px;
z-index: 99
}
#typora-table-row-insert-marker .fa-caret-left {
right: -10px;
top: -6px
}
#typora-table-row-insert-marker .fa-caret-right {
left: -10px;
top: -6px
}
#typora-table-col-insert-marker .fa-caret-down {
top: -13px;
left: -3px
}
#typora-table-col-insert-marker .fa-caret-up {
bottom: -14px;
top: auto;
left: -3px
}
.no-selection {
user-select: none;
-webkit-user-select: none
}
.typora-on-moving td, .typora-on-moving th, td.typora-on-moving, th.typora-on-moving {
color: transparent;
background-color: #c7c5c5;
background-color: var(--drag-placeholder-color);
opacity: .5
}
.typora-table-drag-area {
width: 12px;
height: 8px;
opacity: 0;
float: left;
position: absolute;
top: 0;
left: 0
}
#typora-table-col-tracker, #typora-table-row-tracker {
position: absolute;
z-index: 99;
top: 0;
left: 0;
float: left;
background: inherit
}
#typora-table-row-tracker .typora-table-drag-area {
left: -6px
}
#typora-table-col-tracker .typora-table-drag-area {
top: -4px
}
#typora-table-row-tracker {
cursor: ns-resize
}
#typora-table-col-tracker {
cursor: ew-resize
}
.td-span {
display: inline-block;
min-width: 1ch;
width: 100%;
min-height: 10px
}
.td-span:empty:after {
content: " "
}
#write .code-tooltip {
line-height: 1;
width: auto
}
.ty-input {
-webkit-user-modify: read-write-plaintext-only
}
.ty-input:empty:after {
content: "\200b";
opacity: .6
}
.ty-cm-lang-input:empty:after {
content: attr(placeholder)
}
.code-tooltip .ty-input, .code-tooltip input {
background-color: transparent;
border: 0;
margin-top: 2px;
margin-bottom: 2px;
margin-left: 0;
margin-right: 0;
border-radius: 3px;
text-align: center;
min-width: 140px;
display: inline-block;
padding: 0 4px;
line-height: 1.5
}
.code-tooltip .btn-default {
background-color: inherit
}
.md-header-span {
font-weight: 700
}
.md-fences .code-tooltip {
bottom: -2.5em;
padding-left: 20px;
padding-right: 20px;
float: right
}
.lint .code-tooltip {
opacity: 1
}
.code-tooltip {
opacity: 1;
bottom: 0;
text-align: left;
font-size: .8em;
position: absolute;
right: 0;
background: inherit;
border-radius: 2px;
z-index: 20;
box-shadow: 0 1px 1px 0 rgba(0, 28, 36, .2)
}
.CodeMirror-linenumber {
padding-left: 6px
}
#math-inline-preview.code-tooltip {
font-size: 1em
}
.code-tooltip.md-hover-tip {
right: auto;
bottom: auto;
color: #fff;
background-color: #000;
background: #000;
border-radius: 4px;
padding: 0;
white-space: pre-wrap;
box-shadow: none;
min-width: 50px
}
.code-tooltip-content {
z-index: 20;
height: 100%;
background: inherit;
padding: 1ch;
position: relative;
min-width: 30px
}
.code-tooltip-content code {
background-color: grey;
color: #fff
}
.md-hover-tip .code-tooltip-content {
border-radius: 4px;
opacity: .95;
margin-top: -2px;
line-height: 1.2em;
text-align: center
}
.md-f-tooltip .code-tooltip-content {
text-align: left
}
.md-f-tooltip img {
max-height: 256px
}
.md-hover-tip a {
color: #B6C8DA;
word-break: break-all
}
.md-hover-tip .mjx-svg-href {
fill: #B6C8DA !important;
stroke: #B6C8DA !important
}
.md-hover-tip .md-arrow {
width: 0;
position: absolute;
top: -5px;
display: block;
opacity: .95
}
.md-hover-tip .md-arrow:after {
content: '';
width: 10px;
height: 10px;
background: #000;
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
position: absolute;
box-shadow: 0 1px 4px rgba(0, 0, 0, .4);
border-radius: 2px;
z-index: 19
}
.md-resize-table-th .popover {
display: block;
bottom: auto;
top: 15px;
margin-left: -10px;
width: 134px
}
.md-resize-table-th .popover.arrow {
left: 20px
}
.code-tooltip.popover {
box-shadow: 0 5px 10px rgba(0, 0, 0, .2)
}
.md-reverse-footnote-area a {
text-decoration: underline
}
.md-fences-advanced:not(.md-focus) .CodeMirror {
display: none
}
.md-fences-with-lineno .md-diagram-panel {
margin-left: 0
}
.md-diagram-panel-preview {
padding-top: 8px
}
pre.md-fences[lang=sequence] .md-diagram-panel {
padding-top: 16px
}
pre.md-fences-advanced.md-focus .md-fences-adv-panel {
position: absolute;
border: 1px solid #777;
border-color: var(--panel-border-color)
}
.md-fences-adv-panel {
z-index: 1;
white-space: nowrap;
left: 0;
right: 0
}
.md-diagram svg {
cursor: default
}
.enable-diagrams .md-diagram .code-tooltip {
right: 8px;
bottom: -3em
}
#write > [mermaid-type=gantt] .md-diagram-panel, #write > [mermaid-type=gantt].md-focus .md-diagram-panel {
left: calc(-50vw + 50% + .8em);
right: calc(-50vw + 50% + .8em);
width: auto;
max-width: 1140px;
margin-left: auto;
margin-right: auto
}
.pin-outline #write > [mermaid-type=gantt] .md-diagram-panel, .pin-outline #write > [mermaid-type=gantt].md-focus .md-diagram-panel {
left: 0;
right: 0
}
#write > [mermaid-type=gantt].md-focus .md-diagram-panel {
width: auto
}
#write.enable-diagrams > [mermaid-type=gantt].md-fences:not(.md-focus) {
width: 98vw;
margin-left: calc(-49vw + 50%)
}
.pin-outline #write.enable-diagrams > [mermaid-type=gantt].md-fences:not(.md-focus) {
margin-left: 0;
width: 100%
}
.md-diagram-panel-error {
white-space: pre-line;
text-align: left;
padding-left: 8px;
font-size: .8em;
color: #a94442
}
.md-diagram-panel-preview:empty {
padding-bottom: 10px
}
.md-diagram-panel-preview:empty:before {
content: "Painting Diagram...";
color: grey
}
.md-image {
min-width: 10px;
min-height: 10px;
position: relative;
word-break: break-all;
font-family: monospace
}
.md-image > .md-meta {
color: #5B469B;
padding-left: 5px;
position: relative;
font-family: var(--monospace);
border-radius: 5px;
vertical-align: top
}
.md-image > .md-show-hint:after, .md-no-ref.md-expand > .md-content:after {
content: "image is loading ...";
position: absolute;
float: left;
top: 1.8rem;
left: .714285714rem;
padding-left: 18px;
color: #666;
color: var(--meta-content-color);
padding-right: 18px;
padding-top: 2px;
padding-bottom: 2px;
box-shadow: 0 3px 8px rgba(0, 0, 0, .6);
font-size: 12px;
overflow-x: visible;
background-color: #fff;
background-color: var(--bg-color);
z-index: 9999;
min-width: 200px;
text-align: center
}
.md-no-ref.md-expand > .md-content:after, .md-no-ref > .md-show-hint:after {
content: attr(data-hint);
min-width: 300px;
text-align: left;
top: 1.5rem
}
.md-image.md-img-error > .md-show-hint:after {
content: "image load failed"
}
.md-image.md-img-loaded > .md-show-hint:after {
content: "";
display: none;
opacity: 0
}
.md-focus .md-img-error > .md-meta:first-of-type:before, .md-image > .md-meta:first-of-type:before {
content: "\e060";
font-family: typora-icon;
vertical-align: top;
margin-right: 2px;
position: relative;
cursor: pointer
}
.md-img-error > .md-meta:first-of-type:before {
content: "\e602";
position: static;
vertical-align: middle
}
[md-inline=imgtag].md-image-multi-line.md-img-loaded .md-content:after {
content: "\200b";
display: block;
height: 1px
}
.md-image-multi-line .md-meta:first-of-type:before {
margin-left: -24px
}
.md-image-multi-line > .md-meta {
text-align: left;
margin-left: 24px
}
.md-expand.md-img-loaded.md-image-multi-line > .md-meta, .md-image-multi-line > .md-meta, .md-img-error.md-image-multi-line > .md-meta {
display: block
}
.md-image-multi-line img {
display: block;
margin: auto
}
.md-img-error img, img[src=''] {
display: none
}
.md-image:not(.md-image-multi-line) > .md-meta, .md-img-error > .md-meta {
display: inline
}
.md-image.md-img-loaded:not(.md-expand) > .md-meta {
display: none
}
[md-inline].md-expand .md-image.md-img-loaded > .md-meta {
display: inline
}
.md-img-loaded .md-content {
display: none
}
.md-image-btn {
display: inline-block;
background: rgba(0, 0, 0, .42);
border-radius: 2px;
padding-left: 6px;
padding-right: 6px;
cursor: pointer;
line-height: 3ex;
vertical-align: middle;
color: transparent
}
.md-image-btn.selected, .md-image-btn:hover {
background: rgba(0, 0, 0, .7)
}
.md-image-btn:before {
content: attr(content);
font-size: 12px;
color: #fff
}
.md-image-input-src-btn {
cursor: text;
border-top-right-radius: 0;
border-bottom-right-radius: 0
}
.md-image-pick-file-btn {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
border-left: rgba(0, 0, 0, .58) solid 1px
}
.md-image-pick-file-btn:before {
font-family: FontAwesome;
content: "\f07c";
padding-left: 2px
}
@keyframes loadingC {
0% {
transform: translate(0, 0)
}
50% {
transform: translate(0, 12px)
}
100% {
transform: translate(0, 0)
}
}
.md-image-uploading-mask-wrapper {
position: absolute;
width: 100px;
height: 100px;
border-radius: 2px;
top: calc(50% - 50px);
left: calc(50% - 50px);
background-color: rgba(51, 51, 51, .62)
}
.md-image-uploading-mask {
width: 100px;
height: 100px;
text-align: center;
background-color: transparent;
display: block;
border-radius: 4px
}
.uploading-line {
display: inline-block;
width: 8px;
height: 8px;
margin-left: 2px;
margin-right: 2px;
background-color: #ccc
}
.md-image-uploading-label {
display: block;
color: #ddd;
font-size: 14px;
margin-top: 16px;
margin-bottom: 12px
}
.md-image-uploading-label:before {
content: "Uploading"
}
.md-on-moving .md-image-uploading-label:before {
content: "Copying"
}
.md-on-moving, .md-on-uploading {
display: inline-block
}
.md-on-uploading img {
filter: blur(2px);
min-height: 100px;
min-width: 100px
}
.md-image-uploading-mask .uploading-line:nth-last-child(1) {
animation: loadingC .6s .1s linear infinite
}
.md-image-uploading-mask .uploading-line:nth-last-child(2) {
animation: loadingC .6s .2s linear infinite
}
.md-image-uploading-mask .uploading-line:nth-last-child(3) {
animation: loadingC .6s .3s linear infinite
}
.md-auto-disp:empty {
display: inline-block;
min-width: 4ch
}
.md-img-loaded {
vertical-align: top
}
.md-expand.md-img-loaded > .md-meta {
display: inline;
text-align: left
}
.md-expand.md-img-loaded > .md-meta > span {
vertical-align: top
}
.md-expand.md-img-loaded > img {
display: inline-block
}
.md-auto-disp {
display: inline
}
.md-auto-disp:after {
content: '\200B';
display: inline-block
}
.md-def-name {
font-weight: 700;
font-size: 1em;
display: inline-block;
position: relative;
padding-left: 2ch;
padding-right: 2.5ch;
text-align: center
}
.md-def-footnote .md-def-name:before {
content: '[^'
}
.md-def-name:before {
font-weight: 400;
content: '[';
position: absolute;
left: 0;
color: #C7C5C5
}
.md-def-name:empty:after {
content: 'name ]';
position: initial
}
.md-def-name:after {
font-weight: 400;
content: '] :';
position: absolute;
right: 0;
color: #C7C5C5;
color: var(--md-char-color)
}
.md-def-split {
display: inline-block;
min-width: 1ch
}
.md-def-link.md-def-content:empty:before {
content: 'url'
}
.md-def-title:before {
color: #C7C5C5;
color: var(--md-char-color);
content: '"';
left: 0
}
.md-def-title:after {
color: #C7C5C5;
color: var(--md-char-color);
content: '"';
right: 0
}
.md-def-title {
display: inline-block;
position: relative;
margin-left: 1ch
}
.md-def-title:empty {
display: none
}
.md-focus .md-def-title:empty {
display: inline-block;
min-width: 16ch;
vertical-align: text-top
}
.md-def-title:empty:before {
content: '" title (optional) '
}
.md-def-url:empty:before {
color: #C7C5C5;
color: var(--md-char-color);
content: ' input link url here ';
text-decoration: none
}
.md-def-footnote .md-def-content:empty:after {
display: inline-block;
min-width: 10ch;
content: 'input description here';
color: #C7C5C5;
color: var(--md-char-color)
}
.md-def-content:empty {
min-width: 10ch;
display: inline-block
}
.md-focus.md-def-link .md-def-content {
-webkit-flex: none;
flex: none;
display: inline-block;
min-width: 10ch
}
.md-def-content > span:first-child:empty:after {
content: 'input description here';
color: #ddd
}
.md-def-url {
text-decoration: underline
}
.md-def-split.md-auto-hide {
min-width: 1px
}
p.rawedit:after {
content: ''
}
.md-notification-container {
top: 0;
position: fixed;
-ms-flex-align: center;
align-items: center;
display: flex;
flex-direction: column;
left: 0;
padding: 0 16px;
pointer-events: none;
right: 0;
z-index: 40;
transition: opacity .5s cubic-bezier(.215, .61, .355, 1), left .3s;
opacity: 0
}
.ty-notification-no-animation .md-notification-container {
transition: none
}
.ty-show-notification .md-notification-container {
opacity: 1
}
#md-notification {
display: none;
cursor: default;
width: 100%;
text-align: center;
z-index: 9999;
top: 0;
transition: .2s;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
background-color: inherit;
left: auto;
color: inherit;
max-height: 80%;
overflow: visible;
pointer-events: all;
background: var(--bg-color);
border: none;
box-shadow: none;
max-width: 1200px;
align-items: flex-start
}
#md-notification .btn {
padding: 3px 10px
}
#md-notification:before {
font: normal normal normal 14px/1 FontAwesome;
content: "\f0a2";
display: block;
position: absolute;
top: 13px;
left: 26px
}
.ty-show-notification #md-notification {
display: block
}
.md-notification-detail {
display: inline-block;
max-width: calc(100% - 400px);
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
vertical-align: top
}
#md-notification-more-btn {
display: inline-block;
vertical-align: baseline;
padding: 0;
line-height: inherit
}
.mac-seamless-mode #md-notification {
padding-top: var(--title-bar-height)
}
#md-notification p {
margin: 8px auto;
padding-left: 2ch;
font-size: .9rem;
text-align: left;
padding-left: 64px
}
@media print {
body {
font-variant-ligatures: none
}
}
#md-notification .close-btn, #md-notification .ty-icon-close-btn {
position: absolute;
top: calc(50% - 10px);
right: 5px;
width: 24px;
display: inline-block;
font-size: 12px
}
#md-notification .close-btn {
display: none;
width: 48px
}
.mac-seamless-mode #md-notification .ty-icon-close-btn {
top: 28px;
top: calc(var(--title-bar-height) + 8)
}
#md-notification a.default-btn {
color: inherit;
text-decoration: none
}
.form-control {
color: inherit;
background-color: inherit
}
.form-inline .input-group {
vertical-align: initial
}
.form-inline .input-group .input-group-addon {
width: 1%
}
.form-inline .input-group .form-control, .form-inline .input-group .input-group-btn {
width: 100%
}
.typora-sourceview-on #write {
display: none
}
#typora-source {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: inherit;
padding-right: 0;
padding-left: 0;
padding-top: 0;
display: none
}
.mac-seamless-mode #typora-source {
padding-top: var(--title-bar-height)
}
#typora-source .CodeMirror {
height: 100%;
overflow-x: hidden
}
#typora-source .CodeMirror-gutters {
left: initial !important
}
#typora-source .CodeMirror-lines {
padding-top: 30px;
padding-bottom: 60px;
padding-left: 60px;
padding-right: 30px;
max-width: 800px;
margin: 0 auto
}
#typora-source .CodeMirror-wrap .CodeMirror-scroll {
overflow-y: auto
}
.CodeMirror-activeline .cm-trailing-space-new-line:after {
opacity: .6
}
.CodeMirror-activeline .cm-starttab .cm-tab:after {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAMCAYAAAAkuj5RAAAAAXNSR0IArs4c6QAAAGFJREFUSMft1LsRQFAQheHPowAKoACx3IgEKtaEHujDjORSgWTH/ZOdnZOcM/sgk/kFFWY0qV8foQwS4MKBCS3qR6ixBJvElOobYAtivseIE120FaowJPN75GMu8j/LfMwNjh4HUpwg4LUAAAAASUVORK5CYII=);
background-position: right;
background-repeat: no-repeat;
width: 100%;
opacity: 1
}
.CodeMirror-activeline .cm-startspace:after, .CodeMirror-activeline .cm-trailing-space-new-line:after {
opacity: .2
}
.cm-s-inner .CodeMirror-vscrollbar {
display: none !important
}
.cm-s-null-scroll .CodeMirror-hscrollbar {
display: none !important;
overflow-x: hidden;
pointer-events: none !important
}
#typora-source .CodeMirror-gutter-wrapper {
position: absolute !important;
left: -6ch !important;
min-width: 4ch !important;
text-align: right;
font-family: monospace;
font-size: .8rem;
margin-top: .1rem;
display: inline-block;
opacity: .6
}
#typora-source .CodeMirror-linenumber {
width: auto !important;
visibility: hidden
}
#typora-source .CodeMirror-sizer {
margin-left: 0 !important
}
#typora-source .CodeMirror-gutter {
min-width: 4ch !important
}
#typora-source .CodeMirror-activeline .CodeMirror-linenumber, #typora-source .CodeMirror-linenumber.CodeMirror-linenumber-show {
visibility: visible
}
#typora-source .CodeMirror-code > .CodeMirror-activeline::before, #typora-source .CodeMirror-code > :first-child::before, #typora-source .CodeMirror-code > :last-child::before, #typora-source .CodeMirror-code > :nth-child(10n)::before {
visibility: visible
}
#md-searchpanel {
display: none;
position: fixed;
cursor: default;
width: 100%;
background: inherit;
z-index: 1001;
top: 0;
left: 0;
right: 0;
box-shadow: rgba(0, 0, 0, .6) 0 0 .5em;
padding: 5px 8px 0 16px;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
max-height: 39px
}
.mac-seamless-mode #md-searchpanel {
padding-top: 28px;
max-height: 60px
}
#md-searchpanel .search-type-selection {
width: 76px
}
#md-searchpanel .fa-sort-desc {
top: -2px;
display: inline-block;
position: relative
}
#md-searchpanel .fa-sort-asc {
top: 3px;
position: relative
}
#md-searchpanel .input-group-addon.close-btn {
border: 0;
background: 0 0;
padding-right: 0;
padding: 0 8px 0 32px;
opacity: .8
}
#md-searchpanel .input-group-addon.close-btn .ion-close-round {
padding-top: 5px;
padding-bottom: 5px;
cursor: pointer;
display: inline-block;
padding-left: 8px
}
#md-searchpanel .input-group-addon.close-btn .ty-upload {
display: none
}
#md-searchpanel.searchpanel-replace-mode {
max-height: 74px;
transition: max-height .4s
}
.mac-seamless-mode #md-searchpanel.searchpanel-replace-mode {
max-height: 94px
}
#md-searchpanel.searchpanel-msg-mode {
max-height: 104px;
transition: max-height .4s
}
.mac-seamless-mode #md-searchpanel.searchpanel-msg-mode {
max-height: initial
}
#md-searchpanel.searchpanel-replace-mode #md-search-type-label {
visibility: hidden
}
#md-searchpanel .btn:not(.close-btn):hover {
outline: 0;
background-image: none;
-webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125)
}
#md-searchpanel svg.icon {
width: 20px;
height: 14px;
stroke: none;
fill: currentColor
}
.searchpanel-search-option-btn.active {
background-color: #ddd;
background-color: var(--active-toggle-btn-color);
color: #000
}
#md-searchpanel .input-group-addon {
padding: 0 5px 0 5px;
height: 26px
}
#md-searchpanel {
font-size: 12px
}
#md-searchpanel .btn {
position: relative;
font-size: 12px;
z-index: 90;
margin-bottom: 0;
cursor: pointer
}
#md-searchpanel .btn label {
cursor: pointer
}
#md-replace-type-label, #md-search-type-label {
line-height: 26px
}
#md-searchpanel input {
height: 26px;
background: inherit;
color: inherit;
border-radius: 0;
width: 100%;
font-size: 12px
}
.on-search-panel-open content {
top: 20px
}
.on-replace-panel-open content {
top: 50px
}
#searchpanel-msg {
display: block !important;
margin-bottom: 4px;
margin-top: 0;
padding-left: 15px;
padding-top: 1px;
padding-bottom: 2px;
font-size: 13px;
color: #8a6d3b;
border-color: #faebcc;
border: 1px solid transparent;
border-radius: 4px;
background: #eee;
opacity: 0;
transition: opacity 0s ease-in;
overflow-y: hidden;
overflow-x: hidden;
max-height: 28px;
visibility: hidden
}
#md-searchpanel.searchpanel-msg-mode #searchpanel-msg {
opacity: 1;
visibility: visible;
transition: opacity .2s .2s ease-out
}
.searchpanel-msg-btn {
float: right;
padding-left: 4px;
padding-right: 4px;
cursor: pointer;
font-size: 12px;
text-decoration: underline;
margin-right: 4px;
margin-right: 4px
}
.ty-search-panel-row {
padding: 2px;
position: relative
}
.ty-replace-panel-row {
opacity: 0;
visibility: hidden;
transition: opacity 0s ease-in;
margin-top: 2px
}
.searchpanel-replace-mode .ty-replace-panel-row {
opacity: 1;
visibility: visible;
transition: opacity .2s .15s ease-out
}
.searchpanel-search-option-btn {
position: absolute;
right: 5px;
top: 5px;
z-index: 99;
cursor: pointer;
margin-top: 1px;
padding: 1px;
border-radius: 3px;
line-height: 10px;
border: 1px solid #ddd;
border-color: var(--active-toggle-btn-color)
}
#searchpanel-case-option-btn {
right: 32px
}
.md-f-content {
max-width: 500px
}
.md-grid-board a.md-active, .md-grid-board a:hover {
border-color: #a1a1a1;
background: #c8caf4
}
table.md-grid-board {
border-spacing: 2px;
border-collapse: separate;
margin: 10px auto
}
table.md-grid-board td {
min-width: 0
}
.md-grid-board tr[row='1'] {
background: #dcdcdc
}
.md-grid-board tr[row='1'] .md-grid-ext {
background: #555
}
.md-grid-board .md-grid-ext {
background: #999
}
.md-grid-board tr[row='1'] a.md-active, .md-grid-board tr[row='1'] a:hover {
background: #94a7b9
}
.md-grid-board a {
display: block;
border: 1px solid transparent;
border-color: #d6d6d6;
border-color: var(--table-border-color);
width: 13px;
height: 13px
}
.md-grid-board-wrap {
width: 100px;
text-align: center
}
.md-grid-board-wrap div {
text-align: center
}
.md-grid-board-wrap input {
width: 3ch;
background: inherit
}
#md-resize-grid {
margin-top: -2px;
margin-left: 1ch;
display: none;
color: #fff;
color: var(--primary-btn-text-color);
background-color: #3071a9;
background-color: var(--primary-color);
border-color: #285e8e;
border-color: var(--primary-btn-border-color)
}
.md-grid-board-wrap .popover-title {
border-top: var(--window-border);
border-bottom: none;
width: 100%;
border-radius: 0;
background: inherit
}
button.md-table-more {
padding-left: 8px;
padding-right: 4px
}
.html-for-mac .md-table-more {
display: none
}
.md-grid-board-wrap #md-grid-width {
text-align: right
}
.md-grid-board-wrap #md-grid-height {
text-align: left
}
sup.md-footnote {
margin-left: .2ch;
margin-right: .2ch;
display: initial
}
.md-footnote {
position: relative;
display: inline-block
}
.md-search-hit {
background-color: rgba(248, 192, 116, .3);
contain: style;
transform: translate3d(0, 0, 0)
}
.md-search-hit * {
padding: 0;
margin: 0;
border: 0;
background: 0 0
}
.cm-search-hit {
background-color: rgba(248, 192, 116, .3);
font-family: inherit !important
}
.CodeMirror-selected, .CodeMirror-selectedtext {
background: #B5D6FC;
background: var(--select-text-bg-color) !important;
/*color: var(--select-text-font-color) !important;*/
text-shadow: none
}
.cm-search-hit.CodeMirror-selectedtext, .md-search-hit.md-search-select, .md-search-select {
background: #000;
background: var(--search-select-bg-color);
color: #fff;
color: var(--search-select-text-color);
text-shadow: none
}
.cm-s-inner .cm-search-hit.CodeMirror-selected, .cm-s-inner .cm-search-hit.CodeMirror-selectedtext {
/*background: var(--search-select-bg-color) !important;*/
/*color: var(--search-select-text-color) !important*/
}
.CodeMirror-selected {
max-width: 100%
}
.modal-title {
font-size: 1.25em
}
#table-insert-dialog {
top: 100px
}
#table-insert-dialog .row {
min-height: 30px
}
#table-insert-dialog .col-lg-6 {
width: calc(50% - 20px);
float: left;
margin-right: 20px
}
#write pre.md-meta-block:empty:before {
color: #999;
content: "input YAML Front Matter. "
}
#error-dialog-message {
user-select: auto;
white-space: pre-line
}
.modal-header .close {
margin-top: -2px
}
button.close {
-webkit-appearance: none;
padding: 0;
cursor: pointer;
background: 0 0;
border: 0
}
.close {
float: right;
font-size: 21px;
font-weight: 700;
line-height: 1;
text-shadow: 0 1px 0 #fff;
filter: alpha(opacity=20);
opacity: .8
}
h1 input, h2 input, h3 input, h4 input, h5 input, h6 input {
font-size: initial
}
#componenet {
display: none
}
#MathJax_Message {
display: none
}
.md-math-block {
position: relative;
cursor: default
}
.md-math-container {
overflow-x: auto;
overflow-y: hidden
}
.md-math-block .code-tooltip {
white-space: normal;
float: initial;
white-space: normal;
position: relative;
top: 0;
padding: 10px;
width: auto;
margin-left: 2px;
margin-right: 2px
}
.md-math-block .code-tooltip .btn {
margin-top: -2px;
border-bottom-left-radius: 0;
border-top-left-radius: 0;
border-bottom-right-radius: 0;
border-top-right-radius: 0
}
.md-math-block .code-tooltip .btn:nth-of-type(1) {
margin-right: -6px
}
.md-math-block .code-tooltip .btn:active, .md-math-block .code-tooltip .btn:hover {
z-index: inherit
}
.jax-trigger-finish-button {
color: #5cb85c;
color: var(--primary-color)
}
.md-mathjax-hint {
display: none
}
@media (min-width: 480px) {
.md-mathjax-hint {
opacity: .8;
cursor: pointer;
position: relative;
display: inline-block
}
.md-mathjax-hint:hover:after {
content: " Autosave when blur, or press Cmd+Enter or ⬇ key";
font-style: italic;
position: absolute;
top: 0;
right: -300px;
left: 16px
}
}
.md-mathblock-panel {
white-space: normal;
position: relative
}
.md-mathjax-midline {
font-size: .8em;
font-family: "Helvetica Neue", Helvetica, Microsoft Yahei, Hiragino Sans GB, WenQuanYi Micro Hei, sans-serif;
border-bottom: var(--window-border);
padding: 8px 10px
}
.md-mathjax-midline .btn {
border: 0;
float: right;
margin-right: 10px
}
.md-mathblock-panel .code-tooltip {
font-size: inherit;
padding: 0;
margin: 0
}
#write h1, #write h2, #write h3, #write h4, #write h5, #write h6 {
position: relative
}
h3.md-focus:before, h4.md-focus:before, h5.md-focus:before, h6.md-focus:before {
color: #ddd;
color: var(--heading-char-color);
border: 1px solid;
border-radius: 3px;
position: absolute;
left: -1.642857143rem;
top: .357142857rem;
float: left;
font-size: 9px;
padding-left: 2px;
padding-right: 2px;
vertical-align: bottom;
font-weight: 400;
line-height: normal
}
h3.md-focus:before {
content: 'h3'
}
h4.md-focus:before {
content: 'h4'
}
h5.md-focus:before {
content: 'h5';
top: 0
}
h6.md-focus:before {
content: 'h6';
top: 0
}
li > h3.md-focus:first-child:before, li > h4.md-focus:first-child:before, li > h6.md-focus:first-child:before {
opacity: 0
}
.btn:focus {
outline-color: var(--focus-ring-color)
}
.code-tooltip .ty-input:focus, input:focus {
outline: 0;
box-shadow: none;
border-color: var(--primary-color)
}
.code-tooltip .ty-input {
border: 1px solid transparent
}
input {
box-sizing: border-box !important;
padding-left: 4px;
border: 1px solid #9292928f
}
.md-hr:focus {
outline: var(--focus-ring-color) auto 5px
}
[md-inline=url], [md-inline=link] > .md-content, [md-inline=image] > .md-meta {
word-break: break-all
}
.md-empty-link .md-content, .md-empty-link .md-meta {
display: inline
}
.md-emoji-span:before {
content: attr(data-emoji);
font-weight: 400;
vertical-align: middle
}
.md-expand .md-emoji .md-meta {
display: none
}
.md-entity:before {
content: attr(data-content)
}
.md-def-footnote, .md-def-link, .md-toc {
white-space: pre-wrap
}
figure {
cursor: default
}
table {
cursor: text
}
.md-toc {
margin-left: -20px;
margin-right: -20px
}
.md-toc-content {
margin: 20px 0;
padding: 0 20px
}
.md-toc-content:empty:before {
content: "[TOC]";
position: absolute;
top: 0;
display: block;
color: #4183c4;
font-size: 2em
}
.md-toc.md-focus .md-toc-tooltip, .md-toc:focus .md-toc-tooltip {
display: block !important
}
.md-toc-tooltip {
line-height: 30px;
font-weight: 700
}
.md-toc:focus .md-toc-content {
border: dashed 1px #999;
border-color: var(--panel-border-color);
margin: 19px -1px;
margin-top: -1px
}
.md-toc-tooltip .btn-default {
background-color: transparent
}
.md-delete-toc {
float: right;
line-height: inherit;
margin-top: 0;
border: 0;
padding: 0 2px
}
.md-toc:focus {
box-shadow: none
}
#write div.md-toc-tooltip {
position: absolute;
display: none;
top: -30px;
background-color: inherit;
width: 100%;
padding: 5px;
border-top: 1px solid #ccc;
border-color: var(--border-color);
background-color: #fff;
background-color: var(--bg-color);
margin: 0;
padding: 0
}
#toc-dropmenu.open {
display: block
}
#toc-dropmenu {
top: 0;
right: 4px;
left: auto;
width: 300px;
position: fixed;
max-height: calc(100% - 20px);
background: #fafafa;
background: var(--bg-color);
z-index: -1;
font-size: 14px
}
.mac-seamless-mode #toc-dropmenu, .typora-fullscreen #toc-dropmenu {
top: 20px;
top: var(--title-bar-height)
}
@-webkit-keyframes menu-dropdown-slide-down {
0% {
opacity: 1;
-webkit-transform: translateY(0);
transform: translateY(0)
}
100% {
opacity: 0;
-webkit-transform: translateY(-10%);
transform: translateY(-10%)
}
}
@keyframes menu-dropdown-slide-down {
0% {
opacity: 1;
-webkit-transform: translateY(0);
transform: translateY(0)
}
100% {
opacity: 0;
-webkit-transform: translateY(-10%);
transform: translateY(-10%)
}
}
.auto-suggest-container, .dropdown-menu {
padding: 0;
background-color: var(--bg-color);
transition: opacity .25s ease-in-out;
transform-origin: top;
box-sizing: border-box;
box-shadow: rgba(15, 15, 15, .03) 0 0 0 1px, rgba(15, 15, 15, .04) 0 3px 6px, rgba(15, 15, 15, .05) 0 9px 24px
}
.dropdown-menu.open {
display: -webkit-flex;
display: flex;
-webkit-flex-direction: column;
flex-direction: column
}
.dropdown-menu .divider {
border-top: var(--window-border);
background: 0 0;
opacity: .5
}
.sidebar-content {
overflow-y: auto;
overflow-x: auto;
-webkit-flex: 1;
flex: 1;
background: inherit;
display: -webkit-flex;
display: flex;
position: relative
}
.sidebar-content.on-drop:after {
content: "";
top: 1px;
left: 1px;
right: 1px;
bottom: 1px;
border: var(--focus-ring-color) 2px solid;
position: absolute
}
.sidebar-content.on-drop {
padding: 3px
}
.sidebar-content-content {
min-width: 100%
}
#toc-dropmenu.open {
z-index: 1;
-webkit-transition: all .1s ease-out;
-moz-transition: all .1s ease-out;
-ms-transition: all .1s ease-out;
-o-transition: all .1s ease-out;
transition: all .1s ease-out;
-webkit-animation: menu-dropdown-slide-down .3s ease-in;
animation: menu-dropdown-slide-down .3s ease-in;
-webkit-animation-direction: reverse;
animation-direction: reverse;
display: -webkit-flex;
display: flex;
z-index: 25
}
.outline-title {
font-size: 150%;
padding: 3px 20px;
clear: both;
font-weight: 400;
line-height: 1.42857143;
cursor: default;
float: left;
margin-top: 4px
}
.outline-title + .divider {
margin-top: 0
}
.outline-content {
padding: 3px 18px;
overflow-x: hidden;
max-width: 100%;
-webkit-flex: auto;
flex: auto;
overflow-y: auto
}
.outline-content li, .outline-content ul {
-webkit-user-select: none;
user-select: none
}
.no-collapse-outline .outline-item {
margin-top: 1px;
margin-bottom: 2px
}
.md-toc-content img, .outline-item img {
height: 1em !important;
width: auto !important;
margin: 0 !important;
border: 0 !important
}
.outline-title-wrapper:hover #pin-outline-btn {
display: inline-block
}
.outline-title-wrapper .btn {
float: right;
position: relative;
font-size: 16px;
display: none;
color: grey
}
#close-outline-btn {
top: 4px;
padding-left: 0
}
#pin-outline-btn {
top: 2px;
position: relative
}
.pin-outline content, .pin-outline titlebar {
left: 270px;
left: var(--sidebar-width)
}
#typora-sidebar, content, titlebar {
transition-duration: .4s
}
#typora-sidebar {
display: -webkit-flex;
display: flex;
-webkit-flex-direction: column;
flex-direction: column;
position: absolute;
padding: 5px 0;
margin: 2px 0 0;
list-style: none;
font-size: 14px;
text-align: left;
background: inherit;
background-color: var(--side-bar-bg-color);
border: 1px solid rgba(0, 0, 0, .15);
border-radius: 4px;
top: 0;
left: -60000px;
width: 270px;
width: var(--sidebar-width);
bottom: 0;
height: 100%;
right: auto;
border: 0;
border-right: 1px solid rgba(0, 0, 0, .07);
margin: 0;
border-radius: 0;
z-index: 1;
padding: 0
}
.pin-outline #typora-sidebar {
left: 0
}
[data-block-auto-disable].disabled {
display: none
}
[data-block-auto-disable].disabled + .divider {
display: none
}
.context-menu .divider {
display: block
}
.pin-outline.no-collapse-outline .outline-expander {
display: none
}
.pin-outline.no-collapse-outline .outline-children {
display: block
}
.pin-outline #outline-content .outline-active strong, .pin-outline .outline-active {
font-weight: 700
}
.md-header-span .md-attr, h1.md-focus .md-attr, h2.md-focus .md-attr, h3.md-focus .md-attr, h4.md-focus .md-attr, h5.md-focus .md-attr, h6.md-focus .md-attr {
color: #C7C5C5;
color: var(--md-char-color);
display: inline
}
#bottom-hint {
position: fixed;
bottom: 10px;
left: 10px;
min-width: 200px;
z-index: 1000
}
.ty-block-hint {
background: rgba(226, 226, 226, .8);
color: #000;
padding: 8px 10px;
font-size: 12px;
white-space: nowrap;
box-shadow: 4px 4px 8px rgba(0, 0, 0, .31);
border: 1px solid rgba(0, 0, 0, .31);
opacity: .8
}
.quiet-focus:focus {
outline: 0;
box-shadow: none
}
.auto-suggest-container {
position: fixed;
z-index: 10;
font-size: .9rem;
display: none;
overflow-y: auto;
padding: 6px 0;
line-height: 2;
min-width: 160px;
border-radius: 6px
}
.dropdown-menu > li > a {
line-height: 1.8
}
.html-for-mac .dropdown-menu > li > a {
line-height: 1.8
}
@media (max-height: 400px) {
.dropdown-menu > li > a {
line-height: 1.5
}
}
#sidebar-files-menu.dropdown-menu > li {
font-size: 12.5px
}
#sidebar-files-menu.dropdown-menu > li > a {
line-height: 1.42857143
}
.auto-suggest-container.ty-show {
display: block
}
.auto-suggest-container ul {
padding: 0;
margin: 0;
list-style: none
}
.auto-suggest-container ul.autoComplt-list {
overflow-x: hidden
}
.auto-suggest-container li {
padding: 1px;
padding-left: 0;
padding-right: 10px;
cursor: pointer;
-webkit-user-select: none;
user-select: none;
min-width: 124px;
position: relative
}
.ty-fi-diagram:before {
content: "\f0e8";
font: normal normal normal 14px/1 FontAwesome;
color: grey
}
.auto-suggest-container .ty-file-icon {
display: inline-block;
vertical-align: middle;
width: 38px;
text-align: center
}
.ty-emoji-icon {
display: inline-block;
vertical-align: middle;
width: 32px;
padding-left: 6px;
text-align: center
}
.auto-suggest-container li.active, .auto-suggest-container li:hover {
background-color: #f6f8fa;
background-color: var(--item-hover-bg-color)
}
.emoji-meta {
font-size: .9em
}
.md-inline-math script {
color: #8421A2
}
.md-search-select .md-inline-math script {
color: inherit
}
.md-expand .md-inline-math-container > .MathJax {
display: none !important
}
.md-expand .md-inline-math-container > script {
display: inline
}
.md-inline-math {
display: inline-block
}
.md-expand .md-inline-math, .md-inline-math.md-expand {
display: inline
}
.math-jax-preprocess .md-meta, .math-jax-preprocess script {
display: inline !important
}
script.math-jax-error {
display: inline;
border: 1px solid #FF3E13
}
.md-math-prep {
color: #999
}
#typora-quick-open {
position: fixed;
left: 50%;
width: 420px;
margin-left: -200px;
z-index: 9999;
padding: 4px;
background-color: #f8f8f8;
background-color: var(--side-bar-bg-color);
box-shadow: 0 4px 10px rgba(0, 0, 0, .5);
border-top: none;
color: var(--text-color);
margin-top: 0;
transform: translate3d(0, 0, 0)
}
.mac-seamless-mode #typora-quick-open {
top: 30px
}
.mac-seamless-mode .modal-dialog {
margin-top: 40px
}
#typora-quick-open-input input {
width: 100%;
font-size: 14px;
line-height: 25px;
max-height: 27px;
overflow: auto;
border: 1px solid #ddd;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
border-radius: 2px;
padding-left: 5px
}
#typora-quick-open-input input:focus {
outline: 0
}
.typora-quick-open-item {
display: block;
font-size: 14px;
height: 40px;
padding-left: 20px;
padding-top: 2px;
overflow: hidden
}
.typora-quick-open-item-title {
line-height: 24px;
max-height: 24px;
overflow: hidden
}
.typora-quick-open-list {
margin-top: 0;
cursor: default;
max-height: 320px;
overflow-x: hidden;
overflow-y: auto
}
.ty-quick-open-category-title {
padding-left: 20px;
font-size: 10px;
margin-top: 4px;
opacity: .8;
line-height: 16px;
height: 16px;
overflow: hidden
}
.ty-quick-open-category.ty-has-prev .ty-quick-open-category-title {
border-top: var(--window-border)
}
.typora-quick-open-list-inner {
position: relative
}
.typora-quick-open-item.active {
background-color: #ebebeb;
border-color: #ebebeb;
background-color: var(--active-file-bg-color);
border-color: var(--active-file-text-color);
color: var(--active-file-text-color)
}
.typora-quick-open-item-path {
opacity: .5;
font-size: 11px;
margin-top: -4px;
text-overflow: ellipsis;
width: 100%;
overflow: hidden;
line-height: 14px
}
.typora-quick-open-info-item {
opacity: .7;
font-size: 12px;
line-height: 40px;
position: relative;
padding-left: 20px
}
.typora-search-spinner {
height: 20px;
text-align: center;
font-size: 10px;
position: absolute;
right: 0;
top: 10px;
opacity: .6
}
.typora-search-spinner > div {
background-color: currentColor;
height: 100%;
width: 2px;
display: inline-block;
-webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
animation: sk-stretchdelay 1.2s infinite ease-in-out;
margin-right: 2px
}
.typora-search-spinner .rect1 {
margin-left: 0
}
.typora-search-spinner .rect2 {
-webkit-animation-delay: -1.1s;
animation-delay: -1.1s
}
.typora-search-spinner .rect3 {
-webkit-animation-delay: -1s;
animation-delay: -1s
}
.typora-search-spinner .rect4 {
-webkit-animation-delay: -.9s;
animation-delay: -.9s
}
.typora-search-spinner .rect5 {
-webkit-animation-delay: -.8s;
animation-delay: -.8s
}
@-webkit-keyframes sk-stretchdelay {
0%, 100%, 40% {
-webkit-transform: scaleY(.4)
}
20% {
-webkit-transform: scaleY(1)
}
}
@keyframes sk-stretchdelay {
0%, 100%, 40% {
transform: scaleY(.4);
-webkit-transform: scaleY(.4)
}
20% {
transform: scaleY(1);
-webkit-transform: scaleY(1)
}
}
.on-focus-mode .md-end-block:not(.md-focus):not(.md-focus-container) * {
color: #C8C8C8 !important;
color: var(--blur-text-color) !important
}
.on-focus-mode .md-end-block:not(.md-focus) img, .on-focus-mode .md-task-list-item:not(.md-focus-container) > input {
opacity: .2;
color: var(--blur-text-color) !important
}
.on-focus-mode li[cid]:not(.md-focus-container) {
color: #C8C8C8;
color: var(--blur-text-color) !important
}
.on-focus-mode .CodeMirror.cm-s-inner:not(.CodeMirror-focused) *, .on-focus-mode .md-fences.md-focus .CodeMirror-code > :not(.CodeMirror-activeline) *, .on-focus-mode .md-htmlblock.md-focus .CodeMirror-code > :not(.CodeMirror-activeline) * {
color: #C8C8C8 !important;
color: var(--blur-text-color) !important
}
.on-focus-mode .md-focus, .on-focus-mode .md-focus-container {
color: #111;
color: var(--text-color)
}
.on-focus-mode #typora-source .CodeMirror-code > :not(.CodeMirror-activeline) * {
color: #C8C8C8 !important;
color: var(--blur-text-color) !important
}
.ty-on-typewriter-mode #write > [cid]:not(.md-meta-block):first-child {
margin-top: 0 !important
}
.ty-on-typewriter-mode #write > [cid]:not(.md-meta-block):last-child {
margin-bottom: 0 !important
}
.on-focus-mode #write img, .on-focus-mode #write svg {
opacity: .3
}
.on-focus-mode #write .md-focus img, .on-focus-mode #write .md-focus svg {
opacity: 1
}
#file-library-tree {
padding-right: 4px;
padding-left: 8px;
margin-right: 4px;
height: 100%;
overflow-x: visible;
user-select: none;
position: relative;
display: table;
min-width: 100%
}
.file-node-content {
padding-top: 4px;
cursor: default;
color: #777;
color: var(--control-text-color);
white-space: nowrap;
padding-right: 32px
}
.file-node-title {
display: block;
white-space: normal;
overflow: hidden
}
.allow-file-tree-scroll .file-node-title {
display: inline-block;
white-space: nowrap;
overflow-x: visible;
overflow-y: hidden
}
.file-node-content:hover {
color: #555;
color: var(--control-text-hover-color)
}
.file-node-content:hover .file-node-icon, .file-node-content:hover .file-node-open-state {
visibility: visible
}
.file-tree-node {
padding-left: 8px;
transition-duration: unset !important
}
.file-node-icon {
margin-right: 4px
}
.file-node-open-state {
display: inline-block;
min-width: 8px
}
.file-node-icon, .file-node-open-state {
display: block;
float: left;
line-height: 22px;
min-height: 22px
}
.file-node-open-state * {
display: none
}
.file-node-expanded > .file-node-content .fa-caret-down {
display: inline;
margin-left: -4px
}
.file-node-collapsed > .file-node-content .fa-caret-right {
display: inline
}
.file-node-collapsed > .file-node-children {
display: none
}
.file-node-expanded > .file-node-children {
display: block
}
.file-node-background {
width: 100%;
height: 29px;
float: left;
position: absolute;
left: 0;
z-index: -1
}
.file-library-node:not(.file-node-root):focus > .file-node-content {
outline-color: #000;
outline: currentColor dashed 1px
}
.file-tree-node.active > .file-node-background {
background-color: #eee;
background-color: var(--active-file-bg-color);
border-left: 4px solid #777;
border-color: var(--active-file-border-color)
}
.file-tree-node.active > .file-node-content {
color: var(--control-text-color);
color: var(--active-file-text-color)
}
.sidebar-tabs {
position: relative;
overflow-x: auto;
overflow-y: hidden;
width: calc(100% - 32px);
margin: 0 auto;
white-space: nowrap;
padding: 0;
text-align: center;
width: 100%;
border-bottom: 1px solid #eee;
border-bottom: var(--window-border);
display: -webkit-flex;
display: flex
}
titlebar {
display: none;
position: absolute;
height: 20px;
height: var(--title-bar-height);
top: 0;
left: 0;
right: 0;
background: inherit
}
.mac-seamless-mode titlebar {
display: block
}
.mac-seamless-mode content {
margin-top: var(--title-bar-height)
}
.mac-seamless-mode #write {
min-height: calc(100vh - var(--title-bar-height))
}
.mac-seamless-mode #typora-sidebar {
padding-top: 20px
}
.sidebar-tab {
display: inline-block;
text-align: center;
line-height: 56px;
padding: 0;
margin: 0;
width: 50%;
cursor: pointer;
opacity: .4;
display: none;
line-height: 40px;
-webkit-flex: 1;
flex: 1;
text-transform: uppercase;
cursor: default
}
.sidebar-tab-btn {
line-height: 40px;
width: 40px;
cursor: pointer;
opacity: 0
}
.sidebar-tab-btn > * {
opacity: .8
}
.sidebar-tab-btn:hover > * {
opacity: 1
}
.sidebar-tab.active {
opacity: 1;
display: inline-block
}
.segmented-control {
display: inline-block
}
.segmented-control span {
border: 1px #777;
border-style: solid none solid solid;
color: currentColor;
cursor: pointer;
float: left;
text-align: center;
width: 80px
}
.segmented-control :first-child span {
border-radius: 10px 0 0 10px
}
.segmented-control :last-child span {
border-radius: 0 10px 10px 0;
border-right-style: solid
}
.segmented-control input {
display: none
}
.segmented-control input:checked + span {
background-color: #777;
color: #fff
}
#file-library-gutter {
display: block;
position: absolute;
float: left;
top: 0;
bottom: 0;
width: 10px
}
#file-library {
overflow: visible;
display: table;
position: relative;
z-index: 2
}
@keyframes fadein {
from {
opacity: 0
}
to {
opacity: 1
}
}
@-webkit-keyframes fadein {
from {
opacity: 0
}
to {
opacity: 1
}
}
@keyframes fadeout {
to {
opacity: 0
}
}
@-webkit-keyframes fadeout {
to {
opacity: 0
}
}
#file-info-content, #file-library, .pin-outline .active-tab-files #outline-content {
display: none
}
.active-tab-files {
-webkit-user-select: none;
user-select: none
}
.active-tab-files .sidebar-content {
overflow-x: auto
}
.active-tab-files #outline-content, .active-tab-files #unpin-outline-btn, .pin-outline #typora-sidebar.active-tab-files:hover #unpin-outline-btn {
display: none
}
.pin-outline .active-tab-files #file-info-content, .pin-outline .active-tab-files #file-library {
display: block
}
.sidebar-bottom {
position: absolute;
bottom: 20px;
right: 0;
cursor: pointer;
z-index: 999;
opacity: 0;
-webkit-animation: fadeout 2s;
animation: fadeout 2s
}
.typora-node .sidebar-bottom {
display: none
}
.sidebar-bottom-btn:not(:last-child) {
border-bottom: 1px solid #ebebeb
}
.sidebar-bottom-btn:last-child {
background: #eee
}
.sidebar-bottom-btn {
display: block;
padding: 12px;
background: rgba(238, 238, 238, .68);
color: #777
}
.sidebar-bottom-btn:hover {
background: #eee
}
.file-tree-rename-div {
display: none
}
.file-node-on-edit > .file-node-content > .file-node-title {
display: none
}
.file-node-on-edit > .file-node-content > .file-tree-rename-div {
display: block
}
.sidebar-footer {
border-top: 1px solid #eee;
border-top: var(--window-border);
opacity: 0;
-webkit-flex: 0 0;
flex: 0 0;
width: 100%;
background: inherit;
z-index: 2;
display: none;
line-height: 24px;
left: 0;
bottom: 0;
position: absolute
}
.sidebar-footer .sidebar-footer-item {
padding-top: 2px
}
.sidebar-footer.show-sidebar-footer-context {
opacity: 1;
display: block
}
.pin-outline #typora-sidebar:hover .sidebar-footer:not(.show-sidebar-footer-context) {
-webkit-animation: fadein .5s;
animation: fadein .5s;
opacity: 1;
display: block
}
.sidebar-content.on-drop + .sidebar-footer {
opacity: 1
}
.footer-btn {
cursor: pointer;
padding-left: 8px;
padding-right: 8px;
opacity: .8;
display: none
}
#hide-sidebar-btn {
float: right
}
.sidebar-footer-item {
display: inline-block;
font-size: 12px;
cursor: pointer
}
.footer-item:hover, .sidebar-footer-item:hover {
background: #e5e5e5;
background: var(--item-hover-bg-color);
color: var(--item-hover-text-color)
}
.sidebar-footer-main-item {
-webkit-flex: 1;
flex: 1;
display: -webkit-flex;
display: flex;
display: inline-block;
background: inherit;
overflow: hidden
}
.sidebar-footer-main-item-label {
-webkit-flex: 1;
flex: 1;
text-align: center;
opacity: .8;
text-overflow: ellipsis;
overflow-x: hidden
}
.sidebar-footer-main-item .footer-btn {
display: inline-block
}
.file-list-item {
overflow: hidden;
padding: 12px;
border-bottom: 1px solid #eee;
border-bottom: var(--window-border);
cursor: pointer;
padding-right: 8px;
padding-top: 12px;
padding-left: 24px;
transition: top .5s;
-webkit-transition: top .5s
}
.file-list-item:not(.active) {
opacity: .8
}
.file-list-item.active {
background: #efefef;
background: var(--active-file-bg-color);
color: var(--active-file-text-color)
}
.show-folder-name .file-list-item {
padding-top: 8px
}
.show-folder-name .file-list-item-parent-loc, .show-folder-name .file-list-item-time {
display: block
}
.file-list-item-parent-loc, .file-list-item-time {
opacity: .5;
font-family: "PT Mono", gotham, helvetica, arial, sans-serif;
font-size: 12px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
width: 50%;
float: left;
min-height: 1px;
display: none
}
.file-list-item-time {
text-align: right;
padding-right: 8px
}
.file-list-item-file-name {
font-weight: 700;
margin-bottom: 3px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
width: 100%
}
.file-list-item-file-ext-part {
opacity: .2;
font-weight: 400
}
.file-list-item-summary {
height: 38px;
overflow: hidden;
font-size: 13px;
text-overflow: ellipsis;
white-space: initial;
line-height: 18px;
font-family: Raleway, 'Source Sans Pro', sans-serif;
opacity: .8
}
.ty-side-sort-btn {
margin: 4px;
margin-left: -8px;
margin-right: 8px;
height: 22px;
width: 22px;
display: inline-block;
text-align: center;
line-height: 22px;
border-radius: 2px;
cursor: default;
opacity: .4
}
.ty-side-sort-btn:hover {
color: #428bca;
color: var(--primary-color);
opacity: 1
}
.ty-side-sort-btn.active {
color: #428bca;
color: var(--primary-color);
opacity: 1;
background: #eee;
background: var(--active-file-bg-color)
}
.ty-sort-by-alphabet-a.ty-sort-a:before {
content: "\e910"
}
.ty-sort-by-date-a, ty-sort-t:before {
content: "\e90d"
}
.ty-sort-by-natural-d.ty-sort-by-natural:before {
content: "\e923"
}
#close-sidebar-menu-btn {
float: right;
margin-right: 8px;
margin-top: 4px;
cursor: pointer;
opacity: .8
}
#sidebar-menu-btn > .sidebar-footer-item {
display: -webkit-flex;
display: flex;
white-space: nowrap;
overflow-x: hidden
}
.sort-button-area {
float: right
}
#file-library-list, #file-library-tree {
display: none
}
.use-file-tree-style #file-library-tree {
display: table
}
.use-file-list-style #file-library-list {
display: block;
padding-bottom: 28px
}
#sidebar-loading-template, #sidebar-loading-template.file-list-item {
max-height: 0;
background: var(--active-file-bg-color);
color: var(--active-file-text-color);
opacity: 1;
z-index: 99;
position: -webkit-sticky;
position: sticky;
top: 0;
left: 0;
right: 0;
padding-top: 0;
padding-bottom: 0;
border: none;
cursor: default
}
#sidebar-loading-template .sidebar-loading {
line-height: 72px
}
#file-library-list[data-state=rendering] #sidebar-loading-template {
display: block;
max-height: 72px
}
@keyframes transparentBg {
0% {
transform: perspective(400px)
}
to {
transform: perspective(400px) rotateX(90deg);
background: 0 0
}
}
#file-library-list[data-state=complete] #sidebar-loading-template {
max-height: 0;
transition: max-height .3s ease-out
}
#sidebar-loading-template .typora-search-spinner {
right: 20px
}
#file-library-list[data-state=oversize] #sidebar-loading-template, #file-library-list[data-state=oversize-end] #sidebar-loading-template {
position: absolute;
max-height: 100%;
height: 100%;
background: 0 0;
-webkit-transition: max-height .5s ease-in, background 1s ease-out;
transition: max-height .5s ease-in, background 1s ease-out
}
#file-library-list[data-state=oversize] .sidebar-loading {
opacity: 0;
-webkit-transition: opacity .3s ease-out;
transition: opacity .3s ease-out
}
#file-library-list[data-state=oversize-end] .sidebar-loading {
opacity: 0;
-webkit-transition: none;
transition: none
}
.oversize-list-template {
display: none;
opacity: 0;
transition: none
}
@keyframes opacity {
from {
opacity: 0
}
50% {
opacity: 0
}
to {
opacity: .8
}
}
#file-library-list[data-state=oversize] .oversize-list-template, #file-library-list[data-state=oversize-end] .oversize-list-template {
display: block;
font-size: 13px;
padding: 16px;
padding-top: 8px;
position: absolute;
top: calc(50% - 72px);
opacity: .8;
-webkit-animation: opacity 1s forwards;
animation: opacity 1s forwards
}
#file-library-list[data-state=oversize-end] .oversize-list-template {
-webkit-animation: none;
animation: none;
opacity: .8
}
#file-library-list[data-state=oversize] #file-library-list-children, #file-library-list[data-state=oversize-end] #file-library-list-children {
display: none
}
.oversize-list-template-mark {
font-size: 1.2rem;
opacity: .8;
margin-bottom: 8px
}
.switch-file-list-btn-to-list, .switch-file-list-btn-to-tree {
display: none
}
.use-file-list-style .switch-file-list-btn-to-tree, .use-file-tree-style .switch-file-list-btn-to-list {
display: inline
}
#sidebar-files-menu a {
text-decoration: none;
white-space: nowrap;
overflow-x: hidden;
text-overflow: ellipsis
}
#sidebar-files-menu {
bottom: 2px;
top: auto;
left: 4px;
right: 4px;
font-size: 12px;
padding-top: 4px;
border: 1px solid rgba(0, 0, 0, .2);
border: var(--window-border);
box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
background: inherit
}
#sidebar-files-menu li {
display: none;
white-space: nowrap;
overflow-x: hidden;
text-overflow: ellipsis
}
#sidebar-files-menu li.show #ty-sidebar-footer .show {
display: block
}
#ty-sidebar-footer .not-empty-menu-group {
display: none
}
.show-sidebar-footer-context #sidebar-files-menu {
display: block
}
.menuitem {
padding-left: 24px
}
.menuitem-group-label {
padding-left: 8px;
cursor: default
}
.menuitem-group-label > .label {
opacity: .6;
font-size: 11px
}
#sidebar-files-menu > .show + .menuitem-group-label.show {
border-top: 1px solid #e5e5e5;
border-top: var(--window-border)
}
.menuitem-no-history:before {
content: "No History";
display: block;
margin-left: 16px;
opacity: .6;
font-size: 12px
}
.folder-menu-item .fa-folder-o {
margin-right: 4px
}
.active-tab-outline #file-info-content, .active-tab-outline #file-library, .active-tab-outline .file-action-item, .use-file-tree-style #ty-group-by-folder-btn {
display: none !important
}
.active-tab-outline .sidebar-footer {
display: none !important
}
.selected-folder-menu-item a:after {
content: "\f111";
display: inline-block;
font-family: FontAwesome;
font-style: normal;
font-weight: 400;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
position: absolute;
right: 12px;
color: #428bca;
color: var(--primary-color);
font-size: 8px;
line-height: 16px
}
.empty-file-placehoder {
padding: 24px;
color: #777;
color: var(--control-text-color);
opacity: .6;
font-size: 13px
}
#file-library-tree:empty {
padding: 0 !important
}
#file-library-list-children:empty:after, #file-library-tree:empty:after, #outline-content:empty:after {
content: attr(data-after-content);
text-align: center;
top: calc(50vh - 60px);
display: block;
position: absolute;
width: 100%;
opacity: .6;
padding-bottom: 8px;
padding-top: 8px;
opacity: 0
}
#file-library-list[data-state=rendering] #file-library-list-children:empty:after, #file-library-tree[data-state=rendering]:empty:after {
content: " "
}
#file-library-tree[data-state=rendering]:empty:after {
content: "Loading ..."
}
#typora-sidebar.ty-no-mount-folder.ty-show-search #file-library-list-children:after, #typora-sidebar.ty-no-mount-folder.ty-show-search #file-library-tree:after, #typora-sidebar.ty-no-mount-folder:hover #file-library-list-children:after, #typora-sidebar.ty-no-mount-folder:hover #file-library-tree:after, #typora-sidebar:hover #outline-content:empty:after {
-webkit-animation: fadein .5s;
animation: fadein .5s;
opacity: 1
}
#typora-sidebar.ty-no-mount-folder.ty-show-search #file-library-list-children:after, #typora-sidebar.ty-no-mount-folder.ty-show-search #file-library-tree:after {
top: calc(50vh - 80px)
}
#typora-sidebar.ty-no-mount-folder.ty-show-search .sidebar-footer {
opacity: 1;
display: block
}
#typora-sidebar.ty-no-mount-folder.ty-show-search .sidebar-footer-item:not(#sidebar-new-file-btn) {
opacity: 1
}
#sidebar-new-file-btn.hide {
display: none !important
}
#outline-content:empty {
padding: 0;
position: relative
}
#outline-content:empty:after, .outline-content:empty:after {
display: block
}
.ty-tooltip {
background: #f2f2f2;
border-radius: 2px;
color: #333;
padding: 5px 8px;
line-height: 14px;
display: -webkit-flex;
display: flex;
align-items: center;
-webkit-filter: drop-shadow(0 1px 2px hsla(0, 0%, 0%, .3));
filter: drop-shadow(0 1px 2px hsla(0, 0%, 0%, .3));
border: 1px solid hsla(0, 0%, 0%, .1);
background-clip: padding-box;
box-sizing: border-box;
position: absolute;
visibility: hidden;
transition: visibility 0s .1s, opacity 150ms cubic-bezier(0, 0, .2, 1);
z-index: 20001;
top: 0;
left: 0;
opacity: 0;
text-overflow: ellipsis;
overflow: hidden;
font-size: 12px
}
.mac-seamless-mode .ty-tooltip {
top: var(--title-bar-height)
}
.ty-tooltip.shown {
visibility: visible;
transition-delay: .8s;
opacity: 1
}
.ty-tooltip.shown.instant {
transition-delay: 0s
}
#bottom-hotpot, #top-hotpot {
height: 4px;
opacity: 0;
position: fixed;
left: 0;
right: 0;
z-index: 2
}
#top-hotpot {
top: 0
}
#bottom-hotpot {
bottom: -1px;
height: 8px
}
#write, [md-inline] a {
-webkit-user-drag: none
}
.md-iframe {
text-align: center
}
.md-frame frame {
max-width: 100%
}
#typora-sidebar-resizer {
display: none;
position: fixed;
top: 0;
bottom: 0;
left: var(--sidebar-width);
width: 6px;
margin-left: -2px;
border-left: 4px;
z-index: 99;
cursor: ew-resize
}
.pin-outline #typora-sidebar-resizer {
display: block
}
.typora-sidebar-resizer-bar {
height: 100%;
width: 8px;
opacity: .4
}
#typora-sidebar-resizer.dragging {
left: 0;
right: 0;
width: 100%;
margin-left: 0
}
#typora-sidebar-resizer.dragging .typora-sidebar-resizer-bar {
position: absolute;
border-right: 2px dashed;
margin-left: -1px
}
.cm-s-typora-default .cm-header, .cm-s-typora-default .cm-property {
color: #D94F8A
}
.cm-s-typora-default .cm-header1:not(.cm-atom):not(.cm-s-inner) {
font-size: 2rem
}
.cm-s-typora-default .cm-header2:not(.cm-atom):not(.cm-s-inner) {
font-size: 1.4rem
}
.cm-s-typora-default .cm-s-inner .cm-header1.cm-overlay, .cm-s-typora-default .cm-s-inner .cm-header2.cm-overlay {
font-size: inherit;
line-height: inherit
}
.cm-s-typora-default .cm-atom, .cm-s-typora-default .cm-number {
color: #958486
}
.use-varible-width-setex .cm-s-typora-default .cm-header {
font-family: monospace;
font-family: var(--monospace)
}
.cm-s-typora-default .cm-block-start, .cm-s-typora-default .cm-table-row {
font-family: monospace;
font-family: var(--monospace)
}
.cm-s-typora-default .cm-code, .cm-s-typora-default .cm-comment {
color: #4A5A9F;
font-family: monospace;
font-family: var(--monospace)
}
.cm-s-typora-default .cm-tag {
color: #a94442
}
.cm-s-typora-default .cm-string {
color: #7e86a9
}
.cm-s-typora-default .cm-link {
color: #C47A0F;
text-decoration: underline
}
.cm-s-typora-default .cm-variable-1, .cm-s-typora-default .cm-variable-2 {
color: inherit
}
.cm-s-typora-default .cm-overlay {
font-family: monospace;
font-family: var(--monospace)
}
.CodeMirror.cm-s-typora-default div.CodeMirror-cursor {
border-left: 3px solid #E4629A
}
.cm-s-typora-default .CodeMirror-activeline-background {
left: -60px;
right: -30px;
background: rgba(204, 204, 204, .2)
}
.cm-s-typora-default .CodeMirror-gutters {
border-right: none;
background-color: inherit
}
.cm-s-typora-default .cm-trailing-space-new-line:after, .cm-startspace:after, .cm-starttab .cm-tab:after {
content: "•";
position: absolute;
left: 0;
opacity: 0;
font-family: LetterGothicStd, monospace
}
.os-windows .cm-startspace:after, .os-windows .cm-starttab .cm-tab:after {
left: -.1em
}
.cm-starttab .cm-tab:after {
content: " "
}
.cm-startspace, .cm-starttab, .cm-tab, .cm-trailing-space-a, .cm-trailing-space-b, .cm-trailing-space-new-line {
font-family: monospace;
font-family: var(--monospace);
position: relative
}
.cm-s-typora-default .cm-trailing-space-new-line:after {
content: "↓";
opacity: .3
}
.CodeMirror div.CodeMirror-cursor {
border-left: 1px solid #000;
z-index: 3
}
.CodeMirror div.CodeMirror-secondarycursor {
border-left: 1px solid silver
}
.CodeMirror.cm-keymap-fat-cursor div.CodeMirror-cursor {
width: auto;
border: 0;
background: #7e7;
z-index: 1
}
.cm-tab {
display: inline-block
}
.context-menu {
width: 224px;
font-size: 13px;
position: fixed;
padding-top: 4px;
padding-bottom: 4px;
background-color: var(--bg-color)
}
.context-menu .disabled {
opacity: .5;
user-select: none
}
.context-menu .disabled a {
cursor: default !important
}
.context-menu .disabled a:hover {
background: inherit !important
}
.context-menu .fa-caret-right {
float: right;
line-height: inherit
}
.context-menu.dropdown-menu > .active > a, .context-menu.dropdown-menu > li > a:hover, .menu-style-btn.active {
background-color: #E6F0FE;
background-color: var(--item-hover-bg-color);
color: #fff;
color: var(--item-hover-text-color)
}
#user-context-menu > li {
font-size: 12px
}
#user-context-menu > li > a {
text-overflow: ellipsis;
overflow-x: hidden
}
#user-context-menu .divider {
margin: 4px 0
}
.md-htmlblock-container {
min-height: 20px;
cursor: default
}
#write .md-htmlblock {
white-space: normal;
position: relative
}
.md-htmlblock-container > :first-child {
margin-top: 0
}
.md-htmlblock-container > :last-child {
margin-bottom: 0
}
[role=wrapper]:last-child > * {
margin-top: 0
}
[role=wrapper]:last-child > * {
margin-bottom: 0
}
.md-rawblock > .md-rawblock-tooltip {
display: none
}
.md-rawblock-input {
font-family: monospace;
font-family: var(--monospace);
padding-left: 4px;
padding-right: 4px;
font-size: .9em
}
.md-rawblock-panel {
position: relative
}
.md-rawblock .md-rawblock-tooltip {
background: var(--bg-color);
display: none;
cursor: default
}
.md-rawblock-on-edit > .md-rawblock-tooltip, .md-rawblock:hover > .md-rawblock-container, .md-rawblock:hover > .md-rawblock-tooltip {
transition: background .5s linear;
background: var(--rawblock-edit-panel-bd);
display: block
}
.md-rawblock-on-edit > .md-rawblock-tooltip {
transition: none !important;
animation: none !important
}
.md-rawblock-control:not(.md-rawblock-tooltip) {
background: var(--rawblock-edit-panel-bd)
}
.md-rawblock:hover > .md-rawblock-tooltip {
transition: initial;
animation: showRawBlockTooltip .5s linear;
display: block
}
.md-rawblock.ty-hover > .md-rawblock-tooltip {
display: block
}
@keyframes showRawBlockTooltip {
from {
background: var(--bg-color)
}
to {
background: var(--rawblock-edit-panel-bd)
}
}
.md-rawblock-tooltip-name {
padding-left: 8px;
opacity: .5
}
.md-rawblock-tooltip-btn {
cursor: pointer;
font-size: 12.5px;
padding: 0 4px;
display: inline-block;
width: 20px
}
.md-rawblock-tooltip-btn:hover {
background: var(--item-hover-bg-color);
color: var(--item-hover-text-color)
}
.md-rawblock-tooltip-ok-btn {
display: none
}
.md-rawblock-on-edit .md-rawblock-tooltip-ok-btn {
display: inline-block
}
.md-rawblock-on-edit .md-rawblock-tooltip-edit-btn {
display: none
}
.md-rawblock-tooltip {
top: -16px;
bottom: auto;
height: 16px;
line-height: 16px;
position: absolute;
background: inherit;
font-size: 12px;
right: 0;
padding: 0 6px;
z-index: 6
}
.md-htmlblock .md-rawblock-tooltip {
z-index: 0
}
.md-emptyline {
display: block
}
.md-htmlblock-panel-placeholder {
position: absolute;
height: 100%;
width: 100%;
background: var(--rawblock-edit-panel-bd);
color: inherit;
text-align: center
}
.ty-lds-spinner {
display: inline-block;
position: absolute;
top: 50%;
margin-top: -1em;
font-size: 13px;
width: 2em;
height: 2em
}
.ty-lds-spinner div {
transform-origin: 1em 1em;
animation: lds-spinner 1.2s linear infinite
}
.ty-lds-spinner div:after {
content: " ";
display: block;
position: absolute;
top: .09375em;
left: .90625em;
width: 1px;
height: .4375em;
border-radius: 20%;
background: currentColor
}
.ty-lds-spinner div:nth-child(1) {
transform: rotate(0);
animation-delay: -1.1s
}
.ty-lds-spinner div:nth-child(2) {
transform: rotate(30deg);
animation-delay: -1s
}
.ty-lds-spinner div:nth-child(3) {
transform: rotate(60deg);
animation-delay: -.9s
}
.ty-lds-spinner div:nth-child(4) {
transform: rotate(90deg);
animation-delay: -.8s
}
.ty-lds-spinner div:nth-child(5) {
transform: rotate(120deg);
animation-delay: -.7s
}
.ty-lds-spinner div:nth-child(6) {
transform: rotate(150deg);
animation-delay: -.6s
}
.ty-lds-spinner div:nth-child(7) {
transform: rotate(180deg);
animation-delay: -.5s
}
.ty-lds-spinner div:nth-child(8) {
transform: rotate(210deg);
animation-delay: -.4s
}
.ty-lds-spinner div:nth-child(9) {
transform: rotate(240deg);
animation-delay: -.3s
}
.ty-lds-spinner div:nth-child(10) {
transform: rotate(270deg);
animation-delay: -.2s
}
.ty-lds-spinner div:nth-child(11) {
transform: rotate(300deg);
animation-delay: -.1s
}
.ty-lds-spinner div:nth-child(12) {
transform: rotate(330deg);
animation-delay: 0s
}
@keyframes lds-spinner {
0% {
opacity: 1
}
100% {
opacity: 0
}
}
[role=wrapper] {
position: relative
}
.md-video-load-failed {
height: 56px;
visibility: hidden
}
.md-video-mask {
height: 100%;
width: 100%;
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
display: block;
border-color: transparent
}
.md-resouce-error-wrapper {
height: 100%;
display: -webkit-flex;
display: flex;
justify-content: left;
align-items: center;
padding: 1em;
font-family: monospace;
font-family: var(--monospace);
word-wrap: break-word;
white-space: pre-wrap;
opacity: .8;
font-size: 12px;
overflow: hidden
}
.md-resouce-error-wrapper .ty-icon {
vertical-align: middle
}
.md-resouce-error-mark {
margin-right: 1em
}
.md-resouce-error-message {
text-align: left;
min-width: 0
}
.md-rawblock-after, .md-rawblock-before {
font-family: monospace;
font-family: var(--monospace);
font-size: .8em;
padding-left: 1ch;
cursor: text;
color: grey
}
.md-math-tag-input {
display: inline-block;
min-width: 1ch;
margin-left: 1ch
}
.md-math-tag-input:empty:after, .md-math-tag-input:empty:before {
content: ""
}
.md-math-tag-input:before, .md-math-tag-input:focus:before {
content: "{";
margin-left: -1ch
}
.md-math-tag-input:after, .md-math-tag-input:focus:after {
content: "}"
}
.CodeMirror-lint-markers {
width: 16px
}
.CodeMirror-lint-tooltip {
background-color: infobackground;
border: 1px solid #000;
border-radius: 4px 4px 4px 4px;
color: infotext;
font-family: monospace;
font-family: var(--monospace);
font-size: 10pt;
overflow: hidden;
padding: 2px 5px;
position: fixed;
white-space: pre;
white-space: pre-wrap;
z-index: 10000;
max-width: 600px;
opacity: 0;
transition: opacity .4s;
-moz-transition: opacity .4s;
-webkit-transition: opacity .4s;
-o-transition: opacity .4s;
-ms-transition: opacity .4s;
font-size: .8em
}
.CodeMirror-lint-mark-error, .CodeMirror-lint-mark-warning {
background-position: left bottom;
background-repeat: repeat-x
}
.CodeMirror-lint-mark-error {
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJDw4cOCW1/KIAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAHElEQVQI12NggIL/DAz/GdA5/xkY/qPKMDAwAADLZwf5rvm+LQAAAABJRU5ErkJggg==)
}
.CodeMirror-lint-marker-error, .CodeMirror-lint-marker-warning {
background-position: center center;
background-repeat: no-repeat;
cursor: pointer;
display: inline-block;
height: 16px;
width: 16px;
vertical-align: middle;
position: relative
}
.CodeMirror-lint-message-error, .CodeMirror-lint-message-warning {
padding-left: 18px;
background-position: top left;
background-repeat: no-repeat
}
.CodeMirror-lint-marker-error, .CodeMirror-lint-message-error {
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAHlBMVEW7AAC7AACxAAC7AAC7AAAAAAC4AAC5AAD///+7AAAUdclpAAAABnRSTlMXnORSiwCK0ZKSAAAATUlEQVR42mWPOQ7AQAgDuQLx/z8csYRmPRIFIwRGnosRrpamvkKi0FTIiMASR3hhKW+hAN6/tIWhu9PDWiTGNEkTtIOucA5Oyr9ckPgAWm0GPBog6v4AAAAASUVORK5CYII=)
}
.CodeMirror-lint-marker-warning, .CodeMirror-lint-message-warning {
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAANlBMVEX/uwDvrwD/uwD/uwD/uwD/uwD/uwD/uwD/uwD6twD/uwAAAADurwD2tQD7uAD+ugAAAAD/uwDhmeTRAAAADHRSTlMJ8mN1EYcbmiixgACm7WbuAAAAVklEQVR42n3PUQqAIBBFUU1LLc3u/jdbOJoW1P08DA9Gba8+YWJ6gNJoNYIBzAA2chBth5kLmG9YUoG0NHAUwFXwO9LuBQL1giCQb8gC9Oro2vp5rncCIY8L8uEx5ZkAAAAASUVORK5CYII=)
}
.CodeMirror-lint-marker-multiple {
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAMAAADzjKfhAAAACVBMVEUAAAAAAAC/v7914kyHAAAAAXRSTlMAQObYZgAAACNJREFUeNo1ioEJAAAIwmz/H90iFFSGJgFMe3gaLZ0od+9/AQZ0ADosbYraAAAAAElFTkSuQmCC);
background-repeat: no-repeat;
background-position: right bottom;
width: 100%;
height: 100%
}
.CodeMirror-hints {
position: absolute;
z-index: 10;
overflow: hidden;
list-style: none;
margin: 0;
padding: 2px;
-webkit-box-shadow: 2px 3px 5px rgba(0, 0, 0, .2);
-moz-box-shadow: 2px 3px 5px rgba(0, 0, 0, .2);
box-shadow: 2px 3px 5px rgba(0, 0, 0, .2);
border-radius: 3px;
border: 1px solid silver;
background: #fff;
font-size: 90%;
font-family: monospace;
max-height: 20em;
overflow-y: auto
}
.CodeMirror-hint {
margin: 0;
padding: 0 4px;
border-radius: 2px;
white-space: pre;
color: #000;
cursor: pointer
}
li.CodeMirror-hint-active {
background: #08f;
color: #fff
}
.md-video-screenshot {
border-left: 0;
border-right: 0;
max-width: 100%;
margin: auto;
display: block
}
#ty-oversize-body {
z-index: 9;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
padding: 0;
-webkit-user-drag: none;
overflow: hidden;
font-size: 15px;
text-align: center;
vertical-align: middle;
background: inherit
}
.ty-oversize-modal {
margin: 0 auto;
display: inline-block;
vertical-align: middle
}
#ty-oversize-body:before {
content: "";
display: inline-block;
vertical-align: middle;
height: 100%
}
#file-library-search {
height: 0;
transition: height .25s;
overflow: hidden;
width: 100%
}
#typora-sidebar.ty-on-search #file-library {
display: none !important
}
#typora-sidebar.ty-on-search #file-library-search {
height: 100%;
display: -webkit-flex;
display: flex;
-webkit-flex-direction: column;
flex-direction: column
}
#file-library-search-result {
overflow-y: auto;
overflow-x: hidden;
word-break: break-word;
position: relative;
display: none
}
#file-library-search-panel {
position: relative
}
.ty-on-search #file-library-search-result {
padding-bottom: 32px;
display: block
}
.ty-on-search #file-library-search-panel {
border-bottom: none
}
.ty-file-search-match-text {
background-color: rgba(248, 192, 116, .3)
}
.ty-search-item-summary {
line-height: 20px;
padding-top: 6px;
position: relative;
font-size: 13.5px
}
.ty-search-item-line {
padding: 3px 0 3px 24px;
white-space: pre;
font-size: 13px;
overflow: hidden;
font-family: Raleway, 'Source Sans Pro', sans-serif;
word-break: normal;
cursor: pointer
}
.ty-search-item-line.active, .ty-search-item-line:hover, .ty-search-item.active {
background: var(--active-file-bg-color);
color: var(--active-file-text-color)
}
.ty-search-item-matches {
padding-bottom: 6px
}
.ty-search-item-line-more {
display: none
}
.ty-search-item-expand .ty-search-item-line-more {
display: block
}
.ty-search-item-expand .ty-search-item-line-expand {
display: none
}
.ty-search-item-line span, .ty-search-item-line-expand {
opacity: .8
}
.ty-search-item-line .ty-file-search-match-text {
opacity: 1
}
.ty-search-item-summary .file-list-item-file-name {
margin-bottom: 0;
cursor: pointer;
padding-left: 24px;
-webkit-flex: 1;
flex: 1
}
.file-list-item-count {
padding-left: .5ch;
padding-right: .5ch;
margin-right: 6px;
border-radius: 2px;
display: inline-block;
background: var(--active-file-bg-color);
color: var(--active-file-text-color);
font-size: 13px;
margin-top: -4px;
margin-bottom: 2px;
vertical-align: middle
}
.ty-search-item-summary .file-list-item-parent-loc {
display: block;
padding-left: 24px;
float: none;
width: 90%
}
.ty-search-item {
padding: 0;
border-bottom: var(--window-border);
transition: top .5s
}
.ty-search-item-collapse-icon {
float: left;
cursor: pointer;
opacity: .5;
position: absolute;
padding-left: 1.5ch;
padding-right: .5ch
}
.ty-search-item-collapse-icon:hover {
opacity: .8
}
.ty-search-item-collapse .fa-caret-down, .ty-search-item-collapse-icon .fa-caret-right {
display: none
}
.ty-search-item-collapse .ty-search-item-collapse-icon .fa-caret-right, .ty-search-item-expand .fa-caret-down {
display: inline
}
.ty-search-item-collapse .file-list-item-parent-loc, .ty-search-item-collapse .ty-search-item-matches {
display: none
}
.ty-on-search #ty-sidebar-footer {
display: none !important
}
.active-tab-files.use-file-tree-style.ty-on-search .sidebar-content {
bottom: 0
}
.outline-item.select, .ty-search-item-line.select, .ty-search-item.select {
outline-color: var(--primary-color);
outline-width: 1px;
outline-style: solid;
outline-offset: -3px
}
.outline-item.select {
outline-offset: 2px
}
.ty-sidebar-search-panel .btn:not(.close-btn):hover {
outline: 0;
background-image: none;
-webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125)
}
.ty-sidebar-search-panel svg.icon {
width: 20px;
height: 14px;
stroke: none;
fill: currentColor
}
.ty-sidebar-search-panel .searchpanel-search-option-btn {
top: 4px;
opacity: .5;
border: none;
display: none
}
#ty-sidebar-search-tabs .searchpanel-search-option-btn {
top: 10px
}
.ty-sidebar-search-panel .searchpanel-search-option-btn.select, .ty-sidebar-search-panel .searchpanel-search-option-btn:hover {
background: var(--active-file-bg-color);
color: var(--active-file-text-color);
opacity: 1
}
#filesearch-word-option-btn {
right: 20px
}
#filesearch-case-option-btn {
right: 44px
}
#typora-sidebar.ty-on-search .searchpanel-search-option-btn, #typora-sidebar.ty-show-search:hover .searchpanel-search-option-btn {
display: inline-block
}
#typora-sidebar.ty-show-outline-filter .searchpanel-search-option-btn {
display: none !important
}
#sidebar-search-btn {
font-size: 18px;
margin-top: -2px
}
#ty-sidebar-search-tabs, .ty-show-outline-filter .sidebar-tabs, .ty-show-search .sidebar-tabs {
display: none
}
.ty-show-outline-filter #ty-sidebar-search-tabs, .ty-show-search #ty-sidebar-search-tabs {
display: -webkit-flex;
display: flex;
position: relative
}
@keyframes expandFromRight {
0% {
transform: scaleX(.1);
transform-origin: right
}
60% {
transform: none
}
}
#typora-sidebar:hover #ty-sidebar-search-back-btn {
animation: none
}
#file-library-search-input:focus {
border-color: var(--primary-color)
}
#ty-sidebar-search-back-btn {
text-align: center;
font-size: 16px;
opacity: 1;
animation: none
}
.ty-search-icon-left {
position: absolute;
font-size: 18px;
left: 12px;
bottom: 10px
}
.ty-search-result-error-message {
padding: 16px
}
.ty-on-outline-filter .outline-expander {
display: none
}
.ty-on-outline-filter .outline-children {
display: block
}
.ty-on-outline-filter .ty-outline-miss {
display: none
}
.ty-on-outline-filter .outline-active {
font-weight: 400
}
.ty-on-outline-filter .ty-outline-hit {
font-weight: 700
}
.ty-on-drag-enter {
background-color: var(--item-hover-bg-color);
color: var(--item-hover-text-color)
}
.ty-on-drag-enter > * {
pointer-events: none
}
.ty-on-drag-enter [data-is-directory=true], .ty-on-drag-enter > .file-node-content {
pointer-events: initial
}
#common-dialog-checkbox {
display: none
}
.ty-dialog-show-checkbox #common-dialog-checkbox {
display: inline-block
}
.ty-dialog-no-title .modal-header {
display: none
}
#common-dialog .modal-header {
padding-bottom: 0
}
.ty-dialog-no-title.modal-body {
padding-bottom: 0
}
.modal[data-tag=pandoc-warning] .modal-dialog {
width: auto
}
.modal[data-tag=detail] .modal-dialog {
width: auto;
margin: auto;
margin-top: 10%;
text-align: center
}
.modal[data-tag=detail] .modal-content {
display: inline-block;
text-align: left;
min-width: 400px;
max-width: calc(100% - 60px);
margin-left: auto;
margin-right: auto
}
.modal[data-tag=detail] #common-dialog-message {
width: auto;
max-height: 60vh;
overflow: auto;
white-space: pre;
padding: 8px 0
}
@media (min-width: 680px) {
.modal[data-tag=pandoc-warning] .modal-dialog {
width: 680px
}
}
#common-dialog.ty-three-way-buttons .btn {
float: left
}
#common-dialog.ty-three-way-buttons .btn:last-child {
float: none
}
.blink-area {
-webkit-animation: blink-bg 1s 8;
animation: blink-bg 1s 8
}
@-webkit-keyframes blink-bg {
0%, 49% {
background-color: #ffef62
}
}
@keyframes blink-bg {
0%, 49% {
background-color: #ffef62
}
}
script {
font-family: var(--monospace)
}
.mac-seamless-mode #zoom-hint {
top: 28px
}
#zoom-hint {
position: fixed;
top: 4px;
right: 8px;
z-index: 1;
box-shadow: rgba(0, 0, 0, .2) 0 0 .5em;
padding-left: 12px;
font-size: 14px;
line-height: 18px;
background: var(--bg-color);
color: var(--text-color);
cursor: default
}
#zoom-hint span {
display: inline-block
}
#zoom-hint-current {
width: 48px
}
#zoom-hint-in, #zoom-hint-out {
width: 24px;
text-align: center
}
.zoom-hint-button {
padding: 4px;
margin: 4px 0
}
.zoom-hint-button:hover {
background: rgba(134, 134, 134, .26)
}
#zoom-hint #zoom-hint-reset {
padding: 4px 8px;
margin: auto 4px;
color: var(--primary-color);
font-size: 12px;
border-left: 1px solid rgba(134, 134, 134, .6);
line-height: 18px
}
@media (prefers-dark-interface) {
#zoom-hint {
background: rgba(0, 0, 0, .5)
}
.zoom-hint-button:hover {
background: rgba(0, 0, 0, .7)
}
}
.on-zoom * {
transition-duration: 0
}
li > .mathjax-block:first-child::before, li > pre:first-child::before {
content: " ";
display: block;
height: 0
}
.md-pants-space-before:before {
content: " ";
display: inline-block
}
.md-pants-space-after:before {
content: "«"
}
#ty-local-setting {
display: none
}
.ty-show-local-setting #ty-local-setting {
display: block;
position: fixed;
left: 0;
top: 0;
right: 0;
bottom: 0;
height: inherit;
z-index: 9
}
.ty-table-edit .btn-group-xs > .btn {
line-height: 1.4
}
.ty-table-edit .ty-icon {
line-height: inherit
}
.modal-backdrop.in {
background: rgba(0, 0, 0, .1)
}
.modal-dialog {
font-size: 13px
}
.btn {
font-size: 13px
}
.btn-default {
border-color: rgba(204, 204, 204, .51);
background: rgba(204, 204, 204, .51)
}
#write .md-diagram-panel .md-diagram-panel-preview div {
width: initial
}
.md-fences-adv-panel, .md-math-container, .md-mathjax-preview {
font-size: .95em;
font-family: sans-serif
}
mjx-container:focus {
outline: 0
}
.md-mathjax-preview mjx-container[jax=SVG][display=true] {
margin: 0
}
mjx-container[jax=SVG] > svg a {
fill: currentColor !important;
stroke: currentColor !important
}
.md-mathjax-preview {
padding: 1em;
overflow-x: auto
}
#math-inline-preview-content g[data-mml-node=merror] > rect[data-background] {
fill: transparent
}
.md-math-container.math-jax-preprocess {
opacity: .5;
font-family: var(--monospace)
}
.ty-before-first-render .md-math-block .math-jax-preprocess {
opacity: 0
}
.ty-pandoc-path-select-row {
display: flex
}
.ty-pandoc-path-select-row input {
flex: 1
}
.ty-menu-shortcut {
float: right;
line-height: inherit;
font-size: .9em;
font-family: 'Segoe UI', 'Open Sans', sans-serif;
opacity: .7
}
.dropdown-toggle-split {
min-width: auto !important;
border-top-left-radius: 0 !important;
border-bottom-left-radius: 0 !important
}
.dropdown-toggle-before {
border-top-right-radius: 0 !important;
border-bottom-right-radius: 0 !important
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化