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

merged.css 42KB

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