You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

server.css 164KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027
  1. @charset "UTF-8";
  2. /**
  3. * @copyright Copyright (c) 2018, John Molakvoæ (skjnldsv@protonmail.com)
  4. *
  5. * @author John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
  6. *
  7. * @license GNU AGPL version 3 or any later version
  8. *
  9. * This program is free software: you can redistribute it and/or modify
  10. * it under the terms of the GNU Affero General Public License as
  11. * published by the Free Software Foundation, either version 3 of the
  12. * License, or (at your option) any later version.
  13. *
  14. * This program is distributed in the hope that it will be useful,
  15. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  17. * GNU Affero General Public License for more details.
  18. *
  19. * You should have received a copy of the GNU Affero General Public License
  20. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  21. *
  22. */
  23. @import url("../../dist/icons.css");
  24. /**
  25. * @copyright Copyright (c) 2016, John Molakvoæ <skjnldsv@protonmail.com>
  26. * @copyright Copyright (c) 2016, Lukas Reschke <lukas@statuscode.ch>
  27. * @copyright Copyright (c) 2016, Robin Appelman <robin@icewind.nl>
  28. * @copyright Copyright (c) 2016, Julius Haertl <jus@bitgrid.net>
  29. * @copyright Copyright (c) 2016, Joas Schilling <coding@schilljs.com>
  30. * @copyright Copyright (c) 2016, Morris Jobke <hey@morrisjobke.de>
  31. * @copyright Copyright (c) 2016, Christoph Wurst <christoph@winzerhof-wurst.at>
  32. * @copyright Copyright (c) 2016, Raghu Nayyar <hey@raghunayyar.com>
  33. * @copyright Copyright (c) 2011-2017, Jan-Christoph Borchardt <hey@jancborchardt.net>
  34. * @copyright Copyright (c) 2019-2020, Gary Kim <gary@garykim.dev>
  35. *
  36. * @license GNU AGPL version 3 or any later version
  37. *
  38. */
  39. html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, dialog, figure, footer, header, hgroup, nav, section, main {
  40. margin: 0;
  41. padding: 0;
  42. border: 0;
  43. font-weight: inherit;
  44. font-size: 100%;
  45. font-family: inherit;
  46. vertical-align: baseline;
  47. cursor: default;
  48. scrollbar-color: var(--color-border-dark) transparent;
  49. scrollbar-width: thin;
  50. }
  51. .js-focus-visible :focus:not(.focus-visible) {
  52. outline: none;
  53. }
  54. /** Let vue apps handle the focus themselves */
  55. .content:not(#content-vue) :focus-visible,
  56. .app-navigation:not(#app-navigation-vue) :focus-visible {
  57. box-shadow: inset 0 0 0 2px var(--color-primary);
  58. outline: none;
  59. }
  60. html, body {
  61. height: 100%;
  62. }
  63. article, aside, dialog, figure, footer, header, hgroup, nav, section {
  64. display: block;
  65. }
  66. body {
  67. line-height: 1.5;
  68. }
  69. table {
  70. border-collapse: separate;
  71. border-spacing: 0;
  72. white-space: nowrap;
  73. }
  74. caption, th, td {
  75. text-align: left;
  76. font-weight: normal;
  77. }
  78. table, td, th {
  79. vertical-align: middle;
  80. }
  81. a {
  82. border: 0;
  83. color: var(--color-main-text);
  84. text-decoration: none;
  85. cursor: pointer;
  86. }
  87. a * {
  88. cursor: pointer;
  89. }
  90. a.external {
  91. margin: 0 3px;
  92. text-decoration: underline;
  93. }
  94. input {
  95. cursor: pointer;
  96. }
  97. input * {
  98. cursor: pointer;
  99. }
  100. select, .button span, label {
  101. cursor: pointer;
  102. }
  103. ul {
  104. list-style: none;
  105. }
  106. body {
  107. font-weight: normal;
  108. /* bring the default font size up to 15px */
  109. font-size: var(--default-font-size);
  110. line-height: var(--default-line-height);
  111. font-family: var(--font-face);
  112. color: var(--color-main-text);
  113. }
  114. .two-factor-header {
  115. text-align: center;
  116. }
  117. .two-factor-provider {
  118. text-align: center;
  119. width: 258px !important;
  120. display: inline-block;
  121. margin-bottom: 0 !important;
  122. background-color: var(--color-background-darker) !important;
  123. border: none !important;
  124. }
  125. .two-factor-link {
  126. display: inline-block;
  127. padding: 12px;
  128. color: var(--color-text-lighter);
  129. }
  130. .float-spinner {
  131. height: 32px;
  132. display: none;
  133. }
  134. #nojavascript {
  135. position: fixed;
  136. top: 0;
  137. bottom: 0;
  138. left: 0;
  139. height: 100%;
  140. width: 100%;
  141. z-index: 9000;
  142. text-align: center;
  143. background-color: var(--color-background-darker);
  144. color: var(--color-primary-text);
  145. line-height: 125%;
  146. font-size: 24px;
  147. }
  148. #nojavascript div {
  149. display: block;
  150. position: relative;
  151. width: 50%;
  152. top: 35%;
  153. margin: 0px auto;
  154. }
  155. #nojavascript a {
  156. color: var(--color-primary-text);
  157. border-bottom: 2px dotted var(--color-main-background);
  158. }
  159. #nojavascript a:hover, #nojavascript a:focus {
  160. color: var(--color-primary-text-dark);
  161. }
  162. /* SCROLLING */
  163. ::-webkit-scrollbar {
  164. width: 12px;
  165. height: 12px;
  166. }
  167. ::-webkit-scrollbar-track-piece {
  168. background-color: transparent;
  169. }
  170. ::-webkit-scrollbar-thumb {
  171. background: var(--color-scrollbar);
  172. border-radius: var(--border-radius-large);
  173. border: 2px solid transparent;
  174. background-clip: content-box;
  175. }
  176. /* SELECTION */
  177. ::selection {
  178. background-color: var(--color-primary-element);
  179. color: var(--color-primary-text);
  180. }
  181. /* CONTENT ------------------------------------------------------------------ */
  182. #app-navigation * {
  183. box-sizing: border-box;
  184. }
  185. /* EMPTY CONTENT DISPLAY ------------------------------------------------------------ */
  186. #emptycontent,
  187. .emptycontent {
  188. color: var(--color-text-maxcontrast);
  189. text-align: center;
  190. margin-top: 30vh;
  191. width: 100%;
  192. }
  193. #app-sidebar #emptycontent,
  194. #app-sidebar .emptycontent {
  195. margin-top: 10vh;
  196. }
  197. #emptycontent .emptycontent-search,
  198. .emptycontent .emptycontent-search {
  199. position: static;
  200. }
  201. #emptycontent h2,
  202. .emptycontent h2 {
  203. margin-bottom: 10px;
  204. }
  205. #emptycontent [class^=icon-],
  206. #emptycontent [class*=icon-],
  207. .emptycontent [class^=icon-],
  208. .emptycontent [class*=icon-] {
  209. background-size: 64px;
  210. height: 64px;
  211. width: 64px;
  212. margin: 0 auto 15px;
  213. }
  214. #emptycontent [class^=icon-]:not([class^=icon-loading]), #emptycontent [class^=icon-]:not([class*=icon-loading]),
  215. #emptycontent [class*=icon-]:not([class^=icon-loading]),
  216. #emptycontent [class*=icon-]:not([class*=icon-loading]),
  217. .emptycontent [class^=icon-]:not([class^=icon-loading]),
  218. .emptycontent [class^=icon-]:not([class*=icon-loading]),
  219. .emptycontent [class*=icon-]:not([class^=icon-loading]),
  220. .emptycontent [class*=icon-]:not([class*=icon-loading]) {
  221. opacity: 0.4;
  222. }
  223. /* LOG IN & INSTALLATION ------------------------------------------------------------ */
  224. #datadirContent label {
  225. width: 100%;
  226. }
  227. /* strengthify wrapper */
  228. /* General new input field look */
  229. /* Nicely grouping input field sets */
  230. .grouptop, .groupmiddle, .groupbottom {
  231. position: relative;
  232. -webkit-user-select: none;
  233. -moz-user-select: none;
  234. -ms-user-select: none;
  235. user-select: none;
  236. }
  237. /* Show password toggle */
  238. #show, #dbpassword {
  239. position: absolute;
  240. right: 1em;
  241. top: 0.8em;
  242. float: right;
  243. }
  244. #show + label, #dbpassword + label {
  245. right: 21px;
  246. top: 15px !important;
  247. margin: -14px !important;
  248. padding: 14px !important;
  249. }
  250. #show:checked + label, #dbpassword:checked + label, #personal-show:checked + label {
  251. opacity: 0.8;
  252. }
  253. #show:focus-visible + label, #dbpassword-toggle:focus-visible + label, #personal-show:focus-visible + label {
  254. box-shadow: var(--color-primary) 0 0 0 2px;
  255. opacity: 1;
  256. border-radius: 9999px;
  257. }
  258. #show + label, #dbpassword + label, #personal-show + label {
  259. position: absolute !important;
  260. height: 20px;
  261. width: 24px;
  262. background-image: var(--icon-toggle-dark);
  263. background-repeat: no-repeat;
  264. background-position: center;
  265. opacity: 0.3;
  266. }
  267. /* Feedback for keyboard focus and mouse hover */
  268. #show:focus + label,
  269. #dbpassword:focus + label,
  270. #personal-show:focus + label {
  271. opacity: 1;
  272. }
  273. #show + label:hover,
  274. #dbpassword + label:hover,
  275. #personal-show + label:hover {
  276. opacity: 1;
  277. }
  278. #show + label:before, #dbpassword + label:before, #personal-show + label:before {
  279. display: none;
  280. }
  281. #pass2, input[name=personal-password-clone] {
  282. padding-right: 30px;
  283. }
  284. .personal-show-container {
  285. position: relative;
  286. display: inline-block;
  287. margin-right: 6px;
  288. }
  289. #personal-show + label {
  290. display: block;
  291. right: 0;
  292. margin-top: -43px;
  293. margin-right: -4px;
  294. padding: 22px;
  295. }
  296. /* Warnings and errors are the same */
  297. #body-user .warning, #body-settings .warning {
  298. margin-top: 8px;
  299. padding: 5px;
  300. border-radius: var(--border-radius);
  301. color: var(--color-main-text);
  302. background-color: rgba(var(--color-warning-rgb), 0.2);
  303. }
  304. .warning legend, .warning a {
  305. font-weight: bold !important;
  306. }
  307. .error:not(.toastify) a {
  308. color: white !important;
  309. font-weight: bold !important;
  310. }
  311. .error:not(.toastify) a.button {
  312. color: var(--color-text-lighter) !important;
  313. display: inline-block;
  314. text-align: center;
  315. }
  316. .error:not(.toastify) pre {
  317. white-space: pre-wrap;
  318. text-align: left;
  319. }
  320. .error-wide {
  321. width: 700px;
  322. margin-left: -200px !important;
  323. }
  324. .error-wide .button {
  325. color: black !important;
  326. }
  327. .warning-input {
  328. border-color: var(--color-error) !important;
  329. }
  330. /* fixes for update page TODO should be fixed some time in a proper way */
  331. /* this is just for an error while updating the Nextcloud instance */
  332. /* Sticky footer */
  333. /* round profile photos */
  334. .avatar, .avatardiv {
  335. border-radius: 50%;
  336. flex-shrink: 0;
  337. }
  338. .avatar > img, .avatardiv > img {
  339. border-radius: 50%;
  340. flex-shrink: 0;
  341. }
  342. td.avatar {
  343. border-radius: 0;
  344. }
  345. tr .action:not(.permanent), .selectedActions > a {
  346. opacity: 0;
  347. }
  348. tr:hover .action:not(.menuitem), tr:focus .action:not(.menuitem),
  349. tr .action.permanent:not(.menuitem) {
  350. opacity: 0.5;
  351. }
  352. .selectedActions > a {
  353. opacity: 0.5;
  354. position: relative;
  355. top: 2px;
  356. }
  357. .selectedActions > a:hover, .selectedActions > a:focus {
  358. opacity: 1;
  359. }
  360. tr .action {
  361. width: 16px;
  362. height: 16px;
  363. }
  364. .header-action {
  365. opacity: 0.8;
  366. }
  367. tr:hover .action:hover, tr:focus .action:focus {
  368. opacity: 1;
  369. }
  370. .selectedActions a:hover, .selectedActions a:focus {
  371. opacity: 1;
  372. }
  373. .header-action:hover, .header-action:focus {
  374. opacity: 1;
  375. }
  376. tbody tr:hover, tbody tr:focus, tbody tr:active {
  377. background-color: var(--color-background-dark);
  378. }
  379. code {
  380. font-family: "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", monospace;
  381. }
  382. .pager {
  383. list-style: none;
  384. float: right;
  385. display: inline;
  386. margin: 0.7em 13em 0 0;
  387. }
  388. .pager li {
  389. display: inline-block;
  390. }
  391. .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
  392. overflow: hidden;
  393. text-overflow: ellipsis;
  394. }
  395. .ui-icon-circle-triangle-e {
  396. background-image: url("../img/actions/play-next.svg?v=1");
  397. }
  398. .ui-icon-circle-triangle-w {
  399. background-image: url("../img/actions/play-previous.svg?v=1");
  400. }
  401. /* ---- jQuery UI datepicker ---- */
  402. .ui-widget.ui-datepicker {
  403. margin-top: 10px;
  404. padding: 4px 8px;
  405. width: auto;
  406. border-radius: var(--border-radius);
  407. border: none;
  408. z-index: 1600 !important;
  409. }
  410. .ui-widget.ui-datepicker .ui-state-default,
  411. .ui-widget.ui-datepicker .ui-widget-content .ui-state-default,
  412. .ui-widget.ui-datepicker .ui-widget-header .ui-state-default {
  413. border: 1px solid transparent;
  414. background: inherit;
  415. }
  416. .ui-widget.ui-datepicker .ui-widget-header {
  417. padding: 7px;
  418. font-size: 13px;
  419. border: none;
  420. background-color: var(--color-main-background);
  421. color: var(--color-main-text);
  422. }
  423. .ui-widget.ui-datepicker .ui-widget-header .ui-datepicker-title {
  424. line-height: 1;
  425. font-weight: normal;
  426. }
  427. .ui-widget.ui-datepicker .ui-widget-header .ui-icon {
  428. opacity: 0.5;
  429. }
  430. .ui-widget.ui-datepicker .ui-widget-header .ui-icon.ui-icon-circle-triangle-e {
  431. background: url("../img/actions/arrow-right.svg") center center no-repeat;
  432. }
  433. .ui-widget.ui-datepicker .ui-widget-header .ui-icon.ui-icon-circle-triangle-w {
  434. background: url("../img/actions/arrow-left.svg") center center no-repeat;
  435. }
  436. .ui-widget.ui-datepicker .ui-widget-header .ui-state-hover .ui-icon {
  437. opacity: 1;
  438. }
  439. .ui-widget.ui-datepicker .ui-datepicker-calendar th {
  440. font-weight: normal;
  441. color: var(--color-text-lighter);
  442. opacity: 0.8;
  443. width: 26px;
  444. padding: 2px;
  445. }
  446. .ui-widget.ui-datepicker .ui-datepicker-calendar tr:hover {
  447. background-color: inherit;
  448. }
  449. .ui-widget.ui-datepicker .ui-datepicker-calendar td.ui-datepicker-today a:not(.ui-state-hover) {
  450. background-color: var(--color-background-darker);
  451. }
  452. .ui-widget.ui-datepicker .ui-datepicker-calendar td.ui-datepicker-current-day a.ui-state-active,
  453. .ui-widget.ui-datepicker .ui-datepicker-calendar td .ui-state-hover,
  454. .ui-widget.ui-datepicker .ui-datepicker-calendar td .ui-state-focus {
  455. background-color: var(--color-primary);
  456. color: var(--color-primary-text);
  457. font-weight: bold;
  458. }
  459. .ui-widget.ui-datepicker .ui-datepicker-calendar td.ui-datepicker-week-end:not(.ui-state-disabled) :not(.ui-state-hover),
  460. .ui-widget.ui-datepicker .ui-datepicker-calendar td .ui-priority-secondary:not(.ui-state-hover) {
  461. color: var(--color-text-lighter);
  462. opacity: 0.8;
  463. }
  464. .ui-datepicker-prev, .ui-datepicker-next {
  465. border: var(--color-border-dark);
  466. background: var(--color-main-background);
  467. }
  468. /* ---- jQuery UI timepicker ---- */
  469. .ui-widget.ui-timepicker {
  470. margin-top: 10px !important;
  471. width: auto !important;
  472. border-radius: var(--border-radius);
  473. z-index: 1600 !important;
  474. /* AM/PM fix */
  475. }
  476. .ui-widget.ui-timepicker .ui-widget-content {
  477. border: none !important;
  478. }
  479. .ui-widget.ui-timepicker .ui-state-default,
  480. .ui-widget.ui-timepicker .ui-widget-content .ui-state-default,
  481. .ui-widget.ui-timepicker .ui-widget-header .ui-state-default {
  482. border: 1px solid transparent;
  483. background: inherit;
  484. }
  485. .ui-widget.ui-timepicker .ui-widget-header {
  486. padding: 7px;
  487. font-size: 13px;
  488. border: none;
  489. background-color: var(--color-main-background);
  490. color: var(--color-main-text);
  491. }
  492. .ui-widget.ui-timepicker .ui-widget-header .ui-timepicker-title {
  493. line-height: 1;
  494. font-weight: normal;
  495. }
  496. .ui-widget.ui-timepicker table.ui-timepicker tr .ui-timepicker-hour-cell:first-child {
  497. margin-left: 30px;
  498. }
  499. .ui-widget.ui-timepicker .ui-timepicker-table th {
  500. font-weight: normal;
  501. color: var(--color-text-lighter);
  502. opacity: 0.8;
  503. }
  504. .ui-widget.ui-timepicker .ui-timepicker-table th.periods {
  505. padding: 0;
  506. width: 30px;
  507. line-height: 30px;
  508. }
  509. .ui-widget.ui-timepicker .ui-timepicker-table tr:hover {
  510. background-color: inherit;
  511. }
  512. .ui-widget.ui-timepicker .ui-timepicker-table td.ui-timepicker-hour-cell a.ui-state-active, .ui-widget.ui-timepicker .ui-timepicker-table td.ui-timepicker-minute-cell a.ui-state-active,
  513. .ui-widget.ui-timepicker .ui-timepicker-table td .ui-state-hover,
  514. .ui-widget.ui-timepicker .ui-timepicker-table td .ui-state-focus {
  515. background-color: var(--color-primary);
  516. color: var(--color-primary-text);
  517. font-weight: bold;
  518. }
  519. .ui-widget.ui-timepicker .ui-timepicker-table td.ui-timepicker-minutes:not(.ui-state-hover) {
  520. color: var(--color-text-lighter);
  521. }
  522. .ui-widget.ui-timepicker .ui-timepicker-table td.ui-timepicker-hours {
  523. border-right: 1px solid var(--color-border);
  524. }
  525. /* ---- jQuery UI datepicker & timepicker global rules ---- */
  526. .ui-widget.ui-datepicker .ui-datepicker-calendar tr,
  527. .ui-widget.ui-timepicker table.ui-timepicker tr {
  528. display: flex;
  529. flex-wrap: nowrap;
  530. justify-content: space-between;
  531. }
  532. .ui-widget.ui-datepicker .ui-datepicker-calendar tr td,
  533. .ui-widget.ui-timepicker table.ui-timepicker tr td {
  534. flex: 1 1 auto;
  535. margin: 0;
  536. padding: 2px;
  537. height: 26px;
  538. width: 26px;
  539. display: flex;
  540. align-items: center;
  541. justify-content: center;
  542. }
  543. .ui-widget.ui-datepicker .ui-datepicker-calendar tr td > *,
  544. .ui-widget.ui-timepicker table.ui-timepicker tr td > * {
  545. border-radius: 50%;
  546. text-align: center;
  547. font-weight: normal;
  548. color: var(--color-main-text);
  549. display: block;
  550. line-height: 18px;
  551. width: 18px;
  552. height: 18px;
  553. padding: 3px;
  554. font-size: 0.9em;
  555. }
  556. /* ---- DIALOGS ---- */
  557. #oc-dialog-filepicker-content {
  558. position: relative;
  559. display: flex;
  560. flex-direction: column;
  561. }
  562. #oc-dialog-filepicker-content .dirtree {
  563. flex-wrap: wrap;
  564. box-sizing: border-box;
  565. padding-right: 140px;
  566. }
  567. #oc-dialog-filepicker-content .dirtree div:first-child a {
  568. background-image: var(--icon-home-dark);
  569. background-repeat: no-repeat;
  570. background-position: left center;
  571. }
  572. #oc-dialog-filepicker-content .dirtree span:not(:last-child) {
  573. cursor: pointer;
  574. }
  575. #oc-dialog-filepicker-content .dirtree span:last-child {
  576. font-weight: bold;
  577. }
  578. #oc-dialog-filepicker-content .dirtree span:not(:last-child)::after {
  579. content: ">";
  580. padding: 3px;
  581. }
  582. #oc-dialog-filepicker-content #picker-showgridview {
  583. position: absolute;
  584. background-color: transparent;
  585. border: none;
  586. margin: 0;
  587. padding: 22px;
  588. opacity: 0.5;
  589. right: 0;
  590. top: 0;
  591. }
  592. #oc-dialog-filepicker-content #picker-showgridview:hover, #oc-dialog-filepicker-content #picker-showgridview:active, #oc-dialog-filepicker-content #picker-showgridview:focus {
  593. box-shadow: 0 0 0 2px var(--color-primary);
  594. opacity: 1;
  595. }
  596. #oc-dialog-filepicker-content .actions.creatable {
  597. flex-wrap: wrap;
  598. padding: 0px;
  599. box-sizing: border-box;
  600. display: inline-flex;
  601. float: none;
  602. max-height: 36px;
  603. max-width: 36px;
  604. background-color: var(--color-background-dark);
  605. border: 1px solid var(--color-border-dark);
  606. border-radius: var(--border-radius-pill);
  607. position: relative;
  608. left: 15px;
  609. top: 3px;
  610. order: 1;
  611. }
  612. #oc-dialog-filepicker-content .actions.creatable .icon.icon-add {
  613. background-image: var(--icon-add-dark);
  614. background-size: 16px 16px;
  615. width: 34px;
  616. height: 34px;
  617. margin: 0px;
  618. opacity: 0.5;
  619. }
  620. #oc-dialog-filepicker-content .actions.creatable a {
  621. width: 36px;
  622. padding: 0px;
  623. position: static;
  624. }
  625. #oc-dialog-filepicker-content .actions.creatable .menu {
  626. top: 100%;
  627. margin-top: 10px;
  628. }
  629. #oc-dialog-filepicker-content .actions.creatable .menu form {
  630. display: flex;
  631. margin: 10px;
  632. }
  633. #oc-dialog-filepicker-content .filelist-container {
  634. box-sizing: border-box;
  635. display: inline-block;
  636. overflow-y: auto;
  637. flex: 1;
  638. /*height: 100%;*/
  639. /* overflow under the button row */
  640. width: 100%;
  641. overflow-x: hidden;
  642. }
  643. #oc-dialog-filepicker-content .emptycontent {
  644. color: var(--color-text-maxcontrast);
  645. text-align: center;
  646. margin-top: 80px;
  647. width: 100%;
  648. display: none;
  649. }
  650. #oc-dialog-filepicker-content .filelist {
  651. background-color: var(--color-main-background);
  652. width: 100%;
  653. }
  654. #oc-dialog-filepicker-content #picker-filestable.filelist {
  655. /* prevent the filepicker to overflow */
  656. min-width: initial;
  657. margin-bottom: 50px;
  658. }
  659. #oc-dialog-filepicker-content #picker-filestable.filelist thead tr {
  660. border-bottom: 1px solid var(--color-border);
  661. background-color: var(--color-main-background);
  662. }
  663. #oc-dialog-filepicker-content #picker-filestable.filelist thead tr th {
  664. width: 80%;
  665. border: none;
  666. }
  667. #oc-dialog-filepicker-content #picker-filestable.filelist th .columntitle {
  668. display: block;
  669. padding: 15px;
  670. height: 50px;
  671. box-sizing: border-box;
  672. -moz-box-sizing: border-box;
  673. vertical-align: middle;
  674. }
  675. #oc-dialog-filepicker-content #picker-filestable.filelist th .columntitle.name {
  676. padding-left: 5px;
  677. margin-left: 50px;
  678. }
  679. #oc-dialog-filepicker-content #picker-filestable.filelist th .sort-indicator {
  680. width: 10px;
  681. height: 8px;
  682. margin-left: 5px;
  683. display: inline-block;
  684. vertical-align: text-bottom;
  685. opacity: 0.3;
  686. }
  687. #oc-dialog-filepicker-content #picker-filestable.filelist .sort-indicator.hidden,
  688. #oc-dialog-filepicker-content #picker-filestable.filelist th:hover .sort-indicator.hidden,
  689. #oc-dialog-filepicker-content #picker-filestable.filelist th:focus .sort-indicator.hidden {
  690. visibility: hidden;
  691. }
  692. #oc-dialog-filepicker-content #picker-filestable.filelist th:hover .sort-indicator.hidden,
  693. #oc-dialog-filepicker-content #picker-filestable.filelist th:focus .sort-indicator.hidden {
  694. visibility: visible;
  695. }
  696. #oc-dialog-filepicker-content #picker-filestable.filelist td {
  697. padding: 14px;
  698. border-bottom: 1px solid var(--color-border);
  699. }
  700. #oc-dialog-filepicker-content #picker-filestable.filelist tr:last-child td {
  701. border-bottom: none;
  702. }
  703. #oc-dialog-filepicker-content #picker-filestable.filelist .filename {
  704. overflow: hidden;
  705. white-space: nowrap;
  706. text-overflow: ellipsis;
  707. background-size: 32px;
  708. background-repeat: no-repeat;
  709. padding-left: 51px;
  710. background-position: 7px 7px;
  711. cursor: pointer;
  712. max-width: 0;
  713. }
  714. #oc-dialog-filepicker-content #picker-filestable.filelist .filename .filename-parts {
  715. display: flex;
  716. }
  717. #oc-dialog-filepicker-content #picker-filestable.filelist .filename .filename-parts__first {
  718. overflow: hidden;
  719. white-space: pre;
  720. text-overflow: ellipsis;
  721. }
  722. #oc-dialog-filepicker-content #picker-filestable.filelist .filename .filename-parts__last {
  723. white-space: pre;
  724. }
  725. #oc-dialog-filepicker-content #picker-filestable.filelist .filesize, #oc-dialog-filepicker-content #picker-filestable.filelist .date {
  726. width: 80px;
  727. }
  728. #oc-dialog-filepicker-content #picker-filestable.filelist .filesize {
  729. text-align: right;
  730. }
  731. #oc-dialog-filepicker-content #picker-filestable.filelist.view-grid {
  732. display: flex;
  733. flex-direction: column;
  734. }
  735. #oc-dialog-filepicker-content #picker-filestable.filelist.view-grid tbody {
  736. display: grid;
  737. grid-template-columns: repeat(auto-fill, 120px);
  738. justify-content: space-around;
  739. row-gap: 15px;
  740. margin: 15px 0;
  741. }
  742. #oc-dialog-filepicker-content #picker-filestable.filelist.view-grid tbody tr {
  743. display: block;
  744. position: relative;
  745. border-radius: var(--border-radius);
  746. padding: 10px;
  747. display: flex;
  748. flex-direction: column;
  749. width: 100px;
  750. }
  751. #oc-dialog-filepicker-content #picker-filestable.filelist.view-grid tbody tr td {
  752. border: none;
  753. padding: 0;
  754. text-align: center;
  755. border-radius: var(--border-radius);
  756. }
  757. #oc-dialog-filepicker-content #picker-filestable.filelist.view-grid tbody tr td.filename {
  758. padding: 100px 0 0 0;
  759. background-position: center top;
  760. background-size: contain;
  761. line-height: 30px;
  762. max-width: none;
  763. }
  764. #oc-dialog-filepicker-content #picker-filestable.filelist.view-grid tbody tr td.filename .filename-parts {
  765. justify-content: center;
  766. }
  767. #oc-dialog-filepicker-content #picker-filestable.filelist.view-grid tbody tr td.filesize {
  768. line-height: 10px;
  769. width: 100%;
  770. }
  771. #oc-dialog-filepicker-content #picker-filestable.filelist.view-grid tbody tr td.date {
  772. display: none;
  773. }
  774. #oc-dialog-filepicker-content .filepicker_element_selected {
  775. background-color: var(--color-background-darker);
  776. }
  777. .ui-dialog {
  778. position: fixed !important;
  779. }
  780. span.ui-icon {
  781. float: left;
  782. margin: 3px 7px 30px 0;
  783. }
  784. /* ---- CONTACTS MENU ---- */
  785. #contactsmenu .menutoggle {
  786. cursor: pointer;
  787. }
  788. #contactsmenu .menutoggle:before {
  789. background-size: 20px 20px;
  790. background-repeat: no-repeat;
  791. background-position-x: 3px;
  792. background-position-y: 4px;
  793. padding: 14px;
  794. content: " ";
  795. background-image: var(--original-icon-contacts-white);
  796. filter: var(--primary-invert-if-bright);
  797. }
  798. #contactsmenu .menutoggle:hover, #contactsmenu .menutoggle:focus, #contactsmenu .menutoggle:active {
  799. opacity: 1 !important;
  800. }
  801. #contactsmenu #contactsmenu-menu a {
  802. padding: 2px;
  803. }
  804. #contactsmenu #contactsmenu-menu a:focus-visible {
  805. box-shadow: inset 0 0 0 2px var(--color-main-text) !important;
  806. }
  807. #header .header-right > div#contactsmenu > .menu {
  808. /* show 2.5 to 4.5 entries depending on the screen height */
  809. height: calc(100vh - 150px);
  810. max-height: 302px;
  811. min-height: 175px;
  812. width: 350px;
  813. }
  814. #header .header-right > div#contactsmenu > .menu .emptycontent {
  815. margin-top: 5vh !important;
  816. margin-bottom: 2vh;
  817. }
  818. #header .header-right > div#contactsmenu > .menu .emptycontent .icon-loading,
  819. #header .header-right > div#contactsmenu > .menu .emptycontent .icon-search {
  820. display: inline-block;
  821. }
  822. #header .header-right > div#contactsmenu > .menu .content {
  823. /* fixed max height of the parent container without the search input */
  824. height: calc(100vh - 150px - 50px);
  825. max-height: 250px;
  826. min-height: 125px;
  827. overflow-y: auto;
  828. }
  829. #header .header-right > div#contactsmenu > .menu .content .footer {
  830. text-align: center;
  831. }
  832. #header .header-right > div#contactsmenu > .menu .content .footer a {
  833. display: block;
  834. width: 100%;
  835. padding: 12px 0;
  836. opacity: 0.5;
  837. }
  838. #header .header-right > div#contactsmenu > .menu .contact {
  839. display: flex;
  840. position: relative;
  841. align-items: center;
  842. padding: 3px 3px 3px 10px;
  843. /* actions menu */
  844. }
  845. #header .header-right > div#contactsmenu > .menu .contact .avatar {
  846. height: 32px;
  847. width: 32px;
  848. display: inline-block;
  849. }
  850. #header .header-right > div#contactsmenu > .menu .contact .body {
  851. flex-grow: 1;
  852. padding-left: 8px;
  853. }
  854. #header .header-right > div#contactsmenu > .menu .contact .body div {
  855. position: relative;
  856. width: 100%;
  857. }
  858. #header .header-right > div#contactsmenu > .menu .contact .body .full-name, #header .header-right > div#contactsmenu > .menu .contact .body .last-message {
  859. /* TODO: don't use fixed width */
  860. max-width: 204px;
  861. overflow: hidden;
  862. white-space: nowrap;
  863. text-overflow: ellipsis;
  864. }
  865. #header .header-right > div#contactsmenu > .menu .contact .body .last-message, #header .header-right > div#contactsmenu > .menu .contact .body .email-address {
  866. color: var(--color-text-maxcontrast);
  867. }
  868. #header .header-right > div#contactsmenu > .menu .contact .top-action, #header .header-right > div#contactsmenu > .menu .contact .second-action, #header .header-right > div#contactsmenu > .menu .contact .other-actions {
  869. width: 16px;
  870. height: 16px;
  871. opacity: 0.5;
  872. cursor: pointer;
  873. }
  874. #header .header-right > div#contactsmenu > .menu .contact .top-action:not(button), #header .header-right > div#contactsmenu > .menu .contact .second-action:not(button), #header .header-right > div#contactsmenu > .menu .contact .other-actions:not(button) {
  875. padding: 14px;
  876. }
  877. #header .header-right > div#contactsmenu > .menu .contact .top-action img, #header .header-right > div#contactsmenu > .menu .contact .second-action img, #header .header-right > div#contactsmenu > .menu .contact .other-actions img {
  878. filter: var(--background-invert-if-dark);
  879. }
  880. #header .header-right > div#contactsmenu > .menu .contact .top-action:hover, #header .header-right > div#contactsmenu > .menu .contact .top-action:active, #header .header-right > div#contactsmenu > .menu .contact .top-action:focus, #header .header-right > div#contactsmenu > .menu .contact .second-action:hover, #header .header-right > div#contactsmenu > .menu .contact .second-action:active, #header .header-right > div#contactsmenu > .menu .contact .second-action:focus, #header .header-right > div#contactsmenu > .menu .contact .other-actions:hover, #header .header-right > div#contactsmenu > .menu .contact .other-actions:active, #header .header-right > div#contactsmenu > .menu .contact .other-actions:focus {
  881. opacity: 1;
  882. }
  883. #header .header-right > div#contactsmenu > .menu .contact button.other-actions {
  884. width: 44px;
  885. }
  886. #header .header-right > div#contactsmenu > .menu .contact button.other-actions:focus {
  887. border-color: transparent;
  888. box-shadow: 0 0 0 2px var(--color-main-text);
  889. }
  890. #header .header-right > div#contactsmenu > .menu .contact button.other-actions:focus-visible {
  891. border-radius: var(--border-radius-pill);
  892. }
  893. #header .header-right > div#contactsmenu > .menu .contact .menu {
  894. top: 47px;
  895. margin-right: 13px;
  896. }
  897. #header .header-right > div#contactsmenu > .menu .contact .popovermenu::after {
  898. right: 2px;
  899. }
  900. #contactsmenu-search {
  901. width: calc(100% - 16px);
  902. margin: 8px;
  903. height: 34px;
  904. }
  905. /* ---- TOOLTIPS ---- */
  906. .extra-data {
  907. padding-right: 5px !important;
  908. }
  909. /* ---- TAGS ---- */
  910. #tagsdialog .content {
  911. width: 100%;
  912. height: 280px;
  913. }
  914. #tagsdialog .scrollarea {
  915. overflow: auto;
  916. border: 1px solid var(--color-background-darker);
  917. width: 100%;
  918. height: 240px;
  919. }
  920. #tagsdialog .bottombuttons {
  921. width: 100%;
  922. height: 30px;
  923. }
  924. #tagsdialog .bottombuttons * {
  925. float: left;
  926. }
  927. #tagsdialog .taglist li {
  928. background: var(--color-background-dark);
  929. padding: 0.3em 0.8em;
  930. white-space: nowrap;
  931. overflow: hidden;
  932. text-overflow: ellipsis;
  933. -webkit-transition: background-color 500ms;
  934. transition: background-color 500ms;
  935. }
  936. #tagsdialog .taglist li:hover, #tagsdialog .taglist li:active {
  937. background: var(--color-background-darker);
  938. }
  939. #tagsdialog .addinput {
  940. width: 90%;
  941. clear: both;
  942. }
  943. /* ---- BREADCRUMB ---- */
  944. .breadcrumb {
  945. display: inline-flex;
  946. }
  947. div.crumb {
  948. display: inline-flex;
  949. background-image: url("../img/breadcrumb.svg?v=1");
  950. background-repeat: no-repeat;
  951. background-position: right center;
  952. height: 44px;
  953. background-size: auto 24px;
  954. flex: 0 0 auto;
  955. order: 1;
  956. padding-right: 7px;
  957. }
  958. div.crumb.crumbmenu {
  959. order: 2;
  960. position: relative;
  961. }
  962. div.crumb.crumbmenu a {
  963. opacity: 0.5;
  964. }
  965. div.crumb.crumbmenu.canDropChildren .popovermenu, div.crumb.crumbmenu.canDrop .popovermenu {
  966. display: block;
  967. }
  968. div.crumb.crumbmenu .popovermenu {
  969. top: 100%;
  970. margin-right: 3px;
  971. }
  972. div.crumb.crumbmenu .popovermenu ul {
  973. max-height: 345px;
  974. overflow-y: auto;
  975. overflow-x: hidden;
  976. padding-right: 5px;
  977. }
  978. div.crumb.crumbmenu .popovermenu ul li.canDrop span:first-child {
  979. background-image: url("../img/filetypes/folder-drag-accept.svg?v=1") !important;
  980. }
  981. div.crumb.crumbmenu .popovermenu .in-breadcrumb {
  982. display: none;
  983. }
  984. div.crumb.hidden {
  985. display: none;
  986. }
  987. div.crumb.hidden ~ .crumb {
  988. order: 3;
  989. }
  990. div.crumb > a,
  991. div.crumb > span {
  992. position: relative;
  993. padding: 12px;
  994. opacity: 0.5;
  995. text-overflow: ellipsis;
  996. white-space: nowrap;
  997. overflow: hidden;
  998. flex: 0 0 auto;
  999. max-width: 200px;
  1000. }
  1001. div.crumb > a.icon-home, div.crumb > a.icon-delete,
  1002. div.crumb > span.icon-home,
  1003. div.crumb > span.icon-delete {
  1004. text-indent: -9999px;
  1005. }
  1006. div.crumb > a[class^=icon-] {
  1007. padding: 0;
  1008. width: 44px;
  1009. }
  1010. div.crumb:last-child {
  1011. font-weight: bold;
  1012. margin-right: 10px;
  1013. }
  1014. div.crumb:last-child a ~ span {
  1015. padding-left: 0;
  1016. }
  1017. div.crumb:hover, div.crumb:focus, div.crumb a:focus, div.crumb:active {
  1018. opacity: 1;
  1019. }
  1020. div.crumb:hover > a,
  1021. div.crumb:hover > span, div.crumb:focus > a,
  1022. div.crumb:focus > span, div.crumb a:focus > a,
  1023. div.crumb a:focus > span, div.crumb:active > a,
  1024. div.crumb:active > span {
  1025. opacity: 0.7;
  1026. }
  1027. /* some feedback for hover/tap on breadcrumbs */
  1028. .appear {
  1029. opacity: 1;
  1030. -webkit-transition: opacity 500ms ease 0s;
  1031. -moz-transition: opacity 500ms ease 0s;
  1032. -ms-transition: opacity 500ms ease 0s;
  1033. -o-transition: opacity 500ms ease 0s;
  1034. transition: opacity 500ms ease 0s;
  1035. }
  1036. .appear.transparent {
  1037. opacity: 0;
  1038. }
  1039. /* LEGACY FIX only - do not use fieldsets for settings */
  1040. fieldset.warning legend, fieldset.update legend {
  1041. top: 18px;
  1042. position: relative;
  1043. }
  1044. fieldset.warning legend + p, fieldset.update legend + p {
  1045. margin-top: 12px;
  1046. }
  1047. /* for IE10 */
  1048. @-ms-viewport {
  1049. width: device-width;
  1050. }
  1051. /* hidden input type=file field */
  1052. .hiddenuploadfield {
  1053. display: none;
  1054. width: 0;
  1055. height: 0;
  1056. opacity: 0;
  1057. }
  1058. /**
  1059. * @copyright Copyright (c) 2018, John Molakvoæ (skjnldsv@protonmail.com)
  1060. *
  1061. * @author John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
  1062. *
  1063. * @license GNU AGPL version 3 or any later version
  1064. *
  1065. * This program is free software: you can redistribute it and/or modify
  1066. * it under the terms of the GNU Affero General Public License as
  1067. * published by the Free Software Foundation, either version 3 of the
  1068. * License, or (at your option) any later version.
  1069. *
  1070. * This program is distributed in the hope that it will be useful,
  1071. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  1072. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  1073. * GNU Affero General Public License for more details.
  1074. *
  1075. * You should have received a copy of the GNU Affero General Public License
  1076. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  1077. *
  1078. */
  1079. /**
  1080. * @copyright Copyright (c) 2016, John Molakvoæ <skjnldsv@protonmail.com>
  1081. * @copyright Copyright (c) 2016, Morris Jobke <hey@morrisjobke.de>
  1082. * @copyright Copyright (c) 2016, Joas Schilling <coding@schilljs.com>
  1083. * @copyright Copyright (c) 2016, Julius Haertl <jus@bitgrid.net>
  1084. * @copyright Copyright (c) 2016, jowi <sjw@gmx.ch>
  1085. * @copyright Copyright (c) 2015, Joas Schilling <nickvergessen@owncloud.com>
  1086. * @copyright Copyright (c) 2015, Hendrik Leppelsack <hendrik@leppelsack.de>
  1087. * @copyright Copyright (c) 2014-2017, Jan-Christoph Borchardt <hey@jancborchardt.net>
  1088. *
  1089. * @license GNU AGPL version 3 or any later version
  1090. *
  1091. */
  1092. /**
  1093. * @copyright Copyright (c) 2018, John Molakvoæ (skjnldsv@protonmail.com)
  1094. *
  1095. * @author John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
  1096. *
  1097. * @license GNU AGPL version 3 or any later version
  1098. *
  1099. * This program is free software: you can redistribute it and/or modify
  1100. * it under the terms of the GNU Affero General Public License as
  1101. * published by the Free Software Foundation, either version 3 of the
  1102. * License, or (at your option) any later version.
  1103. *
  1104. * This program is distributed in the hope that it will be useful,
  1105. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  1106. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  1107. * GNU Affero General Public License for more details.
  1108. *
  1109. * You should have received a copy of the GNU Affero General Public License
  1110. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  1111. *
  1112. */
  1113. /**
  1114. * @see core/src/icons.js
  1115. */
  1116. /**
  1117. * SVG COLOR API
  1118. *
  1119. * @param string $icon the icon filename
  1120. * @param string $dir the icon folder within /core/img if $core or app name
  1121. * @param string $color the desired color in hexadecimal
  1122. * @param int $version the version of the file
  1123. * @param bool [$core] search icon in core
  1124. *
  1125. * @returns A background image with the url to the set to the requested icon.
  1126. */
  1127. /* Specifically override browser styles */
  1128. input, textarea, select, button, div[contenteditable=true], div[contenteditable=false] {
  1129. font-family: var(--font-face);
  1130. }
  1131. .select2-container-multi .select2-choices .select2-search-field input, .select2-search input, .ui-widget {
  1132. font-family: var(--font-face) !important;
  1133. }
  1134. .select2-container.select2-drop-above .select2-choice {
  1135. background-image: unset !important;
  1136. }
  1137. /* Simple selector to allow easy overriding */
  1138. select,
  1139. button:not(.button-vue),
  1140. input,
  1141. textarea,
  1142. div[contenteditable=true],
  1143. div[contenteditable=false] {
  1144. width: 130px;
  1145. min-height: 36px;
  1146. box-sizing: border-box;
  1147. }
  1148. /**
  1149. * color-text-lighter normal state
  1150. * color-text-lighter active state
  1151. * color-text-maxcontrast disabled state
  1152. */
  1153. input:not([type=range]) {
  1154. outline: none;
  1155. }
  1156. /* Default global values */
  1157. div.select2-drop .select2-search input,
  1158. input[type=submit],
  1159. input[type=button],
  1160. input[type=reset],
  1161. button:not(.button-vue), .button,
  1162. .pager li a {
  1163. margin: 3px 3px 3px 0;
  1164. padding: 7px 14px;
  1165. font-size: 13px;
  1166. background-color: var(--color-main-background);
  1167. color: var(--color-main-text);
  1168. border: 1px solid var(--color-border-dark);
  1169. font-size: var(--default-font-size);
  1170. outline: none;
  1171. border-radius: var(--border-radius);
  1172. cursor: text;
  1173. /* Primary action button, use sparingly */
  1174. }
  1175. div.select2-drop .select2-search input:not(:disabled):not(.primary):hover, div.select2-drop .select2-search input:not(:disabled):not(.primary):focus, div.select2-drop .select2-search input:not(:disabled):not(.primary).active,
  1176. input[type=submit]:not(:disabled):not(.primary):hover,
  1177. input[type=submit]:not(:disabled):not(.primary):focus,
  1178. input[type=submit]:not(:disabled):not(.primary).active,
  1179. input[type=button]:not(:disabled):not(.primary):hover,
  1180. input[type=button]:not(:disabled):not(.primary):focus,
  1181. input[type=button]:not(:disabled):not(.primary).active,
  1182. input[type=reset]:not(:disabled):not(.primary):hover,
  1183. input[type=reset]:not(:disabled):not(.primary):focus,
  1184. input[type=reset]:not(:disabled):not(.primary).active,
  1185. button:not(.button-vue):not(:disabled):not(.primary):hover,
  1186. button:not(.button-vue):not(:disabled):not(.primary):focus,
  1187. button:not(.button-vue):not(:disabled):not(.primary).active, .button:not(:disabled):not(.primary):hover, .button:not(:disabled):not(.primary):focus, .button:not(:disabled):not(.primary).active,
  1188. .pager li a:not(:disabled):not(.primary):hover,
  1189. .pager li a:not(:disabled):not(.primary):focus,
  1190. .pager li a:not(:disabled):not(.primary).active {
  1191. /* active class used for multiselect */
  1192. border-color: var(--color-primary-element);
  1193. outline: none;
  1194. }
  1195. div.select2-drop .select2-search input:not(:disabled):not(.primary):active,
  1196. input[type=submit]:not(:disabled):not(.primary):active,
  1197. input[type=button]:not(:disabled):not(.primary):active,
  1198. input[type=reset]:not(:disabled):not(.primary):active,
  1199. button:not(.button-vue):not(:disabled):not(.primary):active, .button:not(:disabled):not(.primary):active,
  1200. .pager li a:not(:disabled):not(.primary):active {
  1201. outline: none;
  1202. background-color: var(--color-main-background);
  1203. color: var(--color-text-light);
  1204. }
  1205. div.select2-drop .select2-search input:not(:disabled):not(.primary):focus-visible,
  1206. input[type=submit]:not(:disabled):not(.primary):focus-visible,
  1207. input[type=button]:not(:disabled):not(.primary):focus-visible,
  1208. input[type=reset]:not(:disabled):not(.primary):focus-visible,
  1209. button:not(.button-vue):not(:disabled):not(.primary):focus-visible, .button:not(:disabled):not(.primary):focus-visible,
  1210. .pager li a:not(:disabled):not(.primary):focus-visible {
  1211. box-shadow: 0 0 0 2px var(--color-primary);
  1212. }
  1213. div.select2-drop .select2-search input:disabled,
  1214. input[type=submit]:disabled,
  1215. input[type=button]:disabled,
  1216. input[type=reset]:disabled,
  1217. button:not(.button-vue):disabled, .button:disabled,
  1218. .pager li a:disabled {
  1219. background-color: var(--color-background-dark);
  1220. color: var(--color-main-text);
  1221. cursor: default;
  1222. opacity: 0.5;
  1223. }
  1224. div.select2-drop .select2-search input:required,
  1225. input[type=submit]:required,
  1226. input[type=button]:required,
  1227. input[type=reset]:required,
  1228. button:not(.button-vue):required, .button:required,
  1229. .pager li a:required {
  1230. box-shadow: none;
  1231. }
  1232. div.select2-drop .select2-search input:user-invalid,
  1233. input[type=submit]:user-invalid,
  1234. input[type=button]:user-invalid,
  1235. input[type=reset]:user-invalid,
  1236. button:not(.button-vue):user-invalid, .button:user-invalid,
  1237. .pager li a:user-invalid {
  1238. box-shadow: 0 0 0 2px var(--color-error) !important;
  1239. }
  1240. div.select2-drop .select2-search input.primary,
  1241. input[type=submit].primary,
  1242. input[type=button].primary,
  1243. input[type=reset].primary,
  1244. button:not(.button-vue).primary, .button.primary,
  1245. .pager li a.primary {
  1246. background-color: var(--color-primary-element);
  1247. border-color: var(--color-primary-element);
  1248. color: var(--color-primary-text);
  1249. cursor: pointer;
  1250. /* Apply border to primary button if on log in page (and not in a dark container) or if in header */
  1251. }
  1252. #body-login :not(.body-login-container) div.select2-drop .select2-search input.primary, #header div.select2-drop .select2-search input.primary,
  1253. #body-login :not(.body-login-container) input[type=submit].primary,
  1254. #header input[type=submit].primary,
  1255. #body-login :not(.body-login-container) input[type=button].primary,
  1256. #header input[type=button].primary,
  1257. #body-login :not(.body-login-container) input[type=reset].primary,
  1258. #header input[type=reset].primary,
  1259. #body-login :not(.body-login-container) button:not(.button-vue).primary,
  1260. #header button:not(.button-vue).primary, #body-login :not(.body-login-container) .button.primary, #header .button.primary,
  1261. #body-login :not(.body-login-container) .pager li a.primary,
  1262. #header .pager li a.primary {
  1263. border-color: var(--color-primary-text);
  1264. }
  1265. div.select2-drop .select2-search input.primary:not(:disabled):hover, div.select2-drop .select2-search input.primary:not(:disabled):focus, div.select2-drop .select2-search input.primary:not(:disabled):active,
  1266. input[type=submit].primary:not(:disabled):hover,
  1267. input[type=submit].primary:not(:disabled):focus,
  1268. input[type=submit].primary:not(:disabled):active,
  1269. input[type=button].primary:not(:disabled):hover,
  1270. input[type=button].primary:not(:disabled):focus,
  1271. input[type=button].primary:not(:disabled):active,
  1272. input[type=reset].primary:not(:disabled):hover,
  1273. input[type=reset].primary:not(:disabled):focus,
  1274. input[type=reset].primary:not(:disabled):active,
  1275. button:not(.button-vue).primary:not(:disabled):hover,
  1276. button:not(.button-vue).primary:not(:disabled):focus,
  1277. button:not(.button-vue).primary:not(:disabled):active, .button.primary:not(:disabled):hover, .button.primary:not(:disabled):focus, .button.primary:not(:disabled):active,
  1278. .pager li a.primary:not(:disabled):hover,
  1279. .pager li a.primary:not(:disabled):focus,
  1280. .pager li a.primary:not(:disabled):active {
  1281. background-color: var(--color-primary-element-hover);
  1282. border-color: var(--color-primary-element-hover);
  1283. }
  1284. div.select2-drop .select2-search input.primary:not(:disabled):focus, div.select2-drop .select2-search input.primary:not(:disabled):focus-visible,
  1285. input[type=submit].primary:not(:disabled):focus,
  1286. input[type=submit].primary:not(:disabled):focus-visible,
  1287. input[type=button].primary:not(:disabled):focus,
  1288. input[type=button].primary:not(:disabled):focus-visible,
  1289. input[type=reset].primary:not(:disabled):focus,
  1290. input[type=reset].primary:not(:disabled):focus-visible,
  1291. button:not(.button-vue).primary:not(:disabled):focus,
  1292. button:not(.button-vue).primary:not(:disabled):focus-visible, .button.primary:not(:disabled):focus, .button.primary:not(:disabled):focus-visible,
  1293. .pager li a.primary:not(:disabled):focus,
  1294. .pager li a.primary:not(:disabled):focus-visible {
  1295. box-shadow: 0 0 0 2px var(--color-main-text);
  1296. }
  1297. div.select2-drop .select2-search input.primary:not(:disabled):active,
  1298. input[type=submit].primary:not(:disabled):active,
  1299. input[type=button].primary:not(:disabled):active,
  1300. input[type=reset].primary:not(:disabled):active,
  1301. button:not(.button-vue).primary:not(:disabled):active, .button.primary:not(:disabled):active,
  1302. .pager li a.primary:not(:disabled):active {
  1303. color: var(--color-primary-text-dark);
  1304. }
  1305. div.select2-drop .select2-search input.primary:disabled,
  1306. input[type=submit].primary:disabled,
  1307. input[type=button].primary:disabled,
  1308. input[type=reset].primary:disabled,
  1309. button:not(.button-vue).primary:disabled, .button.primary:disabled,
  1310. .pager li a.primary:disabled {
  1311. background-color: var(--color-primary-element);
  1312. color: var(--color-primary-text-dark);
  1313. cursor: default;
  1314. }
  1315. div[contenteditable=false] {
  1316. margin: 3px 3px 3px 0;
  1317. padding: 7px 6px;
  1318. font-size: 13px;
  1319. background-color: var(--color-main-background);
  1320. color: var(--color-text-lighter);
  1321. border: 1px solid var(--color-background-darker);
  1322. outline: none;
  1323. border-radius: var(--border-radius);
  1324. background-color: var(--color-background-dark);
  1325. color: var(--color-text-lighter);
  1326. cursor: default;
  1327. opacity: 0.5;
  1328. }
  1329. /* Specific override */
  1330. input {
  1331. /* Color input doesn't respect the initial height
  1332. so we need to set a custom one */
  1333. }
  1334. input:not([type=radio]):not([type=checkbox]):not([type=range]):not([type=submit]):not([type=button]):not([type=reset]):not([type=color]):not([type=file]):not([type=image]) {
  1335. -webkit-appearance: textfield;
  1336. -moz-appearance: textfield;
  1337. height: 36px;
  1338. }
  1339. input[type=radio], input[type=checkbox], input[type=file], input[type=image] {
  1340. height: auto;
  1341. width: auto;
  1342. }
  1343. input[type=color] {
  1344. margin: 3px;
  1345. padding: 0 2px;
  1346. min-height: 30px;
  1347. width: 40px;
  1348. cursor: pointer;
  1349. }
  1350. input[type=hidden] {
  1351. height: 0;
  1352. width: 0;
  1353. }
  1354. input[type=time] {
  1355. width: initial;
  1356. }
  1357. /* 'Click' inputs */
  1358. select,
  1359. button:not(.button-vue), .button,
  1360. input[type=button],
  1361. input[type=submit],
  1362. input[type=reset] {
  1363. padding: 8px 14px;
  1364. font-size: var(--default-font-size);
  1365. width: auto;
  1366. min-height: 36px;
  1367. cursor: pointer;
  1368. box-sizing: border-box;
  1369. background-color: var(--color-background-dark);
  1370. }
  1371. select:disabled,
  1372. button:not(.button-vue):disabled, .button:disabled,
  1373. input[type=button]:disabled,
  1374. input[type=submit]:disabled,
  1375. input[type=reset]:disabled {
  1376. cursor: default;
  1377. }
  1378. input:not([type=range]):not(.input-field__input):not([type=submit]):not([type=button]):not([type=reset]):not(.multiselect__input):not(.select2-input):not(.action-input__input),
  1379. select,
  1380. div[contenteditable=true],
  1381. textarea {
  1382. margin: 3px 3px 3px 0;
  1383. padding: 0 12px;
  1384. font-size: var(--default-font-size);
  1385. background-color: var(--color-main-background);
  1386. color: var(--color-main-text);
  1387. border: 2px solid var(--color-border-dark);
  1388. height: 36px;
  1389. outline: none;
  1390. border-radius: var(--border-radius-large);
  1391. text-overflow: ellipsis;
  1392. cursor: pointer;
  1393. }
  1394. input:not([type=range]):not(.input-field__input):not([type=submit]):not([type=button]):not([type=reset]):not(.multiselect__input):not(.select2-input):not(.action-input__input):not(:disabled):hover, input:not([type=range]):not(.input-field__input):not([type=submit]):not([type=button]):not([type=reset]):not(.multiselect__input):not(.select2-input):not(.action-input__input):not(:disabled):focus, input:not([type=range]):not(.input-field__input):not([type=submit]):not([type=button]):not([type=reset]):not(.multiselect__input):not(.select2-input):not(.action-input__input):not(:disabled):active,
  1395. select:not(:disabled):hover,
  1396. select:not(:disabled):focus,
  1397. select:not(:disabled):active,
  1398. div[contenteditable=true]:not(:disabled):hover,
  1399. div[contenteditable=true]:not(:disabled):focus,
  1400. div[contenteditable=true]:not(:disabled):active,
  1401. textarea:not(:disabled):hover,
  1402. textarea:not(:disabled):focus,
  1403. textarea:not(:disabled):active {
  1404. border-color: var(--color-primary-element);
  1405. }
  1406. input:not([type=range]):not(.input-field__input):not([type=submit]):not([type=button]):not([type=reset]):not(.multiselect__input):not(.select2-input):not(.action-input__input):not(:disabled):focus,
  1407. select:not(:disabled):focus,
  1408. div[contenteditable=true]:not(:disabled):focus,
  1409. textarea:not(:disabled):focus {
  1410. cursor: text;
  1411. }
  1412. .multiselect__input, .select2-input {
  1413. background-color: var(--color-main-background);
  1414. color: var(--color-main-text);
  1415. }
  1416. textarea, div[contenteditable=true] {
  1417. padding: 12px;
  1418. height: auto;
  1419. }
  1420. /* Override the ugly select arrow */
  1421. select {
  1422. background: var(--icon-triangle-s-dark) no-repeat right 8px center;
  1423. appearance: none;
  1424. background-color: var(--color-main-background);
  1425. padding-right: 28px !important;
  1426. }
  1427. select *,
  1428. button:not(.button-vue) *, .button * {
  1429. cursor: pointer;
  1430. }
  1431. select:disabled *,
  1432. button:not(.button-vue):disabled *, .button:disabled * {
  1433. cursor: default;
  1434. }
  1435. /* Buttons */
  1436. button:not(.button-vue), .button,
  1437. input[type=button],
  1438. input[type=submit],
  1439. input[type=reset] {
  1440. font-weight: bold;
  1441. border-radius: var(--border-radius-pill);
  1442. /* Get rid of the inside dotted line in Firefox */
  1443. }
  1444. button:not(.button-vue)::-moz-focus-inner, .button::-moz-focus-inner,
  1445. input[type=button]::-moz-focus-inner,
  1446. input[type=submit]::-moz-focus-inner,
  1447. input[type=reset]::-moz-focus-inner {
  1448. border: 0;
  1449. }
  1450. button:not(.button-vue).error, .button.error,
  1451. input[type=button].error,
  1452. input[type=submit].error,
  1453. input[type=reset].error {
  1454. background-color: var(--color-error) !important;
  1455. border-color: var(--color-error) !important;
  1456. color: #fff !important;
  1457. }
  1458. button:not(.button-vue):not(.action-button) > span, .button > span {
  1459. /* icon position inside buttons */
  1460. }
  1461. button:not(.button-vue):not(.action-button) > span[class^=icon-], button:not(.button-vue):not(.action-button) > span[class*=" icon-"], .button > span[class^=icon-], .button > span[class*=" icon-"] {
  1462. display: inline-block;
  1463. vertical-align: text-bottom;
  1464. opacity: 0.5;
  1465. }
  1466. /* Confirm inputs */
  1467. input[type=text], input[type=password], input[type=email] {
  1468. /* only show confirm borders if input is not focused */
  1469. }
  1470. input[type=text] + .icon-confirm, input[type=password] + .icon-confirm, input[type=email] + .icon-confirm {
  1471. margin-left: -13px !important;
  1472. border-left-color: transparent !important;
  1473. border-radius: 0 var(--border-radius-large) var(--border-radius-large) 0 !important;
  1474. border-width: 2px;
  1475. background-clip: padding-box;
  1476. /* Avoid background under border */
  1477. background-color: var(--color-main-background) !important;
  1478. opacity: 1;
  1479. height: 36px;
  1480. width: 36px;
  1481. padding: 7px 6px;
  1482. cursor: pointer;
  1483. margin-right: 0;
  1484. }
  1485. input[type=text] + .icon-confirm:disabled, input[type=password] + .icon-confirm:disabled, input[type=email] + .icon-confirm:disabled {
  1486. cursor: default;
  1487. /* $dir is the app name, so we add this to the icon var to avoid conflicts between apps */
  1488. background-image: var(--icon-confirm-fade-dark);
  1489. }
  1490. input[type=text]:not(:active):not(:hover):not(:focus):invalid + .icon-confirm, input[type=password]:not(:active):not(:hover):not(:focus):invalid + .icon-confirm, input[type=email]:not(:active):not(:hover):not(:focus):invalid + .icon-confirm {
  1491. border-color: var(--color-error);
  1492. }
  1493. input[type=text]:not(:active):not(:hover):not(:focus) + .icon-confirm:active, input[type=text]:not(:active):not(:hover):not(:focus) + .icon-confirm:hover, input[type=text]:not(:active):not(:hover):not(:focus) + .icon-confirm:focus, input[type=password]:not(:active):not(:hover):not(:focus) + .icon-confirm:active, input[type=password]:not(:active):not(:hover):not(:focus) + .icon-confirm:hover, input[type=password]:not(:active):not(:hover):not(:focus) + .icon-confirm:focus, input[type=email]:not(:active):not(:hover):not(:focus) + .icon-confirm:active, input[type=email]:not(:active):not(:hover):not(:focus) + .icon-confirm:hover, input[type=email]:not(:active):not(:hover):not(:focus) + .icon-confirm:focus {
  1494. border-color: var(--color-primary-element) !important;
  1495. border-radius: var(--border-radius) !important;
  1496. }
  1497. input[type=text]:not(:active):not(:hover):not(:focus) + .icon-confirm:active:disabled, input[type=text]:not(:active):not(:hover):not(:focus) + .icon-confirm:hover:disabled, input[type=text]:not(:active):not(:hover):not(:focus) + .icon-confirm:focus:disabled, input[type=password]:not(:active):not(:hover):not(:focus) + .icon-confirm:active:disabled, input[type=password]:not(:active):not(:hover):not(:focus) + .icon-confirm:hover:disabled, input[type=password]:not(:active):not(:hover):not(:focus) + .icon-confirm:focus:disabled, input[type=email]:not(:active):not(:hover):not(:focus) + .icon-confirm:active:disabled, input[type=email]:not(:active):not(:hover):not(:focus) + .icon-confirm:hover:disabled, input[type=email]:not(:active):not(:hover):not(:focus) + .icon-confirm:focus:disabled {
  1498. border-color: var(--color-background-darker) !important;
  1499. }
  1500. input[type=text]:active + .icon-confirm, input[type=text]:hover + .icon-confirm, input[type=text]:focus + .icon-confirm, input[type=password]:active + .icon-confirm, input[type=password]:hover + .icon-confirm, input[type=password]:focus + .icon-confirm, input[type=email]:active + .icon-confirm, input[type=email]:hover + .icon-confirm, input[type=email]:focus + .icon-confirm {
  1501. border-color: var(--color-primary-element) !important;
  1502. border-left-color: transparent !important;
  1503. /* above previous input */
  1504. z-index: 2;
  1505. }
  1506. /* Various Fixes */
  1507. button img,
  1508. .button img {
  1509. cursor: pointer;
  1510. }
  1511. select,
  1512. .button.multiselect {
  1513. font-weight: normal;
  1514. }
  1515. /* Radio & Checkboxes */
  1516. input[type=checkbox], input[type=radio] {
  1517. /* We do not use the variables as we keep the colours as white for this variant */
  1518. }
  1519. input[type=checkbox].radio, input[type=checkbox].checkbox, input[type=radio].radio, input[type=radio].checkbox {
  1520. position: absolute;
  1521. left: -10000px;
  1522. top: auto;
  1523. width: 1px;
  1524. height: 1px;
  1525. overflow: hidden;
  1526. }
  1527. input[type=checkbox].radio + label, input[type=checkbox].checkbox + label, input[type=radio].radio + label, input[type=radio].checkbox + label {
  1528. user-select: none;
  1529. }
  1530. input[type=checkbox].radio:disabled + label, input[type=checkbox].radio:disabled + label:before, input[type=checkbox].checkbox:disabled + label, input[type=checkbox].checkbox:disabled + label:before, input[type=radio].radio:disabled + label, input[type=radio].radio:disabled + label:before, input[type=radio].checkbox:disabled + label, input[type=radio].checkbox:disabled + label:before {
  1531. cursor: default;
  1532. }
  1533. input[type=checkbox].radio + label:before, input[type=checkbox].checkbox + label:before, input[type=radio].radio + label:before, input[type=radio].checkbox + label:before {
  1534. content: "";
  1535. display: inline-block;
  1536. height: 14px;
  1537. width: 14px;
  1538. vertical-align: middle;
  1539. border-radius: 50%;
  1540. margin: 0 6px 3px 3px;
  1541. border: 1px solid var(--color-text-lighter);
  1542. }
  1543. input[type=checkbox].radio:not(:disabled):not(:checked) + label:hover:before, input[type=checkbox].radio:focus + label:before, input[type=checkbox].checkbox:not(:disabled):not(:checked) + label:hover:before, input[type=checkbox].checkbox:focus + label:before, input[type=radio].radio:not(:disabled):not(:checked) + label:hover:before, input[type=radio].radio:focus + label:before, input[type=radio].checkbox:not(:disabled):not(:checked) + label:hover:before, input[type=radio].checkbox:focus + label:before {
  1544. border-color: var(--color-primary-element);
  1545. }
  1546. input[type=checkbox].radio:focus-visible + label, input[type=checkbox].checkbox:focus-visible + label, input[type=radio].radio:focus-visible + label, input[type=radio].checkbox:focus-visible + label {
  1547. outline-style: solid;
  1548. outline-color: var(--color-main-text);
  1549. outline-width: 1px;
  1550. outline-offset: 2px;
  1551. }
  1552. input[type=checkbox].radio:checked + label:before, input[type=checkbox].radio.checkbox:indeterminate + label:before, input[type=checkbox].checkbox:checked + label:before, input[type=checkbox].checkbox.checkbox:indeterminate + label:before, input[type=radio].radio:checked + label:before, input[type=radio].radio.checkbox:indeterminate + label:before, input[type=radio].checkbox:checked + label:before, input[type=radio].checkbox.checkbox:indeterminate + label:before {
  1553. /* ^ :indeterminate have a strange behavior on radio,
  1554. so we respecified the checkbox class again to be safe */
  1555. box-shadow: inset 0px 0px 0px 2px var(--color-main-background);
  1556. background-color: var(--color-primary-element);
  1557. border-color: var(--color-primary-element);
  1558. }
  1559. input[type=checkbox].radio:disabled + label:before, input[type=checkbox].checkbox:disabled + label:before, input[type=radio].radio:disabled + label:before, input[type=radio].checkbox:disabled + label:before {
  1560. border: 1px solid var(--color-text-lighter);
  1561. background-color: var(--color-text-maxcontrast) !important;
  1562. /* override other status */
  1563. }
  1564. input[type=checkbox].radio:checked:disabled + label:before, input[type=checkbox].checkbox:checked:disabled + label:before, input[type=radio].radio:checked:disabled + label:before, input[type=radio].checkbox:checked:disabled + label:before {
  1565. background-color: var(--color-text-maxcontrast);
  1566. }
  1567. input[type=checkbox].radio + label ~ em, input[type=checkbox].checkbox + label ~ em, input[type=radio].radio + label ~ em, input[type=radio].checkbox + label ~ em {
  1568. display: inline-block;
  1569. margin-left: 25px;
  1570. }
  1571. input[type=checkbox].radio + label ~ em:last-of-type, input[type=checkbox].checkbox + label ~ em:last-of-type, input[type=radio].radio + label ~ em:last-of-type, input[type=radio].checkbox + label ~ em:last-of-type {
  1572. margin-bottom: 14px;
  1573. }
  1574. input[type=checkbox].checkbox + label:before, input[type=radio].checkbox + label:before {
  1575. border-radius: 1px;
  1576. height: 14px;
  1577. width: 14px;
  1578. box-shadow: none !important;
  1579. background-position: center;
  1580. }
  1581. input[type=checkbox].checkbox:checked + label:before, input[type=radio].checkbox:checked + label:before {
  1582. background-image: url("../img/actions/checkbox-mark.svg");
  1583. }
  1584. input[type=checkbox].checkbox:indeterminate + label:before, input[type=radio].checkbox:indeterminate + label:before {
  1585. background-image: url("../img/actions/checkbox-mixed.svg");
  1586. }
  1587. input[type=checkbox].radio--white + label:before, input[type=checkbox].radio--white:focus + label:before, input[type=checkbox].checkbox--white + label:before, input[type=checkbox].checkbox--white:focus + label:before, input[type=radio].radio--white + label:before, input[type=radio].radio--white:focus + label:before, input[type=radio].checkbox--white + label:before, input[type=radio].checkbox--white:focus + label:before {
  1588. border-color: #bababa;
  1589. }
  1590. input[type=checkbox].radio--white:not(:disabled):not(:checked) + label:hover:before, input[type=checkbox].checkbox--white:not(:disabled):not(:checked) + label:hover:before, input[type=radio].radio--white:not(:disabled):not(:checked) + label:hover:before, input[type=radio].checkbox--white:not(:disabled):not(:checked) + label:hover:before {
  1591. border-color: #fff;
  1592. }
  1593. input[type=checkbox].radio--white:checked + label:before, input[type=checkbox].checkbox--white:checked + label:before, input[type=radio].radio--white:checked + label:before, input[type=radio].checkbox--white:checked + label:before {
  1594. box-shadow: inset 0px 0px 0px 2px var(--color-main-background);
  1595. background-color: #dbdbdb;
  1596. border-color: #dbdbdb;
  1597. }
  1598. input[type=checkbox].radio--white:disabled + label:before, input[type=checkbox].checkbox--white:disabled + label:before, input[type=radio].radio--white:disabled + label:before, input[type=radio].checkbox--white:disabled + label:before {
  1599. background-color: #bababa !important;
  1600. /* override other status */
  1601. border-color: rgba(255, 255, 255, 0.4) !important;
  1602. /* override other status */
  1603. }
  1604. input[type=checkbox].radio--white:checked:disabled + label:before, input[type=checkbox].checkbox--white:checked:disabled + label:before, input[type=radio].radio--white:checked:disabled + label:before, input[type=radio].checkbox--white:checked:disabled + label:before {
  1605. box-shadow: inset 0px 0px 0px 2px var(--color-main-background);
  1606. border-color: rgba(255, 255, 255, 0.4) !important;
  1607. /* override other status */
  1608. background-color: #bababa;
  1609. }
  1610. input[type=checkbox].checkbox--white:checked + label:before, input[type=checkbox].checkbox--white:indeterminate + label:before, input[type=radio].checkbox--white:checked + label:before, input[type=radio].checkbox--white:indeterminate + label:before {
  1611. background-color: transparent !important;
  1612. /* Override default checked */
  1613. border-color: #fff !important;
  1614. /* Override default checked */
  1615. background-image: url("../img/actions/checkbox-mark-white.svg");
  1616. }
  1617. input[type=checkbox].checkbox--white:indeterminate + label:before, input[type=radio].checkbox--white:indeterminate + label:before {
  1618. background-image: url("../img/actions/checkbox-mixed-white.svg");
  1619. }
  1620. input[type=checkbox].checkbox--white:disabled + label:before, input[type=radio].checkbox--white:disabled + label:before {
  1621. opacity: 0.7;
  1622. /* No other choice for white background image */
  1623. }
  1624. /* Select2 overriding. Merged to core with vendor stylesheet */
  1625. div.select2-drop {
  1626. margin-top: -2px;
  1627. background-color: var(--color-main-background);
  1628. }
  1629. div.select2-drop.select2-drop-active {
  1630. border-color: var(--color-border-dark);
  1631. }
  1632. div.select2-drop .avatar {
  1633. display: inline-block;
  1634. margin-right: 8px;
  1635. vertical-align: middle;
  1636. }
  1637. div.select2-drop .avatar img {
  1638. cursor: pointer;
  1639. }
  1640. div.select2-drop .select2-search input {
  1641. min-height: auto;
  1642. background: var(--icon-search-dark) no-repeat right center !important;
  1643. background-origin: content-box !important;
  1644. }
  1645. div.select2-drop .select2-results {
  1646. max-height: 250px;
  1647. margin: 0;
  1648. padding: 0;
  1649. }
  1650. div.select2-drop .select2-results .select2-result-label {
  1651. white-space: nowrap;
  1652. overflow: hidden;
  1653. text-overflow: ellipsis;
  1654. }
  1655. div.select2-drop .select2-results .select2-result-label span {
  1656. cursor: pointer;
  1657. }
  1658. div.select2-drop .select2-results .select2-result-label span em {
  1659. cursor: inherit;
  1660. background: unset;
  1661. }
  1662. div.select2-drop .select2-results .select2-result,
  1663. div.select2-drop .select2-results .select2-no-results,
  1664. div.select2-drop .select2-results .select2-searching {
  1665. position: relative;
  1666. display: list-item;
  1667. padding: 12px;
  1668. background-color: transparent;
  1669. cursor: pointer;
  1670. color: var(--color-text-lighter);
  1671. }
  1672. div.select2-drop .select2-results .select2-result.select2-selected {
  1673. background-color: var(--color-background-dark);
  1674. }
  1675. div.select2-drop .select2-results .select2-highlighted {
  1676. background-color: var(--color-background-dark);
  1677. color: var(--color-main-text);
  1678. }
  1679. .select2-chosen .avatar,
  1680. .select2-chosen .avatar img,
  1681. #select2-drop .avatar,
  1682. #select2-drop .avatar img {
  1683. cursor: pointer;
  1684. }
  1685. div.select2-container-multi .select2-choices, div.select2-container-multi.select2-container-active .select2-choices {
  1686. box-shadow: none;
  1687. white-space: nowrap;
  1688. text-overflow: ellipsis;
  1689. background: var(--color-main-background);
  1690. color: var(--color-text-lighter) !important;
  1691. box-sizing: content-box;
  1692. border-radius: var(--border-radius-large);
  1693. border: 2px solid var(--color-border-dark);
  1694. margin: 0;
  1695. padding: 6px;
  1696. min-height: 44px;
  1697. }
  1698. div.select2-container-multi .select2-choices:focus-within, div.select2-container-multi.select2-container-active .select2-choices:focus-within {
  1699. border-color: var(--color-primary);
  1700. }
  1701. div.select2-container-multi .select2-choices .select2-search-choice, div.select2-container-multi.select2-container-active .select2-choices .select2-search-choice {
  1702. line-height: 20px;
  1703. padding-left: 5px;
  1704. }
  1705. div.select2-container-multi .select2-choices .select2-search-choice.select2-search-choice-focus, div.select2-container-multi .select2-choices .select2-search-choice:hover, div.select2-container-multi .select2-choices .select2-search-choice:active, div.select2-container-multi .select2-choices .select2-search-choice, div.select2-container-multi.select2-container-active .select2-choices .select2-search-choice.select2-search-choice-focus, div.select2-container-multi.select2-container-active .select2-choices .select2-search-choice:hover, div.select2-container-multi.select2-container-active .select2-choices .select2-search-choice:active, div.select2-container-multi.select2-container-active .select2-choices .select2-search-choice {
  1706. background-image: none;
  1707. background-color: var(--color-main-background);
  1708. color: var(--color-text-lighter);
  1709. border: 1px solid var(--color-border-dark);
  1710. }
  1711. div.select2-container-multi .select2-choices .select2-search-choice .select2-search-choice-close, div.select2-container-multi.select2-container-active .select2-choices .select2-search-choice .select2-search-choice-close {
  1712. display: none;
  1713. }
  1714. div.select2-container-multi .select2-choices .select2-search-field input, div.select2-container-multi.select2-container-active .select2-choices .select2-search-field input {
  1715. line-height: 20px;
  1716. min-height: 28px;
  1717. max-height: 28px;
  1718. color: var(--color-main-text);
  1719. }
  1720. div.select2-container-multi .select2-choices .select2-search-field input.select2-active, div.select2-container-multi.select2-container-active .select2-choices .select2-search-field input.select2-active {
  1721. background: none !important;
  1722. }
  1723. div.select2-container {
  1724. margin: 3px 3px 3px 0;
  1725. }
  1726. div.select2-container.select2-container-multi .select2-choices {
  1727. display: flex;
  1728. flex-wrap: wrap;
  1729. }
  1730. div.select2-container.select2-container-multi .select2-choices li {
  1731. float: none;
  1732. }
  1733. div.select2-container a.select2-choice {
  1734. box-shadow: none;
  1735. white-space: nowrap;
  1736. text-overflow: ellipsis;
  1737. background: var(--color-main-background);
  1738. color: var(--color-text-lighter) !important;
  1739. box-sizing: content-box;
  1740. border-radius: var(--border-radius-large);
  1741. border: 2px solid var(--color-border-dark);
  1742. margin: 0;
  1743. padding: 6px 12px;
  1744. min-height: 44px;
  1745. }
  1746. div.select2-container a.select2-choice:focus-within {
  1747. border-color: var(--color-primary);
  1748. }
  1749. div.select2-container a.select2-choice .select2-search-choice {
  1750. line-height: 20px;
  1751. padding-left: 5px;
  1752. background-image: none;
  1753. background-color: var(--color-background-dark);
  1754. border-color: var(--color-background-dark);
  1755. }
  1756. div.select2-container a.select2-choice .select2-search-choice .select2-search-choice-close {
  1757. display: none;
  1758. }
  1759. div.select2-container a.select2-choice .select2-search-choice.select2-search-choice-focus, div.select2-container a.select2-choice .select2-search-choice:hover {
  1760. background-color: var(--color-border);
  1761. border-color: var(--color-border);
  1762. }
  1763. div.select2-container a.select2-choice .select2-arrow {
  1764. background: none;
  1765. border-radius: 0;
  1766. border: none;
  1767. }
  1768. div.select2-container a.select2-choice .select2-arrow b {
  1769. background: var(--icon-triangle-s-dark) no-repeat center !important;
  1770. opacity: 0.5;
  1771. }
  1772. div.select2-container a.select2-choice:hover .select2-arrow b, div.select2-container a.select2-choice:focus .select2-arrow b, div.select2-container a.select2-choice:active .select2-arrow b {
  1773. opacity: 0.7;
  1774. }
  1775. div.select2-container a.select2-choice .select2-search-field input {
  1776. line-height: 20px;
  1777. }
  1778. /* Vue v-select */
  1779. .v-select {
  1780. margin: 3px 3px 3px 0;
  1781. display: inline-block;
  1782. }
  1783. .v-select .dropdown-toggle {
  1784. display: flex !important;
  1785. flex-wrap: wrap;
  1786. }
  1787. .v-select .dropdown-toggle .selected-tag {
  1788. line-height: 20px;
  1789. padding-left: 5px;
  1790. background-image: none;
  1791. background-color: var(--color-main-background);
  1792. color: var(--color-text-lighter);
  1793. border: 1px solid var(--color-border-dark);
  1794. display: inline-flex;
  1795. align-items: center;
  1796. }
  1797. .v-select .dropdown-toggle .selected-tag .close {
  1798. margin-left: 3px;
  1799. }
  1800. .v-select .dropdown-menu {
  1801. padding: 0;
  1802. }
  1803. .v-select .dropdown-menu li {
  1804. padding: 5px;
  1805. position: relative;
  1806. display: list-item;
  1807. background-color: transparent;
  1808. cursor: pointer;
  1809. color: var(--color-text-lighter);
  1810. }
  1811. .v-select .dropdown-menu li a {
  1812. white-space: nowrap;
  1813. overflow: hidden;
  1814. text-overflow: ellipsis;
  1815. height: 25px;
  1816. padding: 3px 7px 4px 2px;
  1817. margin: 0;
  1818. cursor: pointer;
  1819. min-height: 1em;
  1820. -webkit-touch-callout: none;
  1821. -webkit-user-select: none;
  1822. -moz-user-select: none;
  1823. -ms-user-select: none;
  1824. user-select: none;
  1825. display: inline-flex;
  1826. align-items: center;
  1827. background-color: transparent !important;
  1828. color: inherit !important;
  1829. }
  1830. .v-select .dropdown-menu li a::before {
  1831. content: " ";
  1832. background-image: var(--icon-checkmark-dark);
  1833. background-repeat: no-repeat;
  1834. background-position: center;
  1835. min-width: 16px;
  1836. min-height: 16px;
  1837. display: block;
  1838. opacity: 0.5;
  1839. margin-right: 5px;
  1840. visibility: hidden;
  1841. }
  1842. .v-select .dropdown-menu li.highlight {
  1843. color: var(--color-main-text);
  1844. }
  1845. .v-select .dropdown-menu li.active > a {
  1846. background-color: var(--color-background-dark);
  1847. color: var(--color-main-text);
  1848. }
  1849. .v-select .dropdown-menu li.active > a::before {
  1850. visibility: visible;
  1851. }
  1852. /* Vue multiselect */
  1853. .multiselect.multiselect-vue {
  1854. margin: 1px 2px;
  1855. padding: 0 !important;
  1856. display: inline-block;
  1857. width: 160px;
  1858. position: relative;
  1859. background-color: var(--color-main-background);
  1860. /* results wrapper */
  1861. }
  1862. .multiselect.multiselect-vue.multiselect--active {
  1863. /* Opened: force display the input */
  1864. }
  1865. .multiselect.multiselect-vue.multiselect--active input.multiselect__input {
  1866. opacity: 1 !important;
  1867. cursor: text !important;
  1868. }
  1869. .multiselect.multiselect-vue.multiselect--disabled, .multiselect.multiselect-vue.multiselect--disabled .multiselect__single {
  1870. background-color: var(--color-background-dark) !important;
  1871. }
  1872. .multiselect.multiselect-vue .multiselect__tags {
  1873. /* space between tags and limit tag */
  1874. display: flex;
  1875. flex-wrap: nowrap;
  1876. overflow: hidden;
  1877. border: 1px solid var(--color-border-dark);
  1878. cursor: pointer;
  1879. position: relative;
  1880. border-radius: var(--border-radius);
  1881. height: 36px;
  1882. /* tag wrapper */
  1883. /* Single select default value */
  1884. /* displayed text if tag limit reached */
  1885. /* default multiselect input for search and placeholder */
  1886. }
  1887. .multiselect.multiselect-vue .multiselect__tags .multiselect__tags-wrap {
  1888. align-items: center;
  1889. display: inline-flex;
  1890. overflow: hidden;
  1891. max-width: 100%;
  1892. position: relative;
  1893. padding: 3px 5px;
  1894. flex-grow: 1;
  1895. /* no tags or simple select? Show input directly
  1896. input is used to display single value */
  1897. /* selected tag */
  1898. }
  1899. .multiselect.multiselect-vue .multiselect__tags .multiselect__tags-wrap:empty ~ input.multiselect__input {
  1900. opacity: 1 !important;
  1901. /* hide default empty text, show input instead */
  1902. }
  1903. .multiselect.multiselect-vue .multiselect__tags .multiselect__tags-wrap:empty ~ input.multiselect__input + span:not(.multiselect__single) {
  1904. display: none;
  1905. }
  1906. .multiselect.multiselect-vue .multiselect__tags .multiselect__tags-wrap .multiselect__tag {
  1907. flex: 1 0 0;
  1908. line-height: 20px;
  1909. padding: 1px 5px;
  1910. background-image: none;
  1911. color: var(--color-text-lighter);
  1912. border: 1px solid var(--color-border-dark);
  1913. display: inline-flex;
  1914. align-items: center;
  1915. border-radius: var(--border-radius);
  1916. /* require to override the default width
  1917. and force the tag to shring properly */
  1918. min-width: 0;
  1919. max-width: 50%;
  1920. max-width: fit-content;
  1921. max-width: -moz-fit-content;
  1922. /* css hack, detect if more than two tags
  1923. if so, flex-basis is set to half */
  1924. /* ellipsis the groups to be sure
  1925. we display at least two of them */
  1926. }
  1927. .multiselect.multiselect-vue .multiselect__tags .multiselect__tags-wrap .multiselect__tag:only-child {
  1928. flex: 0 1 auto;
  1929. }
  1930. .multiselect.multiselect-vue .multiselect__tags .multiselect__tags-wrap .multiselect__tag:not(:last-child) {
  1931. margin-right: 5px;
  1932. }
  1933. .multiselect.multiselect-vue .multiselect__tags .multiselect__tags-wrap .multiselect__tag > span {
  1934. white-space: nowrap;
  1935. text-overflow: ellipsis;
  1936. overflow: hidden;
  1937. }
  1938. .multiselect.multiselect-vue .multiselect__tags .multiselect__single {
  1939. padding: 8px 10px;
  1940. flex: 0 0 100%;
  1941. z-index: 1;
  1942. /* above input */
  1943. background-color: var(--color-main-background);
  1944. cursor: pointer;
  1945. line-height: 17px;
  1946. }
  1947. .multiselect.multiselect-vue .multiselect__tags .multiselect__strong,
  1948. .multiselect.multiselect-vue .multiselect__tags .multiselect__limit {
  1949. flex: 0 0 auto;
  1950. line-height: 20px;
  1951. color: var(--color-text-lighter);
  1952. display: inline-flex;
  1953. align-items: center;
  1954. opacity: 0.7;
  1955. margin-right: 5px;
  1956. /* above the input */
  1957. z-index: 5;
  1958. }
  1959. .multiselect.multiselect-vue .multiselect__tags input.multiselect__input {
  1960. width: 100% !important;
  1961. position: absolute !important;
  1962. margin: 0;
  1963. opacity: 0;
  1964. /* let's leave it on top of tags but hide it */
  1965. height: 100%;
  1966. border: none;
  1967. /* override hide to force show the placeholder */
  1968. display: block !important;
  1969. /* only when not active */
  1970. cursor: pointer;
  1971. }
  1972. .multiselect.multiselect-vue .multiselect__content-wrapper {
  1973. position: absolute;
  1974. width: 100%;
  1975. margin-top: -1px;
  1976. border: 1px solid var(--color-border-dark);
  1977. background: var(--color-main-background);
  1978. z-index: 50;
  1979. max-height: 175px !important;
  1980. overflow-y: auto;
  1981. }
  1982. .multiselect.multiselect-vue .multiselect__content-wrapper .multiselect__content {
  1983. width: 100%;
  1984. padding: 5px 0;
  1985. }
  1986. .multiselect.multiselect-vue .multiselect__content-wrapper li {
  1987. padding: 5px;
  1988. position: relative;
  1989. display: flex;
  1990. align-items: center;
  1991. background-color: transparent;
  1992. }
  1993. .multiselect.multiselect-vue .multiselect__content-wrapper li,
  1994. .multiselect.multiselect-vue .multiselect__content-wrapper li span {
  1995. cursor: pointer;
  1996. }
  1997. .multiselect.multiselect-vue .multiselect__content-wrapper li > span {
  1998. white-space: nowrap;
  1999. overflow: hidden;
  2000. text-overflow: ellipsis;
  2001. height: 20px;
  2002. margin: 0;
  2003. min-height: 1em;
  2004. -webkit-touch-callout: none;
  2005. -webkit-user-select: none;
  2006. -moz-user-select: none;
  2007. -ms-user-select: none;
  2008. user-select: none;
  2009. display: inline-flex;
  2010. align-items: center;
  2011. background-color: transparent !important;
  2012. color: var(--color-text-lighter);
  2013. width: 100%;
  2014. /* selected checkmark icon */
  2015. /* add the prop tag-placeholder="create" to add the +
  2016. * icon on top of an unknown-and-ready-to-be-created entry
  2017. */
  2018. }
  2019. .multiselect.multiselect-vue .multiselect__content-wrapper li > span::before {
  2020. content: " ";
  2021. background-image: var(--icon-checkmark-dark);
  2022. background-repeat: no-repeat;
  2023. background-position: center;
  2024. min-width: 16px;
  2025. min-height: 16px;
  2026. display: block;
  2027. opacity: 0.5;
  2028. margin-right: 5px;
  2029. visibility: hidden;
  2030. }
  2031. .multiselect.multiselect-vue .multiselect__content-wrapper li > span.multiselect__option--disabled {
  2032. background-color: var(--color-background-dark);
  2033. opacity: 0.5;
  2034. }
  2035. .multiselect.multiselect-vue .multiselect__content-wrapper li > span[data-select=create]::before {
  2036. background-image: var(--icon-add-dark);
  2037. visibility: visible;
  2038. }
  2039. .multiselect.multiselect-vue .multiselect__content-wrapper li > span.multiselect__option--highlight {
  2040. color: var(--color-main-text);
  2041. }
  2042. .multiselect.multiselect-vue .multiselect__content-wrapper li > span:not(.multiselect__option--disabled):hover::before {
  2043. opacity: 0.3;
  2044. }
  2045. .multiselect.multiselect-vue .multiselect__content-wrapper li > span.multiselect__option--selected::before, .multiselect.multiselect-vue .multiselect__content-wrapper li > span:not(.multiselect__option--disabled):hover::before {
  2046. visibility: visible;
  2047. }
  2048. /* Progressbar */
  2049. progress:not(.vue) {
  2050. display: block;
  2051. width: 100%;
  2052. padding: 0;
  2053. border: 0 none;
  2054. background-color: var(--color-background-dark);
  2055. border-radius: var(--border-radius);
  2056. flex-basis: 100%;
  2057. height: 5px;
  2058. overflow: hidden;
  2059. }
  2060. progress:not(.vue).warn::-moz-progress-bar {
  2061. background: var(--color-error);
  2062. }
  2063. progress:not(.vue).warn::-webkit-progress-value {
  2064. background: var(--color-error);
  2065. }
  2066. progress:not(.vue)::-webkit-progress-bar {
  2067. background: transparent;
  2068. }
  2069. progress:not(.vue)::-moz-progress-bar {
  2070. border-radius: var(--border-radius);
  2071. background: var(--color-primary);
  2072. transition: 250ms all ease-in-out;
  2073. }
  2074. progress:not(.vue)::-webkit-progress-value {
  2075. border-radius: var(--border-radius);
  2076. background: var(--color-primary);
  2077. transition: 250ms all ease-in-out;
  2078. }
  2079. /* Animation */
  2080. @keyframes shake {
  2081. 10%, 90% {
  2082. transform: translate(-1px);
  2083. }
  2084. 20%, 80% {
  2085. transform: translate(2px);
  2086. }
  2087. 30%, 50%, 70% {
  2088. transform: translate(-4px);
  2089. }
  2090. 40%, 60% {
  2091. transform: translate(4px);
  2092. }
  2093. }
  2094. .shake {
  2095. animation-name: shake;
  2096. animation-duration: 0.7s;
  2097. animation-timing-function: ease-out;
  2098. }
  2099. label.infield {
  2100. position: absolute;
  2101. left: -10000px;
  2102. top: -10000px;
  2103. width: 1px;
  2104. height: 1px;
  2105. overflow: hidden;
  2106. }
  2107. ::placeholder,
  2108. ::-ms-input-placeholder,
  2109. ::-webkit-input-placeholder {
  2110. color: var(--color-text-maxcontrast);
  2111. font-size: var(--default-font-size);
  2112. }
  2113. /**
  2114. * @copyright Copyright (c) 2018, John Molakvoæ (skjnldsv@protonmail.com)
  2115. *
  2116. * @author John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
  2117. *
  2118. * @license GNU AGPL version 3 or any later version
  2119. *
  2120. * This program is free software: you can redistribute it and/or modify
  2121. * it under the terms of the GNU Affero General Public License as
  2122. * published by the Free Software Foundation, either version 3 of the
  2123. * License, or (at your option) any later version.
  2124. *
  2125. * This program is distributed in the hope that it will be useful,
  2126. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  2127. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  2128. * GNU Affero General Public License for more details.
  2129. *
  2130. * You should have received a copy of the GNU Affero General Public License
  2131. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  2132. *
  2133. */
  2134. /**
  2135. * @copyright Copyright (c) 2016, John Molakvoæ <skjnldsv@protonmail.com>
  2136. * @copyright Copyright (c) 2016, Julius Haertl <jus@bitgrid.net>
  2137. * @copyright Copyright (c) 2016, Lukas Reschke <lukas@statuscode.ch>
  2138. * @copyright Copyright (c) 2016, Jos Poortvliet <jos@opensuse.org>
  2139. * @copyright Copyright (c) 2016, Erik Pellikka <erik@pellikka.org>
  2140. * @copyright Copyright (c) 2016, jowi <sjw@gmx.ch>
  2141. * @copyright Copyright (c) 2015, Hendrik Leppelsack <hendrik@leppelsack.de>
  2142. * @copyright Copyright (c) 2015, Volker E <volker.e@temporaer.net>
  2143. * @copyright Copyright (c) 2014-2017, Jan-Christoph Borchardt <hey@jancborchardt.net>
  2144. *
  2145. * @license GNU AGPL version 3 or any later version
  2146. *
  2147. */
  2148. /* prevent ugly selection effect on accidental selection */
  2149. #header,
  2150. #expanddiv {
  2151. -webkit-user-select: none;
  2152. -moz-user-select: none;
  2153. -ms-user-select: none;
  2154. }
  2155. #header a:not(.button):focus-visible, #header button:not(.button-vue):focus-visible, #header div[role=button]:focus-visible,
  2156. #expanddiv a:not(.button):focus-visible,
  2157. #expanddiv button:not(.button-vue):focus-visible,
  2158. #expanddiv div[role=button]:focus-visible {
  2159. box-shadow: inset 0 0 0 2px var(--color-primary-text);
  2160. border-radius: var(--border-radius);
  2161. outline: none;
  2162. }
  2163. /* HEADERS ------------------------------------------------------------------ */
  2164. #body-user #header,
  2165. #body-settings #header,
  2166. #body-public #header {
  2167. display: inline-flex;
  2168. position: absolute;
  2169. top: 0;
  2170. width: 100%;
  2171. z-index: 2000;
  2172. height: 50px;
  2173. box-sizing: border-box;
  2174. justify-content: space-between;
  2175. }
  2176. /* LOGO and APP NAME -------------------------------------------------------- */
  2177. #nextcloud {
  2178. padding: 5px 0;
  2179. padding-left: 86px;
  2180. position: relative;
  2181. height: calc(100% - 4px);
  2182. box-sizing: border-box;
  2183. opacity: 1;
  2184. align-items: center;
  2185. display: flex;
  2186. flex-wrap: wrap;
  2187. overflow: hidden;
  2188. margin: 2px;
  2189. }
  2190. #nextcloud:hover, #nextcloud:active {
  2191. opacity: 1;
  2192. }
  2193. #header {
  2194. /* Header menu */
  2195. /* Right header standard */
  2196. }
  2197. #header .header-right > div > .menu {
  2198. background-color: var(--color-main-background);
  2199. filter: drop-shadow(0 1px 5px var(--color-box-shadow));
  2200. border-radius: var(--border-radius-large);
  2201. box-sizing: border-box;
  2202. z-index: 2000;
  2203. position: absolute;
  2204. max-width: 350px;
  2205. min-height: 66px;
  2206. max-height: calc(100vh - 50px - 8px);
  2207. right: 8px;
  2208. top: 50px;
  2209. margin: 0;
  2210. overflow-y: auto;
  2211. /* Dropdown arrow */
  2212. /* Use by the settings right menu */
  2213. }
  2214. #header .header-right > div > .menu:not(.popovermenu) {
  2215. display: none;
  2216. }
  2217. #header .header-right > div > .menu:after {
  2218. border: 10px solid transparent;
  2219. border-bottom-color: var(--color-main-background);
  2220. bottom: 100%;
  2221. content: " ";
  2222. height: 0;
  2223. width: 0;
  2224. position: absolute;
  2225. pointer-events: none;
  2226. right: 10px;
  2227. }
  2228. #header .header-right > div > .menu > div, #header .header-right > div > .menu > ul {
  2229. -webkit-overflow-scrolling: touch;
  2230. min-height: 66px;
  2231. max-height: calc(100vh - 50px - 8px);
  2232. }
  2233. #header .header-right > div > .menu.settings-menu > ul {
  2234. padding: 4px;
  2235. display: flex;
  2236. flex-direction: column;
  2237. gap: 2px;
  2238. }
  2239. #header .header-right > div > .menu.settings-menu > ul li a {
  2240. border-radius: 6px;
  2241. display: inline-flex;
  2242. align-items: center;
  2243. height: 44px;
  2244. color: var(--color-main-text);
  2245. padding: 10px 12px;
  2246. box-sizing: border-box;
  2247. white-space: nowrap;
  2248. position: relative;
  2249. width: 100%;
  2250. }
  2251. #header .header-right > div > .menu.settings-menu > ul li a:hover, #header .header-right > div > .menu.settings-menu > ul li a:focus {
  2252. background-color: var(--color-background-hover);
  2253. }
  2254. #header .header-right > div > .menu.settings-menu > ul li a:active, #header .header-right > div > .menu.settings-menu > ul li a.active {
  2255. background-color: var(--color-primary-light);
  2256. }
  2257. #header .header-right > div > .menu.settings-menu > ul li a:focus-visible {
  2258. box-shadow: inset 0 0 0 2px var(--color-primary);
  2259. outline: none;
  2260. }
  2261. #header .header-right > div > .menu.settings-menu > ul li a span {
  2262. display: inline-block;
  2263. padding-bottom: 0;
  2264. color: var(--color-main-text);
  2265. white-space: nowrap;
  2266. overflow: hidden;
  2267. text-overflow: ellipsis;
  2268. max-width: 110px;
  2269. }
  2270. #header .header-right > div > .menu.settings-menu > ul li a .icon-loading-small {
  2271. margin-right: 10px;
  2272. background-size: 16px 16px;
  2273. }
  2274. #header .header-right > div > .menu.settings-menu > ul li a img,
  2275. #header .header-right > div > .menu.settings-menu > ul li a svg {
  2276. opacity: 0.7;
  2277. margin-right: 10px;
  2278. height: 16px;
  2279. width: 16px;
  2280. filter: var(--background-invert-if-dark);
  2281. }
  2282. #header .logo {
  2283. display: inline-flex;
  2284. background-image: var(--image-logoheader, var(--image-logo, url("../img/logo/logo.svg")));
  2285. background-repeat: no-repeat;
  2286. background-size: contain;
  2287. background-position: center;
  2288. width: 62px;
  2289. position: absolute;
  2290. left: 12px;
  2291. top: 1px;
  2292. bottom: 1px;
  2293. }
  2294. #header .header-appname-container {
  2295. display: none;
  2296. padding-right: 10px;
  2297. flex-shrink: 0;
  2298. }
  2299. #header #header-left, #header .header-left,
  2300. #header #header-right, #header .header-right {
  2301. display: inline-flex;
  2302. align-items: center;
  2303. }
  2304. #header #header-left, #header .header-left {
  2305. flex: 1 0;
  2306. white-space: nowrap;
  2307. min-width: 0;
  2308. }
  2309. #header #header-right, #header .header-right {
  2310. justify-content: flex-end;
  2311. flex-shrink: 1;
  2312. }
  2313. #header .header-right > div,
  2314. #header .header-right > form {
  2315. height: 100%;
  2316. position: relative;
  2317. }
  2318. #header .header-right > div > .menutoggle,
  2319. #header .header-right > form > .menutoggle {
  2320. display: flex;
  2321. justify-content: center;
  2322. align-items: center;
  2323. width: 50px;
  2324. height: 44px;
  2325. cursor: pointer;
  2326. opacity: 0.85;
  2327. padding: 0;
  2328. margin: 2px 0;
  2329. }
  2330. #header .header-right > div > .menutoggle:focus,
  2331. #header .header-right > form > .menutoggle:focus {
  2332. opacity: 1;
  2333. }
  2334. #header .header-right > div > .menutoggle:focus-visible,
  2335. #header .header-right > form > .menutoggle:focus-visible {
  2336. outline: none;
  2337. }
  2338. /* hover effect for app switcher label */
  2339. .header-appname-container .header-appname {
  2340. opacity: 0.75;
  2341. }
  2342. /* TODO: move into minimal css file for public shared template */
  2343. /* only used for public share pages now as we have the app icons when logged in */
  2344. .header-appname {
  2345. color: var(--color-primary-text);
  2346. font-size: 16px;
  2347. font-weight: bold;
  2348. margin: 0;
  2349. padding: 0;
  2350. padding-right: 5px;
  2351. overflow: hidden;
  2352. text-overflow: ellipsis;
  2353. flex: 1 1 100%;
  2354. }
  2355. .header-shared-by {
  2356. color: var(--color-primary-text);
  2357. position: relative;
  2358. font-weight: 300;
  2359. font-size: 11px;
  2360. line-height: 11px;
  2361. overflow: hidden;
  2362. text-overflow: ellipsis;
  2363. }
  2364. /* USER MENU -----------------------------------------------------------------*/
  2365. #settings {
  2366. display: inline-block;
  2367. height: 100%;
  2368. cursor: pointer;
  2369. flex: 0 0 auto;
  2370. /* User menu on the right */
  2371. }
  2372. #settings #expand {
  2373. opacity: 1;
  2374. /* override icon opacity */
  2375. margin-right: 12px;
  2376. /* Profile picture in header */
  2377. /* show triangle below user menu if active */
  2378. }
  2379. #settings #expand:hover, #settings #expand:focus, #settings #expand:active {
  2380. color: var(--color-primary-text);
  2381. }
  2382. #settings #expand:hover #expandDisplayName,
  2383. #settings #expand:hover .avatardiv, #settings #expand:focus #expandDisplayName,
  2384. #settings #expand:focus .avatardiv, #settings #expand:active #expandDisplayName,
  2385. #settings #expand:active .avatardiv {
  2386. border-radius: 50%;
  2387. border: 2px solid var(--color-primary-text);
  2388. margin: -2px;
  2389. }
  2390. #settings #expand:hover .avatardiv, #settings #expand:focus .avatardiv, #settings #expand:active .avatardiv {
  2391. background-color: var(--color-primary-text);
  2392. }
  2393. #settings #expand:hover #expandDisplayName, #settings #expand:focus #expandDisplayName, #settings #expand:active #expandDisplayName {
  2394. opacity: 1;
  2395. }
  2396. #settings #expand .avatardiv {
  2397. cursor: pointer;
  2398. height: 32px;
  2399. width: 32px;
  2400. /* do not show display name when profile picture is present */
  2401. }
  2402. #settings #expand .avatardiv img {
  2403. opacity: 1;
  2404. cursor: pointer;
  2405. }
  2406. #settings #expand .avatardiv.avatardiv-shown + #expandDisplayName {
  2407. display: none;
  2408. }
  2409. #settings #expand #expandDisplayName {
  2410. padding: 8px;
  2411. opacity: 0.6;
  2412. cursor: pointer;
  2413. /* full opacity for gear icon if active */
  2414. }
  2415. #body-settings #settings #expand #expandDisplayName {
  2416. opacity: 1;
  2417. }
  2418. #body-settings #settings #expand:before {
  2419. content: " ";
  2420. height: 0;
  2421. width: 0;
  2422. position: absolute;
  2423. pointer-events: none;
  2424. bottom: 2px;
  2425. z-index: 100;
  2426. display: block;
  2427. width: 10px;
  2428. height: 5px;
  2429. border-radius: 3px;
  2430. background-color: var(--color-primary-text);
  2431. }
  2432. #settings #expanddiv:after {
  2433. right: 22px;
  2434. }
  2435. /* Skip navigation links – show only on keyboard focus */
  2436. #skip-actions {
  2437. position: absolute;
  2438. overflow: hidden;
  2439. z-index: 9999;
  2440. top: -999px;
  2441. left: 3px;
  2442. height: 50px;
  2443. padding: 11px;
  2444. }
  2445. #skip-actions:focus-within {
  2446. top: 50px;
  2447. }
  2448. /* Empty content messages in the header e.g. notifications, contacts menu, … */
  2449. header #emptycontent h2,
  2450. header .emptycontent h2 {
  2451. font-weight: normal;
  2452. font-size: 16px;
  2453. }
  2454. header #emptycontent [class^=icon-],
  2455. header #emptycontent [class*=icon-],
  2456. header .emptycontent [class^=icon-],
  2457. header .emptycontent [class*=icon-] {
  2458. background-size: 48px;
  2459. height: 48px;
  2460. width: 48px;
  2461. }
  2462. /**
  2463. * @copyright Copyright (c) 2018, John Molakvoæ (skjnldsv@protonmail.com)
  2464. *
  2465. * @author John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
  2466. *
  2467. * @license GNU AGPL version 3 or any later version
  2468. *
  2469. * This program is free software: you can redistribute it and/or modify
  2470. * it under the terms of the GNU Affero General Public License as
  2471. * published by the Free Software Foundation, either version 3 of the
  2472. * License, or (at your option) any later version.
  2473. *
  2474. * This program is distributed in the hope that it will be useful,
  2475. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  2476. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  2477. * GNU Affero General Public License for more details.
  2478. *
  2479. * You should have received a copy of the GNU Affero General Public License
  2480. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  2481. *
  2482. */
  2483. /**
  2484. * @copyright Copyright (c) 2018, John Molakvoæ (skjnldsv@protonmail.com)
  2485. *
  2486. * @author John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
  2487. * @author Joas Schilling <coding@schilljs.com>
  2488. * @author Lukas Reschke <lukas@statuscode.ch>
  2489. * @author Roeland Jago Douma <roeland@famdouma.nl>
  2490. * @author Vincent Chan <plus.vincchan@gmail.com>
  2491. * @author Thomas Müller <thomas.mueller@tmit.eu>
  2492. * @author Hendrik Leppelsack <hendrik@leppelsack.de>
  2493. * @author Jan-Christoph Borchardt <hey@jancborchardt.net>
  2494. *
  2495. * @license GNU AGPL version 3 or any later version
  2496. *
  2497. * This program is free software: you can redistribute it and/or modify
  2498. * it under the terms of the GNU Affero General Public License as
  2499. * published by the Free Software Foundation, either version 3 of the
  2500. * License, or (at your option) any later version.
  2501. *
  2502. * This program is distributed in the hope that it will be useful,
  2503. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  2504. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  2505. * GNU Affero General Public License for more details.
  2506. *
  2507. * You should have received a copy of the GNU Affero General Public License
  2508. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  2509. *
  2510. */
  2511. /**
  2512. * @copyright Copyright (c) 2018, John Molakvoæ (skjnldsv@protonmail.com)
  2513. *
  2514. * @author John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
  2515. *
  2516. * @license GNU AGPL version 3 or any later version
  2517. *
  2518. * This program is free software: you can redistribute it and/or modify
  2519. * it under the terms of the GNU Affero General Public License as
  2520. * published by the Free Software Foundation, either version 3 of the
  2521. * License, or (at your option) any later version.
  2522. *
  2523. * This program is distributed in the hope that it will be useful,
  2524. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  2525. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  2526. * GNU Affero General Public License for more details.
  2527. *
  2528. * You should have received a copy of the GNU Affero General Public License
  2529. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  2530. *
  2531. */
  2532. /**
  2533. * @see core/src/icons.js
  2534. */
  2535. /**
  2536. * SVG COLOR API
  2537. *
  2538. * @param string $icon the icon filename
  2539. * @param string $dir the icon folder within /core/img if $core or app name
  2540. * @param string $color the desired color in hexadecimal
  2541. * @param int $version the version of the file
  2542. * @param bool [$core] search icon in core
  2543. *
  2544. * @returns A background image with the url to the set to the requested icon.
  2545. */
  2546. /* GLOBAL ------------------------------------------------------------------- */
  2547. [class^=icon-], [class*=" icon-"] {
  2548. background-repeat: no-repeat;
  2549. background-position: center;
  2550. min-width: 16px;
  2551. min-height: 16px;
  2552. }
  2553. .icon-breadcrumb {
  2554. background-image: url("../img/breadcrumb.svg?v=1");
  2555. }
  2556. /* LOADING ------------------------------------------------------------------ */
  2557. .loading,
  2558. .loading-small,
  2559. .icon-loading,
  2560. .icon-loading-dark,
  2561. .icon-loading-small,
  2562. .icon-loading-small-dark {
  2563. position: relative;
  2564. }
  2565. .loading:after,
  2566. .loading-small:after,
  2567. .icon-loading:after,
  2568. .icon-loading-dark:after,
  2569. .icon-loading-small:after,
  2570. .icon-loading-small-dark:after {
  2571. z-index: 2;
  2572. content: "";
  2573. height: 28px;
  2574. width: 28px;
  2575. margin: -16px 0 0 -16px;
  2576. position: absolute;
  2577. top: 50%;
  2578. left: 50%;
  2579. border-radius: 100%;
  2580. -webkit-animation: rotate 0.8s infinite linear;
  2581. animation: rotate 0.8s infinite linear;
  2582. -webkit-transform-origin: center;
  2583. -ms-transform-origin: center;
  2584. transform-origin: center;
  2585. border: 2px solid var(--color-loading-light);
  2586. border-top-color: var(--color-loading-dark);
  2587. filter: var(--background-invert-if-dark);
  2588. }
  2589. .primary .loading:after, .primary + .loading:after,
  2590. .primary .loading-small:after,
  2591. .primary + .loading-small:after,
  2592. .primary .icon-loading:after,
  2593. .primary + .icon-loading:after,
  2594. .primary .icon-loading-dark:after,
  2595. .primary + .icon-loading-dark:after,
  2596. .primary .icon-loading-small:after,
  2597. .primary + .icon-loading-small:after,
  2598. .primary .icon-loading-small-dark:after,
  2599. .primary + .icon-loading-small-dark:after {
  2600. filter: var(--primary-invert-if-bright);
  2601. }
  2602. .icon-loading-dark:after,
  2603. .icon-loading-small-dark:after {
  2604. border: 2px solid var(--color-loading-dark);
  2605. border-top-color: var(--color-loading-light);
  2606. }
  2607. .icon-loading-small:after,
  2608. .icon-loading-small-dark:after {
  2609. height: 12px;
  2610. width: 12px;
  2611. margin: -8px 0 0 -8px;
  2612. }
  2613. /* Css replaced elements don't have ::after nor ::before */
  2614. audio.icon-loading, canvas.icon-loading, embed.icon-loading, iframe.icon-loading, img.icon-loading, input.icon-loading, object.icon-loading, video.icon-loading {
  2615. background-image: url("../img/loading.gif");
  2616. }
  2617. audio.icon-loading-dark, canvas.icon-loading-dark, embed.icon-loading-dark, iframe.icon-loading-dark, img.icon-loading-dark, input.icon-loading-dark, object.icon-loading-dark, video.icon-loading-dark {
  2618. background-image: url("../img/loading-dark.gif");
  2619. }
  2620. audio.icon-loading-small, canvas.icon-loading-small, embed.icon-loading-small, iframe.icon-loading-small, img.icon-loading-small, input.icon-loading-small, object.icon-loading-small, video.icon-loading-small {
  2621. background-image: url("../img/loading-small.gif");
  2622. }
  2623. audio.icon-loading-small-dark, canvas.icon-loading-small-dark, embed.icon-loading-small-dark, iframe.icon-loading-small-dark, img.icon-loading-small-dark, input.icon-loading-small-dark, object.icon-loading-small-dark, video.icon-loading-small-dark {
  2624. background-image: url("../img/loading-small-dark.gif");
  2625. }
  2626. @keyframes rotate {
  2627. from {
  2628. transform: rotate(0deg);
  2629. }
  2630. to {
  2631. transform: rotate(360deg);
  2632. }
  2633. }
  2634. .icon-32 {
  2635. background-size: 32px !important;
  2636. }
  2637. .icon-white.icon-shadow,
  2638. .icon-audio-white,
  2639. .icon-audio-off-white,
  2640. .icon-fullscreen-white,
  2641. .icon-screen-white,
  2642. .icon-screen-off-white,
  2643. .icon-video-white,
  2644. .icon-video-off-white {
  2645. filter: drop-shadow(1px 1px 4px var(--color-box-shadow));
  2646. }
  2647. /* ICONS -------------------------------------------------------------------
  2648. * These icon classes are generated automatically with the following pattern
  2649. * .icon-close (black icon)
  2650. * .icon-close-white (white icon)
  2651. * .icon-close.icon-white (white icon)
  2652. *
  2653. * Some class definitions are kept as before, since they don't follow the pattern
  2654. * or have some additional styling like drop shadows
  2655. */
  2656. /**
  2657. * @copyright Copyright (c) 2018, John Molakvoæ (skjnldsv@protonmail.com)
  2658. *
  2659. * @author John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
  2660. *
  2661. * @license GNU AGPL version 3 or any later version
  2662. *
  2663. * This program is free software: you can redistribute it and/or modify
  2664. * it under the terms of the GNU Affero General Public License as
  2665. * published by the Free Software Foundation, either version 3 of the
  2666. * License, or (at your option) any later version.
  2667. *
  2668. * This program is distributed in the hope that it will be useful,
  2669. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  2670. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  2671. * GNU Affero General Public License for more details.
  2672. *
  2673. * You should have received a copy of the GNU Affero General Public License
  2674. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  2675. *
  2676. */
  2677. /**
  2678. * @copyright Copyright (c) 2016-2017, John Molakvoæ <skjnldsv@protonmail.com>
  2679. * @copyright Copyright (c) 2016, Julius Haertl <jus@bitgrid.net>
  2680. * @copyright Copyright (c) 2016, Morris Jobke <hey@morrisjobke.de>
  2681. * @copyright Copyright (c) 2016, pgys <info@pexlab.space>
  2682. * @copyright Copyright (c) 2016, Lukas Reschke <lukas@statuscode.ch>
  2683. * @copyright Copyright (c) 2016, Stefan Weil <sw@weilnetz.de>
  2684. * @copyright Copyright (c) 2016, Roeland Jago Douma <rullzer@owncloud.com>
  2685. * @copyright Copyright (c) 2016, jowi <sjw@gmx.ch>
  2686. * @copyright Copyright (c) 2015, Hendrik Leppelsack <hendrik@leppelsack.de>
  2687. * @copyright Copyright (c) 2015, Thomas Müller <thomas.mueller@tmit.eu>
  2688. * @copyright Copyright (c) 2015, Vincent Petry <pvince81@owncloud.com>
  2689. * @copyright Copyright (c) 2014-2017, Jan-Christoph Borchardt <hey@jancborchardt.net>
  2690. *
  2691. * @license GNU AGPL version 3 or any later version
  2692. *
  2693. */
  2694. /**
  2695. * @copyright Copyright (c) 2018, John Molakvoæ (skjnldsv@protonmail.com)
  2696. *
  2697. * @author John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
  2698. *
  2699. * @license GNU AGPL version 3 or any later version
  2700. *
  2701. * This program is free software: you can redistribute it and/or modify
  2702. * it under the terms of the GNU Affero General Public License as
  2703. * published by the Free Software Foundation, either version 3 of the
  2704. * License, or (at your option) any later version.
  2705. *
  2706. * This program is distributed in the hope that it will be useful,
  2707. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  2708. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  2709. * GNU Affero General Public License for more details.
  2710. *
  2711. * You should have received a copy of the GNU Affero General Public License
  2712. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  2713. *
  2714. */
  2715. /**
  2716. * @see core/src/icons.js
  2717. */
  2718. /**
  2719. * SVG COLOR API
  2720. *
  2721. * @param string $icon the icon filename
  2722. * @param string $dir the icon folder within /core/img if $core or app name
  2723. * @param string $color the desired color in hexadecimal
  2724. * @param int $version the version of the file
  2725. * @param bool [$core] search icon in core
  2726. *
  2727. * @returns A background image with the url to the set to the requested icon.
  2728. */
  2729. :root {
  2730. --body-container-margin: calc(var(--default-grid-baseline) * 2);
  2731. /* - 2px is required for making it look nice */
  2732. --body-container-radius: calc(var(--default-clickable-area) / 2 + var(--default-grid-baseline) * 2 - 2px);
  2733. --body-height: calc(100% - env(safe-area-inset-bottom) - 50px - var(--body-container-margin));
  2734. }
  2735. @media screen and (max-width: 1024px) {
  2736. :root {
  2737. --body-container-margin: 0px;
  2738. --body-container-radius: 0px;
  2739. }
  2740. }
  2741. html {
  2742. width: 100%;
  2743. height: 100%;
  2744. position: absolute;
  2745. background-color: var(--color-main-background-plain, var(--color-main-background));
  2746. background-image: var(--image-main-background);
  2747. background-size: cover;
  2748. background-position: center;
  2749. }
  2750. body {
  2751. background-color: var(--color-main-background-plain, var(--color-main-background));
  2752. background-image: var(--image-main-background);
  2753. background-size: cover;
  2754. background-position: center;
  2755. position: fixed;
  2756. width: 100%;
  2757. height: calc(100vh - env(safe-area-inset-bottom));
  2758. }
  2759. /* BASE STYLING ------------------------------------------------------------ */
  2760. h2 {
  2761. font-weight: bold;
  2762. font-size: 20px;
  2763. margin-bottom: 12px;
  2764. line-height: 30px;
  2765. color: var(--color-text-light);
  2766. }
  2767. h3 {
  2768. font-size: 16px;
  2769. margin: 12px 0;
  2770. color: var(--color-text-light);
  2771. }
  2772. h4 {
  2773. font-size: 14px;
  2774. }
  2775. /* do not use italic typeface style, instead lighter color */
  2776. em {
  2777. font-style: normal;
  2778. color: var(--color-text-lighter);
  2779. }
  2780. dl {
  2781. padding: 12px 0;
  2782. }
  2783. dt,
  2784. dd {
  2785. display: inline-block;
  2786. padding: 12px;
  2787. padding-left: 0;
  2788. }
  2789. dt {
  2790. width: 130px;
  2791. white-space: nowrap;
  2792. text-align: right;
  2793. }
  2794. kbd {
  2795. padding: 4px 10px;
  2796. border: 1px solid #ccc;
  2797. box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
  2798. border-radius: var(--border-radius);
  2799. display: inline-block;
  2800. white-space: nowrap;
  2801. }
  2802. /* APP STYLING ------------------------------------------------------------ */
  2803. #content[class*=app-] * {
  2804. box-sizing: border-box;
  2805. }
  2806. /* APP-NAVIGATION ------------------------------------------------------------ */
  2807. /* Navigation: folder like structure */
  2808. #app-navigation:not(.vue) {
  2809. --border-radius-pill: calc(var(--default-clickable-area) / 2);
  2810. width: 300px;
  2811. z-index: 500;
  2812. overflow-y: auto;
  2813. overflow-x: hidden;
  2814. background-color: var(--color-main-background-blur);
  2815. backdrop-filter: var(--filter-background-blur);
  2816. -webkit-backdrop-filter: var(--filter-background-blur);
  2817. -webkit-user-select: none;
  2818. position: sticky;
  2819. height: 100%;
  2820. -moz-user-select: none;
  2821. -ms-user-select: none;
  2822. user-select: none;
  2823. display: flex;
  2824. flex-direction: column;
  2825. flex-grow: 0;
  2826. flex-shrink: 0;
  2827. /* 'New' button */
  2828. /**
  2829. * Button styling for menu, edit and undo
  2830. */
  2831. /**
  2832. * Collapsible menus
  2833. */
  2834. /**
  2835. * App navigation utils, buttons and counters for drop down menu
  2836. */
  2837. /**
  2838. * Editable entries
  2839. */
  2840. /**
  2841. * Deleted entries with undo button
  2842. */
  2843. /**
  2844. * Common rules for animation of undo and edit entries
  2845. */
  2846. /**
  2847. * drag and drop
  2848. */
  2849. }
  2850. #app-navigation:not(.vue) .app-navigation-new {
  2851. display: block;
  2852. padding: calc(var(--default-grid-baseline) * 2);
  2853. }
  2854. #app-navigation:not(.vue) .app-navigation-new button {
  2855. display: inline-block;
  2856. width: 100%;
  2857. padding: 10px;
  2858. padding-left: 34px;
  2859. background-position: 10px center;
  2860. text-align: left;
  2861. margin: 0;
  2862. }
  2863. #app-navigation:not(.vue) li {
  2864. position: relative;
  2865. }
  2866. #app-navigation:not(.vue) > ul {
  2867. position: relative;
  2868. height: 100%;
  2869. width: 100%;
  2870. overflow-x: hidden;
  2871. overflow-y: auto;
  2872. box-sizing: border-box;
  2873. display: flex;
  2874. flex-direction: column;
  2875. padding: calc(var(--default-grid-baseline) * 2);
  2876. padding-bottom: 0;
  2877. /* Menu and submenu */
  2878. }
  2879. #app-navigation:not(.vue) > ul:last-child {
  2880. padding-bottom: calc(var(--default-grid-baseline) * 2);
  2881. }
  2882. #app-navigation:not(.vue) > ul > li {
  2883. display: inline-flex;
  2884. flex-wrap: wrap;
  2885. order: 1;
  2886. flex-shrink: 0;
  2887. margin: 0;
  2888. margin-bottom: 3px;
  2889. width: 100%;
  2890. border-radius: var(--border-radius-pill);
  2891. /* Pinned-to-bottom entries */
  2892. /* align loader */
  2893. /* hide deletion/collapse of subitems */
  2894. /* Second level nesting for lists */
  2895. }
  2896. #app-navigation:not(.vue) > ul > li.pinned {
  2897. order: 2;
  2898. }
  2899. #app-navigation:not(.vue) > ul > li.pinned.first-pinned {
  2900. margin-top: auto !important;
  2901. }
  2902. #app-navigation:not(.vue) > ul > li > .app-navigation-entry-deleted {
  2903. /* Ugly hack for overriding the main entry link */
  2904. padding-left: 44px !important;
  2905. }
  2906. #app-navigation:not(.vue) > ul > li > .app-navigation-entry-edit {
  2907. /* Ugly hack for overriding the main entry link */
  2908. /* align the input correctly with the link text
  2909. 44px-6px padding for the input */
  2910. padding-left: 38px !important;
  2911. }
  2912. #app-navigation:not(.vue) > ul > li a:hover,
  2913. #app-navigation:not(.vue) > ul > li a:hover > a,
  2914. #app-navigation:not(.vue) > ul > li a:focus,
  2915. #app-navigation:not(.vue) > ul > li a:focus > a {
  2916. background-color: var(--color-background-hover);
  2917. }
  2918. #app-navigation:not(.vue) > ul > li a:focus-visible {
  2919. box-shadow: var(--color-primary) inset 0 0 0 2px;
  2920. outline: none;
  2921. }
  2922. #app-navigation:not(.vue) > ul > li.active,
  2923. #app-navigation:not(.vue) > ul > li.active > a,
  2924. #app-navigation:not(.vue) > ul > li a:active,
  2925. #app-navigation:not(.vue) > ul > li a:active > a,
  2926. #app-navigation:not(.vue) > ul > li a.selected,
  2927. #app-navigation:not(.vue) > ul > li a.selected > a,
  2928. #app-navigation:not(.vue) > ul > li a.active,
  2929. #app-navigation:not(.vue) > ul > li a.active > a {
  2930. background-color: var(--color-primary-light);
  2931. }
  2932. #app-navigation:not(.vue) > ul > li.icon-loading-small:after {
  2933. left: 22px;
  2934. top: 22px;
  2935. }
  2936. #app-navigation:not(.vue) > ul > li.deleted > ul, #app-navigation:not(.vue) > ul > li.collapsible:not(.open) > ul {
  2937. display: none;
  2938. }
  2939. #app-navigation:not(.vue) > ul > li.app-navigation-caption {
  2940. font-weight: bold;
  2941. line-height: 44px;
  2942. padding: 0 44px;
  2943. white-space: nowrap;
  2944. text-overflow: ellipsis;
  2945. box-shadow: none !important;
  2946. user-select: none;
  2947. pointer-events: none;
  2948. }
  2949. #app-navigation:not(.vue) > ul > li.app-navigation-caption:not(:first-child) {
  2950. margin-top: 22px;
  2951. }
  2952. #app-navigation:not(.vue) > ul > li > ul {
  2953. flex: 0 1 auto;
  2954. width: 100%;
  2955. position: relative;
  2956. }
  2957. #app-navigation:not(.vue) > ul > li > ul > li {
  2958. display: inline-flex;
  2959. flex-wrap: wrap;
  2960. padding-left: 44px;
  2961. width: 100%;
  2962. margin-bottom: 3px;
  2963. /* align loader */
  2964. }
  2965. #app-navigation:not(.vue) > ul > li > ul > li:hover,
  2966. #app-navigation:not(.vue) > ul > li > ul > li:hover > a, #app-navigation:not(.vue) > ul > li > ul > li:focus,
  2967. #app-navigation:not(.vue) > ul > li > ul > li:focus > a {
  2968. border-radius: var(--border-radius-pill);
  2969. background-color: var(--color-background-hover);
  2970. }
  2971. #app-navigation:not(.vue) > ul > li > ul > li.active,
  2972. #app-navigation:not(.vue) > ul > li > ul > li.active > a,
  2973. #app-navigation:not(.vue) > ul > li > ul > li a.selected,
  2974. #app-navigation:not(.vue) > ul > li > ul > li a.selected > a {
  2975. border-radius: var(--border-radius-pill);
  2976. background-color: var(--color-primary-light);
  2977. }
  2978. #app-navigation:not(.vue) > ul > li > ul > li.icon-loading-small:after {
  2979. left: 22px;
  2980. /* 44px / 2 */
  2981. }
  2982. #app-navigation:not(.vue) > ul > li > ul > li > .app-navigation-entry-deleted {
  2983. /* margin to keep active indicator visible */
  2984. margin-left: 4px;
  2985. padding-left: 84px;
  2986. }
  2987. #app-navigation:not(.vue) > ul > li > ul > li > .app-navigation-entry-edit {
  2988. /* margin to keep active indicator visible */
  2989. margin-left: 4px;
  2990. /* align the input correctly with the link text
  2991. 44px+44px-4px-6px padding for the input */
  2992. padding-left: 78px !important;
  2993. }
  2994. #app-navigation:not(.vue) > ul > li,
  2995. #app-navigation:not(.vue) > ul > li > ul > li {
  2996. position: relative;
  2997. box-sizing: border-box;
  2998. /* hide icons if loading */
  2999. /* Main entry link */
  3000. /* Bullet icon */
  3001. /* popover fix the flex positionning of the li parent */
  3002. /* show edit/undo field if editing/deleted */
  3003. }
  3004. #app-navigation:not(.vue) > ul > li.icon-loading-small > a,
  3005. #app-navigation:not(.vue) > ul > li.icon-loading-small > .app-navigation-entry-bullet,
  3006. #app-navigation:not(.vue) > ul > li > ul > li.icon-loading-small > a,
  3007. #app-navigation:not(.vue) > ul > li > ul > li.icon-loading-small > .app-navigation-entry-bullet {
  3008. /* hide icon or bullet if loading state*/
  3009. background: transparent !important;
  3010. }
  3011. #app-navigation:not(.vue) > ul > li > a,
  3012. #app-navigation:not(.vue) > ul > li > ul > li > a {
  3013. background-size: 16px 16px;
  3014. background-position: 14px center;
  3015. background-repeat: no-repeat;
  3016. display: block;
  3017. justify-content: space-between;
  3018. line-height: 44px;
  3019. min-height: 44px;
  3020. padding: 0 12px 0 14px;
  3021. overflow: hidden;
  3022. box-sizing: border-box;
  3023. white-space: nowrap;
  3024. text-overflow: ellipsis;
  3025. border-radius: var(--border-radius-pill);
  3026. color: var(--color-main-text);
  3027. flex: 1 1 0px;
  3028. z-index: 100;
  3029. /* above the bullet to allow click*/
  3030. /* TODO: forbid using img as icon in menu? */
  3031. /* counter can also be inside the link */
  3032. }
  3033. #app-navigation:not(.vue) > ul > li > a.svg,
  3034. #app-navigation:not(.vue) > ul > li > ul > li > a.svg {
  3035. padding: 0 12px 0 44px;
  3036. }
  3037. #app-navigation:not(.vue) > ul > li > a.svg :focus-visible,
  3038. #app-navigation:not(.vue) > ul > li > ul > li > a.svg :focus-visible {
  3039. padding: 0 8px 0 42px;
  3040. }
  3041. #app-navigation:not(.vue) > ul > li > a:first-child img,
  3042. #app-navigation:not(.vue) > ul > li > ul > li > a:first-child img {
  3043. margin-right: 11px;
  3044. width: 16px;
  3045. height: 16px;
  3046. filter: var(--background-invert-if-dark);
  3047. }
  3048. #app-navigation:not(.vue) > ul > li > a > .app-navigation-entry-utils,
  3049. #app-navigation:not(.vue) > ul > li > ul > li > a > .app-navigation-entry-utils {
  3050. display: inline-block;
  3051. float: right;
  3052. }
  3053. #app-navigation:not(.vue) > ul > li > a > .app-navigation-entry-utils .app-navigation-entry-utils-counter,
  3054. #app-navigation:not(.vue) > ul > li > ul > li > a > .app-navigation-entry-utils .app-navigation-entry-utils-counter {
  3055. padding-right: 0 !important;
  3056. }
  3057. #app-navigation:not(.vue) > ul > li > .app-navigation-entry-bullet,
  3058. #app-navigation:not(.vue) > ul > li > ul > li > .app-navigation-entry-bullet {
  3059. position: absolute;
  3060. display: block;
  3061. margin: 16px;
  3062. width: 12px;
  3063. height: 12px;
  3064. border: none;
  3065. border-radius: 50%;
  3066. cursor: pointer;
  3067. transition: background 100ms ease-in-out;
  3068. }
  3069. #app-navigation:not(.vue) > ul > li > .app-navigation-entry-bullet + a,
  3070. #app-navigation:not(.vue) > ul > li > ul > li > .app-navigation-entry-bullet + a {
  3071. /* hide icon if bullet, can't have both */
  3072. background: transparent !important;
  3073. }
  3074. #app-navigation:not(.vue) > ul > li > .app-navigation-entry-menu,
  3075. #app-navigation:not(.vue) > ul > li > ul > li > .app-navigation-entry-menu {
  3076. top: 44px;
  3077. }
  3078. #app-navigation:not(.vue) > ul > li.editing .app-navigation-entry-edit,
  3079. #app-navigation:not(.vue) > ul > li > ul > li.editing .app-navigation-entry-edit {
  3080. opacity: 1;
  3081. z-index: 250;
  3082. }
  3083. #app-navigation:not(.vue) > ul > li.deleted .app-navigation-entry-deleted,
  3084. #app-navigation:not(.vue) > ul > li > ul > li.deleted .app-navigation-entry-deleted {
  3085. transform: translateX(0);
  3086. z-index: 250;
  3087. }
  3088. #app-navigation:not(.vue).hidden {
  3089. display: none;
  3090. }
  3091. #app-navigation:not(.vue) .app-navigation-entry-utils .app-navigation-entry-utils-menu-button > button,
  3092. #app-navigation:not(.vue) .app-navigation-entry-deleted .app-navigation-entry-deleted-button {
  3093. border: 0;
  3094. opacity: 0.5;
  3095. background-color: transparent;
  3096. background-repeat: no-repeat;
  3097. background-position: center;
  3098. }
  3099. #app-navigation:not(.vue) .app-navigation-entry-utils .app-navigation-entry-utils-menu-button > button:hover, #app-navigation:not(.vue) .app-navigation-entry-utils .app-navigation-entry-utils-menu-button > button:focus,
  3100. #app-navigation:not(.vue) .app-navigation-entry-deleted .app-navigation-entry-deleted-button:hover,
  3101. #app-navigation:not(.vue) .app-navigation-entry-deleted .app-navigation-entry-deleted-button:focus {
  3102. background-color: transparent;
  3103. opacity: 1;
  3104. }
  3105. #app-navigation:not(.vue) .collapsible {
  3106. /* Fallback for old collapse button.
  3107. TODO: to be removed. Leaved here for retro compatibility */
  3108. /* force padding on link no matter if 'a' has an icon class */
  3109. }
  3110. #app-navigation:not(.vue) .collapsible .collapse {
  3111. opacity: 0;
  3112. position: absolute;
  3113. width: 44px;
  3114. height: 44px;
  3115. margin: 0;
  3116. z-index: 110;
  3117. /* Needed for IE11; otherwise the button appears to the right of the
  3118. * link. */
  3119. left: 0;
  3120. }
  3121. #app-navigation:not(.vue) .collapsible .collapse:focus-visible {
  3122. opacity: 1;
  3123. border-width: 0;
  3124. box-shadow: inset 0 0 0 2px var(--color-primary);
  3125. background: none;
  3126. }
  3127. #app-navigation:not(.vue) .collapsible:before {
  3128. position: absolute;
  3129. height: 44px;
  3130. width: 44px;
  3131. margin: 0;
  3132. padding: 0;
  3133. background: none;
  3134. /* $dir is the app name, so we add this to the icon var to avoid conflicts between apps */
  3135. background-image: var(--icon-triangle-s-dark);
  3136. background-size: 16px;
  3137. background-repeat: no-repeat;
  3138. background-position: center;
  3139. border: none;
  3140. border-radius: 0;
  3141. outline: none !important;
  3142. box-shadow: none;
  3143. content: " ";
  3144. opacity: 0;
  3145. -webkit-transform: rotate(-90deg);
  3146. -ms-transform: rotate(-90deg);
  3147. transform: rotate(-90deg);
  3148. z-index: 105;
  3149. border-radius: 50%;
  3150. transition: opacity 100ms ease-in-out;
  3151. }
  3152. #app-navigation:not(.vue) .collapsible > a:first-child {
  3153. padding-left: 44px;
  3154. }
  3155. #app-navigation:not(.vue) .collapsible:hover:before, #app-navigation:not(.vue) .collapsible:focus:before {
  3156. opacity: 1;
  3157. }
  3158. #app-navigation:not(.vue) .collapsible:hover > a, #app-navigation:not(.vue) .collapsible:focus > a {
  3159. background-image: none;
  3160. }
  3161. #app-navigation:not(.vue) .collapsible:hover > .app-navigation-entry-bullet, #app-navigation:not(.vue) .collapsible:focus > .app-navigation-entry-bullet {
  3162. background: transparent !important;
  3163. }
  3164. #app-navigation:not(.vue) .collapsible.open:before {
  3165. -webkit-transform: rotate(0);
  3166. -ms-transform: rotate(0);
  3167. transform: rotate(0);
  3168. }
  3169. #app-navigation:not(.vue) .app-navigation-entry-utils {
  3170. flex: 0 1 auto;
  3171. }
  3172. #app-navigation:not(.vue) .app-navigation-entry-utils ul {
  3173. display: flex !important;
  3174. align-items: center;
  3175. justify-content: flex-end;
  3176. }
  3177. #app-navigation:not(.vue) .app-navigation-entry-utils li {
  3178. width: 44px !important;
  3179. height: 44px;
  3180. }
  3181. #app-navigation:not(.vue) .app-navigation-entry-utils button {
  3182. height: 100%;
  3183. width: 100%;
  3184. margin: 0;
  3185. box-shadow: none;
  3186. }
  3187. #app-navigation:not(.vue) .app-navigation-entry-utils .app-navigation-entry-utils-menu-button {
  3188. /* Prevent bg img override if an icon class is set */
  3189. }
  3190. #app-navigation:not(.vue) .app-navigation-entry-utils .app-navigation-entry-utils-menu-button button:not([class^=icon-]):not([class*=" icon-"]) {
  3191. /* $dir is the app name, so we add this to the icon var to avoid conflicts between apps */
  3192. background-image: var(--icon-more-dark);
  3193. }
  3194. #app-navigation:not(.vue) .app-navigation-entry-utils .app-navigation-entry-utils-menu-button:hover button, #app-navigation:not(.vue) .app-navigation-entry-utils .app-navigation-entry-utils-menu-button:focus button {
  3195. background-color: transparent;
  3196. opacity: 1;
  3197. }
  3198. #app-navigation:not(.vue) .app-navigation-entry-utils .app-navigation-entry-utils-counter {
  3199. overflow: hidden;
  3200. text-align: right;
  3201. font-size: 9pt;
  3202. line-height: 44px;
  3203. padding: 0 12px;
  3204. /* Same padding as all li > a in the app-navigation */
  3205. }
  3206. #app-navigation:not(.vue) .app-navigation-entry-utils .app-navigation-entry-utils-counter.highlighted {
  3207. padding: 0;
  3208. text-align: center;
  3209. }
  3210. #app-navigation:not(.vue) .app-navigation-entry-utils .app-navigation-entry-utils-counter.highlighted span {
  3211. padding: 2px 5px;
  3212. border-radius: 10px;
  3213. background-color: var(--color-primary);
  3214. color: var(--color-primary-text);
  3215. }
  3216. #app-navigation:not(.vue) .app-navigation-entry-edit {
  3217. padding-left: 5px;
  3218. padding-right: 5px;
  3219. display: block;
  3220. width: calc(100% - 1px);
  3221. /* Avoid border overlapping */
  3222. transition: opacity 250ms ease-in-out;
  3223. opacity: 0;
  3224. position: absolute;
  3225. background-color: var(--color-main-background);
  3226. z-index: -1;
  3227. }
  3228. #app-navigation:not(.vue) .app-navigation-entry-edit form,
  3229. #app-navigation:not(.vue) .app-navigation-entry-edit div {
  3230. display: inline-flex;
  3231. width: 100%;
  3232. }
  3233. #app-navigation:not(.vue) .app-navigation-entry-edit input {
  3234. padding: 5px;
  3235. margin-right: 0;
  3236. height: 38px;
  3237. }
  3238. #app-navigation:not(.vue) .app-navigation-entry-edit input:hover, #app-navigation:not(.vue) .app-navigation-entry-edit input:focus {
  3239. /* overlapp borders */
  3240. z-index: 1;
  3241. }
  3242. #app-navigation:not(.vue) .app-navigation-entry-edit input[type=text] {
  3243. width: 100%;
  3244. min-width: 0;
  3245. /* firefox hack: override auto */
  3246. border-bottom-right-radius: 0;
  3247. border-top-right-radius: 0;
  3248. }
  3249. #app-navigation:not(.vue) .app-navigation-entry-edit button,
  3250. #app-navigation:not(.vue) .app-navigation-entry-edit input:not([type=text]) {
  3251. width: 36px;
  3252. height: 38px;
  3253. flex: 0 0 36px;
  3254. }
  3255. #app-navigation:not(.vue) .app-navigation-entry-edit button:not(:last-child),
  3256. #app-navigation:not(.vue) .app-navigation-entry-edit input:not([type=text]):not(:last-child) {
  3257. border-radius: 0 !important;
  3258. }
  3259. #app-navigation:not(.vue) .app-navigation-entry-edit button:not(:first-child),
  3260. #app-navigation:not(.vue) .app-navigation-entry-edit input:not([type=text]):not(:first-child) {
  3261. margin-left: -1px;
  3262. }
  3263. #app-navigation:not(.vue) .app-navigation-entry-edit button:last-child,
  3264. #app-navigation:not(.vue) .app-navigation-entry-edit input:not([type=text]):last-child {
  3265. border-bottom-right-radius: var(--border-radius);
  3266. border-top-right-radius: var(--border-radius);
  3267. border-bottom-left-radius: 0;
  3268. border-top-left-radius: 0;
  3269. }
  3270. #app-navigation:not(.vue) .app-navigation-entry-deleted {
  3271. display: inline-flex;
  3272. padding-left: 44px;
  3273. transform: translateX(300px);
  3274. }
  3275. #app-navigation:not(.vue) .app-navigation-entry-deleted .app-navigation-entry-deleted-description {
  3276. position: relative;
  3277. white-space: nowrap;
  3278. text-overflow: ellipsis;
  3279. overflow: hidden;
  3280. flex: 1 1 0px;
  3281. line-height: 44px;
  3282. }
  3283. #app-navigation:not(.vue) .app-navigation-entry-deleted .app-navigation-entry-deleted-button {
  3284. margin: 0;
  3285. height: 44px;
  3286. width: 44px;
  3287. line-height: 44px;
  3288. }
  3289. #app-navigation:not(.vue) .app-navigation-entry-deleted .app-navigation-entry-deleted-button:hover, #app-navigation:not(.vue) .app-navigation-entry-deleted .app-navigation-entry-deleted-button:focus {
  3290. opacity: 1;
  3291. }
  3292. #app-navigation:not(.vue) .app-navigation-entry-edit,
  3293. #app-navigation:not(.vue) .app-navigation-entry-deleted {
  3294. width: calc(100% - 1px);
  3295. /* Avoid border overlapping */
  3296. transition: transform 250ms ease-in-out, opacity 250ms ease-in-out, z-index 250ms ease-in-out;
  3297. position: absolute;
  3298. left: 0;
  3299. background-color: var(--color-main-background);
  3300. box-sizing: border-box;
  3301. }
  3302. #app-navigation:not(.vue) .drag-and-drop {
  3303. -webkit-transition: padding-bottom 500ms ease 0s;
  3304. transition: padding-bottom 500ms ease 0s;
  3305. padding-bottom: 40px;
  3306. }
  3307. #app-navigation:not(.vue) .error {
  3308. color: var(--color-error);
  3309. }
  3310. #app-navigation:not(.vue) .app-navigation-entry-utils ul,
  3311. #app-navigation:not(.vue) .app-navigation-entry-menu ul {
  3312. list-style-type: none;
  3313. }
  3314. /* CONTENT --------------------------------------------------------- */
  3315. #content {
  3316. box-sizing: border-box;
  3317. position: static;
  3318. margin: var(--body-container-margin);
  3319. margin-top: 50px;
  3320. padding: 0;
  3321. display: flex;
  3322. width: calc(100% - var(--body-container-margin) * 2);
  3323. height: var(--body-height);
  3324. border-radius: var(--body-container-radius);
  3325. overflow: hidden;
  3326. }
  3327. #content:not(.with-sidebar--full) {
  3328. position: fixed;
  3329. }
  3330. @media only screen and (max-width: 1024px) {
  3331. #content {
  3332. border-top-left-radius: var(--border-radius-large);
  3333. border-top-right-radius: var(--border-radius-large);
  3334. }
  3335. #app-navigation {
  3336. border-top-left-radius: var(--border-radius-large);
  3337. }
  3338. #app-sidebar {
  3339. border-top-right-radius: var(--border-radius-large);
  3340. }
  3341. }
  3342. /* APP-CONTENT AND WRAPPER ------------------------------------------ */
  3343. /* Part where the content will be loaded into */
  3344. /**
  3345. * !Important. We are defining the minimum requirement we want for flex
  3346. * Just before the mobile breakpoint we have variables.$breakpoint-mobile (1024px) - variables.$navigation-width
  3347. * -> 468px. In that case we want 200px for the list and 268px for the content
  3348. */
  3349. #app-content {
  3350. z-index: 1000;
  3351. background-color: var(--color-main-background);
  3352. flex-basis: 100vw;
  3353. overflow: auto;
  3354. position: initial;
  3355. height: 100%;
  3356. /* margin if navigation element is here */
  3357. /* no top border for first settings item */
  3358. /* if app-content-list is present */
  3359. }
  3360. #app-content > .section:first-child {
  3361. border-top: none;
  3362. }
  3363. #app-content #app-content-wrapper {
  3364. display: flex;
  3365. position: relative;
  3366. align-items: stretch;
  3367. /* make sure we have at least full height for loaders or such
  3368. no need for list/details since we have a flex stretch */
  3369. min-height: 100%;
  3370. /* CONTENT DETAILS AFTER LIST*/
  3371. }
  3372. #app-content #app-content-wrapper .app-content-details {
  3373. /* grow full width */
  3374. flex: 1 1 524px;
  3375. }
  3376. #app-content #app-content-wrapper .app-content-details #app-navigation-toggle-back {
  3377. display: none;
  3378. }
  3379. /* APP-SIDEBAR ------------------------------------------------------------ */
  3380. /*
  3381. Sidebar: a sidebar to be used within #content
  3382. #app-content will be shrinked properly
  3383. */
  3384. #app-sidebar {
  3385. width: 27vw;
  3386. min-width: 300px;
  3387. max-width: 500px;
  3388. display: block;
  3389. position: -webkit-sticky;
  3390. position: sticky;
  3391. top: 50px;
  3392. right: 0;
  3393. overflow-y: auto;
  3394. overflow-x: hidden;
  3395. z-index: 1500;
  3396. opacity: 0.7px;
  3397. height: calc(100vh - 50px);
  3398. background: var(--color-main-background);
  3399. border-left: 1px solid var(--color-border);
  3400. flex-shrink: 0;
  3401. }
  3402. #app-sidebar.disappear {
  3403. display: none;
  3404. }
  3405. /* APP-SETTINGS ------------------------------------------------------------ */
  3406. /* settings area */
  3407. #app-settings {
  3408. margin-top: auto;
  3409. }
  3410. #app-settings.open #app-settings-content, #app-settings.opened #app-settings-content {
  3411. display: block;
  3412. }
  3413. #app-settings-content {
  3414. display: none;
  3415. padding: calc(var(--default-grid-baseline) * 2);
  3416. padding-top: 0;
  3417. padding-left: calc(var(--default-grid-baseline) * 4);
  3418. /* restrict height of settings and make scrollable */
  3419. max-height: 300px;
  3420. overflow-y: auto;
  3421. box-sizing: border-box;
  3422. /* display input fields at full width */
  3423. }
  3424. #app-settings-content input[type=text] {
  3425. width: 93%;
  3426. }
  3427. #app-settings-content .info-text {
  3428. padding: 5px 0 7px 22px;
  3429. color: var(--color-text-lighter);
  3430. }
  3431. #app-settings-content input[type=checkbox].radio + label, #app-settings-content input[type=checkbox].checkbox + label, #app-settings-content input[type=radio].radio + label, #app-settings-content input[type=radio].checkbox + label {
  3432. display: inline-block;
  3433. width: 100%;
  3434. padding: 5px 0;
  3435. }
  3436. #app-settings-header {
  3437. box-sizing: border-box;
  3438. background-color: transparent;
  3439. overflow: hidden;
  3440. border-radius: calc(var(--default-clickable-area) / 2);
  3441. padding: calc(var(--default-grid-baseline) * 2);
  3442. padding-top: 0;
  3443. }
  3444. #app-settings-header .settings-button {
  3445. display: flex;
  3446. align-items: center;
  3447. height: 44px;
  3448. width: 100%;
  3449. padding: 0;
  3450. margin: 0;
  3451. background-color: transparent;
  3452. box-shadow: none;
  3453. border: 0;
  3454. border-radius: calc(var(--default-clickable-area) / 2);
  3455. text-align: left;
  3456. font-weight: normal;
  3457. font-size: 100%;
  3458. opacity: 0.8;
  3459. /* like app-navigation a */
  3460. color: var(--color-main-text);
  3461. }
  3462. #app-settings-header .settings-button.opened {
  3463. border-top: solid 1px var(--color-border);
  3464. background-color: var(--color-main-background);
  3465. margin-top: 8px;
  3466. }
  3467. #app-settings-header .settings-button:hover, #app-settings-header .settings-button:focus {
  3468. background-color: var(--color-background-hover);
  3469. }
  3470. #app-settings-header .settings-button::before {
  3471. background-image: var(--icon-settings-dark);
  3472. background-position: 14px center;
  3473. background-repeat: no-repeat;
  3474. content: "";
  3475. width: 44px;
  3476. height: 44px;
  3477. top: 0;
  3478. left: 0;
  3479. display: block;
  3480. }
  3481. #app-settings-header .settings-button:focus-visible {
  3482. box-shadow: 0 0 0 2px inset var(--color-primary) !important;
  3483. background-position: 12px center;
  3484. }
  3485. /* GENERAL SECTION ------------------------------------------------------------ */
  3486. .section {
  3487. display: block;
  3488. padding: 30px;
  3489. margin-bottom: 24px;
  3490. /* slight position correction of checkboxes and radio buttons */
  3491. }
  3492. .section.hidden {
  3493. display: none !important;
  3494. }
  3495. .section input[type=checkbox], .section input[type=radio] {
  3496. vertical-align: -2px;
  3497. margin-right: 4px;
  3498. }
  3499. .sub-section {
  3500. position: relative;
  3501. margin-top: 10px;
  3502. margin-left: 27px;
  3503. margin-bottom: 10px;
  3504. }
  3505. .appear {
  3506. opacity: 1;
  3507. -webkit-transition: opacity 500ms ease 0s;
  3508. -moz-transition: opacity 500ms ease 0s;
  3509. -ms-transition: opacity 500ms ease 0s;
  3510. -o-transition: opacity 500ms ease 0s;
  3511. transition: opacity 500ms ease 0s;
  3512. }
  3513. .appear.transparent {
  3514. opacity: 0;
  3515. }
  3516. /* TABS ------------------------------------------------------------ */
  3517. .tabHeaders {
  3518. display: flex;
  3519. margin-bottom: 16px;
  3520. }
  3521. .tabHeaders .tabHeader {
  3522. display: flex;
  3523. flex-direction: column;
  3524. flex-grow: 1;
  3525. text-align: center;
  3526. white-space: nowrap;
  3527. overflow: hidden;
  3528. text-overflow: ellipsis;
  3529. cursor: pointer;
  3530. color: var(--color-text-lighter);
  3531. margin-bottom: 1px;
  3532. padding: 5px;
  3533. /* Use same amount as sidebar padding */
  3534. }
  3535. .tabHeaders .tabHeader.hidden {
  3536. display: none;
  3537. }
  3538. .tabHeaders .tabHeader:first-child {
  3539. padding-left: 15px;
  3540. }
  3541. .tabHeaders .tabHeader:last-child {
  3542. padding-right: 15px;
  3543. }
  3544. .tabHeaders .tabHeader .icon {
  3545. display: inline-block;
  3546. width: 100%;
  3547. height: 16px;
  3548. background-size: 16px;
  3549. vertical-align: middle;
  3550. margin-top: -2px;
  3551. margin-right: 3px;
  3552. opacity: 0.7;
  3553. cursor: pointer;
  3554. }
  3555. .tabHeaders .tabHeader a {
  3556. color: var(--color-text-lighter);
  3557. margin-bottom: 1px;
  3558. overflow: hidden;
  3559. text-overflow: ellipsis;
  3560. }
  3561. .tabHeaders .tabHeader.selected {
  3562. font-weight: bold;
  3563. }
  3564. .tabHeaders .tabHeader.selected, .tabHeaders .tabHeader:hover, .tabHeaders .tabHeader:focus {
  3565. margin-bottom: 0px;
  3566. color: var(--color-main-text);
  3567. border-bottom: 1px solid var(--color-text-lighter);
  3568. }
  3569. .tabsContainer {
  3570. clear: left;
  3571. }
  3572. .tabsContainer .tab {
  3573. padding: 0 15px 15px;
  3574. }
  3575. /* POPOVER MENU ------------------------------------------------------------ */
  3576. .ie .bubble, .ie .bubble:after,
  3577. .ie .popovermenu, .ie .popovermenu:after,
  3578. .ie #app-navigation .app-navigation-entry-menu,
  3579. .ie #app-navigation .app-navigation-entry-menu:after,
  3580. .edge .bubble,
  3581. .edge .bubble:after,
  3582. .edge .popovermenu,
  3583. .edge .popovermenu:after,
  3584. .edge #app-navigation .app-navigation-entry-menu,
  3585. .edge #app-navigation .app-navigation-entry-menu:after {
  3586. border: 1px solid var(--color-border);
  3587. }
  3588. .bubble,
  3589. .app-navigation-entry-menu,
  3590. .popovermenu {
  3591. position: absolute;
  3592. background-color: var(--color-main-background);
  3593. color: var(--color-main-text);
  3594. border-radius: var(--border-radius-large);
  3595. padding: 3px;
  3596. z-index: 110;
  3597. margin: 5px;
  3598. margin-top: -5px;
  3599. right: 0;
  3600. filter: drop-shadow(0 1px 3px var(--color-box-shadow));
  3601. display: none;
  3602. will-change: filter;
  3603. /* Center the popover */
  3604. /* Align the popover to the left */
  3605. }
  3606. .bubble:after,
  3607. .app-navigation-entry-menu:after,
  3608. .popovermenu:after {
  3609. bottom: 100%;
  3610. right: 7px;
  3611. /* change this to adjust the arrow position */
  3612. border: solid transparent;
  3613. content: " ";
  3614. height: 0;
  3615. width: 0;
  3616. position: absolute;
  3617. pointer-events: none;
  3618. border-bottom-color: var(--color-main-background);
  3619. border-width: 9px;
  3620. }
  3621. .bubble.menu-center,
  3622. .app-navigation-entry-menu.menu-center,
  3623. .popovermenu.menu-center {
  3624. transform: translateX(50%);
  3625. right: 50%;
  3626. margin-right: 0;
  3627. }
  3628. .bubble.menu-center:after,
  3629. .app-navigation-entry-menu.menu-center:after,
  3630. .popovermenu.menu-center:after {
  3631. right: 50%;
  3632. transform: translateX(50%);
  3633. }
  3634. .bubble.menu-left,
  3635. .app-navigation-entry-menu.menu-left,
  3636. .popovermenu.menu-left {
  3637. right: auto;
  3638. left: 0;
  3639. margin-right: 0;
  3640. }
  3641. .bubble.menu-left:after,
  3642. .app-navigation-entry-menu.menu-left:after,
  3643. .popovermenu.menu-left:after {
  3644. left: 6px;
  3645. right: auto;
  3646. }
  3647. .bubble.open,
  3648. .app-navigation-entry-menu.open,
  3649. .popovermenu.open {
  3650. display: block;
  3651. }
  3652. .bubble.contactsmenu-popover,
  3653. .app-navigation-entry-menu.contactsmenu-popover,
  3654. .popovermenu.contactsmenu-popover {
  3655. margin: 0;
  3656. }
  3657. .bubble ul,
  3658. .app-navigation-entry-menu ul,
  3659. .popovermenu ul {
  3660. /* Overwrite #app-navigation > ul ul */
  3661. display: flex !important;
  3662. flex-direction: column;
  3663. }
  3664. .bubble li,
  3665. .app-navigation-entry-menu li,
  3666. .popovermenu li {
  3667. display: flex;
  3668. flex: 0 0 auto;
  3669. /* css hack, only first not hidden */
  3670. }
  3671. .bubble li.hidden,
  3672. .app-navigation-entry-menu li.hidden,
  3673. .popovermenu li.hidden {
  3674. display: none;
  3675. }
  3676. .bubble li > button,
  3677. .bubble li > a,
  3678. .bubble li > .menuitem,
  3679. .app-navigation-entry-menu li > button,
  3680. .app-navigation-entry-menu li > a,
  3681. .app-navigation-entry-menu li > .menuitem,
  3682. .popovermenu li > button,
  3683. .popovermenu li > a,
  3684. .popovermenu li > .menuitem {
  3685. cursor: pointer;
  3686. line-height: 44px;
  3687. border: 0;
  3688. border-radius: var(--border-radius-large);
  3689. background-color: transparent;
  3690. display: flex;
  3691. align-items: flex-start;
  3692. height: auto;
  3693. margin: 0;
  3694. font-weight: normal;
  3695. box-shadow: none;
  3696. width: 100%;
  3697. color: var(--color-main-text);
  3698. white-space: nowrap;
  3699. /* prevent .action class to break the design */
  3700. /* Add padding if contains icon+text */
  3701. /* DEPRECATED! old img in popover fallback
  3702. * TODO: to remove */
  3703. /* checkbox/radio fixes */
  3704. /* no margin if hidden span before */
  3705. /* Inputs inside popover supports text, submit & reset */
  3706. }
  3707. .bubble li > button span[class^=icon-],
  3708. .bubble li > button span[class*=" icon-"], .bubble li > button[class^=icon-], .bubble li > button[class*=" icon-"],
  3709. .bubble li > a span[class^=icon-],
  3710. .bubble li > a span[class*=" icon-"],
  3711. .bubble li > a[class^=icon-],
  3712. .bubble li > a[class*=" icon-"],
  3713. .bubble li > .menuitem span[class^=icon-],
  3714. .bubble li > .menuitem span[class*=" icon-"],
  3715. .bubble li > .menuitem[class^=icon-],
  3716. .bubble li > .menuitem[class*=" icon-"],
  3717. .app-navigation-entry-menu li > button span[class^=icon-],
  3718. .app-navigation-entry-menu li > button span[class*=" icon-"],
  3719. .app-navigation-entry-menu li > button[class^=icon-],
  3720. .app-navigation-entry-menu li > button[class*=" icon-"],
  3721. .app-navigation-entry-menu li > a span[class^=icon-],
  3722. .app-navigation-entry-menu li > a span[class*=" icon-"],
  3723. .app-navigation-entry-menu li > a[class^=icon-],
  3724. .app-navigation-entry-menu li > a[class*=" icon-"],
  3725. .app-navigation-entry-menu li > .menuitem span[class^=icon-],
  3726. .app-navigation-entry-menu li > .menuitem span[class*=" icon-"],
  3727. .app-navigation-entry-menu li > .menuitem[class^=icon-],
  3728. .app-navigation-entry-menu li > .menuitem[class*=" icon-"],
  3729. .popovermenu li > button span[class^=icon-],
  3730. .popovermenu li > button span[class*=" icon-"],
  3731. .popovermenu li > button[class^=icon-],
  3732. .popovermenu li > button[class*=" icon-"],
  3733. .popovermenu li > a span[class^=icon-],
  3734. .popovermenu li > a span[class*=" icon-"],
  3735. .popovermenu li > a[class^=icon-],
  3736. .popovermenu li > a[class*=" icon-"],
  3737. .popovermenu li > .menuitem span[class^=icon-],
  3738. .popovermenu li > .menuitem span[class*=" icon-"],
  3739. .popovermenu li > .menuitem[class^=icon-],
  3740. .popovermenu li > .menuitem[class*=" icon-"] {
  3741. min-width: 0;
  3742. /* Overwrite icons*/
  3743. min-height: 0;
  3744. background-position: 14px center;
  3745. background-size: 16px;
  3746. }
  3747. .bubble li > button span[class^=icon-],
  3748. .bubble li > button span[class*=" icon-"],
  3749. .bubble li > a span[class^=icon-],
  3750. .bubble li > a span[class*=" icon-"],
  3751. .bubble li > .menuitem span[class^=icon-],
  3752. .bubble li > .menuitem span[class*=" icon-"],
  3753. .app-navigation-entry-menu li > button span[class^=icon-],
  3754. .app-navigation-entry-menu li > button span[class*=" icon-"],
  3755. .app-navigation-entry-menu li > a span[class^=icon-],
  3756. .app-navigation-entry-menu li > a span[class*=" icon-"],
  3757. .app-navigation-entry-menu li > .menuitem span[class^=icon-],
  3758. .app-navigation-entry-menu li > .menuitem span[class*=" icon-"],
  3759. .popovermenu li > button span[class^=icon-],
  3760. .popovermenu li > button span[class*=" icon-"],
  3761. .popovermenu li > a span[class^=icon-],
  3762. .popovermenu li > a span[class*=" icon-"],
  3763. .popovermenu li > .menuitem span[class^=icon-],
  3764. .popovermenu li > .menuitem span[class*=" icon-"] {
  3765. /* Keep padding to define the width to
  3766. assure correct position of a possible text */
  3767. padding: 22px 0 22px 44px;
  3768. }
  3769. .bubble li > button:not([class^=icon-]):not([class*=icon-]) > span:not([class^=icon-]):not([class*=icon-]):first-child,
  3770. .bubble li > button:not([class^=icon-]):not([class*=icon-]) > input:not([class^=icon-]):not([class*=icon-]):first-child,
  3771. .bubble li > button:not([class^=icon-]):not([class*=icon-]) > form:not([class^=icon-]):not([class*=icon-]):first-child,
  3772. .bubble li > a:not([class^=icon-]):not([class*=icon-]) > span:not([class^=icon-]):not([class*=icon-]):first-child,
  3773. .bubble li > a:not([class^=icon-]):not([class*=icon-]) > input:not([class^=icon-]):not([class*=icon-]):first-child,
  3774. .bubble li > a:not([class^=icon-]):not([class*=icon-]) > form:not([class^=icon-]):not([class*=icon-]):first-child,
  3775. .bubble li > .menuitem:not([class^=icon-]):not([class*=icon-]) > span:not([class^=icon-]):not([class*=icon-]):first-child,
  3776. .bubble li > .menuitem:not([class^=icon-]):not([class*=icon-]) > input:not([class^=icon-]):not([class*=icon-]):first-child,
  3777. .bubble li > .menuitem:not([class^=icon-]):not([class*=icon-]) > form:not([class^=icon-]):not([class*=icon-]):first-child,
  3778. .app-navigation-entry-menu li > button:not([class^=icon-]):not([class*=icon-]) > span:not([class^=icon-]):not([class*=icon-]):first-child,
  3779. .app-navigation-entry-menu li > button:not([class^=icon-]):not([class*=icon-]) > input:not([class^=icon-]):not([class*=icon-]):first-child,
  3780. .app-navigation-entry-menu li > button:not([class^=icon-]):not([class*=icon-]) > form:not([class^=icon-]):not([class*=icon-]):first-child,
  3781. .app-navigation-entry-menu li > a:not([class^=icon-]):not([class*=icon-]) > span:not([class^=icon-]):not([class*=icon-]):first-child,
  3782. .app-navigation-entry-menu li > a:not([class^=icon-]):not([class*=icon-]) > input:not([class^=icon-]):not([class*=icon-]):first-child,
  3783. .app-navigation-entry-menu li > a:not([class^=icon-]):not([class*=icon-]) > form:not([class^=icon-]):not([class*=icon-]):first-child,
  3784. .app-navigation-entry-menu li > .menuitem:not([class^=icon-]):not([class*=icon-]) > span:not([class^=icon-]):not([class*=icon-]):first-child,
  3785. .app-navigation-entry-menu li > .menuitem:not([class^=icon-]):not([class*=icon-]) > input:not([class^=icon-]):not([class*=icon-]):first-child,
  3786. .app-navigation-entry-menu li > .menuitem:not([class^=icon-]):not([class*=icon-]) > form:not([class^=icon-]):not([class*=icon-]):first-child,
  3787. .popovermenu li > button:not([class^=icon-]):not([class*=icon-]) > span:not([class^=icon-]):not([class*=icon-]):first-child,
  3788. .popovermenu li > button:not([class^=icon-]):not([class*=icon-]) > input:not([class^=icon-]):not([class*=icon-]):first-child,
  3789. .popovermenu li > button:not([class^=icon-]):not([class*=icon-]) > form:not([class^=icon-]):not([class*=icon-]):first-child,
  3790. .popovermenu li > a:not([class^=icon-]):not([class*=icon-]) > span:not([class^=icon-]):not([class*=icon-]):first-child,
  3791. .popovermenu li > a:not([class^=icon-]):not([class*=icon-]) > input:not([class^=icon-]):not([class*=icon-]):first-child,
  3792. .popovermenu li > a:not([class^=icon-]):not([class*=icon-]) > form:not([class^=icon-]):not([class*=icon-]):first-child,
  3793. .popovermenu li > .menuitem:not([class^=icon-]):not([class*=icon-]) > span:not([class^=icon-]):not([class*=icon-]):first-child,
  3794. .popovermenu li > .menuitem:not([class^=icon-]):not([class*=icon-]) > input:not([class^=icon-]):not([class*=icon-]):first-child,
  3795. .popovermenu li > .menuitem:not([class^=icon-]):not([class*=icon-]) > form:not([class^=icon-]):not([class*=icon-]):first-child {
  3796. margin-left: 44px;
  3797. }
  3798. .bubble li > button[class^=icon-], .bubble li > button[class*=" icon-"],
  3799. .bubble li > a[class^=icon-],
  3800. .bubble li > a[class*=" icon-"],
  3801. .bubble li > .menuitem[class^=icon-],
  3802. .bubble li > .menuitem[class*=" icon-"],
  3803. .app-navigation-entry-menu li > button[class^=icon-],
  3804. .app-navigation-entry-menu li > button[class*=" icon-"],
  3805. .app-navigation-entry-menu li > a[class^=icon-],
  3806. .app-navigation-entry-menu li > a[class*=" icon-"],
  3807. .app-navigation-entry-menu li > .menuitem[class^=icon-],
  3808. .app-navigation-entry-menu li > .menuitem[class*=" icon-"],
  3809. .popovermenu li > button[class^=icon-],
  3810. .popovermenu li > button[class*=" icon-"],
  3811. .popovermenu li > a[class^=icon-],
  3812. .popovermenu li > a[class*=" icon-"],
  3813. .popovermenu li > .menuitem[class^=icon-],
  3814. .popovermenu li > .menuitem[class*=" icon-"] {
  3815. padding: 0 14px 0 44px !important;
  3816. }
  3817. .bubble li > button:hover, .bubble li > button:focus,
  3818. .bubble li > a:hover,
  3819. .bubble li > a:focus,
  3820. .bubble li > .menuitem:hover,
  3821. .bubble li > .menuitem:focus,
  3822. .app-navigation-entry-menu li > button:hover,
  3823. .app-navigation-entry-menu li > button:focus,
  3824. .app-navigation-entry-menu li > a:hover,
  3825. .app-navigation-entry-menu li > a:focus,
  3826. .app-navigation-entry-menu li > .menuitem:hover,
  3827. .app-navigation-entry-menu li > .menuitem:focus,
  3828. .popovermenu li > button:hover,
  3829. .popovermenu li > button:focus,
  3830. .popovermenu li > a:hover,
  3831. .popovermenu li > a:focus,
  3832. .popovermenu li > .menuitem:hover,
  3833. .popovermenu li > .menuitem:focus {
  3834. background-color: var(--color-background-hover);
  3835. }
  3836. .bubble li > button:focus, .bubble li > button:focus-visible,
  3837. .bubble li > a:focus,
  3838. .bubble li > a:focus-visible,
  3839. .bubble li > .menuitem:focus,
  3840. .bubble li > .menuitem:focus-visible,
  3841. .app-navigation-entry-menu li > button:focus,
  3842. .app-navigation-entry-menu li > button:focus-visible,
  3843. .app-navigation-entry-menu li > a:focus,
  3844. .app-navigation-entry-menu li > a:focus-visible,
  3845. .app-navigation-entry-menu li > .menuitem:focus,
  3846. .app-navigation-entry-menu li > .menuitem:focus-visible,
  3847. .popovermenu li > button:focus,
  3848. .popovermenu li > button:focus-visible,
  3849. .popovermenu li > a:focus,
  3850. .popovermenu li > a:focus-visible,
  3851. .popovermenu li > .menuitem:focus,
  3852. .popovermenu li > .menuitem:focus-visible {
  3853. box-shadow: 0 0 0 2px var(--color-primary-element);
  3854. }
  3855. .bubble li > button.active,
  3856. .bubble li > a.active,
  3857. .bubble li > .menuitem.active,
  3858. .app-navigation-entry-menu li > button.active,
  3859. .app-navigation-entry-menu li > a.active,
  3860. .app-navigation-entry-menu li > .menuitem.active,
  3861. .popovermenu li > button.active,
  3862. .popovermenu li > a.active,
  3863. .popovermenu li > .menuitem.active {
  3864. border-radius: var(--border-radius-pill);
  3865. background-color: var(--color-primary-light);
  3866. }
  3867. .bubble li > button.action,
  3868. .bubble li > a.action,
  3869. .bubble li > .menuitem.action,
  3870. .app-navigation-entry-menu li > button.action,
  3871. .app-navigation-entry-menu li > a.action,
  3872. .app-navigation-entry-menu li > .menuitem.action,
  3873. .popovermenu li > button.action,
  3874. .popovermenu li > a.action,
  3875. .popovermenu li > .menuitem.action {
  3876. padding: inherit !important;
  3877. }
  3878. .bubble li > button > span,
  3879. .bubble li > a > span,
  3880. .bubble li > .menuitem > span,
  3881. .app-navigation-entry-menu li > button > span,
  3882. .app-navigation-entry-menu li > a > span,
  3883. .app-navigation-entry-menu li > .menuitem > span,
  3884. .popovermenu li > button > span,
  3885. .popovermenu li > a > span,
  3886. .popovermenu li > .menuitem > span {
  3887. cursor: pointer;
  3888. white-space: nowrap;
  3889. }
  3890. .bubble li > button > p,
  3891. .bubble li > a > p,
  3892. .bubble li > .menuitem > p,
  3893. .app-navigation-entry-menu li > button > p,
  3894. .app-navigation-entry-menu li > a > p,
  3895. .app-navigation-entry-menu li > .menuitem > p,
  3896. .popovermenu li > button > p,
  3897. .popovermenu li > a > p,
  3898. .popovermenu li > .menuitem > p {
  3899. width: 150px;
  3900. line-height: 1.6em;
  3901. padding: 8px 0;
  3902. white-space: normal;
  3903. }
  3904. .bubble li > button > select,
  3905. .bubble li > a > select,
  3906. .bubble li > .menuitem > select,
  3907. .app-navigation-entry-menu li > button > select,
  3908. .app-navigation-entry-menu li > a > select,
  3909. .app-navigation-entry-menu li > .menuitem > select,
  3910. .popovermenu li > button > select,
  3911. .popovermenu li > a > select,
  3912. .popovermenu li > .menuitem > select {
  3913. margin: 0;
  3914. margin-left: 6px;
  3915. }
  3916. .bubble li > button:not(:empty),
  3917. .bubble li > a:not(:empty),
  3918. .bubble li > .menuitem:not(:empty),
  3919. .app-navigation-entry-menu li > button:not(:empty),
  3920. .app-navigation-entry-menu li > a:not(:empty),
  3921. .app-navigation-entry-menu li > .menuitem:not(:empty),
  3922. .popovermenu li > button:not(:empty),
  3923. .popovermenu li > a:not(:empty),
  3924. .popovermenu li > .menuitem:not(:empty) {
  3925. padding-right: 14px !important;
  3926. }
  3927. .bubble li > button > img,
  3928. .bubble li > a > img,
  3929. .bubble li > .menuitem > img,
  3930. .app-navigation-entry-menu li > button > img,
  3931. .app-navigation-entry-menu li > a > img,
  3932. .app-navigation-entry-menu li > .menuitem > img,
  3933. .popovermenu li > button > img,
  3934. .popovermenu li > a > img,
  3935. .popovermenu li > .menuitem > img {
  3936. width: 16px;
  3937. padding: 14px;
  3938. }
  3939. .bubble li > button > input.radio + label,
  3940. .bubble li > button > input.checkbox + label,
  3941. .bubble li > a > input.radio + label,
  3942. .bubble li > a > input.checkbox + label,
  3943. .bubble li > .menuitem > input.radio + label,
  3944. .bubble li > .menuitem > input.checkbox + label,
  3945. .app-navigation-entry-menu li > button > input.radio + label,
  3946. .app-navigation-entry-menu li > button > input.checkbox + label,
  3947. .app-navigation-entry-menu li > a > input.radio + label,
  3948. .app-navigation-entry-menu li > a > input.checkbox + label,
  3949. .app-navigation-entry-menu li > .menuitem > input.radio + label,
  3950. .app-navigation-entry-menu li > .menuitem > input.checkbox + label,
  3951. .popovermenu li > button > input.radio + label,
  3952. .popovermenu li > button > input.checkbox + label,
  3953. .popovermenu li > a > input.radio + label,
  3954. .popovermenu li > a > input.checkbox + label,
  3955. .popovermenu li > .menuitem > input.radio + label,
  3956. .popovermenu li > .menuitem > input.checkbox + label {
  3957. padding: 0 !important;
  3958. width: 100%;
  3959. }
  3960. .bubble li > button > input.checkbox + label::before,
  3961. .bubble li > a > input.checkbox + label::before,
  3962. .bubble li > .menuitem > input.checkbox + label::before,
  3963. .app-navigation-entry-menu li > button > input.checkbox + label::before,
  3964. .app-navigation-entry-menu li > a > input.checkbox + label::before,
  3965. .app-navigation-entry-menu li > .menuitem > input.checkbox + label::before,
  3966. .popovermenu li > button > input.checkbox + label::before,
  3967. .popovermenu li > a > input.checkbox + label::before,
  3968. .popovermenu li > .menuitem > input.checkbox + label::before {
  3969. margin: -2px 13px 0;
  3970. }
  3971. .bubble li > button > input.radio + label::before,
  3972. .bubble li > a > input.radio + label::before,
  3973. .bubble li > .menuitem > input.radio + label::before,
  3974. .app-navigation-entry-menu li > button > input.radio + label::before,
  3975. .app-navigation-entry-menu li > a > input.radio + label::before,
  3976. .app-navigation-entry-menu li > .menuitem > input.radio + label::before,
  3977. .popovermenu li > button > input.radio + label::before,
  3978. .popovermenu li > a > input.radio + label::before,
  3979. .popovermenu li > .menuitem > input.radio + label::before {
  3980. margin: -2px 12px 0;
  3981. }
  3982. .bubble li > button > input:not([type=radio]):not([type=checkbox]):not([type=image]),
  3983. .bubble li > a > input:not([type=radio]):not([type=checkbox]):not([type=image]),
  3984. .bubble li > .menuitem > input:not([type=radio]):not([type=checkbox]):not([type=image]),
  3985. .app-navigation-entry-menu li > button > input:not([type=radio]):not([type=checkbox]):not([type=image]),
  3986. .app-navigation-entry-menu li > a > input:not([type=radio]):not([type=checkbox]):not([type=image]),
  3987. .app-navigation-entry-menu li > .menuitem > input:not([type=radio]):not([type=checkbox]):not([type=image]),
  3988. .popovermenu li > button > input:not([type=radio]):not([type=checkbox]):not([type=image]),
  3989. .popovermenu li > a > input:not([type=radio]):not([type=checkbox]):not([type=image]),
  3990. .popovermenu li > .menuitem > input:not([type=radio]):not([type=checkbox]):not([type=image]) {
  3991. width: 150px;
  3992. }
  3993. .bubble li > button form,
  3994. .bubble li > a form,
  3995. .bubble li > .menuitem form,
  3996. .app-navigation-entry-menu li > button form,
  3997. .app-navigation-entry-menu li > a form,
  3998. .app-navigation-entry-menu li > .menuitem form,
  3999. .popovermenu li > button form,
  4000. .popovermenu li > a form,
  4001. .popovermenu li > .menuitem form {
  4002. display: flex;
  4003. flex: 1 1 auto;
  4004. /* put a small space between text and form
  4005. if there is an element before */
  4006. align-items: center;
  4007. }
  4008. .bubble li > button form:not(:first-child),
  4009. .bubble li > a form:not(:first-child),
  4010. .bubble li > .menuitem form:not(:first-child),
  4011. .app-navigation-entry-menu li > button form:not(:first-child),
  4012. .app-navigation-entry-menu li > a form:not(:first-child),
  4013. .app-navigation-entry-menu li > .menuitem form:not(:first-child),
  4014. .popovermenu li > button form:not(:first-child),
  4015. .popovermenu li > a form:not(:first-child),
  4016. .popovermenu li > .menuitem form:not(:first-child) {
  4017. margin-left: 5px;
  4018. }
  4019. .bubble li > button > span.hidden + form,
  4020. .bubble li > button > span[style*="display:none"] + form,
  4021. .bubble li > a > span.hidden + form,
  4022. .bubble li > a > span[style*="display:none"] + form,
  4023. .bubble li > .menuitem > span.hidden + form,
  4024. .bubble li > .menuitem > span[style*="display:none"] + form,
  4025. .app-navigation-entry-menu li > button > span.hidden + form,
  4026. .app-navigation-entry-menu li > button > span[style*="display:none"] + form,
  4027. .app-navigation-entry-menu li > a > span.hidden + form,
  4028. .app-navigation-entry-menu li > a > span[style*="display:none"] + form,
  4029. .app-navigation-entry-menu li > .menuitem > span.hidden + form,
  4030. .app-navigation-entry-menu li > .menuitem > span[style*="display:none"] + form,
  4031. .popovermenu li > button > span.hidden + form,
  4032. .popovermenu li > button > span[style*="display:none"] + form,
  4033. .popovermenu li > a > span.hidden + form,
  4034. .popovermenu li > a > span[style*="display:none"] + form,
  4035. .popovermenu li > .menuitem > span.hidden + form,
  4036. .popovermenu li > .menuitem > span[style*="display:none"] + form {
  4037. margin-left: 0;
  4038. }
  4039. .bubble li > button input,
  4040. .bubble li > a input,
  4041. .bubble li > .menuitem input,
  4042. .app-navigation-entry-menu li > button input,
  4043. .app-navigation-entry-menu li > a input,
  4044. .app-navigation-entry-menu li > .menuitem input,
  4045. .popovermenu li > button input,
  4046. .popovermenu li > a input,
  4047. .popovermenu li > .menuitem input {
  4048. min-width: 44px;
  4049. max-height: 40px;
  4050. /* twice the element margin-y */
  4051. margin: 2px 0;
  4052. flex: 1 1 auto;
  4053. }
  4054. .bubble li > button input:not(:first-child),
  4055. .bubble li > a input:not(:first-child),
  4056. .bubble li > .menuitem input:not(:first-child),
  4057. .app-navigation-entry-menu li > button input:not(:first-child),
  4058. .app-navigation-entry-menu li > a input:not(:first-child),
  4059. .app-navigation-entry-menu li > .menuitem input:not(:first-child),
  4060. .popovermenu li > button input:not(:first-child),
  4061. .popovermenu li > a input:not(:first-child),
  4062. .popovermenu li > .menuitem input:not(:first-child) {
  4063. margin-left: 5px;
  4064. }
  4065. .bubble li:not(.hidden):not([style*="display:none"]):first-of-type > button > form, .bubble li:not(.hidden):not([style*="display:none"]):first-of-type > button > input, .bubble li:not(.hidden):not([style*="display:none"]):first-of-type > a > form, .bubble li:not(.hidden):not([style*="display:none"]):first-of-type > a > input, .bubble li:not(.hidden):not([style*="display:none"]):first-of-type > .menuitem > form, .bubble li:not(.hidden):not([style*="display:none"]):first-of-type > .menuitem > input,
  4066. .app-navigation-entry-menu li:not(.hidden):not([style*="display:none"]):first-of-type > button > form,
  4067. .app-navigation-entry-menu li:not(.hidden):not([style*="display:none"]):first-of-type > button > input,
  4068. .app-navigation-entry-menu li:not(.hidden):not([style*="display:none"]):first-of-type > a > form,
  4069. .app-navigation-entry-menu li:not(.hidden):not([style*="display:none"]):first-of-type > a > input,
  4070. .app-navigation-entry-menu li:not(.hidden):not([style*="display:none"]):first-of-type > .menuitem > form,
  4071. .app-navigation-entry-menu li:not(.hidden):not([style*="display:none"]):first-of-type > .menuitem > input,
  4072. .popovermenu li:not(.hidden):not([style*="display:none"]):first-of-type > button > form,
  4073. .popovermenu li:not(.hidden):not([style*="display:none"]):first-of-type > button > input,
  4074. .popovermenu li:not(.hidden):not([style*="display:none"]):first-of-type > a > form,
  4075. .popovermenu li:not(.hidden):not([style*="display:none"]):first-of-type > a > input,
  4076. .popovermenu li:not(.hidden):not([style*="display:none"]):first-of-type > .menuitem > form,
  4077. .popovermenu li:not(.hidden):not([style*="display:none"]):first-of-type > .menuitem > input {
  4078. margin-top: 12px;
  4079. }
  4080. .bubble li:not(.hidden):not([style*="display:none"]):last-of-type > button > form, .bubble li:not(.hidden):not([style*="display:none"]):last-of-type > button > input, .bubble li:not(.hidden):not([style*="display:none"]):last-of-type > a > form, .bubble li:not(.hidden):not([style*="display:none"]):last-of-type > a > input, .bubble li:not(.hidden):not([style*="display:none"]):last-of-type > .menuitem > form, .bubble li:not(.hidden):not([style*="display:none"]):last-of-type > .menuitem > input,
  4081. .app-navigation-entry-menu li:not(.hidden):not([style*="display:none"]):last-of-type > button > form,
  4082. .app-navigation-entry-menu li:not(.hidden):not([style*="display:none"]):last-of-type > button > input,
  4083. .app-navigation-entry-menu li:not(.hidden):not([style*="display:none"]):last-of-type > a > form,
  4084. .app-navigation-entry-menu li:not(.hidden):not([style*="display:none"]):last-of-type > a > input,
  4085. .app-navigation-entry-menu li:not(.hidden):not([style*="display:none"]):last-of-type > .menuitem > form,
  4086. .app-navigation-entry-menu li:not(.hidden):not([style*="display:none"]):last-of-type > .menuitem > input,
  4087. .popovermenu li:not(.hidden):not([style*="display:none"]):last-of-type > button > form,
  4088. .popovermenu li:not(.hidden):not([style*="display:none"]):last-of-type > button > input,
  4089. .popovermenu li:not(.hidden):not([style*="display:none"]):last-of-type > a > form,
  4090. .popovermenu li:not(.hidden):not([style*="display:none"]):last-of-type > a > input,
  4091. .popovermenu li:not(.hidden):not([style*="display:none"]):last-of-type > .menuitem > form,
  4092. .popovermenu li:not(.hidden):not([style*="display:none"]):last-of-type > .menuitem > input {
  4093. margin-bottom: 0px;
  4094. }
  4095. .bubble li > button,
  4096. .app-navigation-entry-menu li > button,
  4097. .popovermenu li > button {
  4098. padding: 0;
  4099. }
  4100. .bubble li > button span,
  4101. .app-navigation-entry-menu li > button span,
  4102. .popovermenu li > button span {
  4103. opacity: 1;
  4104. }
  4105. /* "app-*" descendants use border-box sizing, so the height of the icon must be
  4106. * set to the height of the item (as well as its width to make it squared). */
  4107. #content[class*=app-] .bubble li > button,
  4108. #content[class*=app-] .bubble li > a,
  4109. #content[class*=app-] .bubble li > .menuitem,
  4110. #content[class*=app-] .app-navigation-entry-menu li > button,
  4111. #content[class*=app-] .app-navigation-entry-menu li > a,
  4112. #content[class*=app-] .app-navigation-entry-menu li > .menuitem,
  4113. #content[class*=app-] .popovermenu li > button,
  4114. #content[class*=app-] .popovermenu li > a,
  4115. #content[class*=app-] .popovermenu li > .menuitem {
  4116. width: fit-content;
  4117. /* DEPRECATED! old img in popover fallback
  4118. * TODO: to remove */
  4119. }
  4120. #content[class*=app-] .bubble li > button > img,
  4121. #content[class*=app-] .bubble li > a > img,
  4122. #content[class*=app-] .bubble li > .menuitem > img,
  4123. #content[class*=app-] .app-navigation-entry-menu li > button > img,
  4124. #content[class*=app-] .app-navigation-entry-menu li > a > img,
  4125. #content[class*=app-] .app-navigation-entry-menu li > .menuitem > img,
  4126. #content[class*=app-] .popovermenu li > button > img,
  4127. #content[class*=app-] .popovermenu li > a > img,
  4128. #content[class*=app-] .popovermenu li > .menuitem > img {
  4129. width: 44px;
  4130. height: 44px;
  4131. }
  4132. /* CONTENT LIST ------------------------------------------------------------ */
  4133. .app-content-list {
  4134. position: -webkit-sticky;
  4135. position: relative;
  4136. top: 0;
  4137. border-right: 1px solid var(--color-border);
  4138. display: flex;
  4139. flex-direction: column;
  4140. transition: transform 250ms ease-in-out;
  4141. min-height: 100%;
  4142. max-height: 100%;
  4143. overflow-y: auto;
  4144. overflow-x: hidden;
  4145. flex: 1 1 200px;
  4146. min-width: 200px;
  4147. max-width: 300px;
  4148. /* Default item */
  4149. }
  4150. .app-content-list .app-content-list-item {
  4151. position: relative;
  4152. height: 68px;
  4153. cursor: pointer;
  4154. padding: 10px 7px;
  4155. display: flex;
  4156. flex-wrap: wrap;
  4157. align-items: center;
  4158. flex: 0 0 auto;
  4159. /* Icon fixes */
  4160. }
  4161. .app-content-list .app-content-list-item > [class^=icon-],
  4162. .app-content-list .app-content-list-item > [class*=" icon-"],
  4163. .app-content-list .app-content-list-item > .app-content-list-item-menu > [class^=icon-],
  4164. .app-content-list .app-content-list-item > .app-content-list-item-menu > [class*=" icon-"] {
  4165. order: 4;
  4166. width: 24px;
  4167. height: 24px;
  4168. margin: -7px;
  4169. padding: 22px;
  4170. opacity: 0.3;
  4171. cursor: pointer;
  4172. }
  4173. .app-content-list .app-content-list-item > [class^=icon-]:hover, .app-content-list .app-content-list-item > [class^=icon-]:focus,
  4174. .app-content-list .app-content-list-item > [class*=" icon-"]:hover,
  4175. .app-content-list .app-content-list-item > [class*=" icon-"]:focus,
  4176. .app-content-list .app-content-list-item > .app-content-list-item-menu > [class^=icon-]:hover,
  4177. .app-content-list .app-content-list-item > .app-content-list-item-menu > [class^=icon-]:focus,
  4178. .app-content-list .app-content-list-item > .app-content-list-item-menu > [class*=" icon-"]:hover,
  4179. .app-content-list .app-content-list-item > .app-content-list-item-menu > [class*=" icon-"]:focus {
  4180. opacity: 0.7;
  4181. }
  4182. .app-content-list .app-content-list-item > [class^=icon-][class^=icon-star], .app-content-list .app-content-list-item > [class^=icon-][class*=" icon-star"],
  4183. .app-content-list .app-content-list-item > [class*=" icon-"][class^=icon-star],
  4184. .app-content-list .app-content-list-item > [class*=" icon-"][class*=" icon-star"],
  4185. .app-content-list .app-content-list-item > .app-content-list-item-menu > [class^=icon-][class^=icon-star],
  4186. .app-content-list .app-content-list-item > .app-content-list-item-menu > [class^=icon-][class*=" icon-star"],
  4187. .app-content-list .app-content-list-item > .app-content-list-item-menu > [class*=" icon-"][class^=icon-star],
  4188. .app-content-list .app-content-list-item > .app-content-list-item-menu > [class*=" icon-"][class*=" icon-star"] {
  4189. opacity: 0.7;
  4190. }
  4191. .app-content-list .app-content-list-item > [class^=icon-][class^=icon-star]:hover, .app-content-list .app-content-list-item > [class^=icon-][class^=icon-star]:focus, .app-content-list .app-content-list-item > [class^=icon-][class*=" icon-star"]:hover, .app-content-list .app-content-list-item > [class^=icon-][class*=" icon-star"]:focus,
  4192. .app-content-list .app-content-list-item > [class*=" icon-"][class^=icon-star]:hover,
  4193. .app-content-list .app-content-list-item > [class*=" icon-"][class^=icon-star]:focus,
  4194. .app-content-list .app-content-list-item > [class*=" icon-"][class*=" icon-star"]:hover,
  4195. .app-content-list .app-content-list-item > [class*=" icon-"][class*=" icon-star"]:focus,
  4196. .app-content-list .app-content-list-item > .app-content-list-item-menu > [class^=icon-][class^=icon-star]:hover,
  4197. .app-content-list .app-content-list-item > .app-content-list-item-menu > [class^=icon-][class^=icon-star]:focus,
  4198. .app-content-list .app-content-list-item > .app-content-list-item-menu > [class^=icon-][class*=" icon-star"]:hover,
  4199. .app-content-list .app-content-list-item > .app-content-list-item-menu > [class^=icon-][class*=" icon-star"]:focus,
  4200. .app-content-list .app-content-list-item > .app-content-list-item-menu > [class*=" icon-"][class^=icon-star]:hover,
  4201. .app-content-list .app-content-list-item > .app-content-list-item-menu > [class*=" icon-"][class^=icon-star]:focus,
  4202. .app-content-list .app-content-list-item > .app-content-list-item-menu > [class*=" icon-"][class*=" icon-star"]:hover,
  4203. .app-content-list .app-content-list-item > .app-content-list-item-menu > [class*=" icon-"][class*=" icon-star"]:focus {
  4204. opacity: 1;
  4205. }
  4206. .app-content-list .app-content-list-item > [class^=icon-].icon-starred,
  4207. .app-content-list .app-content-list-item > [class*=" icon-"].icon-starred,
  4208. .app-content-list .app-content-list-item > .app-content-list-item-menu > [class^=icon-].icon-starred,
  4209. .app-content-list .app-content-list-item > .app-content-list-item-menu > [class*=" icon-"].icon-starred {
  4210. opacity: 1;
  4211. }
  4212. .app-content-list .app-content-list-item:hover, .app-content-list .app-content-list-item:focus, .app-content-list .app-content-list-item.active {
  4213. background-color: var(--color-background-dark);
  4214. }
  4215. .app-content-list .app-content-list-item:hover .app-content-list-item-checkbox.checkbox + label, .app-content-list .app-content-list-item:focus .app-content-list-item-checkbox.checkbox + label, .app-content-list .app-content-list-item.active .app-content-list-item-checkbox.checkbox + label {
  4216. display: flex;
  4217. }
  4218. .app-content-list .app-content-list-item .app-content-list-item-checkbox.checkbox + label,
  4219. .app-content-list .app-content-list-item .app-content-list-item-star {
  4220. position: absolute;
  4221. height: 40px;
  4222. width: 40px;
  4223. z-index: 50;
  4224. }
  4225. .app-content-list .app-content-list-item .app-content-list-item-checkbox.checkbox:checked + label, .app-content-list .app-content-list-item .app-content-list-item-checkbox.checkbox:hover + label, .app-content-list .app-content-list-item .app-content-list-item-checkbox.checkbox:focus + label, .app-content-list .app-content-list-item .app-content-list-item-checkbox.checkbox.active + label {
  4226. display: flex;
  4227. }
  4228. .app-content-list .app-content-list-item .app-content-list-item-checkbox.checkbox:checked + label + .app-content-list-item-icon, .app-content-list .app-content-list-item .app-content-list-item-checkbox.checkbox:hover + label + .app-content-list-item-icon, .app-content-list .app-content-list-item .app-content-list-item-checkbox.checkbox:focus + label + .app-content-list-item-icon, .app-content-list .app-content-list-item .app-content-list-item-checkbox.checkbox.active + label + .app-content-list-item-icon {
  4229. opacity: 0.7;
  4230. }
  4231. .app-content-list .app-content-list-item .app-content-list-item-checkbox.checkbox + label {
  4232. top: 14px;
  4233. left: 7px;
  4234. display: none;
  4235. /* Hide the star, priority to the checkbox */
  4236. }
  4237. .app-content-list .app-content-list-item .app-content-list-item-checkbox.checkbox + label::before {
  4238. margin: 0;
  4239. }
  4240. .app-content-list .app-content-list-item .app-content-list-item-checkbox.checkbox + label ~ .app-content-list-item-star {
  4241. display: none;
  4242. }
  4243. .app-content-list .app-content-list-item .app-content-list-item-star {
  4244. display: flex;
  4245. top: 10px;
  4246. left: 32px;
  4247. background-size: 16px;
  4248. height: 20px;
  4249. width: 20px;
  4250. margin: 0;
  4251. padding: 0;
  4252. }
  4253. .app-content-list .app-content-list-item .app-content-list-item-icon {
  4254. position: absolute;
  4255. display: inline-block;
  4256. height: 40px;
  4257. width: 40px;
  4258. line-height: 40px;
  4259. border-radius: 50%;
  4260. vertical-align: middle;
  4261. margin-right: 10px;
  4262. color: #fff;
  4263. text-align: center;
  4264. font-size: 1.5em;
  4265. text-transform: capitalize;
  4266. object-fit: cover;
  4267. user-select: none;
  4268. cursor: pointer;
  4269. top: 50%;
  4270. margin-top: -20px;
  4271. }
  4272. .app-content-list .app-content-list-item .app-content-list-item-line-one,
  4273. .app-content-list .app-content-list-item .app-content-list-item-line-two {
  4274. display: block;
  4275. padding-left: 50px;
  4276. white-space: nowrap;
  4277. overflow: hidden;
  4278. text-overflow: ellipsis;
  4279. order: 1;
  4280. flex: 1 1 0px;
  4281. padding-right: 10px;
  4282. cursor: pointer;
  4283. }
  4284. .app-content-list .app-content-list-item .app-content-list-item-line-two {
  4285. opacity: 0.5;
  4286. order: 3;
  4287. flex: 1 0;
  4288. flex-basis: calc(100% - 44px);
  4289. }
  4290. .app-content-list .app-content-list-item .app-content-list-item-details {
  4291. order: 2;
  4292. white-space: nowrap;
  4293. overflow: hidden;
  4294. text-overflow: ellipsis;
  4295. max-width: 100px;
  4296. opacity: 0.5;
  4297. font-size: 80%;
  4298. user-select: none;
  4299. }
  4300. .app-content-list .app-content-list-item .app-content-list-item-menu {
  4301. order: 4;
  4302. position: relative;
  4303. }
  4304. .app-content-list .app-content-list-item .app-content-list-item-menu .popovermenu {
  4305. margin: 0;
  4306. right: -2px;
  4307. }
  4308. .app-content-list.selection .app-content-list-item-checkbox.checkbox + label {
  4309. display: flex;
  4310. }
  4311. /* Copyright (c) 2015, Raghu Nayyar, http://raghunayyar.com
  4312. This file is licensed under the Affero General Public License version 3 or later.
  4313. See the COPYING-README file. */
  4314. /* Global Components */
  4315. .pull-left {
  4316. float: left;
  4317. }
  4318. .pull-right {
  4319. float: right;
  4320. }
  4321. .clear-left {
  4322. clear: left;
  4323. }
  4324. .clear-right {
  4325. clear: right;
  4326. }
  4327. .clear-both {
  4328. clear: both;
  4329. }
  4330. .hidden {
  4331. display: none;
  4332. }
  4333. .hidden-visually {
  4334. position: absolute;
  4335. left: -10000px;
  4336. top: -10000px;
  4337. width: 1px;
  4338. height: 1px;
  4339. overflow: hidden;
  4340. }
  4341. .bold {
  4342. font-weight: 600;
  4343. }
  4344. .center {
  4345. text-align: center;
  4346. }
  4347. .inlineblock {
  4348. display: inline-block;
  4349. }
  4350. /* ---- BROWSER-SPECIFIC FIXES ---- */
  4351. /* remove dotted outlines in Firefox */
  4352. ::-moz-focus-inner {
  4353. border: 0;
  4354. }
  4355. /**
  4356. * @copyright Copyright (c) 2018, John Molakvoæ (skjnldsv@protonmail.com)
  4357. *
  4358. * @author John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
  4359. *
  4360. * @license GNU AGPL version 3 or any later version
  4361. *
  4362. * This program is free software: you can redistribute it and/or modify
  4363. * it under the terms of the GNU Affero General Public License as
  4364. * published by the Free Software Foundation, either version 3 of the
  4365. * License, or (at your option) any later version.
  4366. *
  4367. * This program is distributed in the hope that it will be useful,
  4368. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  4369. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  4370. * GNU Affero General Public License for more details.
  4371. *
  4372. * You should have received a copy of the GNU Affero General Public License
  4373. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  4374. *
  4375. */
  4376. @media only screen and (max-width: 1024px) {
  4377. /* position share dropdown */
  4378. #dropdown {
  4379. margin-right: 10% !important;
  4380. width: 80% !important;
  4381. }
  4382. /* fix name autocomplete not showing on mobile */
  4383. .ui-autocomplete {
  4384. z-index: 1000 !important;
  4385. }
  4386. /* fix error display on smaller screens */
  4387. .error-wide {
  4388. width: 100%;
  4389. margin-left: 0 !important;
  4390. box-sizing: border-box;
  4391. }
  4392. /* APP SIDEBAR TOGGLE and SWIPE ----------------------------------------------*/
  4393. #app-navigation:not(.vue) {
  4394. transform: translateX(-300px);
  4395. position: fixed;
  4396. height: var(--body-height);
  4397. }
  4398. .snapjs-left #app-navigation {
  4399. transform: translateX(0);
  4400. }
  4401. #app-navigation:not(.hidden) + #app-content {
  4402. margin-left: 0;
  4403. }
  4404. .skip-navigation.skip-content {
  4405. left: 3px;
  4406. margin-left: 0;
  4407. }
  4408. /* full width for message list on mobile */
  4409. .app-content-list {
  4410. background: var(--color-main-background);
  4411. flex: 1 1 100%;
  4412. max-height: unset;
  4413. max-width: 100%;
  4414. }
  4415. .app-content-list + .app-content-details {
  4416. display: none;
  4417. }
  4418. .app-content-list.showdetails {
  4419. display: none;
  4420. }
  4421. .app-content-list.showdetails + .app-content-details {
  4422. display: initial;
  4423. }
  4424. /* Show app details page */
  4425. #app-content.showdetails #app-navigation-toggle {
  4426. transform: translateX(-44px);
  4427. }
  4428. #app-content.showdetails #app-navigation-toggle-back {
  4429. position: fixed;
  4430. display: inline-block !important;
  4431. top: 50px;
  4432. left: 0;
  4433. width: 44px;
  4434. height: 44px;
  4435. z-index: 1050;
  4436. background-color: rgba(255, 255, 255, 0.7);
  4437. cursor: pointer;
  4438. opacity: 0.6;
  4439. transform: rotate(90deg);
  4440. }
  4441. #app-content.showdetails .app-content-list {
  4442. transform: translateX(-100%);
  4443. }
  4444. #app-navigation-toggle {
  4445. position: fixed;
  4446. display: inline-block !important;
  4447. left: 0;
  4448. width: 44px;
  4449. height: 44px;
  4450. z-index: 1050;
  4451. cursor: pointer;
  4452. opacity: 0.6;
  4453. }
  4454. #app-navigation-toggle:hover,
  4455. #app-navigation-toggle:focus {
  4456. opacity: 1;
  4457. }
  4458. /* position controls for apps with app-navigation */
  4459. #app-navigation + #app-content .files-controls {
  4460. padding-left: 44px;
  4461. }
  4462. /* .viewer-mode is when text editor, PDF viewer, etc is open */
  4463. #body-user .app-files.viewer-mode .files-controls {
  4464. padding-left: 0 !important;
  4465. }
  4466. .app-files.viewer-mode #app-navigation-toggle {
  4467. display: none !important;
  4468. }
  4469. table.multiselect thead {
  4470. left: 0 !important;
  4471. }
  4472. /* prevent overflow in user management controls bar */
  4473. #usersearchform {
  4474. display: none;
  4475. }
  4476. #body-settings .files-controls {
  4477. min-width: 1024px !important;
  4478. }
  4479. /* do not show dates in filepicker */
  4480. #oc-dialog-filepicker-content .filelist .column-size,
  4481. #oc-dialog-filepicker-content .filelist .column-mtime,
  4482. #oc-dialog-filepicker-content .filelist .filesize,
  4483. #oc-dialog-filepicker-content .filelist .date {
  4484. display: none;
  4485. }
  4486. #oc-dialog-filepicker-content .filelist .filename {
  4487. max-width: 100%;
  4488. }
  4489. .snapjs-left table.multiselect thead {
  4490. top: 44px;
  4491. }
  4492. /* end of media query */
  4493. }
  4494. @media only screen and (max-width: 480px) {
  4495. #header .header-right > div > .menu {
  4496. max-width: calc(100vw - 10px);
  4497. position: fixed;
  4498. }
  4499. #header .header-right > div > .menu::after {
  4500. display: none !important;
  4501. }
  4502. /* Arrow directly child of menutoggle */
  4503. #header .header-right > div {
  4504. /* settings need a different offset, since they have a right padding */
  4505. }
  4506. #header .header-right > div.openedMenu::after {
  4507. display: block;
  4508. }
  4509. #header .header-right > div::after {
  4510. border: 10px solid transparent;
  4511. border-bottom-color: var(--color-main-background);
  4512. bottom: 0;
  4513. content: " ";
  4514. height: 0;
  4515. width: 0;
  4516. position: absolute;
  4517. pointer-events: none;
  4518. right: 15px;
  4519. z-index: 2001;
  4520. display: none;
  4521. }
  4522. #header .header-right > div#settings::after {
  4523. right: 27px;
  4524. }
  4525. }
  4526. /**
  4527. * @copyright Copyright (c) 2016, John Molakvoæ <skjnldsv@protonmail.com>
  4528. * @copyright Copyright (c) 2016, Robin Appelman <robin@icewind.nl>
  4529. * @copyright Copyright (c) 2016, Jan-Christoph Borchardt <hey@jancborchardt.net>
  4530. * @copyright Copyright (c) 2016, Erik Pellikka <erik@pellikka.org>
  4531. * @copyright Copyright (c) 2015, Vincent Petry <pvince81@owncloud.com>
  4532. *
  4533. * Bootstrap v3.3.5 (http://getbootstrap.com)
  4534. * Copyright 2011-2015 Twitter, Inc.
  4535. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
  4536. */
  4537. .tooltip {
  4538. position: absolute;
  4539. display: block;
  4540. font-family: var(--font-face);
  4541. font-style: normal;
  4542. font-weight: normal;
  4543. letter-spacing: normal;
  4544. line-break: auto;
  4545. line-height: 1.6;
  4546. text-align: left;
  4547. text-align: start;
  4548. text-decoration: none;
  4549. text-shadow: none;
  4550. text-transform: none;
  4551. white-space: normal;
  4552. word-break: normal;
  4553. word-spacing: normal;
  4554. word-wrap: normal;
  4555. overflow-wrap: anywhere;
  4556. font-size: 12px;
  4557. opacity: 0;
  4558. z-index: 100000;
  4559. /* default to top */
  4560. margin-top: -3px;
  4561. padding: 10px 0;
  4562. filter: drop-shadow(0 1px 10px var(--color-box-shadow));
  4563. /* TOP */
  4564. /* BOTTOM */
  4565. }
  4566. .tooltip.in, .tooltip.show, .tooltip.tooltip[aria-hidden=false] {
  4567. visibility: visible;
  4568. opacity: 1;
  4569. transition: opacity 0.15s;
  4570. }
  4571. .tooltip.top .tooltip-arrow, .tooltip[x-placement^=top] {
  4572. left: 50%;
  4573. margin-left: -10px;
  4574. }
  4575. .tooltip.bottom, .tooltip[x-placement^=bottom] {
  4576. margin-top: 3px;
  4577. padding: 10px 0;
  4578. }
  4579. .tooltip.right, .tooltip[x-placement^=right] {
  4580. margin-left: 3px;
  4581. padding: 0 10px;
  4582. }
  4583. .tooltip.right .tooltip-arrow, .tooltip[x-placement^=right] .tooltip-arrow {
  4584. top: 50%;
  4585. left: 0;
  4586. margin-top: -10px;
  4587. border-width: 10px 10px 10px 0;
  4588. border-right-color: var(--color-main-background);
  4589. }
  4590. .tooltip.left, .tooltip[x-placement^=left] {
  4591. margin-left: -3px;
  4592. padding: 0 5px;
  4593. }
  4594. .tooltip.left .tooltip-arrow, .tooltip[x-placement^=left] .tooltip-arrow {
  4595. top: 50%;
  4596. right: 0;
  4597. margin-top: -10px;
  4598. border-width: 10px 0 10px 10px;
  4599. border-left-color: var(--color-main-background);
  4600. }
  4601. .tooltip.top .tooltip-arrow, .tooltip.top .arrow, .tooltip.top-left .tooltip-arrow, .tooltip.top-left .arrow, .tooltip[x-placement^=top] .tooltip-arrow, .tooltip[x-placement^=top] .arrow, .tooltip.top-right .tooltip-arrow, .tooltip.top-right .arrow {
  4602. bottom: 0;
  4603. border-width: 10px 10px 0;
  4604. border-top-color: var(--color-main-background);
  4605. }
  4606. .tooltip.top-left .tooltip-arrow {
  4607. right: 10px;
  4608. margin-bottom: -10px;
  4609. }
  4610. .tooltip.top-right .tooltip-arrow {
  4611. left: 10px;
  4612. margin-bottom: -10px;
  4613. }
  4614. .tooltip.bottom .tooltip-arrow, .tooltip.bottom .arrow, .tooltip[x-placement^=bottom] .tooltip-arrow, .tooltip[x-placement^=bottom] .arrow, .tooltip.bottom-left .tooltip-arrow, .tooltip.bottom-left .arrow, .tooltip.bottom-right .tooltip-arrow, .tooltip.bottom-right .arrow {
  4615. top: 0;
  4616. border-width: 0 10px 10px;
  4617. border-bottom-color: var(--color-main-background);
  4618. }
  4619. .tooltip[x-placement^=bottom] .tooltip-arrow, .tooltip.bottom .tooltip-arrow {
  4620. left: 50%;
  4621. margin-left: -10px;
  4622. }
  4623. .tooltip.bottom-left .tooltip-arrow {
  4624. right: 10px;
  4625. margin-top: -10px;
  4626. }
  4627. .tooltip.bottom-right .tooltip-arrow {
  4628. left: 10px;
  4629. margin-top: -10px;
  4630. }
  4631. .tooltip-inner {
  4632. max-width: 350px;
  4633. padding: 5px 8px;
  4634. background-color: var(--color-main-background);
  4635. color: var(--color-main-text);
  4636. text-align: center;
  4637. border-radius: var(--border-radius);
  4638. }
  4639. .tooltip-arrow, .tooltip .arrow {
  4640. position: absolute;
  4641. width: 0;
  4642. height: 0;
  4643. border-color: transparent;
  4644. border-style: solid;
  4645. }
  4646. /**
  4647. * @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>
  4648. *
  4649. * @author Julius Härtl <jus@bitgrid.net>
  4650. * @author John Molakvoæ <skjnldsv@protonmail.com>
  4651. *
  4652. * @license GNU AGPL version 3 or any later version
  4653. *
  4654. * This program is free software: you can redistribute it and/or modify
  4655. * it under the terms of the GNU Affero General Public License as
  4656. * published by the Free Software Foundation, either version 3 of the
  4657. * License, or (at your option) any later version.
  4658. *
  4659. * This program is distributed in the hope that it will be useful,
  4660. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  4661. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  4662. * GNU Affero General Public License for more details.
  4663. *
  4664. * You should have received a copy of the GNU Affero General Public License
  4665. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  4666. */
  4667. .toastify.dialogs {
  4668. min-width: 200px;
  4669. background: none;
  4670. background-color: var(--color-main-background);
  4671. color: var(--color-main-text);
  4672. box-shadow: 0 0 6px 0 var(--color-box-shadow);
  4673. padding: 0 12px;
  4674. margin-top: 45px;
  4675. position: fixed;
  4676. z-index: 10100;
  4677. border-radius: var(--border-radius);
  4678. display: flex;
  4679. align-items: center;
  4680. }
  4681. .toastify.dialogs .toast-undo-container {
  4682. display: flex;
  4683. align-items: center;
  4684. }
  4685. .toastify.dialogs .toast-undo-button,
  4686. .toastify.dialogs .toast-close {
  4687. position: static;
  4688. overflow: hidden;
  4689. box-sizing: border-box;
  4690. min-width: 44px;
  4691. height: 100%;
  4692. padding: 12px;
  4693. white-space: nowrap;
  4694. background-repeat: no-repeat;
  4695. background-position: center;
  4696. background-color: transparent;
  4697. min-height: 0;
  4698. }
  4699. .toastify.dialogs .toast-undo-button.toast-close,
  4700. .toastify.dialogs .toast-close.toast-close {
  4701. text-indent: 0;
  4702. opacity: 0.4;
  4703. border: none;
  4704. min-height: 44px;
  4705. margin-left: 10px;
  4706. font-size: 0;
  4707. /* dark theme overrides for Nextcloud 25 and later */
  4708. }
  4709. .toastify.dialogs .toast-undo-button.toast-close::before,
  4710. .toastify.dialogs .toast-close.toast-close::before {
  4711. background-image: url("./close.svg");
  4712. content: " ";
  4713. filter: var(--background-invert-if-dark);
  4714. display: inline-block;
  4715. width: 16px;
  4716. height: 16px;
  4717. }
  4718. .toastify.dialogs .toast-undo-button.toast-undo-button,
  4719. .toastify.dialogs .toast-close.toast-undo-button {
  4720. margin: 3px;
  4721. height: calc(100% - 2 * 3px);
  4722. margin-left: 12px;
  4723. }
  4724. .toastify.dialogs .toast-undo-button:hover, .toastify.dialogs .toast-undo-button:focus, .toastify.dialogs .toast-undo-button:active,
  4725. .toastify.dialogs .toast-close:hover,
  4726. .toastify.dialogs .toast-close:focus,
  4727. .toastify.dialogs .toast-close:active {
  4728. cursor: pointer;
  4729. opacity: 1;
  4730. }
  4731. .toastify.dialogs.toastify-top {
  4732. right: 10px;
  4733. }
  4734. .toastify.dialogs.toast-with-click {
  4735. cursor: pointer;
  4736. }
  4737. .toastify.dialogs.toast-error {
  4738. border-left: 3px solid var(--color-error);
  4739. }
  4740. .toastify.dialogs.toast-info {
  4741. border-left: 3px solid var(--color-primary);
  4742. }
  4743. .toastify.dialogs.toast-warning {
  4744. border-left: 3px solid var(--color-warning);
  4745. }
  4746. .toastify.dialogs.toast-success {
  4747. border-left: 3px solid var(--color-success);
  4748. }
  4749. .toastify.dialogs.toast-undo {
  4750. border-left: 3px solid var(--color-success);
  4751. }
  4752. /* dark theme overrides for Nextcloud 24 and earlier */
  4753. .theme--dark .toastify.dialogs .toast-close {
  4754. /* close icon style */
  4755. }
  4756. .theme--dark .toastify.dialogs .toast-close.toast-close::before {
  4757. background-image: url("./close-dark.svg");
  4758. }
  4759. #body-public {
  4760. /** don't apply content header padding on the base layout */
  4761. /* force layout to make sure the content element's height matches its contents' height */
  4762. /* public footer */
  4763. }
  4764. #body-public .header-right #header-primary-action a {
  4765. color: var(--color-primary-text);
  4766. }
  4767. #body-public .header-right #header-secondary-action ul li {
  4768. min-width: 270px;
  4769. }
  4770. #body-public .header-right #header-secondary-action #header-actions-toggle {
  4771. background-color: transparent;
  4772. border-color: transparent;
  4773. filter: var(--background-invert-if-dark);
  4774. }
  4775. #body-public .header-right #header-secondary-action #header-actions-toggle:hover, #body-public .header-right #header-secondary-action #header-actions-toggle:focus, #body-public .header-right #header-secondary-action #header-actions-toggle:active {
  4776. opacity: 1;
  4777. }
  4778. #body-public .header-right #header-secondary-action #external-share-menu-item form {
  4779. display: flex;
  4780. }
  4781. #body-public .header-right #header-secondary-action #external-share-menu-item .hidden {
  4782. display: none;
  4783. }
  4784. #body-public .header-right #header-secondary-action #external-share-menu-item #save-button-confirm {
  4785. flex-grow: 0;
  4786. }
  4787. #body-public #content {
  4788. min-height: calc(100% - 65px);
  4789. }
  4790. #body-public.layout-base #content {
  4791. padding-top: 0;
  4792. }
  4793. #body-public .ie #content {
  4794. display: inline-block;
  4795. }
  4796. #body-public p.info {
  4797. margin: 20px auto;
  4798. text-shadow: 0 0 2px rgba(0, 0, 0, 0.4);
  4799. -moz-user-select: none;
  4800. -ms-user-select: none;
  4801. user-select: none;
  4802. }
  4803. #body-public p.info, #body-public form fieldset legend,
  4804. #body-public #datadirContent label,
  4805. #body-public form fieldset .warning-info,
  4806. #body-public form input[type=checkbox] + label {
  4807. text-align: center;
  4808. }
  4809. #body-public footer {
  4810. position: fixed;
  4811. display: flex;
  4812. align-items: center;
  4813. justify-content: center;
  4814. height: 65px;
  4815. flex-direction: column;
  4816. bottom: 0;
  4817. width: calc(100% - 16px);
  4818. margin: 8px;
  4819. background-color: var(--color-main-background);
  4820. border-radius: var(--border-radius-large);
  4821. }
  4822. #body-public footer p {
  4823. text-align: center;
  4824. color: var(--color-text-lighter);
  4825. }
  4826. #body-public footer p a {
  4827. color: var(--color-text-lighter);
  4828. font-weight: bold;
  4829. white-space: nowrap;
  4830. /* increasing clickability to more than the text height */
  4831. padding: 10px;
  4832. margin: -10px;
  4833. line-height: 200%;
  4834. }
  4835. /*# sourceMappingURL=server.css.map */