server.css 151 KB

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