merged.css 44 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862
  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. /**
  24. * Copyright (c) 2011, Jan-Christoph Borchardt, http://jancborchardt.net
  25. * @copyright Copyright (c) 2019, Fabian Dreßler <nudelsalat@clouz.de>
  26. *
  27. * This file is licensed under the Affero General Public License version 3 or later.
  28. * See the COPYING-README file.
  29. */
  30. /**
  31. * @copyright Copyright (c) 2018, John Molakvoæ (skjnldsv@protonmail.com)
  32. *
  33. * @author John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
  34. *
  35. * @license GNU AGPL version 3 or any later version
  36. *
  37. * This program is free software: you can redistribute it and/or modify
  38. * it under the terms of the GNU Affero General Public License as
  39. * published by the Free Software Foundation, either version 3 of the
  40. * License, or (at your option) any later version.
  41. *
  42. * This program is distributed in the hope that it will be useful,
  43. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  44. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  45. * GNU Affero General Public License for more details.
  46. *
  47. * You should have received a copy of the GNU Affero General Public License
  48. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  49. *
  50. */
  51. /**
  52. * @see core/src/icons.js
  53. */
  54. /**
  55. * SVG COLOR API
  56. *
  57. * @param string $icon the icon filename
  58. * @param string $dir the icon folder within /core/img if $core or app name
  59. * @param string $color the desired color in hexadecimal
  60. * @param int $version the version of the file
  61. * @param bool [$core] search icon in core
  62. *
  63. * @returns A background image with the url to the set to the requested icon.
  64. */
  65. /* FILE MENU */
  66. .actions {
  67. padding: 5px;
  68. height: 100%;
  69. display: inline-block;
  70. float: left;
  71. }
  72. .actions input, .actions button, .actions .button {
  73. margin: 0;
  74. float: left;
  75. }
  76. .actions .button a {
  77. color: #555;
  78. }
  79. .actions .button a:hover,
  80. .actions .button a:focus {
  81. background-color: var(--color-background-hover);
  82. }
  83. .actions .button a:active {
  84. background-color: var(--color-primary-light);
  85. }
  86. .actions.creatable {
  87. position: relative;
  88. display: flex;
  89. flex: 1 1;
  90. }
  91. .actions.creatable .button:not(:last-child) {
  92. margin-right: 3px;
  93. }
  94. .actions.hidden {
  95. display: none;
  96. }
  97. #trash {
  98. margin-right: 8px;
  99. float: right;
  100. z-index: 1010;
  101. padding: 10px;
  102. font-weight: normal;
  103. }
  104. .newFileMenu .error,
  105. .newFileMenu .error + .icon-confirm,
  106. .files-fileList .error {
  107. color: var(--color-error);
  108. border-color: var(--color-error);
  109. }
  110. /* FILE TABLE */
  111. .files-filestable {
  112. position: relative;
  113. width: 100%;
  114. min-width: 250px;
  115. display: block;
  116. flex-direction: column;
  117. /**
  118. * This is a dirty hack as the sticky header requires us to use a different display type on the table element
  119. */
  120. }
  121. .emptycontent:not(.hidden) ~ .files-filestable {
  122. display: none;
  123. }
  124. .files-filestable thead {
  125. position: -webkit-sticky;
  126. position: sticky;
  127. top: 44px;
  128. z-index: 60;
  129. display: block;
  130. background-color: var(--color-main-background-translucent);
  131. }
  132. .files-filestable tbody {
  133. display: table;
  134. width: 100%;
  135. }
  136. .files-filestable tbody tr[data-permissions="0"],
  137. .files-filestable tbody tr[data-permissions="16"] {
  138. background-color: var(--color-background-dark);
  139. }
  140. .files-filestable tbody tr[data-permissions="0"] td.filename .nametext .innernametext,
  141. .files-filestable tbody tr[data-permissions="16"] td.filename .nametext .innernametext {
  142. color: var(--color-text-maxcontrast);
  143. }
  144. .files-filestable tbody tr[data-e2eencrypted=true] {
  145. pointer-events: none;
  146. }
  147. .files-filestable.hidden {
  148. display: none;
  149. }
  150. /* fit app list view heights */
  151. .app-files #app-content > .viewcontainer {
  152. min-height: 0%;
  153. width: 100%;
  154. }
  155. .app-files #app-content {
  156. width: calc(100% - 300px);
  157. }
  158. .file-drag, .file-drag .files-filestable tbody tr, .file-drag .files-filestable tbody tr:hover {
  159. background-color: var(--color-primary-light) !important;
  160. }
  161. .app-files #app-content.dir-drop {
  162. background-color: var(--color-main-background) !important;
  163. }
  164. .file-drag .files-filestable tbody tr, .file-drag .files-filestable tbody tr:hover {
  165. background-color: transparent !important;
  166. }
  167. .app-files #app-content.dir-drop .files-filestable tbody tr.dropping-to-dir {
  168. background-color: var(--color-primary-light) !important;
  169. }
  170. /* icons for sidebar */
  171. .nav-icon-files {
  172. /* $dir is the app name, so we add this to the icon var to avoid conflicts between apps */
  173. background-image: var(--icon-folder-dark);
  174. }
  175. .nav-icon-recent {
  176. /* $dir is the app name, so we add this to the icon var to avoid conflicts between apps */
  177. background-image: var(--icon-recent-dark);
  178. }
  179. .nav-icon-favorites {
  180. /* $dir is the app name, so we add this to the icon var to avoid conflicts between apps */
  181. background-image: var(--icon-starred-dark);
  182. }
  183. .nav-icon-sharingin,
  184. .nav-icon-sharingout,
  185. .nav-icon-pendingshares,
  186. .nav-icon-shareoverview {
  187. /* $dir is the app name, so we add this to the icon var to avoid conflicts between apps */
  188. background-image: var(--icon-share-dark);
  189. }
  190. .nav-icon-sharinglinks {
  191. /* $dir is the app name, so we add this to the icon var to avoid conflicts between apps */
  192. background-image: var(--icon-public-dark);
  193. }
  194. .nav-icon-extstoragemounts {
  195. /* $dir is the app name, so we add this to the icon var to avoid conflicts between apps */
  196. background-image: var(--icon-external-dark);
  197. }
  198. .nav-icon-trashbin {
  199. /* $dir is the app name, so we add this to the icon var to avoid conflicts between apps */
  200. background-image: var(--icon-delete-dark);
  201. }
  202. .nav-icon-trashbin-starred {
  203. /* $dir is the app name, so we add this to the icon var to avoid conflicts between apps */
  204. background-image: var(--icon-delete-#ff0000);
  205. }
  206. .nav-icon-deletedshares {
  207. /* $dir is the app name, so we add this to the icon var to avoid conflicts between apps */
  208. background-image: var(--icon-unshare-dark);
  209. }
  210. .nav-icon-favorites-starred {
  211. /* $dir is the app name, so we add this to the icon var to avoid conflicts between apps */
  212. background-image: var(--icon-starred-yellow);
  213. }
  214. #app-navigation .nav-files a.nav-icon-files {
  215. width: auto;
  216. }
  217. /* button needs overrides due to navigation styles */
  218. #app-navigation .nav-files a.new {
  219. width: 40px;
  220. height: 32px;
  221. padding: 0 10px;
  222. margin: 0;
  223. cursor: pointer;
  224. }
  225. #app-navigation .nav-files a.new.hidden {
  226. display: none;
  227. }
  228. #app-navigation .nav-files a.new.disabled {
  229. opacity: 0.3;
  230. }
  231. .files-filestable tbody tr {
  232. height: 51px;
  233. }
  234. .files-filestable tbody tr:hover,
  235. .files-filestable tbody tr:focus,
  236. .files-filestable tbody .name:focus,
  237. .files-filestable tbody tr:hover .filename form,
  238. table tr.mouseOver td {
  239. background-color: var(--color-background-hover);
  240. }
  241. .files-filestable tbody tr:active,
  242. .files-filestable tbody tr.highlighted,
  243. .files-filestable tbody tr.highlighted .name:focus,
  244. .files-filestable tbody tr.selected,
  245. .files-filestable tbody tr.searchresult {
  246. background-color: var(--color-primary-light);
  247. }
  248. tbody a {
  249. color: var(--color-main-text);
  250. }
  251. span.conflict-path, span.extension, span.uploading, td.date {
  252. color: var(--color-text-maxcontrast);
  253. }
  254. span.conflict-path, span.extension {
  255. -webkit-transition: opacity 300ms;
  256. -moz-transition: opacity 300ms;
  257. -o-transition: opacity 300ms;
  258. transition: opacity 300ms;
  259. vertical-align: top;
  260. }
  261. tr:hover span.conflict-path,
  262. tr:focus span.conflict-path,
  263. tr:hover span.extension,
  264. tr:focus span.extension {
  265. opacity: 1;
  266. color: var(--color-text-maxcontrast);
  267. }
  268. table th, table th a {
  269. color: var(--color-text-maxcontrast);
  270. }
  271. table.multiselect th a {
  272. color: var(--color-main-text);
  273. }
  274. table th .columntitle {
  275. display: block;
  276. padding: 15px;
  277. height: 50px;
  278. box-sizing: border-box;
  279. -moz-box-sizing: border-box;
  280. vertical-align: middle;
  281. }
  282. table th .columntitle:focus-visible {
  283. border-radius: 2px;
  284. }
  285. table.multiselect th .columntitle {
  286. display: inline-block;
  287. margin-right: -20px;
  288. }
  289. table th .columntitle.name {
  290. padding-left: 0;
  291. margin-left: 44px;
  292. }
  293. table.multiselect th .columntitle.name {
  294. margin-left: 0;
  295. }
  296. table th .sort-indicator {
  297. width: 10px;
  298. height: 8px;
  299. margin-left: 5px;
  300. display: inline-block;
  301. vertical-align: text-bottom;
  302. opacity: 0.3;
  303. }
  304. .sort-indicator.hidden,
  305. .multiselect .sort-indicator,
  306. table.multiselect th:hover .sort-indicator.hidden,
  307. table.multiselect th:focus .sort-indicator.hidden {
  308. visibility: hidden;
  309. }
  310. .multiselect .sort, .multiselect .sort span {
  311. cursor: default;
  312. }
  313. table th:hover .sort-indicator.hidden,
  314. table th:focus .sort-indicator.hidden {
  315. visibility: visible;
  316. }
  317. table th,
  318. table td {
  319. border-bottom: 1px solid var(--color-border);
  320. text-align: left;
  321. font-weight: normal;
  322. }
  323. table td {
  324. padding: 0 15px;
  325. font-style: normal;
  326. background-position: 8px center;
  327. background-repeat: no-repeat;
  328. }
  329. table th.column-name {
  330. position: relative;
  331. width: 9999px; /* not really sure why this works better than 100% … table styling */
  332. padding: 0;
  333. }
  334. .column-name-container {
  335. position: relative;
  336. height: 50px;
  337. }
  338. table th.column-selection {
  339. padding-top: 2px;
  340. }
  341. table th.column-size, table td.filesize {
  342. text-align: right;
  343. }
  344. table th.column-mtime, table td.date,
  345. table th.column-last, table td.column-last {
  346. -moz-box-sizing: border-box;
  347. box-sizing: border-box;
  348. position: relative;
  349. /* this can not be just width, both need to be set … table styling */
  350. min-width: 130px;
  351. }
  352. #app-content-recent,
  353. #app-content-favorites,
  354. #app-content-shareoverview,
  355. #app-content-sharingout,
  356. #app-content-sharingin,
  357. #app-content-sharinglinks,
  358. #app-content-deletedshares,
  359. #app-content-pendingshares {
  360. margin-top: 22px;
  361. }
  362. #app-content-recent thead,
  363. #app-content-favorites thead,
  364. #app-content-shareoverview thead,
  365. #app-content-sharingout thead,
  366. #app-content-sharingin thead,
  367. #app-content-sharinglinks thead,
  368. #app-content-deletedshares thead,
  369. #app-content-pendingshares thead {
  370. top: 0;
  371. }
  372. table.multiselect thead th {
  373. background-color: var(--color-main-background-translucent);
  374. font-weight: bold;
  375. }
  376. #app-content.with-app-sidebar table.multiselect thead {
  377. margin-right: 27%;
  378. }
  379. table.multiselect .column-name {
  380. position: relative;
  381. width: 9999px; /* when we use 100%, the styling breaks on mobile … table styling */
  382. }
  383. table.multiselect .column-mtime > a {
  384. display: none;
  385. }
  386. table td.selection,
  387. table th.selection,
  388. table td.fileaction {
  389. width: 32px;
  390. text-align: center;
  391. }
  392. table td.filename a.name,
  393. table td.filename p.name {
  394. display: flex;
  395. position: relative; /* Firefox needs to explicitly have this default set … */
  396. -moz-box-sizing: border-box;
  397. box-sizing: border-box;
  398. height: 50px;
  399. line-height: 50px;
  400. padding: 0;
  401. }
  402. table td.filename .thumbnail-wrapper {
  403. /* we need this to make sure flex is working inside a table cell */
  404. width: 0;
  405. min-width: 50px;
  406. max-width: 50px;
  407. height: 50px;
  408. }
  409. table td.filename .thumbnail-wrapper.icon-loading-small:after {
  410. z-index: 10;
  411. }
  412. table td.filename .thumbnail-wrapper.icon-loading-small .thumbnail {
  413. opacity: 0.2;
  414. }
  415. table td.filename .thumbnail {
  416. display: inline-block;
  417. width: 32px;
  418. height: 32px;
  419. background-size: 32px;
  420. margin-left: 9px;
  421. margin-top: 9px;
  422. border-radius: var(--border-radius);
  423. cursor: pointer;
  424. position: absolute;
  425. z-index: 4;
  426. }
  427. table td.filename p.name .thumbnail {
  428. cursor: default;
  429. }
  430. table tr[data-has-preview=true] .thumbnail {
  431. border: 1px solid var(--color-border);
  432. }
  433. table:not(.view-grid) td.filename input.filename {
  434. width: 70% !important;
  435. margin-left: 48px !important;
  436. cursor: text;
  437. }
  438. table td.filename form {
  439. margin-top: -40px;
  440. position: relative;
  441. top: -6px;
  442. }
  443. table td.filename a, table td.login, table td.logout, table td.download, table td.upload, table td.create, table td.delete {
  444. padding: 3px 8px 8px 3px;
  445. }
  446. table td.filename .nametext, .modified, .column-last > span:first-child {
  447. float: left;
  448. padding: 15px 0;
  449. }
  450. .modified, .column-last > span:first-child {
  451. position: relative;
  452. overflow: hidden;
  453. text-overflow: ellipsis;
  454. width: 110px;
  455. }
  456. /* TODO fix usability bug (accidental file/folder selection) */
  457. table td.filename {
  458. max-width: 0;
  459. }
  460. table td.filename .nametext {
  461. width: 0;
  462. flex-grow: 1;
  463. display: flex;
  464. overflow: hidden;
  465. white-space: nowrap;
  466. text-overflow: ellipsis;
  467. height: 100%;
  468. z-index: 10;
  469. padding: 0 20px 0 0;
  470. }
  471. .hide-hidden-files .files-filestable .files-fileList tr.hidden-file,
  472. .hide-hidden-files .files-filestable .files-fileList tr.hidden-file.dragging {
  473. display: none;
  474. }
  475. .files-fileList tr.animate-opacity {
  476. -webkit-transition: opacity 250ms;
  477. -moz-transition: opacity 250ms;
  478. -o-transition: opacity 250ms;
  479. transition: opacity 250ms;
  480. }
  481. .files-fileList tr.dragging {
  482. opacity: 0.2;
  483. }
  484. table td.filename .nametext .innernametext {
  485. text-overflow: ellipsis;
  486. overflow: hidden;
  487. position: relative;
  488. vertical-align: top;
  489. }
  490. /* for smaller resolutions - see mobile.css */
  491. table td.filename .uploadtext {
  492. position: absolute;
  493. font-weight: normal;
  494. margin-left: 50px;
  495. left: 0;
  496. bottom: 0;
  497. height: 20px;
  498. padding: 0 4px;
  499. padding-left: 1px;
  500. font-size: 11px;
  501. line-height: 22px;
  502. color: var(--color-text-maxcontrast);
  503. text-overflow: ellipsis;
  504. white-space: nowrap;
  505. }
  506. table td.selection {
  507. padding: 0;
  508. }
  509. /* File checkboxes */
  510. .files-fileList tr td.selection > .selectCheckBox + label:before {
  511. opacity: 0.3;
  512. margin-right: 0;
  513. }
  514. /* Show checkbox with full opacity when hovering, checked, or selected */
  515. .files-fileList tr:hover td.selection > .selectCheckBox + label:before,
  516. .files-fileList tr:focus td.selection > .selectCheckBox + label:before,
  517. .files-fileList tr td.selection > .selectCheckBox:checked + label:before,
  518. .files-fileList tr.selected td.selection > .selectCheckBox + label:before {
  519. opacity: 1;
  520. }
  521. /* Show checkbox with half opacity when selecting range */
  522. .files-fileList tr.halfselected td.selection > .selectCheckBox + label:before {
  523. opacity: 0.5;
  524. }
  525. /* Use label to have bigger clickable size for checkbox */
  526. .files-fileList tr td.selection > .selectCheckBox + label,
  527. .select-all + label {
  528. padding: 16px;
  529. }
  530. .files-fileList tr td.selection > .selectCheckBox:focus-visible + label,
  531. .select-all:focus-visible + label {
  532. background-color: var(--color-background-hover);
  533. border-radius: var(--border-radius-pill);
  534. outline: none !important;
  535. border: 2px solid var(--color-primary) !important;
  536. padding: 14px;
  537. }
  538. .files-fileList tr td.selection > .selectCheckBox:focus-visible + label,
  539. .select-all:focus-visible + label {
  540. outline-offset: 0px;
  541. }
  542. .files-fileList tr td.filename {
  543. position: relative;
  544. width: 100%;
  545. padding-left: 0;
  546. padding-right: 0;
  547. -webkit-transition: background-image 500ms;
  548. -moz-transition: background-image 500ms;
  549. -o-transition: background-image 500ms;
  550. transition: background-image 500ms;
  551. }
  552. .files-fileList tr td.filename a.name label,
  553. .files-fileList tr td.filename p.name label {
  554. position: absolute;
  555. width: 80%;
  556. height: 50px;
  557. }
  558. .files-fileList tr td.filename .favorite {
  559. display: inline-block;
  560. float: left;
  561. }
  562. .files-fileList tr td.filename .favorite-mark {
  563. position: absolute;
  564. display: block;
  565. top: -6px;
  566. right: -6px;
  567. line-height: 100%;
  568. text-align: center;
  569. }
  570. #uploadsize-message, #delete-confirm {
  571. display: none;
  572. }
  573. /* File actions */
  574. .fileactions {
  575. z-index: 50;
  576. }
  577. .busy .fileactions, .busy .action {
  578. visibility: hidden;
  579. }
  580. /* fix position of bubble pointer for Files app */
  581. .bubble,
  582. #app-navigation .app-navigation-entry-menu {
  583. min-width: 100px;
  584. }
  585. /* force show the loading icon, not only on hover */
  586. .files-fileList .icon-loading-small {
  587. opacity: 1 !important;
  588. display: inline !important;
  589. }
  590. .files-fileList .action.action-share-notification span, .files-fileList a.name {
  591. cursor: default !important;
  592. }
  593. /*
  594. * Make the disabled link look not like a link in file list rows
  595. */
  596. .files-fileList a.name.disabled * {
  597. cursor: default;
  598. }
  599. .files-fileList a.name.disabled a, .files-fileList a.name.disabled a * {
  600. cursor: pointer;
  601. }
  602. .files-fileList a.name.disabled:focus {
  603. background: none;
  604. }
  605. a.action > img {
  606. height: 16px;
  607. width: 16px;
  608. vertical-align: text-bottom;
  609. }
  610. a.action.action-editlocally img.icon {
  611. filter: var(--background-invert-if-dark);
  612. }
  613. /* Actions for selected files */
  614. .selectedActions {
  615. position: relative;
  616. display: inline-block;
  617. vertical-align: middle;
  618. }
  619. .selectedActions.hidden {
  620. display: none;
  621. }
  622. .selectedActions a {
  623. display: inline;
  624. line-height: 50px;
  625. padding: 16px 5px;
  626. }
  627. .selectedActions a.hidden {
  628. display: none;
  629. }
  630. .selectedActions a img {
  631. position: relative;
  632. vertical-align: text-bottom;
  633. margin-bottom: -1px;
  634. }
  635. .selectedActions .actions-selected .icon-more {
  636. margin-top: -3px;
  637. }
  638. .files-fileList td a a.action {
  639. display: inline;
  640. padding: 17px 8px;
  641. line-height: 50px;
  642. opacity: 0.3;
  643. }
  644. .files-fileList td a a.action.action-share {
  645. padding: 17px 14px;
  646. }
  647. .files-fileList td a a.action.action-share.permanent:not(.shared-style) .icon-shared + span {
  648. /* hide text of the share action */
  649. /* .hidden-visually for accessbility */
  650. position: absolute;
  651. left: -10000px;
  652. top: auto;
  653. width: 1px;
  654. height: 1px;
  655. overflow: hidden;
  656. }
  657. .files-fileList td a a.action.action-share .avatar {
  658. display: inline-block;
  659. vertical-align: middle;
  660. }
  661. .files-fileList td a a.action.action-menu {
  662. padding-top: 17px;
  663. padding-bottom: 17px;
  664. padding-left: 14px;
  665. padding-right: 14px;
  666. }
  667. .files-fileList td a a.action.no-permission:hover, .files-fileList td a a.action.no-permission:focus {
  668. opacity: 0.3;
  669. }
  670. .files-fileList td a a.action.disabled:hover, .files-fileList td a a.action.disabled:focus,
  671. .files-fileList td a a.action.disabled img {
  672. opacity: 0.3;
  673. }
  674. .files-fileList td a a.action.disabled.action-download {
  675. opacity: 0.7;
  676. }
  677. .files-fileList td a a.action.disabled.action-download:hover, .files-fileList td a a.action.disabled.action-download:focus {
  678. opacity: 0.7;
  679. }
  680. .files-fileList td a a.action:hover, .files-fileList td a a.action:focus {
  681. opacity: 1;
  682. }
  683. .files-fileList td a a.action:focus {
  684. background-color: var(--color-background-hover);
  685. border-radius: var(--border-radius-pill);
  686. }
  687. .files-fileList td a .fileActionsMenu a.action, .files-fileList td a a.action.action-share.shared-style {
  688. opacity: 0.7;
  689. }
  690. .files-fileList td a .fileActionsMenu .action.permanent {
  691. opacity: 1;
  692. }
  693. .files-fileList .action.action-share.permanent.shared-style span:not(.icon) {
  694. display: inline-block;
  695. max-width: 70px;
  696. overflow: hidden;
  697. text-overflow: ellipsis;
  698. vertical-align: middle;
  699. margin-left: 6px;
  700. }
  701. .files-fileList .remoteAddress .userDomain {
  702. margin-left: 0 !important;
  703. }
  704. .files-fileList .favorite-mark.permanent {
  705. opacity: 1;
  706. }
  707. .files-fileList .fileActionsMenu a.action:hover,
  708. .files-fileList .fileActionsMenu a.action:focus,
  709. .files-fileList a.action.action-share.shared-style:hover,
  710. .files-fileList a.action.action-share.shared-style:focus {
  711. opacity: 1;
  712. }
  713. .files-fileList tr a.action.disabled {
  714. background: none;
  715. }
  716. .selectedActions a.download.disabled,
  717. .files-fileList tr a.action.action-download.disabled {
  718. color: #000000;
  719. }
  720. .files-fileList tr:hover a.action.disabled:hover * {
  721. cursor: default;
  722. }
  723. .summary {
  724. color: var(--color-text-maxcontrast);
  725. /* add whitespace to bottom of files list to correctly show dropdowns */
  726. height: 330px;
  727. }
  728. .files-filestable .summary .filesummary {
  729. width: 100%;
  730. /* Width of checkbox and file preview */
  731. padding-left: 101px;
  732. }
  733. /* Less whitespace needed on link share page
  734. * as there is a footer and action menus have fewer entries.
  735. */
  736. #body-public .summary {
  737. height: 180px;
  738. }
  739. .summary:hover,
  740. .summary:focus,
  741. .summary,
  742. table tr.summary td {
  743. background-color: transparent;
  744. }
  745. .summary td {
  746. border-bottom: none;
  747. vertical-align: top;
  748. padding-top: 20px;
  749. }
  750. .summary td:first-child {
  751. padding: 0;
  752. }
  753. .hiddeninfo {
  754. white-space: pre-line;
  755. }
  756. table.dragshadow {
  757. width: auto;
  758. z-index: 2000;
  759. }
  760. table.dragshadow td.filename {
  761. padding-left: 60px;
  762. padding-right: 16px;
  763. height: 36px;
  764. /* Override "max-width: 0" to prevent file name and size from overlapping */
  765. max-width: unset;
  766. }
  767. table.dragshadow td.size {
  768. padding-right: 8px;
  769. }
  770. .mask {
  771. z-index: 50;
  772. position: absolute;
  773. top: 0;
  774. left: 0;
  775. right: 0;
  776. bottom: 0;
  777. background-color: var(--color-main-background);
  778. background-repeat: no-repeat no-repeat;
  779. background-position: 50%;
  780. opacity: 0.7;
  781. transition: opacity 100ms;
  782. -moz-transition: opacity 100ms;
  783. -o-transition: opacity 100ms;
  784. -ms-transition: opacity 100ms;
  785. -webkit-transition: opacity 100ms;
  786. }
  787. .mask.transparent {
  788. opacity: 0;
  789. }
  790. .newFileMenu {
  791. font-weight: 300;
  792. top: 100%;
  793. left: -48px !important;
  794. margin-top: 4px;
  795. min-width: 100px;
  796. z-index: 1001;
  797. /* Center triangle */
  798. }
  799. .newFileMenu::after {
  800. left: 61px !important;
  801. }
  802. .files-controls {
  803. box-sizing: border-box;
  804. position: -webkit-sticky;
  805. position: sticky;
  806. height: 54px;
  807. padding: 0;
  808. margin: 0;
  809. background-color: var(--color-main-background-translucent);
  810. z-index: 62; /* must be above the filelist sticky header and texteditor menubar */
  811. -webkit-user-select: none;
  812. -moz-user-select: none;
  813. -ms-user-select: none;
  814. user-select: none;
  815. display: flex;
  816. top: 0;
  817. padding-top: 3px;
  818. }
  819. .files-controls .actions > div > .button, .files-controls .actions > div button, .files-controls .actions > .button, .files-controls .actions button {
  820. box-sizing: border-box;
  821. display: inline-block;
  822. display: flex;
  823. height: 44px;
  824. width: 44px;
  825. padding: 9px;
  826. align-items: center;
  827. justify-content: center;
  828. }
  829. .files-controls .actions > div .button.hidden, .files-controls .actions .button.hidden {
  830. display: none;
  831. }
  832. /* position controls for apps with app-navigation */
  833. .viewer-mode #app-navigation + #app-content .files-controls {
  834. left: 0;
  835. }
  836. .files-filestable .filename .action .icon,
  837. .files-filestable .selectedActions a .icon,
  838. .files-filestable .filename .favorite-mark .icon,
  839. .files-controls .actions .button .icon {
  840. display: inline-block;
  841. vertical-align: middle;
  842. background-size: 16px 16px;
  843. }
  844. .files-filestable .filename .favorite-mark .icon-star {
  845. background-image: none;
  846. }
  847. .files-filestable .filename .favorite-mark .icon-starred {
  848. background-image: var(--icon-starred-yellow) !important;
  849. }
  850. .files-filestable .filename .action .icon.hidden,
  851. .files-filestable .selectedActions a .icon.hidden,
  852. .files-controls .actions .button .icon.hidden {
  853. display: none;
  854. }
  855. .files-filestable .filename .action .icon.loading,
  856. .files-filestable .selectedActions a .icon.loading,
  857. .files-controls .actions .button .icon.loading {
  858. width: 15px;
  859. height: 15px;
  860. }
  861. .app-files .actions .button.new {
  862. position: relative;
  863. }
  864. .breadcrumb {
  865. align-items: center;
  866. }
  867. .breadcrumb .icon-home {
  868. border-radius: var(--border-radius);
  869. }
  870. .breadcrumb .canDrop > a,
  871. .files-filestable tbody tr.canDrop {
  872. background-color: rgba(0, 130, 201, 0.3);
  873. }
  874. .dropzone-background {
  875. background-color: rgba(0, 130, 201, 0.3);
  876. }
  877. .dropzone-background :hover {
  878. box-shadow: none !important;
  879. }
  880. .notCreatable {
  881. margin-left: 12px;
  882. margin-right: 44px;
  883. margin-top: 12px;
  884. color: var(--color-main-text);
  885. overflow: auto;
  886. min-width: 160px;
  887. height: 54px;
  888. }
  889. .notCreatable:not(.hidden) {
  890. display: flex;
  891. }
  892. .notCreatable .icon-alert-outline {
  893. top: -15px;
  894. position: relative;
  895. margin-right: 4px;
  896. }
  897. .quota-navigation-item {
  898. margin: 0 !important;
  899. border: none;
  900. border-radius: 0;
  901. background-color: transparent;
  902. z-index: 1;
  903. height: 44px;
  904. display: flex !important;
  905. flex-direction: column;
  906. }
  907. .quota-navigation-item__text {
  908. height: 30px;
  909. }
  910. .quota-navigation-item[href="#"], .quota-navigation-item[href="#"] * {
  911. cursor: default !important;
  912. }
  913. .quota-navigation-item__container {
  914. height: 5px;
  915. border-radius: var(--border-radius);
  916. }
  917. /* GRID */
  918. .files-filestable.view-grid:not(.hidden) {
  919. /* HEADER and MULTISELECT */
  920. /* MAIN FILE LIST */
  921. /* Center align the footer file number & size summary */
  922. }
  923. .files-filestable.view-grid:not(.hidden) thead tr {
  924. display: block;
  925. border-bottom: 1px solid var(--color-border);
  926. background-color: var(--color-main-background-translucent);
  927. }
  928. .files-filestable.view-grid:not(.hidden) thead tr th {
  929. width: auto;
  930. border: none;
  931. }
  932. .files-filestable.view-grid:not(.hidden) tbody {
  933. display: grid;
  934. grid-template-columns: repeat(auto-fill, 160px);
  935. justify-content: space-around;
  936. row-gap: 15px;
  937. margin: 15px 0;
  938. }
  939. .files-filestable.view-grid:not(.hidden) tbody tr:not(.hidden) {
  940. display: block;
  941. position: relative;
  942. height: 190px;
  943. border-radius: var(--border-radius);
  944. }
  945. .files-filestable.view-grid:not(.hidden) tbody tr:not(.hidden):hover, .files-filestable.view-grid:not(.hidden) tbody tr:not(.hidden):focus, .files-filestable.view-grid:not(.hidden) tbody tr:not(.hidden):active, .files-filestable.view-grid:not(.hidden) tbody tr:not(.hidden).selected, .files-filestable.view-grid:not(.hidden) tbody tr:not(.hidden).searchresult,
  946. .files-filestable.view-grid:not(.hidden) tbody tr:not(.hidden) .name:focus, .files-filestable.view-grid:not(.hidden) tbody tr:not(.hidden).highlighted {
  947. background-color: transparent;
  948. }
  949. .files-filestable.view-grid:not(.hidden) tbody tr:not(.hidden):hover .thumbnail-wrapper,
  950. .files-filestable.view-grid:not(.hidden) tbody tr:not(.hidden):hover .nametext,
  951. .files-filestable.view-grid:not(.hidden) tbody tr:not(.hidden):hover .fileactions, .files-filestable.view-grid:not(.hidden) tbody tr:not(.hidden):focus .thumbnail-wrapper,
  952. .files-filestable.view-grid:not(.hidden) tbody tr:not(.hidden):focus .nametext,
  953. .files-filestable.view-grid:not(.hidden) tbody tr:not(.hidden):focus .fileactions, .files-filestable.view-grid:not(.hidden) tbody tr:not(.hidden):active .thumbnail-wrapper,
  954. .files-filestable.view-grid:not(.hidden) tbody tr:not(.hidden):active .nametext,
  955. .files-filestable.view-grid:not(.hidden) tbody tr:not(.hidden):active .fileactions, .files-filestable.view-grid:not(.hidden) tbody tr:not(.hidden).selected .thumbnail-wrapper,
  956. .files-filestable.view-grid:not(.hidden) tbody tr:not(.hidden).selected .nametext,
  957. .files-filestable.view-grid:not(.hidden) tbody tr:not(.hidden).selected .fileactions, .files-filestable.view-grid:not(.hidden) tbody tr:not(.hidden).searchresult .thumbnail-wrapper,
  958. .files-filestable.view-grid:not(.hidden) tbody tr:not(.hidden).searchresult .nametext,
  959. .files-filestable.view-grid:not(.hidden) tbody tr:not(.hidden).searchresult .fileactions,
  960. .files-filestable.view-grid:not(.hidden) tbody tr:not(.hidden) .name:focus .thumbnail-wrapper,
  961. .files-filestable.view-grid:not(.hidden) tbody tr:not(.hidden) .name:focus .nametext,
  962. .files-filestable.view-grid:not(.hidden) tbody tr:not(.hidden) .name:focus .fileactions, .files-filestable.view-grid:not(.hidden) tbody tr:not(.hidden).highlighted .thumbnail-wrapper,
  963. .files-filestable.view-grid:not(.hidden) tbody tr:not(.hidden).highlighted .nametext,
  964. .files-filestable.view-grid:not(.hidden) tbody tr:not(.hidden).highlighted .fileactions {
  965. background-color: var(--color-background-hover);
  966. }
  967. .files-filestable.view-grid:not(.hidden) tbody td {
  968. display: inline;
  969. border-bottom: none;
  970. /* No space for filesize and date in grid view */
  971. /* Position actions menu below file */
  972. }
  973. .files-filestable.view-grid:not(.hidden) tbody td.filename .thumbnail-wrapper {
  974. min-width: 0;
  975. max-width: none;
  976. position: absolute;
  977. width: 160px;
  978. height: 160px;
  979. padding: 14px;
  980. top: 0;
  981. left: 0;
  982. z-index: -1;
  983. }
  984. .files-filestable.view-grid:not(.hidden) tbody td.filename .thumbnail-wrapper .thumbnail {
  985. width: calc(100% - 2 * 14px);
  986. height: calc(100% - 2 * 14px);
  987. background-size: contain;
  988. margin: 0;
  989. border-radius: var(--border-radius);
  990. background-repeat: no-repeat;
  991. background-position: center;
  992. /* Position favorite star related to checkbox to left and 3-dot menu below
  993. * Position is inherited from the selection while in grid view
  994. */
  995. }
  996. .files-filestable.view-grid:not(.hidden) tbody td.filename .thumbnail-wrapper .thumbnail .favorite-mark {
  997. padding: 14px;
  998. left: auto;
  999. top: -22px;
  1000. right: -22px;
  1001. }
  1002. .files-filestable.view-grid:not(.hidden) tbody td.filename .uploadtext {
  1003. width: 100%;
  1004. margin: 0;
  1005. top: 0;
  1006. bottom: auto;
  1007. height: 28px;
  1008. padding-top: 4px;
  1009. padding-left: 28px;
  1010. }
  1011. .files-filestable.view-grid:not(.hidden) tbody td.filename .name {
  1012. height: 100%;
  1013. border-radius: var(--border-radius);
  1014. overflow: hidden;
  1015. cursor: pointer !important;
  1016. }
  1017. .files-filestable.view-grid:not(.hidden) tbody td.filename .name .nametext {
  1018. display: flex;
  1019. height: 44px;
  1020. margin-top: 146px;
  1021. text-align: center;
  1022. line-height: 44px;
  1023. padding: 0;
  1024. /* No space for extension in grid view */
  1025. }
  1026. .files-filestable.view-grid:not(.hidden) tbody td.filename .name .nametext .innernametext {
  1027. display: inline-block;
  1028. text-align: center;
  1029. overflow: hidden;
  1030. text-overflow: ellipsis;
  1031. white-space: nowrap;
  1032. }
  1033. .files-filestable.view-grid:not(.hidden) tbody td.filename .name .nametext:before {
  1034. content: "";
  1035. flex: 1;
  1036. min-width: 14px;
  1037. }
  1038. .files-filestable.view-grid:not(.hidden) tbody td.filename .name .nametext:after {
  1039. content: "";
  1040. flex: 1;
  1041. min-width: 44px;
  1042. }
  1043. .files-filestable.view-grid:not(.hidden) tbody td.filename .name .nametext .extension {
  1044. display: none;
  1045. }
  1046. .files-filestable.view-grid:not(.hidden) tbody td.filename .name .fileactions {
  1047. height: initial;
  1048. margin-top: 146px;
  1049. display: flex;
  1050. align-items: center;
  1051. position: absolute;
  1052. right: 0;
  1053. }
  1054. .files-filestable.view-grid:not(.hidden) tbody td.filename .name .fileactions .action {
  1055. padding: 14px;
  1056. width: 44px;
  1057. height: 44px;
  1058. display: flex;
  1059. align-items: center;
  1060. justify-content: center;
  1061. }
  1062. .files-filestable.view-grid:not(.hidden) tbody td.filename .name .fileactions .action:not(.action-menu) {
  1063. display: none;
  1064. }
  1065. .files-filestable.view-grid:not(.hidden) tbody td.filename .fileActionsMenu .action-share-container.hidden {
  1066. display: block !important;
  1067. }
  1068. .files-filestable.view-grid:not(.hidden) tbody td.filename .fileActionsMenu .action-share-container.hidden .action-share img {
  1069. padding: 6px;
  1070. border-radius: 50%;
  1071. }
  1072. .files-filestable.view-grid:not(.hidden) tbody td.filename .fileActionsMenu .action-restore-container.hidden {
  1073. display: block !important;
  1074. }
  1075. .files-filestable.view-grid:not(.hidden) tbody td.filename .fileActionsMenu .action-comment-container.hidden {
  1076. display: block !important;
  1077. }
  1078. .files-filestable.view-grid:not(.hidden) tbody td.filename form {
  1079. padding: 3px 14px;
  1080. border-radius: var(--border-radius);
  1081. }
  1082. .files-filestable.view-grid:not(.hidden) tbody td.filename form input.filename {
  1083. width: 100%;
  1084. margin-left: 0;
  1085. cursor: text;
  1086. }
  1087. .files-filestable.view-grid:not(.hidden) tbody td.filesize, .files-filestable.view-grid:not(.hidden) tbody td.date {
  1088. display: none;
  1089. }
  1090. .files-filestable.view-grid:not(.hidden) tbody td.selection, .files-filestable.view-grid:not(.hidden) tbody td.filename .favorite-mark {
  1091. position: absolute;
  1092. top: -8px;
  1093. left: -8px;
  1094. display: flex;
  1095. width: 44px;
  1096. height: 44px;
  1097. z-index: 10;
  1098. background: transparent;
  1099. }
  1100. .files-filestable.view-grid:not(.hidden) tbody td.selection label, .files-filestable.view-grid:not(.hidden) tbody td.filename .favorite-mark label {
  1101. width: 44px;
  1102. height: 44px;
  1103. display: inline-flex;
  1104. padding: 14px;
  1105. }
  1106. .files-filestable.view-grid:not(.hidden) tbody td.selection label::before, .files-filestable.view-grid:not(.hidden) tbody td.filename .favorite-mark label::before {
  1107. margin: 0;
  1108. width: 14px;
  1109. height: 14px;
  1110. }
  1111. .files-filestable.view-grid:not(.hidden) tbody td .popovermenu {
  1112. left: 0;
  1113. width: 150px;
  1114. margin: 0 5px;
  1115. /* Ellipsize long entries, normally menu width is adjusted but for grid we use fixed width. */
  1116. }
  1117. .files-filestable.view-grid:not(.hidden) tbody td .popovermenu .menuitem span:not(.icon) {
  1118. overflow: hidden;
  1119. text-overflow: ellipsis;
  1120. }
  1121. .files-filestable.view-grid:not(.hidden) tr.hidden-file td.filename .name .nametext .extension {
  1122. display: block;
  1123. }
  1124. .files-filestable.view-grid:not(.hidden) tfoot {
  1125. display: grid;
  1126. }
  1127. .files-filestable.view-grid:not(.hidden) tfoot .summary:not(.hidden) {
  1128. display: inline-block;
  1129. margin: 0 auto;
  1130. height: 418px;
  1131. }
  1132. .files-filestable.view-grid:not(.hidden) tfoot .summary:not(.hidden) td {
  1133. padding-top: 50px;
  1134. }
  1135. .files-filestable.view-grid:not(.hidden) tfoot .summary:not(.hidden) td:first-child, .files-filestable.view-grid:not(.hidden) tfoot .summary:not(.hidden) td.date {
  1136. display: none;
  1137. }
  1138. .files-filestable.view-grid:not(.hidden) tfoot .summary:not(.hidden) td .info {
  1139. margin-left: 0;
  1140. }
  1141. /* Grid view toggle */
  1142. #view-toggle {
  1143. background-color: transparent;
  1144. border: none;
  1145. margin: 0;
  1146. padding: 22px;
  1147. opacity: 0.5;
  1148. position: fixed;
  1149. right: calc(var(--default-grid-baseline) * 4);
  1150. top: calc(var(--header-height) + var(--default-grid-baseline));
  1151. z-index: 100;
  1152. }
  1153. #view-toggle:hover, #view-toggle:focus, #showgridview:focus + #view-toggle {
  1154. opacity: 1;
  1155. }
  1156. #view-toggle:focus-visible, #showgridview:focus-visible + #view-toggle {
  1157. box-shadow: inset 0 0 0 2px var(--color-primary) !important;
  1158. }
  1159. /**
  1160. * Make sure the hidden input is always
  1161. * on the visible scrolled area of the
  1162. * page to avoid scrolling to top when focusing
  1163. */
  1164. #showgridview {
  1165. position: fixed;
  1166. top: 0;
  1167. }
  1168. /* Adjustments for link share page */
  1169. #body-public {
  1170. /* Right-align view toggle on link share page */
  1171. }
  1172. #body-public .files-filestable.view-grid:not(.hidden) tbody td {
  1173. /* More space for filename since there is no share icon */
  1174. /* Position actions menu correctly below 3-dot-menu */
  1175. }
  1176. #body-public .files-filestable.view-grid:not(.hidden) tbody td.filename .name .nametext .innernametext {
  1177. max-width: 124px;
  1178. }
  1179. #body-public .files-filestable.view-grid:not(.hidden) tbody td .popovermenu {
  1180. left: -80px;
  1181. }
  1182. #body-public #view-toggle {
  1183. position: absolute;
  1184. right: 0;
  1185. top: 0;
  1186. }
  1187. /* Hide legacy Gallery toggle */
  1188. #gallery-button {
  1189. display: none;
  1190. }
  1191. #tag_multiple_files_container {
  1192. overflow: hidden;
  1193. background-color: #fff;
  1194. border-radius: 3px;
  1195. position: relative;
  1196. display: flex;
  1197. flex-wrap: wrap;
  1198. margin-bottom: 10px;
  1199. }
  1200. #tag_multiple_files_container h3 {
  1201. width: 100%;
  1202. padding: 0 18px;
  1203. }
  1204. #tag_multiple_files_container .systemTagsInputFieldContainer {
  1205. flex: 1 1 80%;
  1206. min-width: 0;
  1207. margin: 0 12px;
  1208. }
  1209. #upload {
  1210. box-sizing: border-box;
  1211. height: 36px;
  1212. width: 39px;
  1213. padding: 0 !important; /* override default control bar button padding */
  1214. margin-left: 3px;
  1215. overflow: hidden;
  1216. vertical-align: top;
  1217. position: relative;
  1218. z-index: -20;
  1219. }
  1220. #upload .icon-upload {
  1221. position: relative;
  1222. display: block;
  1223. width: 100%;
  1224. height: 44px;
  1225. width: 44px;
  1226. margin: -5px -3px;
  1227. cursor: pointer;
  1228. z-index: 10;
  1229. opacity: 0.65;
  1230. }
  1231. .file_upload_target {
  1232. display: none;
  1233. }
  1234. .file_upload_form {
  1235. display: inline;
  1236. float: left;
  1237. margin: 0;
  1238. padding: 0;
  1239. cursor: pointer;
  1240. overflow: visible;
  1241. }
  1242. .uploadprogresswrapper, .uploadprogresswrapper * {
  1243. box-sizing: border-box;
  1244. }
  1245. .uploadprogresswrapper {
  1246. display: inline-block;
  1247. vertical-align: top;
  1248. height: 36px;
  1249. margin-left: 3px;
  1250. }
  1251. .uploadprogresswrapper > input[type=button] {
  1252. height: 36px;
  1253. margin-left: 3px;
  1254. }
  1255. #uploadprogressbar {
  1256. border-color: var(--color-border-dark);
  1257. border-radius: var(--border-radius-pill) 0 0 var(--border-radius-pill);
  1258. border-right: 0;
  1259. position: relative;
  1260. float: left;
  1261. width: 200px;
  1262. height: 44px;
  1263. display: inline-block;
  1264. text-align: center;
  1265. }
  1266. #uploadprogressbar .ui-progressbar-value {
  1267. margin-top: 0.1em;
  1268. }
  1269. #uploadprogressbar .ui-progressbar-value.ui-widget-header.ui-corner-left {
  1270. height: calc(100% + 2px);
  1271. top: -1px;
  1272. left: -1px;
  1273. position: absolute;
  1274. overflow: hidden;
  1275. background-color: var(--color-primary);
  1276. }
  1277. #uploadprogressbar .label {
  1278. top: 8px;
  1279. opacity: 1;
  1280. overflow: hidden;
  1281. white-space: nowrap;
  1282. font-weight: normal;
  1283. }
  1284. #uploadprogressbar .label.inner {
  1285. color: var(--color-primary-text);
  1286. position: absolute;
  1287. display: block;
  1288. width: 200px;
  1289. }
  1290. #uploadprogressbar .label.outer {
  1291. position: relative;
  1292. color: var(--color-main-text);
  1293. }
  1294. #uploadprogressbar .desktop {
  1295. display: block;
  1296. }
  1297. #uploadprogressbar .mobile {
  1298. display: none;
  1299. }
  1300. #uploadprogressbar + .stop {
  1301. border-top-left-radius: 0;
  1302. border-bottom-left-radius: 0;
  1303. }
  1304. .oc-dialog .fileexists {
  1305. -webkit-touch-callout: none;
  1306. -webkit-user-select: none;
  1307. -khtml-user-select: none;
  1308. -moz-user-select: none;
  1309. -ms-user-select: none;
  1310. user-select: none;
  1311. margin-bottom: 30px;
  1312. }
  1313. .oc-dialog .fileexists .conflict .filename,
  1314. .oc-dialog .fileexists .conflict .mtime,
  1315. .oc-dialog .fileexists .conflict .size {
  1316. -webkit-touch-callout: initial;
  1317. -webkit-user-select: initial;
  1318. -khtml-user-select: initial;
  1319. -moz-user-select: initial;
  1320. -ms-user-select: initial;
  1321. user-select: initial;
  1322. }
  1323. .oc-dialog .fileexists .conflict .message {
  1324. color: #e9322d;
  1325. }
  1326. .oc-dialog .fileexists table {
  1327. width: 100%;
  1328. }
  1329. .oc-dialog .fileexists th {
  1330. padding-left: 0;
  1331. padding-right: 0;
  1332. }
  1333. .oc-dialog .fileexists th input[type=checkbox] {
  1334. margin-right: 3px;
  1335. }
  1336. .oc-dialog .fileexists th:first-child {
  1337. width: 225px;
  1338. }
  1339. .oc-dialog .fileexists th label {
  1340. font-weight: normal;
  1341. color: var(--color-main-text);
  1342. }
  1343. .oc-dialog .fileexists th .count {
  1344. margin-left: 3px;
  1345. }
  1346. .oc-dialog .fileexists .conflicts .template {
  1347. display: none;
  1348. }
  1349. .oc-dialog .fileexists .conflict {
  1350. width: 100%;
  1351. height: 85px;
  1352. }
  1353. .oc-dialog .fileexists .conflict .filename {
  1354. color: #777;
  1355. word-break: break-all;
  1356. clear: left;
  1357. }
  1358. .oc-dialog .fileexists .icon {
  1359. width: 64px;
  1360. height: 64px;
  1361. margin: 0px 5px 5px 5px;
  1362. background-repeat: no-repeat;
  1363. background-size: 64px 64px;
  1364. float: left;
  1365. }
  1366. .oc-dialog .fileexists .original,
  1367. .oc-dialog .fileexists .replacement {
  1368. float: left;
  1369. width: 50%;
  1370. }
  1371. .oc-dialog .fileexists .conflicts {
  1372. overflow-y: auto;
  1373. max-height: 225px;
  1374. }
  1375. .oc-dialog .fileexists .conflict input[type=checkbox] {
  1376. float: left;
  1377. }
  1378. .oc-dialog .fileexists #allfileslabel {
  1379. float: right;
  1380. }
  1381. .oc-dialog .fileexists #allfiles {
  1382. vertical-align: bottom;
  1383. position: relative;
  1384. top: -3px;
  1385. }
  1386. .oc-dialog .fileexists #allfiles + span {
  1387. vertical-align: bottom;
  1388. }
  1389. .oc-dialog .oc-dialog-buttonrow {
  1390. width: 100%;
  1391. text-align: right;
  1392. }
  1393. .oc-dialog .oc-dialog-buttonrow .cancel {
  1394. float: left;
  1395. }
  1396. .highlightUploaded {
  1397. -webkit-animation: highlightAnimation 2s 1;
  1398. -moz-animation: highlightAnimation 2s 1;
  1399. -o-animation: highlightAnimation 2s 1;
  1400. animation: highlightAnimation 2s 1;
  1401. }
  1402. @-webkit-keyframes highlightAnimation {
  1403. 0% {
  1404. background-color: rgb(255, 255, 140);
  1405. }
  1406. 100% {
  1407. background-color: rgba(0, 0, 0, 0);
  1408. }
  1409. }
  1410. @-moz-keyframes highlightAnimation {
  1411. 0% {
  1412. background-color: rgb(255, 255, 140);
  1413. }
  1414. 100% {
  1415. background-color: rgba(0, 0, 0, 0);
  1416. }
  1417. }
  1418. @-o-keyframes highlightAnimation {
  1419. 0% {
  1420. background-color: rgb(255, 255, 140);
  1421. }
  1422. 100% {
  1423. background-color: rgba(0, 0, 0, 0);
  1424. }
  1425. }
  1426. @keyframes highlightAnimation {
  1427. 0% {
  1428. background-color: rgb(255, 255, 140);
  1429. }
  1430. 100% {
  1431. background-color: rgba(0, 0, 0, 0);
  1432. }
  1433. }
  1434. /**
  1435. * @copyright Copyright (c) 2018, John Molakvoæ (skjnldsv@protonmail.com)
  1436. *
  1437. * @author John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
  1438. *
  1439. * @license GNU AGPL version 3 or any later version
  1440. *
  1441. * This program is free software: you can redistribute it and/or modify
  1442. * it under the terms of the GNU Affero General Public License as
  1443. * published by the Free Software Foundation, either version 3 of the
  1444. * License, or (at your option) any later version.
  1445. *
  1446. * This program is distributed in the hope that it will be useful,
  1447. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  1448. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  1449. * GNU Affero General Public License for more details.
  1450. *
  1451. * You should have received a copy of the GNU Affero General Public License
  1452. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  1453. *
  1454. */
  1455. /* 938 = table min-width(688) + app-navigation width: 250\
  1456. $breakpoint-mobile +1 = size where app-navigation is hidden +1
  1457. 688 = table min-width */
  1458. @media only screen and (max-width: 988px) and (min-width: 1025px), only screen and (max-width: 688px) {
  1459. .app-files #app-content.dir-drop {
  1460. background-color: rgb(255, 255, 255) !important;
  1461. }
  1462. table th.column-size,
  1463. table td.filesize,
  1464. table th.column-mtime,
  1465. table td.date {
  1466. display: none;
  1467. }
  1468. /* remove padding to let border bottom fill the whole width*/
  1469. table td {
  1470. padding: 0;
  1471. }
  1472. /* remove shift for multiselect bar to account for missing navigation */
  1473. table.multiselect thead {
  1474. padding-left: 0;
  1475. }
  1476. .fileList a.action.action-menu img {
  1477. padding-left: 0;
  1478. }
  1479. .fileList .fileActionsMenu {
  1480. margin-right: 6px;
  1481. }
  1482. /* hide text of the share action on mobile */
  1483. /* .hidden-visually for accessbility */
  1484. .fileList a.action-share span:not(.icon):not(.avatar) {
  1485. position: absolute;
  1486. left: -10000px;
  1487. top: auto;
  1488. width: 1px;
  1489. height: 1px;
  1490. overflow: hidden;
  1491. }
  1492. /* shorten elements for mobile */
  1493. #uploadprogressbar, #uploadprogressbar .label.inner {
  1494. width: 50px;
  1495. }
  1496. /* hide desktop-only parts */
  1497. #uploadprogressbar .desktop {
  1498. display: none !important;
  1499. }
  1500. #uploadprogressbar .mobile {
  1501. display: block !important;
  1502. }
  1503. /* ensure that it is visible over #app-content */
  1504. table.dragshadow {
  1505. z-index: 1000;
  1506. }
  1507. }
  1508. @media only screen and (max-width: 480px) {
  1509. /* Only show icons */
  1510. table th .selectedActions {
  1511. float: right;
  1512. }
  1513. table th .selectedActions > a span:not(.icon) {
  1514. display: none;
  1515. }
  1516. /* Increase touch area for the icons */
  1517. table th .selectedActions a {
  1518. padding: 17px 14px;
  1519. }
  1520. /* Remove the margin to reduce the overlap between the name and the icons */
  1521. table.multiselect th .columntitle.name {
  1522. margin-left: 0;
  1523. }
  1524. }
  1525. .app-sidebar .detailFileInfoContainer {
  1526. min-height: 50px;
  1527. padding: 15px;
  1528. }
  1529. .app-sidebar .detailFileInfoContainer > div {
  1530. clear: both;
  1531. }
  1532. .app-sidebar .mainFileInfoView .icon {
  1533. display: inline-block;
  1534. background-size: 16px 16px;
  1535. }
  1536. .app-sidebar .mainFileInfoView .permalink {
  1537. padding: 6px 10px;
  1538. vertical-align: top;
  1539. opacity: 0.6;
  1540. }
  1541. .app-sidebar .mainFileInfoView .permalink:hover, .app-sidebar .mainFileInfoView .permalink:focus {
  1542. opacity: 1;
  1543. }
  1544. .app-sidebar .mainFileInfoView .permalink-field > input {
  1545. clear: both;
  1546. width: 90%;
  1547. }
  1548. .app-sidebar .thumbnailContainer.large {
  1549. margin-left: -15px;
  1550. margin-right: -35px; /* 15 + 20 for the close button */
  1551. margin-top: -15px;
  1552. }
  1553. .app-sidebar .thumbnailContainer.large.portrait {
  1554. margin: 0; /* if we don't fit the image anyway we give it back the margin */
  1555. }
  1556. .app-sidebar .large .thumbnail {
  1557. width: 100%;
  1558. display: block;
  1559. background-repeat: no-repeat;
  1560. background-position: center;
  1561. background-size: 100%;
  1562. float: none;
  1563. margin: 0;
  1564. height: auto;
  1565. }
  1566. .app-sidebar .large .thumbnail .stretcher {
  1567. content: "";
  1568. display: block;
  1569. padding-bottom: 56.25%; /* sets height of .thumbnail to 9/16 of the width */
  1570. }
  1571. .app-sidebar .large.portrait .thumbnail {
  1572. background-position: 50% top;
  1573. }
  1574. .app-sidebar .large.portrait .thumbnail {
  1575. background-size: contain;
  1576. }
  1577. .app-sidebar .large.text {
  1578. overflow-y: scroll;
  1579. overflow-x: hidden;
  1580. padding-top: 14px;
  1581. font-size: 80%;
  1582. margin-left: 0;
  1583. }
  1584. .app-sidebar .thumbnail {
  1585. width: 100%;
  1586. min-height: 75px;
  1587. display: inline-block;
  1588. float: left;
  1589. margin-right: 10px;
  1590. background-size: contain;
  1591. background-repeat: no-repeat;
  1592. }
  1593. .app-sidebar .ellipsis {
  1594. white-space: nowrap;
  1595. text-overflow: ellipsis;
  1596. overflow: hidden;
  1597. }
  1598. .app-sidebar .fileName {
  1599. font-size: 16px;
  1600. padding-top: 13px;
  1601. padding-bottom: 3px;
  1602. }
  1603. .app-sidebar .fileName h3 {
  1604. width: calc(100% - 42px); /* 36px is the with of the copy link icon, but this breaks so we add some more to be sure */
  1605. display: inline-block;
  1606. padding: 5px 0;
  1607. margin: -5px 0;
  1608. }
  1609. .app-sidebar .file-details {
  1610. color: var(--color-text-maxcontrast);
  1611. }
  1612. .app-sidebar .action-favorite {
  1613. vertical-align: sub;
  1614. padding: 10px;
  1615. margin: -10px;
  1616. }
  1617. .app-sidebar .action-favorite > span {
  1618. opacity: 0.7 !important;
  1619. }
  1620. .app-sidebar .detailList {
  1621. float: left;
  1622. }
  1623. .app-sidebar .close {
  1624. position: absolute;
  1625. top: 0;
  1626. right: 0;
  1627. opacity: 0.5;
  1628. z-index: 1;
  1629. width: 44px;
  1630. height: 44px;
  1631. }
  1632. /**
  1633. * @copyright Copyright (c) 2018, Arthur Schiwon <blizzz@arthur-schiwon.de>
  1634. *
  1635. * @license GNU AGPL version 3 or any later version
  1636. *
  1637. */
  1638. .whatsNewPopover {
  1639. bottom: 35px !important;
  1640. left: 15px !important;
  1641. width: 270px;
  1642. z-index: 700;
  1643. }
  1644. .whatsNewPopover p {
  1645. width: auto !important;
  1646. }
  1647. .whatsNewPopover .caption {
  1648. font-weight: bold;
  1649. cursor: auto !important;
  1650. }
  1651. .whatsNewPopover .icon-close {
  1652. position: absolute;
  1653. right: 0;
  1654. }
  1655. .whatsNewPopover::after {
  1656. content: none;
  1657. }
  1658. /*# sourceMappingURL=merged.css.map */