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 158KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831
  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(--background-image-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. /* Progressbar */
  1853. progress:not(.vue) {
  1854. display: block;
  1855. width: 100%;
  1856. padding: 0;
  1857. border: 0 none;
  1858. background-color: var(--color-background-dark);
  1859. border-radius: var(--border-radius);
  1860. flex-basis: 100%;
  1861. height: 5px;
  1862. overflow: hidden;
  1863. }
  1864. progress:not(.vue).warn::-moz-progress-bar {
  1865. background: var(--color-error);
  1866. }
  1867. progress:not(.vue).warn::-webkit-progress-value {
  1868. background: var(--color-error);
  1869. }
  1870. progress:not(.vue)::-webkit-progress-bar {
  1871. background: transparent;
  1872. }
  1873. progress:not(.vue)::-moz-progress-bar {
  1874. border-radius: var(--border-radius);
  1875. background: var(--color-primary);
  1876. transition: 250ms all ease-in-out;
  1877. }
  1878. progress:not(.vue)::-webkit-progress-value {
  1879. border-radius: var(--border-radius);
  1880. background: var(--color-primary);
  1881. transition: 250ms all ease-in-out;
  1882. }
  1883. /* Animation */
  1884. @keyframes shake {
  1885. 10%, 90% {
  1886. transform: translate(-1px);
  1887. }
  1888. 20%, 80% {
  1889. transform: translate(2px);
  1890. }
  1891. 30%, 50%, 70% {
  1892. transform: translate(-4px);
  1893. }
  1894. 40%, 60% {
  1895. transform: translate(4px);
  1896. }
  1897. }
  1898. .shake {
  1899. animation-name: shake;
  1900. animation-duration: 0.7s;
  1901. animation-timing-function: ease-out;
  1902. }
  1903. label.infield {
  1904. position: absolute;
  1905. left: -10000px;
  1906. top: -10000px;
  1907. width: 1px;
  1908. height: 1px;
  1909. overflow: hidden;
  1910. }
  1911. ::placeholder,
  1912. ::-ms-input-placeholder,
  1913. ::-webkit-input-placeholder {
  1914. color: var(--color-text-maxcontrast);
  1915. font-size: var(--default-font-size);
  1916. }
  1917. /**
  1918. * @copyright Copyright (c) 2018, John Molakvoæ (skjnldsv@protonmail.com)
  1919. *
  1920. * @author John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
  1921. *
  1922. * @license GNU AGPL version 3 or any later version
  1923. *
  1924. * This program is free software: you can redistribute it and/or modify
  1925. * it under the terms of the GNU Affero General Public License as
  1926. * published by the Free Software Foundation, either version 3 of the
  1927. * License, or (at your option) any later version.
  1928. *
  1929. * This program is distributed in the hope that it will be useful,
  1930. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  1931. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  1932. * GNU Affero General Public License for more details.
  1933. *
  1934. * You should have received a copy of the GNU Affero General Public License
  1935. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  1936. *
  1937. */
  1938. /**
  1939. * @copyright Copyright (c) 2016, John Molakvoæ <skjnldsv@protonmail.com>
  1940. * @copyright Copyright (c) 2016, Julius Haertl <jus@bitgrid.net>
  1941. * @copyright Copyright (c) 2016, Lukas Reschke <lukas@statuscode.ch>
  1942. * @copyright Copyright (c) 2016, Jos Poortvliet <jos@opensuse.org>
  1943. * @copyright Copyright (c) 2016, Erik Pellikka <erik@pellikka.org>
  1944. * @copyright Copyright (c) 2016, jowi <sjw@gmx.ch>
  1945. * @copyright Copyright (c) 2015, Hendrik Leppelsack <hendrik@leppelsack.de>
  1946. * @copyright Copyright (c) 2015, Volker E <volker.e@temporaer.net>
  1947. * @copyright Copyright (c) 2014-2017, Jan-Christoph Borchardt <hey@jancborchardt.net>
  1948. *
  1949. * @license GNU AGPL version 3 or any later version
  1950. *
  1951. */
  1952. /* prevent ugly selection effect on accidental selection */
  1953. #header,
  1954. #expanddiv {
  1955. -webkit-user-select: none;
  1956. -moz-user-select: none;
  1957. -ms-user-select: none;
  1958. }
  1959. #header a:not(.button):focus-visible, #header button:not(.button-vue):focus-visible, #header div[role=button]:focus-visible,
  1960. #expanddiv a:not(.button):focus-visible,
  1961. #expanddiv button:not(.button-vue):focus-visible,
  1962. #expanddiv div[role=button]:focus-visible {
  1963. box-shadow: inset 0 0 0 2px var(--color-primary-text);
  1964. border-radius: var(--border-radius);
  1965. outline: none;
  1966. }
  1967. /* HEADERS ------------------------------------------------------------------ */
  1968. #body-user #header,
  1969. #body-settings #header,
  1970. #body-public #header {
  1971. display: inline-flex;
  1972. position: absolute;
  1973. top: 0;
  1974. width: 100%;
  1975. z-index: 2000;
  1976. height: 50px;
  1977. box-sizing: border-box;
  1978. justify-content: space-between;
  1979. }
  1980. /* LOGO and APP NAME -------------------------------------------------------- */
  1981. #nextcloud {
  1982. padding: 5px 0;
  1983. padding-left: 86px;
  1984. position: relative;
  1985. height: calc(100% - 4px);
  1986. box-sizing: border-box;
  1987. opacity: 1;
  1988. align-items: center;
  1989. display: flex;
  1990. flex-wrap: wrap;
  1991. overflow: hidden;
  1992. margin: 2px;
  1993. }
  1994. #nextcloud:hover, #nextcloud:active {
  1995. opacity: 1;
  1996. }
  1997. #header {
  1998. /* Header menu */
  1999. /* Right header standard */
  2000. }
  2001. #header .header-right > div > .menu {
  2002. background-color: var(--color-main-background);
  2003. filter: drop-shadow(0 1px 5px var(--color-box-shadow));
  2004. border-radius: var(--border-radius-large);
  2005. box-sizing: border-box;
  2006. z-index: 2000;
  2007. position: absolute;
  2008. max-width: 350px;
  2009. min-height: 66px;
  2010. max-height: calc(100vh - 50px - 8px);
  2011. right: 8px;
  2012. top: 50px;
  2013. margin: 0;
  2014. overflow-y: auto;
  2015. /* Dropdown arrow */
  2016. /* Use by the settings right menu */
  2017. }
  2018. #header .header-right > div > .menu:not(.popovermenu) {
  2019. display: none;
  2020. }
  2021. #header .header-right > div > .menu:after {
  2022. border: 10px solid transparent;
  2023. border-bottom-color: var(--color-main-background);
  2024. bottom: 100%;
  2025. content: " ";
  2026. height: 0;
  2027. width: 0;
  2028. position: absolute;
  2029. pointer-events: none;
  2030. right: 10px;
  2031. }
  2032. #header .header-right > div > .menu > div, #header .header-right > div > .menu > ul {
  2033. -webkit-overflow-scrolling: touch;
  2034. min-height: 66px;
  2035. max-height: calc(100vh - 50px - 8px);
  2036. }
  2037. #header .header-right > div > .menu.settings-menu > ul {
  2038. padding: 4px;
  2039. display: flex;
  2040. flex-direction: column;
  2041. gap: 2px;
  2042. }
  2043. #header .header-right > div > .menu.settings-menu > ul li a {
  2044. border-radius: 6px;
  2045. display: inline-flex;
  2046. align-items: center;
  2047. height: 44px;
  2048. color: var(--color-main-text);
  2049. padding: 10px 12px;
  2050. box-sizing: border-box;
  2051. white-space: nowrap;
  2052. position: relative;
  2053. width: 100%;
  2054. }
  2055. #header .header-right > div > .menu.settings-menu > ul li a:hover, #header .header-right > div > .menu.settings-menu > ul li a:focus {
  2056. background-color: var(--color-background-hover);
  2057. }
  2058. #header .header-right > div > .menu.settings-menu > ul li a:active, #header .header-right > div > .menu.settings-menu > ul li a.active {
  2059. background-color: var(--color-primary-light);
  2060. }
  2061. #header .header-right > div > .menu.settings-menu > ul li a:focus-visible {
  2062. box-shadow: inset 0 0 0 2px var(--color-primary);
  2063. outline: none;
  2064. }
  2065. #header .header-right > div > .menu.settings-menu > ul li a span {
  2066. display: inline-block;
  2067. padding-bottom: 0;
  2068. color: var(--color-main-text);
  2069. white-space: nowrap;
  2070. overflow: hidden;
  2071. text-overflow: ellipsis;
  2072. max-width: 110px;
  2073. }
  2074. #header .header-right > div > .menu.settings-menu > ul li a .icon-loading-small {
  2075. margin-right: 10px;
  2076. background-size: 16px 16px;
  2077. }
  2078. #header .header-right > div > .menu.settings-menu > ul li a img,
  2079. #header .header-right > div > .menu.settings-menu > ul li a svg {
  2080. opacity: 0.7;
  2081. margin-right: 10px;
  2082. height: 16px;
  2083. width: 16px;
  2084. filter: var(--background-invert-if-dark);
  2085. }
  2086. #header .logo {
  2087. display: inline-flex;
  2088. background-image: var(--image-logoheader, var(--image-logo, url("../img/logo/logo.svg")));
  2089. background-repeat: no-repeat;
  2090. background-size: contain;
  2091. background-position: center;
  2092. width: 62px;
  2093. position: absolute;
  2094. left: 12px;
  2095. top: 1px;
  2096. bottom: 1px;
  2097. filter: var(--image-logoheader-custom, var(--background-image-invert-if-bright));
  2098. }
  2099. #header .header-appname-container {
  2100. display: none;
  2101. padding-right: 10px;
  2102. flex-shrink: 0;
  2103. }
  2104. #header #header-left, #header .header-left,
  2105. #header #header-right, #header .header-right {
  2106. display: inline-flex;
  2107. align-items: center;
  2108. }
  2109. #header #header-left, #header .header-left {
  2110. flex: 1 0;
  2111. white-space: nowrap;
  2112. min-width: 0;
  2113. }
  2114. #header #header-right, #header .header-right {
  2115. justify-content: flex-end;
  2116. flex-shrink: 1;
  2117. }
  2118. #header .header-right > div,
  2119. #header .header-right > form {
  2120. height: 100%;
  2121. position: relative;
  2122. }
  2123. #header .header-right > div > .menutoggle,
  2124. #header .header-right > form > .menutoggle {
  2125. display: flex;
  2126. justify-content: center;
  2127. align-items: center;
  2128. width: 50px;
  2129. height: 44px;
  2130. cursor: pointer;
  2131. opacity: 0.85;
  2132. padding: 0;
  2133. margin: 2px 0;
  2134. }
  2135. #header .header-right > div > .menutoggle:focus,
  2136. #header .header-right > form > .menutoggle:focus {
  2137. opacity: 1;
  2138. }
  2139. #header .header-right > div > .menutoggle:focus-visible,
  2140. #header .header-right > form > .menutoggle:focus-visible {
  2141. outline: none;
  2142. }
  2143. /* hover effect for app switcher label */
  2144. .header-appname-container .header-appname {
  2145. opacity: 0.75;
  2146. }
  2147. /* TODO: move into minimal css file for public shared template */
  2148. /* only used for public share pages now as we have the app icons when logged in */
  2149. .header-appname {
  2150. color: var(--color-primary-text);
  2151. font-size: 16px;
  2152. font-weight: bold;
  2153. margin: 0;
  2154. padding: 0;
  2155. padding-right: 5px;
  2156. overflow: hidden;
  2157. text-overflow: ellipsis;
  2158. flex: 1 1 100%;
  2159. }
  2160. .header-shared-by {
  2161. color: var(--color-primary-text);
  2162. position: relative;
  2163. font-weight: 300;
  2164. font-size: 11px;
  2165. line-height: 11px;
  2166. overflow: hidden;
  2167. text-overflow: ellipsis;
  2168. }
  2169. /* USER MENU -----------------------------------------------------------------*/
  2170. #settings {
  2171. display: inline-block;
  2172. height: 100%;
  2173. cursor: pointer;
  2174. flex: 0 0 auto;
  2175. /* User menu on the right */
  2176. }
  2177. #settings #expand {
  2178. opacity: 1;
  2179. /* override icon opacity */
  2180. margin-right: 12px;
  2181. /* Profile picture in header */
  2182. /* show triangle below user menu if active */
  2183. }
  2184. #settings #expand:hover, #settings #expand:focus, #settings #expand:active {
  2185. color: var(--color-primary-text);
  2186. }
  2187. #settings #expand:hover #expandDisplayName,
  2188. #settings #expand:hover .avatardiv, #settings #expand:focus #expandDisplayName,
  2189. #settings #expand:focus .avatardiv, #settings #expand:active #expandDisplayName,
  2190. #settings #expand:active .avatardiv {
  2191. border-radius: 50%;
  2192. border: 2px solid var(--color-primary-text);
  2193. margin: -2px;
  2194. }
  2195. #settings #expand:hover .avatardiv, #settings #expand:focus .avatardiv, #settings #expand:active .avatardiv {
  2196. background-color: var(--color-primary-text);
  2197. }
  2198. #settings #expand:hover #expandDisplayName, #settings #expand:focus #expandDisplayName, #settings #expand:active #expandDisplayName {
  2199. opacity: 1;
  2200. }
  2201. #settings #expand .avatardiv {
  2202. cursor: pointer;
  2203. height: 32px;
  2204. width: 32px;
  2205. /* do not show display name when profile picture is present */
  2206. }
  2207. #settings #expand .avatardiv img {
  2208. opacity: 1;
  2209. cursor: pointer;
  2210. }
  2211. #settings #expand .avatardiv.avatardiv-shown + #expandDisplayName {
  2212. display: none;
  2213. }
  2214. #settings #expand #expandDisplayName {
  2215. padding: 8px;
  2216. opacity: 0.6;
  2217. cursor: pointer;
  2218. /* full opacity for gear icon if active */
  2219. }
  2220. #body-settings #settings #expand #expandDisplayName {
  2221. opacity: 1;
  2222. }
  2223. #body-settings #settings #expand:before {
  2224. content: " ";
  2225. height: 0;
  2226. width: 0;
  2227. position: absolute;
  2228. pointer-events: none;
  2229. bottom: 2px;
  2230. z-index: 100;
  2231. display: block;
  2232. width: 10px;
  2233. height: 5px;
  2234. border-radius: 3px;
  2235. background-color: var(--color-primary-text);
  2236. }
  2237. #settings #expanddiv:after {
  2238. right: 22px;
  2239. }
  2240. /* Skip navigation links – show only on keyboard focus */
  2241. #skip-actions {
  2242. position: absolute;
  2243. overflow: hidden;
  2244. z-index: 9999;
  2245. top: -999px;
  2246. left: 3px;
  2247. height: 50px;
  2248. padding: 11px;
  2249. }
  2250. #skip-actions:focus-within {
  2251. top: 50px;
  2252. }
  2253. /* Empty content messages in the header e.g. notifications, contacts menu, … */
  2254. header #emptycontent h2,
  2255. header .emptycontent h2 {
  2256. font-weight: normal;
  2257. font-size: 16px;
  2258. }
  2259. header #emptycontent [class^=icon-],
  2260. header #emptycontent [class*=icon-],
  2261. header .emptycontent [class^=icon-],
  2262. header .emptycontent [class*=icon-] {
  2263. background-size: 48px;
  2264. height: 48px;
  2265. width: 48px;
  2266. }
  2267. /**
  2268. * @copyright Copyright (c) 2018, John Molakvoæ (skjnldsv@protonmail.com)
  2269. *
  2270. * @author John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
  2271. *
  2272. * @license GNU AGPL version 3 or any later version
  2273. *
  2274. * This program is free software: you can redistribute it and/or modify
  2275. * it under the terms of the GNU Affero General Public License as
  2276. * published by the Free Software Foundation, either version 3 of the
  2277. * License, or (at your option) any later version.
  2278. *
  2279. * This program is distributed in the hope that it will be useful,
  2280. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  2281. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  2282. * GNU Affero General Public License for more details.
  2283. *
  2284. * You should have received a copy of the GNU Affero General Public License
  2285. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  2286. *
  2287. */
  2288. /**
  2289. * @copyright Copyright (c) 2018, John Molakvoæ (skjnldsv@protonmail.com)
  2290. *
  2291. * @author John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
  2292. * @author Joas Schilling <coding@schilljs.com>
  2293. * @author Lukas Reschke <lukas@statuscode.ch>
  2294. * @author Roeland Jago Douma <roeland@famdouma.nl>
  2295. * @author Vincent Chan <plus.vincchan@gmail.com>
  2296. * @author Thomas Müller <thomas.mueller@tmit.eu>
  2297. * @author Hendrik Leppelsack <hendrik@leppelsack.de>
  2298. * @author Jan-Christoph Borchardt <hey@jancborchardt.net>
  2299. *
  2300. * @license GNU AGPL version 3 or any later version
  2301. *
  2302. * This program is free software: you can redistribute it and/or modify
  2303. * it under the terms of the GNU Affero General Public License as
  2304. * published by the Free Software Foundation, either version 3 of the
  2305. * License, or (at your option) any later version.
  2306. *
  2307. * This program is distributed in the hope that it will be useful,
  2308. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  2309. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  2310. * GNU Affero General Public License for more details.
  2311. *
  2312. * You should have received a copy of the GNU Affero General Public License
  2313. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  2314. *
  2315. */
  2316. /**
  2317. * @copyright Copyright (c) 2018, John Molakvoæ (skjnldsv@protonmail.com)
  2318. *
  2319. * @author John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
  2320. *
  2321. * @license GNU AGPL version 3 or any later version
  2322. *
  2323. * This program is free software: you can redistribute it and/or modify
  2324. * it under the terms of the GNU Affero General Public License as
  2325. * published by the Free Software Foundation, either version 3 of the
  2326. * License, or (at your option) any later version.
  2327. *
  2328. * This program is distributed in the hope that it will be useful,
  2329. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  2330. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  2331. * GNU Affero General Public License for more details.
  2332. *
  2333. * You should have received a copy of the GNU Affero General Public License
  2334. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  2335. *
  2336. */
  2337. /**
  2338. * @see core/src/icons.js
  2339. */
  2340. /**
  2341. * SVG COLOR API
  2342. *
  2343. * @param string $icon the icon filename
  2344. * @param string $dir the icon folder within /core/img if $core or app name
  2345. * @param string $color the desired color in hexadecimal
  2346. * @param int $version the version of the file
  2347. * @param bool [$core] search icon in core
  2348. *
  2349. * @returns A background image with the url to the set to the requested icon.
  2350. */
  2351. /* GLOBAL ------------------------------------------------------------------- */
  2352. [class^=icon-], [class*=" icon-"] {
  2353. background-repeat: no-repeat;
  2354. background-position: center;
  2355. min-width: 16px;
  2356. min-height: 16px;
  2357. }
  2358. .icon-breadcrumb {
  2359. background-image: url("../img/breadcrumb.svg?v=1");
  2360. }
  2361. /* LOADING ------------------------------------------------------------------ */
  2362. .loading,
  2363. .loading-small,
  2364. .icon-loading,
  2365. .icon-loading-dark,
  2366. .icon-loading-small,
  2367. .icon-loading-small-dark {
  2368. position: relative;
  2369. }
  2370. .loading:after,
  2371. .loading-small:after,
  2372. .icon-loading:after,
  2373. .icon-loading-dark:after,
  2374. .icon-loading-small:after,
  2375. .icon-loading-small-dark:after {
  2376. z-index: 2;
  2377. content: "";
  2378. height: 28px;
  2379. width: 28px;
  2380. margin: -16px 0 0 -16px;
  2381. position: absolute;
  2382. top: 50%;
  2383. left: 50%;
  2384. border-radius: 100%;
  2385. -webkit-animation: rotate 0.8s infinite linear;
  2386. animation: rotate 0.8s infinite linear;
  2387. -webkit-transform-origin: center;
  2388. -ms-transform-origin: center;
  2389. transform-origin: center;
  2390. border: 2px solid var(--color-loading-light);
  2391. border-top-color: var(--color-loading-dark);
  2392. filter: var(--background-invert-if-dark);
  2393. }
  2394. .primary .loading:after, .primary + .loading:after,
  2395. .primary .loading-small:after,
  2396. .primary + .loading-small:after,
  2397. .primary .icon-loading:after,
  2398. .primary + .icon-loading:after,
  2399. .primary .icon-loading-dark:after,
  2400. .primary + .icon-loading-dark:after,
  2401. .primary .icon-loading-small:after,
  2402. .primary + .icon-loading-small:after,
  2403. .primary .icon-loading-small-dark:after,
  2404. .primary + .icon-loading-small-dark:after {
  2405. filter: var(--primary-invert-if-bright);
  2406. }
  2407. .icon-loading-dark:after,
  2408. .icon-loading-small-dark:after {
  2409. border: 2px solid var(--color-loading-dark);
  2410. border-top-color: var(--color-loading-light);
  2411. }
  2412. .icon-loading-small:after,
  2413. .icon-loading-small-dark:after {
  2414. height: 12px;
  2415. width: 12px;
  2416. margin: -8px 0 0 -8px;
  2417. }
  2418. /* Css replaced elements don't have ::after nor ::before */
  2419. audio.icon-loading, canvas.icon-loading, embed.icon-loading, iframe.icon-loading, img.icon-loading, input.icon-loading, object.icon-loading, video.icon-loading {
  2420. background-image: url("../img/loading.gif");
  2421. }
  2422. 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 {
  2423. background-image: url("../img/loading-dark.gif");
  2424. }
  2425. 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 {
  2426. background-image: url("../img/loading-small.gif");
  2427. }
  2428. 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 {
  2429. background-image: url("../img/loading-small-dark.gif");
  2430. }
  2431. @keyframes rotate {
  2432. from {
  2433. transform: rotate(0deg);
  2434. }
  2435. to {
  2436. transform: rotate(360deg);
  2437. }
  2438. }
  2439. .icon-32 {
  2440. background-size: 32px !important;
  2441. }
  2442. .icon-white.icon-shadow,
  2443. .icon-audio-white,
  2444. .icon-audio-off-white,
  2445. .icon-fullscreen-white,
  2446. .icon-screen-white,
  2447. .icon-screen-off-white,
  2448. .icon-video-white,
  2449. .icon-video-off-white {
  2450. filter: drop-shadow(1px 1px 4px var(--color-box-shadow));
  2451. }
  2452. /* ICONS -------------------------------------------------------------------
  2453. * These icon classes are generated automatically with the following pattern
  2454. * .icon-close (black icon)
  2455. * .icon-close-white (white icon)
  2456. * .icon-close.icon-white (white icon)
  2457. *
  2458. * Some class definitions are kept as before, since they don't follow the pattern
  2459. * or have some additional styling like drop shadows
  2460. */
  2461. /**
  2462. * @copyright Copyright (c) 2018, John Molakvoæ (skjnldsv@protonmail.com)
  2463. *
  2464. * @author John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
  2465. *
  2466. * @license GNU AGPL version 3 or any later version
  2467. *
  2468. * This program is free software: you can redistribute it and/or modify
  2469. * it under the terms of the GNU Affero General Public License as
  2470. * published by the Free Software Foundation, either version 3 of the
  2471. * License, or (at your option) any later version.
  2472. *
  2473. * This program is distributed in the hope that it will be useful,
  2474. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  2475. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  2476. * GNU Affero General Public License for more details.
  2477. *
  2478. * You should have received a copy of the GNU Affero General Public License
  2479. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  2480. *
  2481. */
  2482. /**
  2483. * @copyright Copyright (c) 2016-2017, John Molakvoæ <skjnldsv@protonmail.com>
  2484. * @copyright Copyright (c) 2016, Julius Haertl <jus@bitgrid.net>
  2485. * @copyright Copyright (c) 2016, Morris Jobke <hey@morrisjobke.de>
  2486. * @copyright Copyright (c) 2016, pgys <info@pexlab.space>
  2487. * @copyright Copyright (c) 2016, Lukas Reschke <lukas@statuscode.ch>
  2488. * @copyright Copyright (c) 2016, Stefan Weil <sw@weilnetz.de>
  2489. * @copyright Copyright (c) 2016, Roeland Jago Douma <rullzer@owncloud.com>
  2490. * @copyright Copyright (c) 2016, jowi <sjw@gmx.ch>
  2491. * @copyright Copyright (c) 2015, Hendrik Leppelsack <hendrik@leppelsack.de>
  2492. * @copyright Copyright (c) 2015, Thomas Müller <thomas.mueller@tmit.eu>
  2493. * @copyright Copyright (c) 2015, Vincent Petry <pvince81@owncloud.com>
  2494. * @copyright Copyright (c) 2014-2017, Jan-Christoph Borchardt <hey@jancborchardt.net>
  2495. *
  2496. * @license GNU AGPL version 3 or any later version
  2497. *
  2498. */
  2499. /**
  2500. * @copyright Copyright (c) 2018, John Molakvoæ (skjnldsv@protonmail.com)
  2501. *
  2502. * @author John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
  2503. *
  2504. * @license GNU AGPL version 3 or any later version
  2505. *
  2506. * This program is free software: you can redistribute it and/or modify
  2507. * it under the terms of the GNU Affero General Public License as
  2508. * published by the Free Software Foundation, either version 3 of the
  2509. * License, or (at your option) any later version.
  2510. *
  2511. * This program is distributed in the hope that it will be useful,
  2512. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  2513. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  2514. * GNU Affero General Public License for more details.
  2515. *
  2516. * You should have received a copy of the GNU Affero General Public License
  2517. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  2518. *
  2519. */
  2520. /**
  2521. * @see core/src/icons.js
  2522. */
  2523. /**
  2524. * SVG COLOR API
  2525. *
  2526. * @param string $icon the icon filename
  2527. * @param string $dir the icon folder within /core/img if $core or app name
  2528. * @param string $color the desired color in hexadecimal
  2529. * @param int $version the version of the file
  2530. * @param bool [$core] search icon in core
  2531. *
  2532. * @returns A background image with the url to the set to the requested icon.
  2533. */
  2534. :root {
  2535. --body-container-margin: calc(var(--default-grid-baseline) * 2);
  2536. /* - 2px is required for making it look nice */
  2537. --body-container-radius: calc(var(--default-clickable-area) / 2 + var(--default-grid-baseline) * 2 - 2px);
  2538. --body-height: calc(100% - env(safe-area-inset-bottom) - 50px - var(--body-container-margin));
  2539. }
  2540. @media screen and (max-width: 1024px) {
  2541. :root {
  2542. --body-container-margin: 0px;
  2543. --body-container-radius: 0px;
  2544. }
  2545. }
  2546. html {
  2547. width: 100%;
  2548. height: 100%;
  2549. position: absolute;
  2550. background-color: var(--color-background-plain, var(--color-main-background));
  2551. }
  2552. body {
  2553. background-color: var(--color-background-plain, var(--color-main-background));
  2554. background-image: var(--image-background, var(--image-background-default));
  2555. background-size: cover;
  2556. background-position: center;
  2557. position: fixed;
  2558. width: 100%;
  2559. height: calc(100vh - env(safe-area-inset-bottom));
  2560. }
  2561. /* BASE STYLING ------------------------------------------------------------ */
  2562. h2 {
  2563. font-weight: bold;
  2564. font-size: 20px;
  2565. margin-bottom: 12px;
  2566. line-height: 30px;
  2567. color: var(--color-text-light);
  2568. }
  2569. h3 {
  2570. font-size: 16px;
  2571. margin: 12px 0;
  2572. color: var(--color-text-light);
  2573. }
  2574. h4 {
  2575. font-size: 14px;
  2576. }
  2577. /* do not use italic typeface style, instead lighter color */
  2578. em {
  2579. font-style: normal;
  2580. color: var(--color-text-lighter);
  2581. }
  2582. dl {
  2583. padding: 12px 0;
  2584. }
  2585. dt,
  2586. dd {
  2587. display: inline-block;
  2588. padding: 12px;
  2589. padding-left: 0;
  2590. }
  2591. dt {
  2592. width: 130px;
  2593. white-space: nowrap;
  2594. text-align: right;
  2595. }
  2596. kbd {
  2597. padding: 4px 10px;
  2598. border: 1px solid #ccc;
  2599. box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
  2600. border-radius: var(--border-radius);
  2601. display: inline-block;
  2602. white-space: nowrap;
  2603. }
  2604. /* APP STYLING ------------------------------------------------------------ */
  2605. #content[class*=app-] * {
  2606. box-sizing: border-box;
  2607. }
  2608. /* APP-NAVIGATION ------------------------------------------------------------ */
  2609. /* Navigation: folder like structure */
  2610. #app-navigation:not(.vue) {
  2611. --border-radius-pill: calc(var(--default-clickable-area) / 2);
  2612. width: 300px;
  2613. z-index: 500;
  2614. overflow-y: auto;
  2615. overflow-x: hidden;
  2616. background-color: var(--color-main-background-blur);
  2617. backdrop-filter: var(--filter-background-blur);
  2618. -webkit-backdrop-filter: var(--filter-background-blur);
  2619. -webkit-user-select: none;
  2620. position: sticky;
  2621. height: 100%;
  2622. -moz-user-select: none;
  2623. -ms-user-select: none;
  2624. user-select: none;
  2625. display: flex;
  2626. flex-direction: column;
  2627. flex-grow: 0;
  2628. flex-shrink: 0;
  2629. /* 'New' button */
  2630. /**
  2631. * Button styling for menu, edit and undo
  2632. */
  2633. /**
  2634. * Collapsible menus
  2635. */
  2636. /**
  2637. * App navigation utils, buttons and counters for drop down menu
  2638. */
  2639. /**
  2640. * Editable entries
  2641. */
  2642. /**
  2643. * Deleted entries with undo button
  2644. */
  2645. /**
  2646. * Common rules for animation of undo and edit entries
  2647. */
  2648. /**
  2649. * drag and drop
  2650. */
  2651. }
  2652. #app-navigation:not(.vue) .app-navigation-new {
  2653. display: block;
  2654. padding: calc(var(--default-grid-baseline) * 2);
  2655. }
  2656. #app-navigation:not(.vue) .app-navigation-new button {
  2657. display: inline-block;
  2658. width: 100%;
  2659. padding: 10px;
  2660. padding-left: 34px;
  2661. background-position: 10px center;
  2662. text-align: left;
  2663. margin: 0;
  2664. }
  2665. #app-navigation:not(.vue) li {
  2666. position: relative;
  2667. }
  2668. #app-navigation:not(.vue) > ul {
  2669. position: relative;
  2670. height: 100%;
  2671. width: 100%;
  2672. overflow-x: hidden;
  2673. overflow-y: auto;
  2674. box-sizing: border-box;
  2675. display: flex;
  2676. flex-direction: column;
  2677. padding: calc(var(--default-grid-baseline) * 2);
  2678. padding-bottom: 0;
  2679. /* Menu and submenu */
  2680. }
  2681. #app-navigation:not(.vue) > ul:last-child {
  2682. padding-bottom: calc(var(--default-grid-baseline) * 2);
  2683. }
  2684. #app-navigation:not(.vue) > ul > li {
  2685. display: inline-flex;
  2686. flex-wrap: wrap;
  2687. order: 1;
  2688. flex-shrink: 0;
  2689. margin: 0;
  2690. margin-bottom: 3px;
  2691. width: 100%;
  2692. border-radius: var(--border-radius-pill);
  2693. /* Pinned-to-bottom entries */
  2694. /* align loader */
  2695. /* hide deletion/collapse of subitems */
  2696. /* Second level nesting for lists */
  2697. }
  2698. #app-navigation:not(.vue) > ul > li.pinned {
  2699. order: 2;
  2700. }
  2701. #app-navigation:not(.vue) > ul > li.pinned.first-pinned {
  2702. margin-top: auto !important;
  2703. }
  2704. #app-navigation:not(.vue) > ul > li > .app-navigation-entry-deleted {
  2705. /* Ugly hack for overriding the main entry link */
  2706. padding-left: 44px !important;
  2707. }
  2708. #app-navigation:not(.vue) > ul > li > .app-navigation-entry-edit {
  2709. /* Ugly hack for overriding the main entry link */
  2710. /* align the input correctly with the link text
  2711. 44px-6px padding for the input */
  2712. padding-left: 38px !important;
  2713. }
  2714. #app-navigation:not(.vue) > ul > li a:hover,
  2715. #app-navigation:not(.vue) > ul > li a:hover > a,
  2716. #app-navigation:not(.vue) > ul > li a:focus,
  2717. #app-navigation:not(.vue) > ul > li a:focus > a {
  2718. background-color: var(--color-background-hover);
  2719. }
  2720. #app-navigation:not(.vue) > ul > li a:focus-visible {
  2721. box-shadow: var(--color-primary) inset 0 0 0 2px;
  2722. outline: none;
  2723. }
  2724. #app-navigation:not(.vue) > ul > li.active,
  2725. #app-navigation:not(.vue) > ul > li.active > a,
  2726. #app-navigation:not(.vue) > ul > li a:active,
  2727. #app-navigation:not(.vue) > ul > li a:active > a,
  2728. #app-navigation:not(.vue) > ul > li a.selected,
  2729. #app-navigation:not(.vue) > ul > li a.selected > a,
  2730. #app-navigation:not(.vue) > ul > li a.active,
  2731. #app-navigation:not(.vue) > ul > li a.active > a {
  2732. background-color: var(--color-primary-light);
  2733. }
  2734. #app-navigation:not(.vue) > ul > li.icon-loading-small:after {
  2735. left: 22px;
  2736. top: 22px;
  2737. }
  2738. #app-navigation:not(.vue) > ul > li.deleted > ul, #app-navigation:not(.vue) > ul > li.collapsible:not(.open) > ul {
  2739. display: none;
  2740. }
  2741. #app-navigation:not(.vue) > ul > li.app-navigation-caption {
  2742. font-weight: bold;
  2743. line-height: 44px;
  2744. padding: 0 44px;
  2745. white-space: nowrap;
  2746. text-overflow: ellipsis;
  2747. box-shadow: none !important;
  2748. user-select: none;
  2749. pointer-events: none;
  2750. }
  2751. #app-navigation:not(.vue) > ul > li.app-navigation-caption:not(:first-child) {
  2752. margin-top: 22px;
  2753. }
  2754. #app-navigation:not(.vue) > ul > li > ul {
  2755. flex: 0 1 auto;
  2756. width: 100%;
  2757. position: relative;
  2758. }
  2759. #app-navigation:not(.vue) > ul > li > ul > li {
  2760. display: inline-flex;
  2761. flex-wrap: wrap;
  2762. padding-left: 44px;
  2763. width: 100%;
  2764. margin-bottom: 3px;
  2765. /* align loader */
  2766. }
  2767. #app-navigation:not(.vue) > ul > li > ul > li:hover,
  2768. #app-navigation:not(.vue) > ul > li > ul > li:hover > a, #app-navigation:not(.vue) > ul > li > ul > li:focus,
  2769. #app-navigation:not(.vue) > ul > li > ul > li:focus > a {
  2770. border-radius: var(--border-radius-pill);
  2771. background-color: var(--color-background-hover);
  2772. }
  2773. #app-navigation:not(.vue) > ul > li > ul > li.active,
  2774. #app-navigation:not(.vue) > ul > li > ul > li.active > a,
  2775. #app-navigation:not(.vue) > ul > li > ul > li a.selected,
  2776. #app-navigation:not(.vue) > ul > li > ul > li a.selected > a {
  2777. border-radius: var(--border-radius-pill);
  2778. background-color: var(--color-primary-light);
  2779. }
  2780. #app-navigation:not(.vue) > ul > li > ul > li.icon-loading-small:after {
  2781. left: 22px;
  2782. /* 44px / 2 */
  2783. }
  2784. #app-navigation:not(.vue) > ul > li > ul > li > .app-navigation-entry-deleted {
  2785. /* margin to keep active indicator visible */
  2786. margin-left: 4px;
  2787. padding-left: 84px;
  2788. }
  2789. #app-navigation:not(.vue) > ul > li > ul > li > .app-navigation-entry-edit {
  2790. /* margin to keep active indicator visible */
  2791. margin-left: 4px;
  2792. /* align the input correctly with the link text
  2793. 44px+44px-4px-6px padding for the input */
  2794. padding-left: 78px !important;
  2795. }
  2796. #app-navigation:not(.vue) > ul > li,
  2797. #app-navigation:not(.vue) > ul > li > ul > li {
  2798. position: relative;
  2799. box-sizing: border-box;
  2800. /* hide icons if loading */
  2801. /* Main entry link */
  2802. /* Bullet icon */
  2803. /* popover fix the flex positionning of the li parent */
  2804. /* show edit/undo field if editing/deleted */
  2805. }
  2806. #app-navigation:not(.vue) > ul > li.icon-loading-small > a,
  2807. #app-navigation:not(.vue) > ul > li.icon-loading-small > .app-navigation-entry-bullet,
  2808. #app-navigation:not(.vue) > ul > li > ul > li.icon-loading-small > a,
  2809. #app-navigation:not(.vue) > ul > li > ul > li.icon-loading-small > .app-navigation-entry-bullet {
  2810. /* hide icon or bullet if loading state*/
  2811. background: transparent !important;
  2812. }
  2813. #app-navigation:not(.vue) > ul > li > a,
  2814. #app-navigation:not(.vue) > ul > li > ul > li > a {
  2815. background-size: 16px 16px;
  2816. background-position: 14px center;
  2817. background-repeat: no-repeat;
  2818. display: block;
  2819. justify-content: space-between;
  2820. line-height: 44px;
  2821. min-height: 44px;
  2822. padding: 0 12px 0 14px;
  2823. overflow: hidden;
  2824. box-sizing: border-box;
  2825. white-space: nowrap;
  2826. text-overflow: ellipsis;
  2827. border-radius: var(--border-radius-pill);
  2828. color: var(--color-main-text);
  2829. flex: 1 1 0px;
  2830. z-index: 100;
  2831. /* above the bullet to allow click*/
  2832. /* TODO: forbid using img as icon in menu? */
  2833. /* counter can also be inside the link */
  2834. }
  2835. #app-navigation:not(.vue) > ul > li > a.svg,
  2836. #app-navigation:not(.vue) > ul > li > ul > li > a.svg {
  2837. padding: 0 12px 0 44px;
  2838. }
  2839. #app-navigation:not(.vue) > ul > li > a.svg :focus-visible,
  2840. #app-navigation:not(.vue) > ul > li > ul > li > a.svg :focus-visible {
  2841. padding: 0 8px 0 42px;
  2842. }
  2843. #app-navigation:not(.vue) > ul > li > a:first-child img,
  2844. #app-navigation:not(.vue) > ul > li > ul > li > a:first-child img {
  2845. margin-right: 11px;
  2846. width: 16px;
  2847. height: 16px;
  2848. filter: var(--background-invert-if-dark);
  2849. }
  2850. #app-navigation:not(.vue) > ul > li > a > .app-navigation-entry-utils,
  2851. #app-navigation:not(.vue) > ul > li > ul > li > a > .app-navigation-entry-utils {
  2852. display: inline-block;
  2853. float: right;
  2854. }
  2855. #app-navigation:not(.vue) > ul > li > a > .app-navigation-entry-utils .app-navigation-entry-utils-counter,
  2856. #app-navigation:not(.vue) > ul > li > ul > li > a > .app-navigation-entry-utils .app-navigation-entry-utils-counter {
  2857. padding-right: 0 !important;
  2858. }
  2859. #app-navigation:not(.vue) > ul > li > .app-navigation-entry-bullet,
  2860. #app-navigation:not(.vue) > ul > li > ul > li > .app-navigation-entry-bullet {
  2861. position: absolute;
  2862. display: block;
  2863. margin: 16px;
  2864. width: 12px;
  2865. height: 12px;
  2866. border: none;
  2867. border-radius: 50%;
  2868. cursor: pointer;
  2869. transition: background 100ms ease-in-out;
  2870. }
  2871. #app-navigation:not(.vue) > ul > li > .app-navigation-entry-bullet + a,
  2872. #app-navigation:not(.vue) > ul > li > ul > li > .app-navigation-entry-bullet + a {
  2873. /* hide icon if bullet, can't have both */
  2874. background: transparent !important;
  2875. }
  2876. #app-navigation:not(.vue) > ul > li > .app-navigation-entry-menu,
  2877. #app-navigation:not(.vue) > ul > li > ul > li > .app-navigation-entry-menu {
  2878. top: 44px;
  2879. }
  2880. #app-navigation:not(.vue) > ul > li.editing .app-navigation-entry-edit,
  2881. #app-navigation:not(.vue) > ul > li > ul > li.editing .app-navigation-entry-edit {
  2882. opacity: 1;
  2883. z-index: 250;
  2884. }
  2885. #app-navigation:not(.vue) > ul > li.deleted .app-navigation-entry-deleted,
  2886. #app-navigation:not(.vue) > ul > li > ul > li.deleted .app-navigation-entry-deleted {
  2887. transform: translateX(0);
  2888. z-index: 250;
  2889. }
  2890. #app-navigation:not(.vue).hidden {
  2891. display: none;
  2892. }
  2893. #app-navigation:not(.vue) .app-navigation-entry-utils .app-navigation-entry-utils-menu-button > button,
  2894. #app-navigation:not(.vue) .app-navigation-entry-deleted .app-navigation-entry-deleted-button {
  2895. border: 0;
  2896. opacity: 0.5;
  2897. background-color: transparent;
  2898. background-repeat: no-repeat;
  2899. background-position: center;
  2900. }
  2901. #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,
  2902. #app-navigation:not(.vue) .app-navigation-entry-deleted .app-navigation-entry-deleted-button:hover,
  2903. #app-navigation:not(.vue) .app-navigation-entry-deleted .app-navigation-entry-deleted-button:focus {
  2904. background-color: transparent;
  2905. opacity: 1;
  2906. }
  2907. #app-navigation:not(.vue) .collapsible {
  2908. /* Fallback for old collapse button.
  2909. TODO: to be removed. Leaved here for retro compatibility */
  2910. /* force padding on link no matter if 'a' has an icon class */
  2911. }
  2912. #app-navigation:not(.vue) .collapsible .collapse {
  2913. opacity: 0;
  2914. position: absolute;
  2915. width: 44px;
  2916. height: 44px;
  2917. margin: 0;
  2918. z-index: 110;
  2919. /* Needed for IE11; otherwise the button appears to the right of the
  2920. * link. */
  2921. left: 0;
  2922. }
  2923. #app-navigation:not(.vue) .collapsible .collapse:focus-visible {
  2924. opacity: 1;
  2925. border-width: 0;
  2926. box-shadow: inset 0 0 0 2px var(--color-primary);
  2927. background: none;
  2928. }
  2929. #app-navigation:not(.vue) .collapsible:before {
  2930. position: absolute;
  2931. height: 44px;
  2932. width: 44px;
  2933. margin: 0;
  2934. padding: 0;
  2935. background: none;
  2936. /* $dir is the app name, so we add this to the icon var to avoid conflicts between apps */
  2937. background-image: var(--icon-triangle-s-dark);
  2938. background-size: 16px;
  2939. background-repeat: no-repeat;
  2940. background-position: center;
  2941. border: none;
  2942. border-radius: 0;
  2943. outline: none !important;
  2944. box-shadow: none;
  2945. content: " ";
  2946. opacity: 0;
  2947. -webkit-transform: rotate(-90deg);
  2948. -ms-transform: rotate(-90deg);
  2949. transform: rotate(-90deg);
  2950. z-index: 105;
  2951. border-radius: 50%;
  2952. transition: opacity 100ms ease-in-out;
  2953. }
  2954. #app-navigation:not(.vue) .collapsible > a:first-child {
  2955. padding-left: 44px;
  2956. }
  2957. #app-navigation:not(.vue) .collapsible:hover:before, #app-navigation:not(.vue) .collapsible:focus:before {
  2958. opacity: 1;
  2959. }
  2960. #app-navigation:not(.vue) .collapsible:hover > a, #app-navigation:not(.vue) .collapsible:focus > a {
  2961. background-image: none;
  2962. }
  2963. #app-navigation:not(.vue) .collapsible:hover > .app-navigation-entry-bullet, #app-navigation:not(.vue) .collapsible:focus > .app-navigation-entry-bullet {
  2964. background: transparent !important;
  2965. }
  2966. #app-navigation:not(.vue) .collapsible.open:before {
  2967. -webkit-transform: rotate(0);
  2968. -ms-transform: rotate(0);
  2969. transform: rotate(0);
  2970. }
  2971. #app-navigation:not(.vue) .app-navigation-entry-utils {
  2972. flex: 0 1 auto;
  2973. }
  2974. #app-navigation:not(.vue) .app-navigation-entry-utils ul {
  2975. display: flex !important;
  2976. align-items: center;
  2977. justify-content: flex-end;
  2978. }
  2979. #app-navigation:not(.vue) .app-navigation-entry-utils li {
  2980. width: 44px !important;
  2981. height: 44px;
  2982. }
  2983. #app-navigation:not(.vue) .app-navigation-entry-utils button {
  2984. height: 100%;
  2985. width: 100%;
  2986. margin: 0;
  2987. box-shadow: none;
  2988. }
  2989. #app-navigation:not(.vue) .app-navigation-entry-utils .app-navigation-entry-utils-menu-button {
  2990. /* Prevent bg img override if an icon class is set */
  2991. }
  2992. #app-navigation:not(.vue) .app-navigation-entry-utils .app-navigation-entry-utils-menu-button button:not([class^=icon-]):not([class*=" icon-"]) {
  2993. /* $dir is the app name, so we add this to the icon var to avoid conflicts between apps */
  2994. background-image: var(--icon-more-dark);
  2995. }
  2996. #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 {
  2997. background-color: transparent;
  2998. opacity: 1;
  2999. }
  3000. #app-navigation:not(.vue) .app-navigation-entry-utils .app-navigation-entry-utils-counter {
  3001. overflow: hidden;
  3002. text-align: right;
  3003. font-size: 9pt;
  3004. line-height: 44px;
  3005. padding: 0 12px;
  3006. /* Same padding as all li > a in the app-navigation */
  3007. }
  3008. #app-navigation:not(.vue) .app-navigation-entry-utils .app-navigation-entry-utils-counter.highlighted {
  3009. padding: 0;
  3010. text-align: center;
  3011. }
  3012. #app-navigation:not(.vue) .app-navigation-entry-utils .app-navigation-entry-utils-counter.highlighted span {
  3013. padding: 2px 5px;
  3014. border-radius: 10px;
  3015. background-color: var(--color-primary);
  3016. color: var(--color-primary-text);
  3017. }
  3018. #app-navigation:not(.vue) .app-navigation-entry-edit {
  3019. padding-left: 5px;
  3020. padding-right: 5px;
  3021. display: block;
  3022. width: calc(100% - 1px);
  3023. /* Avoid border overlapping */
  3024. transition: opacity 250ms ease-in-out;
  3025. opacity: 0;
  3026. position: absolute;
  3027. background-color: var(--color-main-background);
  3028. z-index: -1;
  3029. }
  3030. #app-navigation:not(.vue) .app-navigation-entry-edit form,
  3031. #app-navigation:not(.vue) .app-navigation-entry-edit div {
  3032. display: inline-flex;
  3033. width: 100%;
  3034. }
  3035. #app-navigation:not(.vue) .app-navigation-entry-edit input {
  3036. padding: 5px;
  3037. margin-right: 0;
  3038. height: 38px;
  3039. }
  3040. #app-navigation:not(.vue) .app-navigation-entry-edit input:hover, #app-navigation:not(.vue) .app-navigation-entry-edit input:focus {
  3041. /* overlapp borders */
  3042. z-index: 1;
  3043. }
  3044. #app-navigation:not(.vue) .app-navigation-entry-edit input[type=text] {
  3045. width: 100%;
  3046. min-width: 0;
  3047. /* firefox hack: override auto */
  3048. border-bottom-right-radius: 0;
  3049. border-top-right-radius: 0;
  3050. }
  3051. #app-navigation:not(.vue) .app-navigation-entry-edit button,
  3052. #app-navigation:not(.vue) .app-navigation-entry-edit input:not([type=text]) {
  3053. width: 36px;
  3054. height: 38px;
  3055. flex: 0 0 36px;
  3056. }
  3057. #app-navigation:not(.vue) .app-navigation-entry-edit button:not(:last-child),
  3058. #app-navigation:not(.vue) .app-navigation-entry-edit input:not([type=text]):not(:last-child) {
  3059. border-radius: 0 !important;
  3060. }
  3061. #app-navigation:not(.vue) .app-navigation-entry-edit button:not(:first-child),
  3062. #app-navigation:not(.vue) .app-navigation-entry-edit input:not([type=text]):not(:first-child) {
  3063. margin-left: -1px;
  3064. }
  3065. #app-navigation:not(.vue) .app-navigation-entry-edit button:last-child,
  3066. #app-navigation:not(.vue) .app-navigation-entry-edit input:not([type=text]):last-child {
  3067. border-bottom-right-radius: var(--border-radius);
  3068. border-top-right-radius: var(--border-radius);
  3069. border-bottom-left-radius: 0;
  3070. border-top-left-radius: 0;
  3071. }
  3072. #app-navigation:not(.vue) .app-navigation-entry-deleted {
  3073. display: inline-flex;
  3074. padding-left: 44px;
  3075. transform: translateX(300px);
  3076. }
  3077. #app-navigation:not(.vue) .app-navigation-entry-deleted .app-navigation-entry-deleted-description {
  3078. position: relative;
  3079. white-space: nowrap;
  3080. text-overflow: ellipsis;
  3081. overflow: hidden;
  3082. flex: 1 1 0px;
  3083. line-height: 44px;
  3084. }
  3085. #app-navigation:not(.vue) .app-navigation-entry-deleted .app-navigation-entry-deleted-button {
  3086. margin: 0;
  3087. height: 44px;
  3088. width: 44px;
  3089. line-height: 44px;
  3090. }
  3091. #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 {
  3092. opacity: 1;
  3093. }
  3094. #app-navigation:not(.vue) .app-navigation-entry-edit,
  3095. #app-navigation:not(.vue) .app-navigation-entry-deleted {
  3096. width: calc(100% - 1px);
  3097. /* Avoid border overlapping */
  3098. transition: transform 250ms ease-in-out, opacity 250ms ease-in-out, z-index 250ms ease-in-out;
  3099. position: absolute;
  3100. left: 0;
  3101. background-color: var(--color-main-background);
  3102. box-sizing: border-box;
  3103. }
  3104. #app-navigation:not(.vue) .drag-and-drop {
  3105. -webkit-transition: padding-bottom 500ms ease 0s;
  3106. transition: padding-bottom 500ms ease 0s;
  3107. padding-bottom: 40px;
  3108. }
  3109. #app-navigation:not(.vue) .error {
  3110. color: var(--color-error);
  3111. }
  3112. #app-navigation:not(.vue) .app-navigation-entry-utils ul,
  3113. #app-navigation:not(.vue) .app-navigation-entry-menu ul {
  3114. list-style-type: none;
  3115. }
  3116. /* CONTENT --------------------------------------------------------- */
  3117. #content {
  3118. box-sizing: border-box;
  3119. position: static;
  3120. margin: var(--body-container-margin);
  3121. margin-top: 50px;
  3122. padding: 0;
  3123. display: flex;
  3124. width: calc(100% - var(--body-container-margin) * 2);
  3125. height: var(--body-height);
  3126. border-radius: var(--body-container-radius);
  3127. overflow: hidden;
  3128. }
  3129. #content:not(.with-sidebar--full) {
  3130. position: fixed;
  3131. }
  3132. @media only screen and (max-width: 1024px) {
  3133. #content {
  3134. border-top-left-radius: var(--border-radius-large);
  3135. border-top-right-radius: var(--border-radius-large);
  3136. }
  3137. #app-navigation {
  3138. border-top-left-radius: var(--border-radius-large);
  3139. }
  3140. #app-sidebar {
  3141. border-top-right-radius: var(--border-radius-large);
  3142. }
  3143. }
  3144. /* APP-CONTENT AND WRAPPER ------------------------------------------ */
  3145. /* Part where the content will be loaded into */
  3146. /**
  3147. * !Important. We are defining the minimum requirement we want for flex
  3148. * Just before the mobile breakpoint we have variables.$breakpoint-mobile (1024px) - variables.$navigation-width
  3149. * -> 468px. In that case we want 200px for the list and 268px for the content
  3150. */
  3151. #app-content {
  3152. z-index: 1000;
  3153. background-color: var(--color-main-background);
  3154. flex-basis: 100vw;
  3155. overflow: auto;
  3156. position: initial;
  3157. height: 100%;
  3158. /* margin if navigation element is here */
  3159. /* no top border for first settings item */
  3160. /* if app-content-list is present */
  3161. }
  3162. #app-content > .section:first-child {
  3163. border-top: none;
  3164. }
  3165. #app-content #app-content-wrapper {
  3166. display: flex;
  3167. position: relative;
  3168. align-items: stretch;
  3169. /* make sure we have at least full height for loaders or such
  3170. no need for list/details since we have a flex stretch */
  3171. min-height: 100%;
  3172. /* CONTENT DETAILS AFTER LIST*/
  3173. }
  3174. #app-content #app-content-wrapper .app-content-details {
  3175. /* grow full width */
  3176. flex: 1 1 524px;
  3177. }
  3178. #app-content #app-content-wrapper .app-content-details #app-navigation-toggle-back {
  3179. display: none;
  3180. }
  3181. /* APP-SIDEBAR ------------------------------------------------------------ */
  3182. /*
  3183. Sidebar: a sidebar to be used within #content
  3184. #app-content will be shrinked properly
  3185. */
  3186. #app-sidebar {
  3187. width: 27vw;
  3188. min-width: 300px;
  3189. max-width: 500px;
  3190. display: block;
  3191. position: -webkit-sticky;
  3192. position: sticky;
  3193. top: 50px;
  3194. right: 0;
  3195. overflow-y: auto;
  3196. overflow-x: hidden;
  3197. z-index: 1500;
  3198. opacity: 0.7px;
  3199. height: calc(100vh - 50px);
  3200. background: var(--color-main-background);
  3201. border-left: 1px solid var(--color-border);
  3202. flex-shrink: 0;
  3203. }
  3204. #app-sidebar.disappear {
  3205. display: none;
  3206. }
  3207. /* APP-SETTINGS ------------------------------------------------------------ */
  3208. /* settings area */
  3209. #app-settings {
  3210. margin-top: auto;
  3211. }
  3212. #app-settings.open #app-settings-content, #app-settings.opened #app-settings-content {
  3213. display: block;
  3214. }
  3215. #app-settings-content {
  3216. display: none;
  3217. padding: calc(var(--default-grid-baseline) * 2);
  3218. padding-top: 0;
  3219. padding-left: calc(var(--default-grid-baseline) * 4);
  3220. /* restrict height of settings and make scrollable */
  3221. max-height: 300px;
  3222. overflow-y: auto;
  3223. box-sizing: border-box;
  3224. /* display input fields at full width */
  3225. }
  3226. #app-settings-content input[type=text] {
  3227. width: 93%;
  3228. }
  3229. #app-settings-content .info-text {
  3230. padding: 5px 0 7px 22px;
  3231. color: var(--color-text-lighter);
  3232. }
  3233. #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 {
  3234. display: inline-block;
  3235. width: 100%;
  3236. padding: 5px 0;
  3237. }
  3238. #app-settings-header {
  3239. box-sizing: border-box;
  3240. background-color: transparent;
  3241. overflow: hidden;
  3242. border-radius: calc(var(--default-clickable-area) / 2);
  3243. padding: calc(var(--default-grid-baseline) * 2);
  3244. padding-top: 0;
  3245. }
  3246. #app-settings-header .settings-button {
  3247. display: flex;
  3248. align-items: center;
  3249. height: 44px;
  3250. width: 100%;
  3251. padding: 0;
  3252. margin: 0;
  3253. background-color: transparent;
  3254. box-shadow: none;
  3255. border: 0;
  3256. border-radius: calc(var(--default-clickable-area) / 2);
  3257. text-align: left;
  3258. font-weight: normal;
  3259. font-size: 100%;
  3260. opacity: 0.8;
  3261. /* like app-navigation a */
  3262. color: var(--color-main-text);
  3263. }
  3264. #app-settings-header .settings-button.opened {
  3265. border-top: solid 1px var(--color-border);
  3266. background-color: var(--color-main-background);
  3267. margin-top: 8px;
  3268. }
  3269. #app-settings-header .settings-button:hover, #app-settings-header .settings-button:focus {
  3270. background-color: var(--color-background-hover);
  3271. }
  3272. #app-settings-header .settings-button::before {
  3273. background-image: var(--icon-settings-dark);
  3274. background-position: 14px center;
  3275. background-repeat: no-repeat;
  3276. content: "";
  3277. width: 44px;
  3278. height: 44px;
  3279. top: 0;
  3280. left: 0;
  3281. display: block;
  3282. }
  3283. #app-settings-header .settings-button:focus-visible {
  3284. box-shadow: 0 0 0 2px inset var(--color-primary) !important;
  3285. background-position: 12px center;
  3286. }
  3287. /* GENERAL SECTION ------------------------------------------------------------ */
  3288. .section {
  3289. display: block;
  3290. padding: 30px;
  3291. margin-bottom: 24px;
  3292. /* slight position correction of checkboxes and radio buttons */
  3293. }
  3294. .section.hidden {
  3295. display: none !important;
  3296. }
  3297. .section input[type=checkbox], .section input[type=radio] {
  3298. vertical-align: -2px;
  3299. margin-right: 4px;
  3300. }
  3301. .sub-section {
  3302. position: relative;
  3303. margin-top: 10px;
  3304. margin-left: 27px;
  3305. margin-bottom: 10px;
  3306. }
  3307. .appear {
  3308. opacity: 1;
  3309. -webkit-transition: opacity 500ms ease 0s;
  3310. -moz-transition: opacity 500ms ease 0s;
  3311. -ms-transition: opacity 500ms ease 0s;
  3312. -o-transition: opacity 500ms ease 0s;
  3313. transition: opacity 500ms ease 0s;
  3314. }
  3315. .appear.transparent {
  3316. opacity: 0;
  3317. }
  3318. /* TABS ------------------------------------------------------------ */
  3319. .tabHeaders {
  3320. display: flex;
  3321. margin-bottom: 16px;
  3322. }
  3323. .tabHeaders .tabHeader {
  3324. display: flex;
  3325. flex-direction: column;
  3326. flex-grow: 1;
  3327. text-align: center;
  3328. white-space: nowrap;
  3329. overflow: hidden;
  3330. text-overflow: ellipsis;
  3331. cursor: pointer;
  3332. color: var(--color-text-lighter);
  3333. margin-bottom: 1px;
  3334. padding: 5px;
  3335. /* Use same amount as sidebar padding */
  3336. }
  3337. .tabHeaders .tabHeader.hidden {
  3338. display: none;
  3339. }
  3340. .tabHeaders .tabHeader:first-child {
  3341. padding-left: 15px;
  3342. }
  3343. .tabHeaders .tabHeader:last-child {
  3344. padding-right: 15px;
  3345. }
  3346. .tabHeaders .tabHeader .icon {
  3347. display: inline-block;
  3348. width: 100%;
  3349. height: 16px;
  3350. background-size: 16px;
  3351. vertical-align: middle;
  3352. margin-top: -2px;
  3353. margin-right: 3px;
  3354. opacity: 0.7;
  3355. cursor: pointer;
  3356. }
  3357. .tabHeaders .tabHeader a {
  3358. color: var(--color-text-lighter);
  3359. margin-bottom: 1px;
  3360. overflow: hidden;
  3361. text-overflow: ellipsis;
  3362. }
  3363. .tabHeaders .tabHeader.selected {
  3364. font-weight: bold;
  3365. }
  3366. .tabHeaders .tabHeader.selected, .tabHeaders .tabHeader:hover, .tabHeaders .tabHeader:focus {
  3367. margin-bottom: 0px;
  3368. color: var(--color-main-text);
  3369. border-bottom: 1px solid var(--color-text-lighter);
  3370. }
  3371. .tabsContainer {
  3372. clear: left;
  3373. }
  3374. .tabsContainer .tab {
  3375. padding: 0 15px 15px;
  3376. }
  3377. /* POPOVER MENU ------------------------------------------------------------ */
  3378. .contact .popovermenu ul > li > a > img,
  3379. .popover__menu > li > a > img {
  3380. filter: var(--background-invert-if-dark);
  3381. }
  3382. .bubble,
  3383. .app-navigation-entry-menu,
  3384. .popovermenu {
  3385. position: absolute;
  3386. background-color: var(--color-main-background);
  3387. color: var(--color-main-text);
  3388. border-radius: var(--border-radius-large);
  3389. padding: 3px;
  3390. z-index: 110;
  3391. margin: 5px;
  3392. margin-top: -5px;
  3393. right: 0;
  3394. filter: drop-shadow(0 1px 3px var(--color-box-shadow));
  3395. display: none;
  3396. will-change: filter;
  3397. /* Center the popover */
  3398. /* Align the popover to the left */
  3399. }
  3400. .bubble:after,
  3401. .app-navigation-entry-menu:after,
  3402. .popovermenu:after {
  3403. bottom: 100%;
  3404. right: 7px;
  3405. /* change this to adjust the arrow position */
  3406. border: solid transparent;
  3407. content: " ";
  3408. height: 0;
  3409. width: 0;
  3410. position: absolute;
  3411. pointer-events: none;
  3412. border-bottom-color: var(--color-main-background);
  3413. border-width: 9px;
  3414. }
  3415. .bubble.menu-center,
  3416. .app-navigation-entry-menu.menu-center,
  3417. .popovermenu.menu-center {
  3418. transform: translateX(50%);
  3419. right: 50%;
  3420. margin-right: 0;
  3421. }
  3422. .bubble.menu-center:after,
  3423. .app-navigation-entry-menu.menu-center:after,
  3424. .popovermenu.menu-center:after {
  3425. right: 50%;
  3426. transform: translateX(50%);
  3427. }
  3428. .bubble.menu-left,
  3429. .app-navigation-entry-menu.menu-left,
  3430. .popovermenu.menu-left {
  3431. right: auto;
  3432. left: 0;
  3433. margin-right: 0;
  3434. }
  3435. .bubble.menu-left:after,
  3436. .app-navigation-entry-menu.menu-left:after,
  3437. .popovermenu.menu-left:after {
  3438. left: 6px;
  3439. right: auto;
  3440. }
  3441. .bubble.open,
  3442. .app-navigation-entry-menu.open,
  3443. .popovermenu.open {
  3444. display: block;
  3445. }
  3446. .bubble.contactsmenu-popover,
  3447. .app-navigation-entry-menu.contactsmenu-popover,
  3448. .popovermenu.contactsmenu-popover {
  3449. margin: 0;
  3450. }
  3451. .bubble ul,
  3452. .app-navigation-entry-menu ul,
  3453. .popovermenu ul {
  3454. /* Overwrite #app-navigation > ul ul */
  3455. display: flex !important;
  3456. flex-direction: column;
  3457. }
  3458. .bubble li,
  3459. .app-navigation-entry-menu li,
  3460. .popovermenu li {
  3461. display: flex;
  3462. flex: 0 0 auto;
  3463. /* css hack, only first not hidden */
  3464. }
  3465. .bubble li.hidden,
  3466. .app-navigation-entry-menu li.hidden,
  3467. .popovermenu li.hidden {
  3468. display: none;
  3469. }
  3470. .bubble li > button,
  3471. .bubble li > a,
  3472. .bubble li > .menuitem,
  3473. .app-navigation-entry-menu li > button,
  3474. .app-navigation-entry-menu li > a,
  3475. .app-navigation-entry-menu li > .menuitem,
  3476. .popovermenu li > button,
  3477. .popovermenu li > a,
  3478. .popovermenu li > .menuitem {
  3479. cursor: pointer;
  3480. line-height: 44px;
  3481. border: 0;
  3482. border-radius: var(--border-radius-large);
  3483. background-color: transparent;
  3484. display: flex;
  3485. align-items: flex-start;
  3486. height: auto;
  3487. margin: 0;
  3488. font-weight: normal;
  3489. box-shadow: none;
  3490. width: 100%;
  3491. color: var(--color-main-text);
  3492. white-space: nowrap;
  3493. /* prevent .action class to break the design */
  3494. /* Add padding if contains icon+text */
  3495. /* DEPRECATED! old img in popover fallback
  3496. * TODO: to remove */
  3497. /* checkbox/radio fixes */
  3498. /* no margin if hidden span before */
  3499. /* Inputs inside popover supports text, submit & reset */
  3500. }
  3501. .bubble li > button span[class^=icon-],
  3502. .bubble li > button span[class*=" icon-"], .bubble li > button[class^=icon-], .bubble li > button[class*=" icon-"],
  3503. .bubble li > a span[class^=icon-],
  3504. .bubble li > a span[class*=" icon-"],
  3505. .bubble li > a[class^=icon-],
  3506. .bubble li > a[class*=" icon-"],
  3507. .bubble li > .menuitem span[class^=icon-],
  3508. .bubble li > .menuitem span[class*=" icon-"],
  3509. .bubble li > .menuitem[class^=icon-],
  3510. .bubble li > .menuitem[class*=" icon-"],
  3511. .app-navigation-entry-menu li > button span[class^=icon-],
  3512. .app-navigation-entry-menu li > button span[class*=" icon-"],
  3513. .app-navigation-entry-menu li > button[class^=icon-],
  3514. .app-navigation-entry-menu li > button[class*=" icon-"],
  3515. .app-navigation-entry-menu li > a span[class^=icon-],
  3516. .app-navigation-entry-menu li > a span[class*=" icon-"],
  3517. .app-navigation-entry-menu li > a[class^=icon-],
  3518. .app-navigation-entry-menu li > a[class*=" icon-"],
  3519. .app-navigation-entry-menu li > .menuitem span[class^=icon-],
  3520. .app-navigation-entry-menu li > .menuitem span[class*=" icon-"],
  3521. .app-navigation-entry-menu li > .menuitem[class^=icon-],
  3522. .app-navigation-entry-menu li > .menuitem[class*=" icon-"],
  3523. .popovermenu li > button span[class^=icon-],
  3524. .popovermenu li > button span[class*=" icon-"],
  3525. .popovermenu li > button[class^=icon-],
  3526. .popovermenu li > button[class*=" icon-"],
  3527. .popovermenu li > a span[class^=icon-],
  3528. .popovermenu li > a span[class*=" icon-"],
  3529. .popovermenu li > a[class^=icon-],
  3530. .popovermenu li > a[class*=" icon-"],
  3531. .popovermenu li > .menuitem span[class^=icon-],
  3532. .popovermenu li > .menuitem span[class*=" icon-"],
  3533. .popovermenu li > .menuitem[class^=icon-],
  3534. .popovermenu li > .menuitem[class*=" icon-"] {
  3535. min-width: 0;
  3536. /* Overwrite icons*/
  3537. min-height: 0;
  3538. background-position: 14px center;
  3539. background-size: 16px;
  3540. }
  3541. .bubble li > button span[class^=icon-],
  3542. .bubble li > button span[class*=" icon-"],
  3543. .bubble li > a span[class^=icon-],
  3544. .bubble li > a span[class*=" icon-"],
  3545. .bubble li > .menuitem span[class^=icon-],
  3546. .bubble li > .menuitem span[class*=" icon-"],
  3547. .app-navigation-entry-menu li > button span[class^=icon-],
  3548. .app-navigation-entry-menu li > button span[class*=" icon-"],
  3549. .app-navigation-entry-menu li > a span[class^=icon-],
  3550. .app-navigation-entry-menu li > a span[class*=" icon-"],
  3551. .app-navigation-entry-menu li > .menuitem span[class^=icon-],
  3552. .app-navigation-entry-menu li > .menuitem span[class*=" icon-"],
  3553. .popovermenu li > button span[class^=icon-],
  3554. .popovermenu li > button span[class*=" icon-"],
  3555. .popovermenu li > a span[class^=icon-],
  3556. .popovermenu li > a span[class*=" icon-"],
  3557. .popovermenu li > .menuitem span[class^=icon-],
  3558. .popovermenu li > .menuitem span[class*=" icon-"] {
  3559. /* Keep padding to define the width to
  3560. assure correct position of a possible text */
  3561. padding: 22px 0 22px 44px;
  3562. }
  3563. .bubble li > button:not([class^=icon-]):not([class*=icon-]) > span:not([class^=icon-]):not([class*=icon-]):first-child,
  3564. .bubble li > button:not([class^=icon-]):not([class*=icon-]) > input:not([class^=icon-]):not([class*=icon-]):first-child,
  3565. .bubble li > button:not([class^=icon-]):not([class*=icon-]) > form:not([class^=icon-]):not([class*=icon-]):first-child,
  3566. .bubble li > a:not([class^=icon-]):not([class*=icon-]) > span:not([class^=icon-]):not([class*=icon-]):first-child,
  3567. .bubble li > a:not([class^=icon-]):not([class*=icon-]) > input:not([class^=icon-]):not([class*=icon-]):first-child,
  3568. .bubble li > a:not([class^=icon-]):not([class*=icon-]) > form:not([class^=icon-]):not([class*=icon-]):first-child,
  3569. .bubble li > .menuitem:not([class^=icon-]):not([class*=icon-]) > span:not([class^=icon-]):not([class*=icon-]):first-child,
  3570. .bubble li > .menuitem:not([class^=icon-]):not([class*=icon-]) > input:not([class^=icon-]):not([class*=icon-]):first-child,
  3571. .bubble li > .menuitem:not([class^=icon-]):not([class*=icon-]) > form:not([class^=icon-]):not([class*=icon-]):first-child,
  3572. .app-navigation-entry-menu li > button:not([class^=icon-]):not([class*=icon-]) > span:not([class^=icon-]):not([class*=icon-]):first-child,
  3573. .app-navigation-entry-menu li > button:not([class^=icon-]):not([class*=icon-]) > input:not([class^=icon-]):not([class*=icon-]):first-child,
  3574. .app-navigation-entry-menu li > button:not([class^=icon-]):not([class*=icon-]) > form:not([class^=icon-]):not([class*=icon-]):first-child,
  3575. .app-navigation-entry-menu li > a:not([class^=icon-]):not([class*=icon-]) > span:not([class^=icon-]):not([class*=icon-]):first-child,
  3576. .app-navigation-entry-menu li > a:not([class^=icon-]):not([class*=icon-]) > input:not([class^=icon-]):not([class*=icon-]):first-child,
  3577. .app-navigation-entry-menu li > a:not([class^=icon-]):not([class*=icon-]) > form:not([class^=icon-]):not([class*=icon-]):first-child,
  3578. .app-navigation-entry-menu li > .menuitem:not([class^=icon-]):not([class*=icon-]) > span:not([class^=icon-]):not([class*=icon-]):first-child,
  3579. .app-navigation-entry-menu li > .menuitem:not([class^=icon-]):not([class*=icon-]) > input:not([class^=icon-]):not([class*=icon-]):first-child,
  3580. .app-navigation-entry-menu li > .menuitem:not([class^=icon-]):not([class*=icon-]) > form:not([class^=icon-]):not([class*=icon-]):first-child,
  3581. .popovermenu li > button:not([class^=icon-]):not([class*=icon-]) > span:not([class^=icon-]):not([class*=icon-]):first-child,
  3582. .popovermenu li > button:not([class^=icon-]):not([class*=icon-]) > input:not([class^=icon-]):not([class*=icon-]):first-child,
  3583. .popovermenu li > button:not([class^=icon-]):not([class*=icon-]) > form:not([class^=icon-]):not([class*=icon-]):first-child,
  3584. .popovermenu li > a:not([class^=icon-]):not([class*=icon-]) > span:not([class^=icon-]):not([class*=icon-]):first-child,
  3585. .popovermenu li > a:not([class^=icon-]):not([class*=icon-]) > input:not([class^=icon-]):not([class*=icon-]):first-child,
  3586. .popovermenu li > a:not([class^=icon-]):not([class*=icon-]) > form:not([class^=icon-]):not([class*=icon-]):first-child,
  3587. .popovermenu li > .menuitem:not([class^=icon-]):not([class*=icon-]) > span:not([class^=icon-]):not([class*=icon-]):first-child,
  3588. .popovermenu li > .menuitem:not([class^=icon-]):not([class*=icon-]) > input:not([class^=icon-]):not([class*=icon-]):first-child,
  3589. .popovermenu li > .menuitem:not([class^=icon-]):not([class*=icon-]) > form:not([class^=icon-]):not([class*=icon-]):first-child {
  3590. margin-left: 44px;
  3591. }
  3592. .bubble li > button[class^=icon-], .bubble li > button[class*=" icon-"],
  3593. .bubble li > a[class^=icon-],
  3594. .bubble li > a[class*=" icon-"],
  3595. .bubble li > .menuitem[class^=icon-],
  3596. .bubble li > .menuitem[class*=" icon-"],
  3597. .app-navigation-entry-menu li > button[class^=icon-],
  3598. .app-navigation-entry-menu li > button[class*=" icon-"],
  3599. .app-navigation-entry-menu li > a[class^=icon-],
  3600. .app-navigation-entry-menu li > a[class*=" icon-"],
  3601. .app-navigation-entry-menu li > .menuitem[class^=icon-],
  3602. .app-navigation-entry-menu li > .menuitem[class*=" icon-"],
  3603. .popovermenu li > button[class^=icon-],
  3604. .popovermenu li > button[class*=" icon-"],
  3605. .popovermenu li > a[class^=icon-],
  3606. .popovermenu li > a[class*=" icon-"],
  3607. .popovermenu li > .menuitem[class^=icon-],
  3608. .popovermenu li > .menuitem[class*=" icon-"] {
  3609. padding: 0 14px 0 44px !important;
  3610. }
  3611. .bubble li > button:hover, .bubble li > button:focus,
  3612. .bubble li > a:hover,
  3613. .bubble li > a:focus,
  3614. .bubble li > .menuitem:hover,
  3615. .bubble li > .menuitem:focus,
  3616. .app-navigation-entry-menu li > button:hover,
  3617. .app-navigation-entry-menu li > button:focus,
  3618. .app-navigation-entry-menu li > a:hover,
  3619. .app-navigation-entry-menu li > a:focus,
  3620. .app-navigation-entry-menu li > .menuitem:hover,
  3621. .app-navigation-entry-menu li > .menuitem:focus,
  3622. .popovermenu li > button:hover,
  3623. .popovermenu li > button:focus,
  3624. .popovermenu li > a:hover,
  3625. .popovermenu li > a:focus,
  3626. .popovermenu li > .menuitem:hover,
  3627. .popovermenu li > .menuitem:focus {
  3628. background-color: var(--color-background-hover);
  3629. }
  3630. .bubble li > button:focus, .bubble li > button:focus-visible,
  3631. .bubble li > a:focus,
  3632. .bubble li > a:focus-visible,
  3633. .bubble li > .menuitem:focus,
  3634. .bubble li > .menuitem:focus-visible,
  3635. .app-navigation-entry-menu li > button:focus,
  3636. .app-navigation-entry-menu li > button:focus-visible,
  3637. .app-navigation-entry-menu li > a:focus,
  3638. .app-navigation-entry-menu li > a:focus-visible,
  3639. .app-navigation-entry-menu li > .menuitem:focus,
  3640. .app-navigation-entry-menu li > .menuitem:focus-visible,
  3641. .popovermenu li > button:focus,
  3642. .popovermenu li > button:focus-visible,
  3643. .popovermenu li > a:focus,
  3644. .popovermenu li > a:focus-visible,
  3645. .popovermenu li > .menuitem:focus,
  3646. .popovermenu li > .menuitem:focus-visible {
  3647. box-shadow: 0 0 0 2px var(--color-primary-element);
  3648. }
  3649. .bubble li > button.active,
  3650. .bubble li > a.active,
  3651. .bubble li > .menuitem.active,
  3652. .app-navigation-entry-menu li > button.active,
  3653. .app-navigation-entry-menu li > a.active,
  3654. .app-navigation-entry-menu li > .menuitem.active,
  3655. .popovermenu li > button.active,
  3656. .popovermenu li > a.active,
  3657. .popovermenu li > .menuitem.active {
  3658. border-radius: var(--border-radius-pill);
  3659. background-color: var(--color-primary-light);
  3660. }
  3661. .bubble li > button.action,
  3662. .bubble li > a.action,
  3663. .bubble li > .menuitem.action,
  3664. .app-navigation-entry-menu li > button.action,
  3665. .app-navigation-entry-menu li > a.action,
  3666. .app-navigation-entry-menu li > .menuitem.action,
  3667. .popovermenu li > button.action,
  3668. .popovermenu li > a.action,
  3669. .popovermenu li > .menuitem.action {
  3670. padding: inherit !important;
  3671. }
  3672. .bubble li > button > span,
  3673. .bubble li > a > span,
  3674. .bubble li > .menuitem > span,
  3675. .app-navigation-entry-menu li > button > span,
  3676. .app-navigation-entry-menu li > a > span,
  3677. .app-navigation-entry-menu li > .menuitem > span,
  3678. .popovermenu li > button > span,
  3679. .popovermenu li > a > span,
  3680. .popovermenu li > .menuitem > span {
  3681. cursor: pointer;
  3682. white-space: nowrap;
  3683. }
  3684. .bubble li > button > p,
  3685. .bubble li > a > p,
  3686. .bubble li > .menuitem > p,
  3687. .app-navigation-entry-menu li > button > p,
  3688. .app-navigation-entry-menu li > a > p,
  3689. .app-navigation-entry-menu li > .menuitem > p,
  3690. .popovermenu li > button > p,
  3691. .popovermenu li > a > p,
  3692. .popovermenu li > .menuitem > p {
  3693. width: 150px;
  3694. line-height: 1.6em;
  3695. padding: 8px 0;
  3696. white-space: normal;
  3697. }
  3698. .bubble li > button > select,
  3699. .bubble li > a > select,
  3700. .bubble li > .menuitem > select,
  3701. .app-navigation-entry-menu li > button > select,
  3702. .app-navigation-entry-menu li > a > select,
  3703. .app-navigation-entry-menu li > .menuitem > select,
  3704. .popovermenu li > button > select,
  3705. .popovermenu li > a > select,
  3706. .popovermenu li > .menuitem > select {
  3707. margin: 0;
  3708. margin-left: 6px;
  3709. }
  3710. .bubble li > button:not(:empty),
  3711. .bubble li > a:not(:empty),
  3712. .bubble li > .menuitem:not(:empty),
  3713. .app-navigation-entry-menu li > button:not(:empty),
  3714. .app-navigation-entry-menu li > a:not(:empty),
  3715. .app-navigation-entry-menu li > .menuitem:not(:empty),
  3716. .popovermenu li > button:not(:empty),
  3717. .popovermenu li > a:not(:empty),
  3718. .popovermenu li > .menuitem:not(:empty) {
  3719. padding-right: 14px !important;
  3720. }
  3721. .bubble li > button > img,
  3722. .bubble li > a > img,
  3723. .bubble li > .menuitem > img,
  3724. .app-navigation-entry-menu li > button > img,
  3725. .app-navigation-entry-menu li > a > img,
  3726. .app-navigation-entry-menu li > .menuitem > img,
  3727. .popovermenu li > button > img,
  3728. .popovermenu li > a > img,
  3729. .popovermenu li > .menuitem > img {
  3730. width: 16px;
  3731. padding: 14px;
  3732. }
  3733. .bubble li > button > input.radio + label,
  3734. .bubble li > button > input.checkbox + label,
  3735. .bubble li > a > input.radio + label,
  3736. .bubble li > a > input.checkbox + label,
  3737. .bubble li > .menuitem > input.radio + label,
  3738. .bubble li > .menuitem > input.checkbox + label,
  3739. .app-navigation-entry-menu li > button > input.radio + label,
  3740. .app-navigation-entry-menu li > button > input.checkbox + label,
  3741. .app-navigation-entry-menu li > a > input.radio + label,
  3742. .app-navigation-entry-menu li > a > input.checkbox + label,
  3743. .app-navigation-entry-menu li > .menuitem > input.radio + label,
  3744. .app-navigation-entry-menu li > .menuitem > input.checkbox + label,
  3745. .popovermenu li > button > input.radio + label,
  3746. .popovermenu li > button > input.checkbox + label,
  3747. .popovermenu li > a > input.radio + label,
  3748. .popovermenu li > a > input.checkbox + label,
  3749. .popovermenu li > .menuitem > input.radio + label,
  3750. .popovermenu li > .menuitem > input.checkbox + label {
  3751. padding: 0 !important;
  3752. width: 100%;
  3753. }
  3754. .bubble li > button > input.checkbox + label::before,
  3755. .bubble li > a > input.checkbox + label::before,
  3756. .bubble li > .menuitem > input.checkbox + label::before,
  3757. .app-navigation-entry-menu li > button > input.checkbox + label::before,
  3758. .app-navigation-entry-menu li > a > input.checkbox + label::before,
  3759. .app-navigation-entry-menu li > .menuitem > input.checkbox + label::before,
  3760. .popovermenu li > button > input.checkbox + label::before,
  3761. .popovermenu li > a > input.checkbox + label::before,
  3762. .popovermenu li > .menuitem > input.checkbox + label::before {
  3763. margin: -2px 13px 0;
  3764. }
  3765. .bubble li > button > input.radio + label::before,
  3766. .bubble li > a > input.radio + label::before,
  3767. .bubble li > .menuitem > input.radio + label::before,
  3768. .app-navigation-entry-menu li > button > input.radio + label::before,
  3769. .app-navigation-entry-menu li > a > input.radio + label::before,
  3770. .app-navigation-entry-menu li > .menuitem > input.radio + label::before,
  3771. .popovermenu li > button > input.radio + label::before,
  3772. .popovermenu li > a > input.radio + label::before,
  3773. .popovermenu li > .menuitem > input.radio + label::before {
  3774. margin: -2px 12px 0;
  3775. }
  3776. .bubble li > button > input:not([type=radio]):not([type=checkbox]):not([type=image]),
  3777. .bubble li > a > input:not([type=radio]):not([type=checkbox]):not([type=image]),
  3778. .bubble li > .menuitem > input:not([type=radio]):not([type=checkbox]):not([type=image]),
  3779. .app-navigation-entry-menu li > button > input:not([type=radio]):not([type=checkbox]):not([type=image]),
  3780. .app-navigation-entry-menu li > a > input:not([type=radio]):not([type=checkbox]):not([type=image]),
  3781. .app-navigation-entry-menu li > .menuitem > input:not([type=radio]):not([type=checkbox]):not([type=image]),
  3782. .popovermenu li > button > input:not([type=radio]):not([type=checkbox]):not([type=image]),
  3783. .popovermenu li > a > input:not([type=radio]):not([type=checkbox]):not([type=image]),
  3784. .popovermenu li > .menuitem > input:not([type=radio]):not([type=checkbox]):not([type=image]) {
  3785. width: 150px;
  3786. }
  3787. .bubble li > button form,
  3788. .bubble li > a form,
  3789. .bubble li > .menuitem form,
  3790. .app-navigation-entry-menu li > button form,
  3791. .app-navigation-entry-menu li > a form,
  3792. .app-navigation-entry-menu li > .menuitem form,
  3793. .popovermenu li > button form,
  3794. .popovermenu li > a form,
  3795. .popovermenu li > .menuitem form {
  3796. display: flex;
  3797. flex: 1 1 auto;
  3798. /* put a small space between text and form
  3799. if there is an element before */
  3800. align-items: center;
  3801. }
  3802. .bubble li > button form:not(:first-child),
  3803. .bubble li > a form:not(:first-child),
  3804. .bubble li > .menuitem form:not(:first-child),
  3805. .app-navigation-entry-menu li > button form:not(:first-child),
  3806. .app-navigation-entry-menu li > a form:not(:first-child),
  3807. .app-navigation-entry-menu li > .menuitem form:not(:first-child),
  3808. .popovermenu li > button form:not(:first-child),
  3809. .popovermenu li > a form:not(:first-child),
  3810. .popovermenu li > .menuitem form:not(:first-child) {
  3811. margin-left: 5px;
  3812. }
  3813. .bubble li > button > span.hidden + form,
  3814. .bubble li > button > span[style*="display:none"] + form,
  3815. .bubble li > a > span.hidden + form,
  3816. .bubble li > a > span[style*="display:none"] + form,
  3817. .bubble li > .menuitem > span.hidden + form,
  3818. .bubble li > .menuitem > span[style*="display:none"] + form,
  3819. .app-navigation-entry-menu li > button > span.hidden + form,
  3820. .app-navigation-entry-menu li > button > span[style*="display:none"] + form,
  3821. .app-navigation-entry-menu li > a > span.hidden + form,
  3822. .app-navigation-entry-menu li > a > span[style*="display:none"] + form,
  3823. .app-navigation-entry-menu li > .menuitem > span.hidden + form,
  3824. .app-navigation-entry-menu li > .menuitem > span[style*="display:none"] + form,
  3825. .popovermenu li > button > span.hidden + form,
  3826. .popovermenu li > button > span[style*="display:none"] + form,
  3827. .popovermenu li > a > span.hidden + form,
  3828. .popovermenu li > a > span[style*="display:none"] + form,
  3829. .popovermenu li > .menuitem > span.hidden + form,
  3830. .popovermenu li > .menuitem > span[style*="display:none"] + form {
  3831. margin-left: 0;
  3832. }
  3833. .bubble li > button input,
  3834. .bubble li > a input,
  3835. .bubble li > .menuitem input,
  3836. .app-navigation-entry-menu li > button input,
  3837. .app-navigation-entry-menu li > a input,
  3838. .app-navigation-entry-menu li > .menuitem input,
  3839. .popovermenu li > button input,
  3840. .popovermenu li > a input,
  3841. .popovermenu li > .menuitem input {
  3842. min-width: 44px;
  3843. max-height: 40px;
  3844. /* twice the element margin-y */
  3845. margin: 2px 0;
  3846. flex: 1 1 auto;
  3847. }
  3848. .bubble li > button input:not(:first-child),
  3849. .bubble li > a input:not(:first-child),
  3850. .bubble li > .menuitem input:not(:first-child),
  3851. .app-navigation-entry-menu li > button input:not(:first-child),
  3852. .app-navigation-entry-menu li > a input:not(:first-child),
  3853. .app-navigation-entry-menu li > .menuitem input:not(:first-child),
  3854. .popovermenu li > button input:not(:first-child),
  3855. .popovermenu li > a input:not(:first-child),
  3856. .popovermenu li > .menuitem input:not(:first-child) {
  3857. margin-left: 5px;
  3858. }
  3859. .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,
  3860. .app-navigation-entry-menu li:not(.hidden):not([style*="display:none"]):first-of-type > button > form,
  3861. .app-navigation-entry-menu li:not(.hidden):not([style*="display:none"]):first-of-type > button > input,
  3862. .app-navigation-entry-menu li:not(.hidden):not([style*="display:none"]):first-of-type > a > form,
  3863. .app-navigation-entry-menu li:not(.hidden):not([style*="display:none"]):first-of-type > a > input,
  3864. .app-navigation-entry-menu li:not(.hidden):not([style*="display:none"]):first-of-type > .menuitem > form,
  3865. .app-navigation-entry-menu li:not(.hidden):not([style*="display:none"]):first-of-type > .menuitem > input,
  3866. .popovermenu li:not(.hidden):not([style*="display:none"]):first-of-type > button > form,
  3867. .popovermenu li:not(.hidden):not([style*="display:none"]):first-of-type > button > input,
  3868. .popovermenu li:not(.hidden):not([style*="display:none"]):first-of-type > a > form,
  3869. .popovermenu li:not(.hidden):not([style*="display:none"]):first-of-type > a > input,
  3870. .popovermenu li:not(.hidden):not([style*="display:none"]):first-of-type > .menuitem > form,
  3871. .popovermenu li:not(.hidden):not([style*="display:none"]):first-of-type > .menuitem > input {
  3872. margin-top: 12px;
  3873. }
  3874. .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,
  3875. .app-navigation-entry-menu li:not(.hidden):not([style*="display:none"]):last-of-type > button > form,
  3876. .app-navigation-entry-menu li:not(.hidden):not([style*="display:none"]):last-of-type > button > input,
  3877. .app-navigation-entry-menu li:not(.hidden):not([style*="display:none"]):last-of-type > a > form,
  3878. .app-navigation-entry-menu li:not(.hidden):not([style*="display:none"]):last-of-type > a > input,
  3879. .app-navigation-entry-menu li:not(.hidden):not([style*="display:none"]):last-of-type > .menuitem > form,
  3880. .app-navigation-entry-menu li:not(.hidden):not([style*="display:none"]):last-of-type > .menuitem > input,
  3881. .popovermenu li:not(.hidden):not([style*="display:none"]):last-of-type > button > form,
  3882. .popovermenu li:not(.hidden):not([style*="display:none"]):last-of-type > button > input,
  3883. .popovermenu li:not(.hidden):not([style*="display:none"]):last-of-type > a > form,
  3884. .popovermenu li:not(.hidden):not([style*="display:none"]):last-of-type > a > input,
  3885. .popovermenu li:not(.hidden):not([style*="display:none"]):last-of-type > .menuitem > form,
  3886. .popovermenu li:not(.hidden):not([style*="display:none"]):last-of-type > .menuitem > input {
  3887. margin-bottom: 0px;
  3888. }
  3889. .bubble li > button,
  3890. .app-navigation-entry-menu li > button,
  3891. .popovermenu li > button {
  3892. padding: 0;
  3893. }
  3894. .bubble li > button span,
  3895. .app-navigation-entry-menu li > button span,
  3896. .popovermenu li > button span {
  3897. opacity: 1;
  3898. }
  3899. /* "app-*" descendants use border-box sizing, so the height of the icon must be
  3900. * set to the height of the item (as well as its width to make it squared). */
  3901. #content[class*=app-] .bubble li > button,
  3902. #content[class*=app-] .bubble li > a,
  3903. #content[class*=app-] .bubble li > .menuitem,
  3904. #content[class*=app-] .app-navigation-entry-menu li > button,
  3905. #content[class*=app-] .app-navigation-entry-menu li > a,
  3906. #content[class*=app-] .app-navigation-entry-menu li > .menuitem,
  3907. #content[class*=app-] .popovermenu li > button,
  3908. #content[class*=app-] .popovermenu li > a,
  3909. #content[class*=app-] .popovermenu li > .menuitem {
  3910. width: fit-content;
  3911. /* DEPRECATED! old img in popover fallback
  3912. * TODO: to remove */
  3913. }
  3914. #content[class*=app-] .bubble li > button > img,
  3915. #content[class*=app-] .bubble li > a > img,
  3916. #content[class*=app-] .bubble li > .menuitem > img,
  3917. #content[class*=app-] .app-navigation-entry-menu li > button > img,
  3918. #content[class*=app-] .app-navigation-entry-menu li > a > img,
  3919. #content[class*=app-] .app-navigation-entry-menu li > .menuitem > img,
  3920. #content[class*=app-] .popovermenu li > button > img,
  3921. #content[class*=app-] .popovermenu li > a > img,
  3922. #content[class*=app-] .popovermenu li > .menuitem > img {
  3923. width: 44px;
  3924. height: 44px;
  3925. }
  3926. /* CONTENT LIST ------------------------------------------------------------ */
  3927. .app-content-list {
  3928. position: -webkit-sticky;
  3929. position: relative;
  3930. top: 0;
  3931. border-right: 1px solid var(--color-border);
  3932. display: flex;
  3933. flex-direction: column;
  3934. transition: transform 250ms ease-in-out;
  3935. min-height: 100%;
  3936. max-height: 100%;
  3937. overflow-y: auto;
  3938. overflow-x: hidden;
  3939. flex: 1 1 200px;
  3940. min-width: 200px;
  3941. max-width: 300px;
  3942. /* Default item */
  3943. }
  3944. .app-content-list .app-content-list-item {
  3945. position: relative;
  3946. height: 68px;
  3947. cursor: pointer;
  3948. padding: 10px 7px;
  3949. display: flex;
  3950. flex-wrap: wrap;
  3951. align-items: center;
  3952. flex: 0 0 auto;
  3953. /* Icon fixes */
  3954. }
  3955. .app-content-list .app-content-list-item > [class^=icon-],
  3956. .app-content-list .app-content-list-item > [class*=" icon-"],
  3957. .app-content-list .app-content-list-item > .app-content-list-item-menu > [class^=icon-],
  3958. .app-content-list .app-content-list-item > .app-content-list-item-menu > [class*=" icon-"] {
  3959. order: 4;
  3960. width: 24px;
  3961. height: 24px;
  3962. margin: -7px;
  3963. padding: 22px;
  3964. opacity: 0.3;
  3965. cursor: pointer;
  3966. }
  3967. .app-content-list .app-content-list-item > [class^=icon-]:hover, .app-content-list .app-content-list-item > [class^=icon-]:focus,
  3968. .app-content-list .app-content-list-item > [class*=" icon-"]:hover,
  3969. .app-content-list .app-content-list-item > [class*=" icon-"]:focus,
  3970. .app-content-list .app-content-list-item > .app-content-list-item-menu > [class^=icon-]:hover,
  3971. .app-content-list .app-content-list-item > .app-content-list-item-menu > [class^=icon-]:focus,
  3972. .app-content-list .app-content-list-item > .app-content-list-item-menu > [class*=" icon-"]:hover,
  3973. .app-content-list .app-content-list-item > .app-content-list-item-menu > [class*=" icon-"]:focus {
  3974. opacity: 0.7;
  3975. }
  3976. .app-content-list .app-content-list-item > [class^=icon-][class^=icon-star], .app-content-list .app-content-list-item > [class^=icon-][class*=" icon-star"],
  3977. .app-content-list .app-content-list-item > [class*=" icon-"][class^=icon-star],
  3978. .app-content-list .app-content-list-item > [class*=" icon-"][class*=" icon-star"],
  3979. .app-content-list .app-content-list-item > .app-content-list-item-menu > [class^=icon-][class^=icon-star],
  3980. .app-content-list .app-content-list-item > .app-content-list-item-menu > [class^=icon-][class*=" icon-star"],
  3981. .app-content-list .app-content-list-item > .app-content-list-item-menu > [class*=" icon-"][class^=icon-star],
  3982. .app-content-list .app-content-list-item > .app-content-list-item-menu > [class*=" icon-"][class*=" icon-star"] {
  3983. opacity: 0.7;
  3984. }
  3985. .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,
  3986. .app-content-list .app-content-list-item > [class*=" icon-"][class^=icon-star]:hover,
  3987. .app-content-list .app-content-list-item > [class*=" icon-"][class^=icon-star]:focus,
  3988. .app-content-list .app-content-list-item > [class*=" icon-"][class*=" icon-star"]:hover,
  3989. .app-content-list .app-content-list-item > [class*=" icon-"][class*=" icon-star"]:focus,
  3990. .app-content-list .app-content-list-item > .app-content-list-item-menu > [class^=icon-][class^=icon-star]:hover,
  3991. .app-content-list .app-content-list-item > .app-content-list-item-menu > [class^=icon-][class^=icon-star]:focus,
  3992. .app-content-list .app-content-list-item > .app-content-list-item-menu > [class^=icon-][class*=" icon-star"]:hover,
  3993. .app-content-list .app-content-list-item > .app-content-list-item-menu > [class^=icon-][class*=" icon-star"]:focus,
  3994. .app-content-list .app-content-list-item > .app-content-list-item-menu > [class*=" icon-"][class^=icon-star]:hover,
  3995. .app-content-list .app-content-list-item > .app-content-list-item-menu > [class*=" icon-"][class^=icon-star]:focus,
  3996. .app-content-list .app-content-list-item > .app-content-list-item-menu > [class*=" icon-"][class*=" icon-star"]:hover,
  3997. .app-content-list .app-content-list-item > .app-content-list-item-menu > [class*=" icon-"][class*=" icon-star"]:focus {
  3998. opacity: 1;
  3999. }
  4000. .app-content-list .app-content-list-item > [class^=icon-].icon-starred,
  4001. .app-content-list .app-content-list-item > [class*=" icon-"].icon-starred,
  4002. .app-content-list .app-content-list-item > .app-content-list-item-menu > [class^=icon-].icon-starred,
  4003. .app-content-list .app-content-list-item > .app-content-list-item-menu > [class*=" icon-"].icon-starred {
  4004. opacity: 1;
  4005. }
  4006. .app-content-list .app-content-list-item:hover, .app-content-list .app-content-list-item:focus, .app-content-list .app-content-list-item.active {
  4007. background-color: var(--color-background-dark);
  4008. }
  4009. .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 {
  4010. display: flex;
  4011. }
  4012. .app-content-list .app-content-list-item .app-content-list-item-checkbox.checkbox + label,
  4013. .app-content-list .app-content-list-item .app-content-list-item-star {
  4014. position: absolute;
  4015. height: 40px;
  4016. width: 40px;
  4017. z-index: 50;
  4018. }
  4019. .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 {
  4020. display: flex;
  4021. }
  4022. .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 {
  4023. opacity: 0.7;
  4024. }
  4025. .app-content-list .app-content-list-item .app-content-list-item-checkbox.checkbox + label {
  4026. top: 14px;
  4027. left: 7px;
  4028. display: none;
  4029. /* Hide the star, priority to the checkbox */
  4030. }
  4031. .app-content-list .app-content-list-item .app-content-list-item-checkbox.checkbox + label::before {
  4032. margin: 0;
  4033. }
  4034. .app-content-list .app-content-list-item .app-content-list-item-checkbox.checkbox + label ~ .app-content-list-item-star {
  4035. display: none;
  4036. }
  4037. .app-content-list .app-content-list-item .app-content-list-item-star {
  4038. display: flex;
  4039. top: 10px;
  4040. left: 32px;
  4041. background-size: 16px;
  4042. height: 20px;
  4043. width: 20px;
  4044. margin: 0;
  4045. padding: 0;
  4046. }
  4047. .app-content-list .app-content-list-item .app-content-list-item-icon {
  4048. position: absolute;
  4049. display: inline-block;
  4050. height: 40px;
  4051. width: 40px;
  4052. line-height: 40px;
  4053. border-radius: 50%;
  4054. vertical-align: middle;
  4055. margin-right: 10px;
  4056. color: #fff;
  4057. text-align: center;
  4058. font-size: 1.5em;
  4059. text-transform: capitalize;
  4060. object-fit: cover;
  4061. user-select: none;
  4062. cursor: pointer;
  4063. top: 50%;
  4064. margin-top: -20px;
  4065. }
  4066. .app-content-list .app-content-list-item .app-content-list-item-line-one,
  4067. .app-content-list .app-content-list-item .app-content-list-item-line-two {
  4068. display: block;
  4069. padding-left: 50px;
  4070. white-space: nowrap;
  4071. overflow: hidden;
  4072. text-overflow: ellipsis;
  4073. order: 1;
  4074. flex: 1 1 0px;
  4075. padding-right: 10px;
  4076. cursor: pointer;
  4077. }
  4078. .app-content-list .app-content-list-item .app-content-list-item-line-two {
  4079. opacity: 0.5;
  4080. order: 3;
  4081. flex: 1 0;
  4082. flex-basis: calc(100% - 44px);
  4083. }
  4084. .app-content-list .app-content-list-item .app-content-list-item-details {
  4085. order: 2;
  4086. white-space: nowrap;
  4087. overflow: hidden;
  4088. text-overflow: ellipsis;
  4089. max-width: 100px;
  4090. opacity: 0.5;
  4091. font-size: 80%;
  4092. user-select: none;
  4093. }
  4094. .app-content-list .app-content-list-item .app-content-list-item-menu {
  4095. order: 4;
  4096. position: relative;
  4097. }
  4098. .app-content-list .app-content-list-item .app-content-list-item-menu .popovermenu {
  4099. margin: 0;
  4100. right: -2px;
  4101. }
  4102. .app-content-list.selection .app-content-list-item-checkbox.checkbox + label {
  4103. display: flex;
  4104. }
  4105. /* Copyright (c) 2015, Raghu Nayyar, http://raghunayyar.com
  4106. This file is licensed under the Affero General Public License version 3 or later.
  4107. See the COPYING-README file. */
  4108. /* Global Components */
  4109. .pull-left {
  4110. float: left;
  4111. }
  4112. .pull-right {
  4113. float: right;
  4114. }
  4115. .clear-left {
  4116. clear: left;
  4117. }
  4118. .clear-right {
  4119. clear: right;
  4120. }
  4121. .clear-both {
  4122. clear: both;
  4123. }
  4124. .hidden {
  4125. display: none;
  4126. }
  4127. .hidden-visually {
  4128. position: absolute;
  4129. left: -10000px;
  4130. top: -10000px;
  4131. width: 1px;
  4132. height: 1px;
  4133. overflow: hidden;
  4134. }
  4135. .bold {
  4136. font-weight: 600;
  4137. }
  4138. .center {
  4139. text-align: center;
  4140. }
  4141. .inlineblock {
  4142. display: inline-block;
  4143. }
  4144. /* ---- BROWSER-SPECIFIC FIXES ---- */
  4145. /* remove dotted outlines in Firefox */
  4146. ::-moz-focus-inner {
  4147. border: 0;
  4148. }
  4149. /**
  4150. * @copyright Copyright (c) 2018, John Molakvoæ (skjnldsv@protonmail.com)
  4151. *
  4152. * @author John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
  4153. *
  4154. * @license GNU AGPL version 3 or any later version
  4155. *
  4156. * This program is free software: you can redistribute it and/or modify
  4157. * it under the terms of the GNU Affero General Public License as
  4158. * published by the Free Software Foundation, either version 3 of the
  4159. * License, or (at your option) any later version.
  4160. *
  4161. * This program is distributed in the hope that it will be useful,
  4162. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  4163. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  4164. * GNU Affero General Public License for more details.
  4165. *
  4166. * You should have received a copy of the GNU Affero General Public License
  4167. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  4168. *
  4169. */
  4170. @media only screen and (max-width: 1024px) {
  4171. /* position share dropdown */
  4172. #dropdown {
  4173. margin-right: 10% !important;
  4174. width: 80% !important;
  4175. }
  4176. /* fix name autocomplete not showing on mobile */
  4177. .ui-autocomplete {
  4178. z-index: 1000 !important;
  4179. }
  4180. /* fix error display on smaller screens */
  4181. .error-wide {
  4182. width: 100%;
  4183. margin-left: 0 !important;
  4184. box-sizing: border-box;
  4185. }
  4186. /* APP SIDEBAR TOGGLE and SWIPE ----------------------------------------------*/
  4187. #app-navigation:not(.vue) {
  4188. transform: translateX(-300px);
  4189. position: fixed;
  4190. height: var(--body-height);
  4191. }
  4192. .snapjs-left #app-navigation {
  4193. transform: translateX(0);
  4194. }
  4195. #app-navigation:not(.hidden) + #app-content {
  4196. margin-left: 0;
  4197. }
  4198. .skip-navigation.skip-content {
  4199. left: 3px;
  4200. margin-left: 0;
  4201. }
  4202. /* full width for message list on mobile */
  4203. .app-content-list {
  4204. background: var(--color-main-background);
  4205. flex: 1 1 100%;
  4206. max-height: unset;
  4207. max-width: 100%;
  4208. }
  4209. .app-content-list + .app-content-details {
  4210. display: none;
  4211. }
  4212. .app-content-list.showdetails {
  4213. display: none;
  4214. }
  4215. .app-content-list.showdetails + .app-content-details {
  4216. display: initial;
  4217. }
  4218. /* Show app details page */
  4219. #app-content.showdetails #app-navigation-toggle {
  4220. transform: translateX(-44px);
  4221. }
  4222. #app-content.showdetails #app-navigation-toggle-back {
  4223. position: fixed;
  4224. display: inline-block !important;
  4225. top: 50px;
  4226. left: 0;
  4227. width: 44px;
  4228. height: 44px;
  4229. z-index: 1050;
  4230. background-color: rgba(255, 255, 255, 0.7);
  4231. cursor: pointer;
  4232. opacity: 0.6;
  4233. transform: rotate(90deg);
  4234. }
  4235. #app-content.showdetails .app-content-list {
  4236. transform: translateX(-100%);
  4237. }
  4238. #app-navigation-toggle {
  4239. position: fixed;
  4240. display: inline-block !important;
  4241. left: 0;
  4242. width: 44px;
  4243. height: 44px;
  4244. z-index: 1050;
  4245. cursor: pointer;
  4246. opacity: 0.6;
  4247. }
  4248. #app-navigation-toggle:hover,
  4249. #app-navigation-toggle:focus {
  4250. opacity: 1;
  4251. }
  4252. /* position controls for apps with app-navigation */
  4253. #app-navigation + #app-content .files-controls {
  4254. padding-left: 44px;
  4255. }
  4256. /* .viewer-mode is when text editor, PDF viewer, etc is open */
  4257. #body-user .app-files.viewer-mode .files-controls {
  4258. padding-left: 0 !important;
  4259. }
  4260. .app-files.viewer-mode #app-navigation-toggle {
  4261. display: none !important;
  4262. }
  4263. table.multiselect thead {
  4264. left: 0 !important;
  4265. }
  4266. /* prevent overflow in user management controls bar */
  4267. #usersearchform {
  4268. display: none;
  4269. }
  4270. #body-settings .files-controls {
  4271. min-width: 1024px !important;
  4272. }
  4273. /* do not show dates in filepicker */
  4274. #oc-dialog-filepicker-content .filelist .column-size,
  4275. #oc-dialog-filepicker-content .filelist .column-mtime,
  4276. #oc-dialog-filepicker-content .filelist .filesize,
  4277. #oc-dialog-filepicker-content .filelist .date {
  4278. display: none;
  4279. }
  4280. #oc-dialog-filepicker-content .filelist .filename {
  4281. max-width: 100%;
  4282. }
  4283. .snapjs-left table.multiselect thead {
  4284. top: 44px;
  4285. }
  4286. /* end of media query */
  4287. }
  4288. @media only screen and (max-width: 480px) {
  4289. #header .header-right > div > .menu {
  4290. max-width: calc(100vw - 10px);
  4291. position: fixed;
  4292. }
  4293. #header .header-right > div > .menu::after {
  4294. display: none !important;
  4295. }
  4296. /* Arrow directly child of menutoggle */
  4297. #header .header-right > div {
  4298. /* settings need a different offset, since they have a right padding */
  4299. }
  4300. #header .header-right > div.openedMenu::after {
  4301. display: block;
  4302. }
  4303. #header .header-right > div::after {
  4304. border: 10px solid transparent;
  4305. border-bottom-color: var(--color-main-background);
  4306. bottom: 0;
  4307. content: " ";
  4308. height: 0;
  4309. width: 0;
  4310. position: absolute;
  4311. pointer-events: none;
  4312. right: 15px;
  4313. z-index: 2001;
  4314. display: none;
  4315. }
  4316. #header .header-right > div#settings::after {
  4317. right: 27px;
  4318. }
  4319. }
  4320. /**
  4321. * @copyright Copyright (c) 2016, John Molakvoæ <skjnldsv@protonmail.com>
  4322. * @copyright Copyright (c) 2016, Robin Appelman <robin@icewind.nl>
  4323. * @copyright Copyright (c) 2016, Jan-Christoph Borchardt <hey@jancborchardt.net>
  4324. * @copyright Copyright (c) 2016, Erik Pellikka <erik@pellikka.org>
  4325. * @copyright Copyright (c) 2015, Vincent Petry <pvince81@owncloud.com>
  4326. *
  4327. * Bootstrap v3.3.5 (http://getbootstrap.com)
  4328. * Copyright 2011-2015 Twitter, Inc.
  4329. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
  4330. */
  4331. .tooltip {
  4332. position: absolute;
  4333. display: block;
  4334. font-family: var(--font-face);
  4335. font-style: normal;
  4336. font-weight: normal;
  4337. letter-spacing: normal;
  4338. line-break: auto;
  4339. line-height: 1.6;
  4340. text-align: left;
  4341. text-align: start;
  4342. text-decoration: none;
  4343. text-shadow: none;
  4344. text-transform: none;
  4345. white-space: normal;
  4346. word-break: normal;
  4347. word-spacing: normal;
  4348. word-wrap: normal;
  4349. overflow-wrap: anywhere;
  4350. font-size: 12px;
  4351. opacity: 0;
  4352. z-index: 100000;
  4353. /* default to top */
  4354. margin-top: -3px;
  4355. padding: 10px 0;
  4356. filter: drop-shadow(0 1px 10px var(--color-box-shadow));
  4357. /* TOP */
  4358. /* BOTTOM */
  4359. }
  4360. .tooltip.in, .tooltip.show, .tooltip.tooltip[aria-hidden=false] {
  4361. visibility: visible;
  4362. opacity: 1;
  4363. transition: opacity 0.15s;
  4364. }
  4365. .tooltip.top .tooltip-arrow, .tooltip[x-placement^=top] {
  4366. left: 50%;
  4367. margin-left: -10px;
  4368. }
  4369. .tooltip.bottom, .tooltip[x-placement^=bottom] {
  4370. margin-top: 3px;
  4371. padding: 10px 0;
  4372. }
  4373. .tooltip.right, .tooltip[x-placement^=right] {
  4374. margin-left: 3px;
  4375. padding: 0 10px;
  4376. }
  4377. .tooltip.right .tooltip-arrow, .tooltip[x-placement^=right] .tooltip-arrow {
  4378. top: 50%;
  4379. left: 0;
  4380. margin-top: -10px;
  4381. border-width: 10px 10px 10px 0;
  4382. border-right-color: var(--color-main-background);
  4383. }
  4384. .tooltip.left, .tooltip[x-placement^=left] {
  4385. margin-left: -3px;
  4386. padding: 0 5px;
  4387. }
  4388. .tooltip.left .tooltip-arrow, .tooltip[x-placement^=left] .tooltip-arrow {
  4389. top: 50%;
  4390. right: 0;
  4391. margin-top: -10px;
  4392. border-width: 10px 0 10px 10px;
  4393. border-left-color: var(--color-main-background);
  4394. }
  4395. .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 {
  4396. bottom: 0;
  4397. border-width: 10px 10px 0;
  4398. border-top-color: var(--color-main-background);
  4399. }
  4400. .tooltip.top-left .tooltip-arrow {
  4401. right: 10px;
  4402. margin-bottom: -10px;
  4403. }
  4404. .tooltip.top-right .tooltip-arrow {
  4405. left: 10px;
  4406. margin-bottom: -10px;
  4407. }
  4408. .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 {
  4409. top: 0;
  4410. border-width: 0 10px 10px;
  4411. border-bottom-color: var(--color-main-background);
  4412. }
  4413. .tooltip[x-placement^=bottom] .tooltip-arrow, .tooltip.bottom .tooltip-arrow {
  4414. left: 50%;
  4415. margin-left: -10px;
  4416. }
  4417. .tooltip.bottom-left .tooltip-arrow {
  4418. right: 10px;
  4419. margin-top: -10px;
  4420. }
  4421. .tooltip.bottom-right .tooltip-arrow {
  4422. left: 10px;
  4423. margin-top: -10px;
  4424. }
  4425. .tooltip-inner {
  4426. max-width: 350px;
  4427. padding: 5px 8px;
  4428. background-color: var(--color-main-background);
  4429. color: var(--color-main-text);
  4430. text-align: center;
  4431. border-radius: var(--border-radius);
  4432. }
  4433. .tooltip-arrow, .tooltip .arrow {
  4434. position: absolute;
  4435. width: 0;
  4436. height: 0;
  4437. border-color: transparent;
  4438. border-style: solid;
  4439. }
  4440. /**
  4441. * @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>
  4442. *
  4443. * @author Julius Härtl <jus@bitgrid.net>
  4444. * @author John Molakvoæ <skjnldsv@protonmail.com>
  4445. *
  4446. * @license GNU AGPL version 3 or any later version
  4447. *
  4448. * This program is free software: you can redistribute it and/or modify
  4449. * it under the terms of the GNU Affero General Public License as
  4450. * published by the Free Software Foundation, either version 3 of the
  4451. * License, or (at your option) any later version.
  4452. *
  4453. * This program is distributed in the hope that it will be useful,
  4454. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  4455. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  4456. * GNU Affero General Public License for more details.
  4457. *
  4458. * You should have received a copy of the GNU Affero General Public License
  4459. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  4460. */
  4461. .toastify.dialogs {
  4462. min-width: 200px;
  4463. background: none;
  4464. background-color: var(--color-main-background);
  4465. color: var(--color-main-text);
  4466. box-shadow: 0 0 6px 0 var(--color-box-shadow);
  4467. padding: 0 12px;
  4468. margin-top: 45px;
  4469. position: fixed;
  4470. z-index: 10100;
  4471. border-radius: var(--border-radius);
  4472. display: flex;
  4473. align-items: center;
  4474. }
  4475. .toastify.dialogs .toast-undo-container {
  4476. display: flex;
  4477. align-items: center;
  4478. }
  4479. .toastify.dialogs .toast-undo-button,
  4480. .toastify.dialogs .toast-close {
  4481. position: static;
  4482. overflow: hidden;
  4483. box-sizing: border-box;
  4484. min-width: 44px;
  4485. height: 100%;
  4486. padding: 12px;
  4487. white-space: nowrap;
  4488. background-repeat: no-repeat;
  4489. background-position: center;
  4490. background-color: transparent;
  4491. min-height: 0;
  4492. }
  4493. .toastify.dialogs .toast-undo-button.toast-close,
  4494. .toastify.dialogs .toast-close.toast-close {
  4495. text-indent: 0;
  4496. opacity: 0.4;
  4497. border: none;
  4498. min-height: 44px;
  4499. margin-left: 10px;
  4500. font-size: 0;
  4501. /* dark theme overrides for Nextcloud 25 and later */
  4502. }
  4503. .toastify.dialogs .toast-undo-button.toast-close::before,
  4504. .toastify.dialogs .toast-close.toast-close::before {
  4505. background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMTYiIHdpZHRoPSIxNiI+CiAgPHBhdGggZD0iTTE0IDEyLjNMMTIuMyAxNCA4IDkuNyAzLjcgMTQgMiAxMi4zIDYuMyA4IDIgMy43IDMuNyAyIDggNi4zIDEyLjMgMiAxNCAzLjcgOS43IDh6Ii8+Cjwvc3ZnPgo=");
  4506. content: " ";
  4507. filter: var(--background-invert-if-dark);
  4508. display: inline-block;
  4509. width: 16px;
  4510. height: 16px;
  4511. }
  4512. .toastify.dialogs .toast-undo-button.toast-undo-button,
  4513. .toastify.dialogs .toast-close.toast-undo-button {
  4514. margin: 3px;
  4515. height: calc(100% - 6px);
  4516. margin-left: 12px;
  4517. }
  4518. .toastify.dialogs .toast-undo-button:hover, .toastify.dialogs .toast-undo-button:focus, .toastify.dialogs .toast-undo-button:active,
  4519. .toastify.dialogs .toast-close:hover,
  4520. .toastify.dialogs .toast-close:focus,
  4521. .toastify.dialogs .toast-close:active {
  4522. cursor: pointer;
  4523. opacity: 1;
  4524. }
  4525. .toastify.dialogs.toastify-top {
  4526. right: 10px;
  4527. }
  4528. .toastify.dialogs.toast-with-click {
  4529. cursor: pointer;
  4530. }
  4531. .toastify.dialogs.toast-error {
  4532. border-left: 3px solid var(--color-error);
  4533. }
  4534. .toastify.dialogs.toast-info {
  4535. border-left: 3px solid var(--color-primary);
  4536. }
  4537. .toastify.dialogs.toast-warning {
  4538. border-left: 3px solid var(--color-warning);
  4539. }
  4540. .toastify.dialogs.toast-success {
  4541. border-left: 3px solid var(--color-success);
  4542. }
  4543. .toastify.dialogs.toast-undo {
  4544. border-left: 3px solid var(--color-success);
  4545. }
  4546. /* dark theme overrides for Nextcloud 24 and earlier */
  4547. .theme--dark .toastify.dialogs .toast-close {
  4548. /* close icon style */
  4549. }
  4550. .theme--dark .toastify.dialogs .toast-close.toast-close::before {
  4551. background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMTYiIHdpZHRoPSIxNiI+CiAgPHBhdGggZD0iTTE0IDEyLjNMMTIuMyAxNCA4IDkuNyAzLjcgMTQgMiAxMi4zIDYuMyA4IDIgMy43IDMuNyAyIDggNi4zIDEyLjMgMiAxNCAzLjcgOS43IDh6IiBzdHlsZT0iZmlsbC1vcGFjaXR5OjE7ZmlsbDojZmZmZmZmIi8+Cjwvc3ZnPgo=");
  4552. }
  4553. /*# sourceMappingURL=index.css.map */
  4554. #body-public {
  4555. /** don't apply content header padding on the base layout */
  4556. /* public footer */
  4557. }
  4558. #body-public .header-right #header-primary-action a {
  4559. color: var(--color-primary-text);
  4560. }
  4561. #body-public .header-right #header-secondary-action ul li {
  4562. min-width: 270px;
  4563. }
  4564. #body-public .header-right #header-secondary-action #header-actions-toggle {
  4565. background-color: transparent;
  4566. border-color: transparent;
  4567. filter: var(--background-invert-if-dark);
  4568. }
  4569. #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 {
  4570. opacity: 1;
  4571. }
  4572. #body-public .header-right #header-secondary-action #external-share-menu-item form {
  4573. display: flex;
  4574. }
  4575. #body-public .header-right #header-secondary-action #external-share-menu-item .hidden {
  4576. display: none;
  4577. }
  4578. #body-public .header-right #header-secondary-action #external-share-menu-item #save-button-confirm {
  4579. flex-grow: 0;
  4580. }
  4581. #body-public #content {
  4582. min-height: calc(100% - 65px);
  4583. }
  4584. #body-public.layout-base #content {
  4585. padding-top: 0;
  4586. }
  4587. #body-public p.info {
  4588. margin: 20px auto;
  4589. text-shadow: 0 0 2px rgba(0, 0, 0, 0.4);
  4590. -moz-user-select: none;
  4591. -ms-user-select: none;
  4592. user-select: none;
  4593. }
  4594. #body-public p.info, #body-public form fieldset legend,
  4595. #body-public #datadirContent label,
  4596. #body-public form fieldset .warning-info,
  4597. #body-public form input[type=checkbox] + label {
  4598. text-align: center;
  4599. }
  4600. #body-public footer {
  4601. position: fixed;
  4602. display: flex;
  4603. align-items: center;
  4604. justify-content: center;
  4605. height: 65px;
  4606. flex-direction: column;
  4607. bottom: 0;
  4608. width: calc(100% - 16px);
  4609. margin: 8px;
  4610. background-color: var(--color-main-background);
  4611. border-radius: var(--border-radius-large);
  4612. }
  4613. #body-public footer p {
  4614. text-align: center;
  4615. color: var(--color-text-lighter);
  4616. }
  4617. #body-public footer p a {
  4618. color: var(--color-text-lighter);
  4619. font-weight: bold;
  4620. white-space: nowrap;
  4621. /* increasing clickability to more than the text height */
  4622. padding: 10px;
  4623. margin: -10px;
  4624. line-height: 200%;
  4625. }
  4626. /*# sourceMappingURL=server.css.map */