styles.css 30 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175
  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 Copyright (c) 2016, John Molakvoæ <skjnldsv@protonmail.com>
  25. * @copyright Copyright (c) 2016, Lukas Reschke <lukas@statuscode.ch>
  26. * @copyright Copyright (c) 2016, Robin Appelman <robin@icewind.nl>
  27. * @copyright Copyright (c) 2016, Julius Haertl <jus@bitgrid.net>
  28. * @copyright Copyright (c) 2016, Joas Schilling <coding@schilljs.com>
  29. * @copyright Copyright (c) 2016, Morris Jobke <hey@morrisjobke.de>
  30. * @copyright Copyright (c) 2016, Christoph Wurst <christoph@winzerhof-wurst.at>
  31. * @copyright Copyright (c) 2016, Raghu Nayyar <hey@raghunayyar.com>
  32. * @copyright Copyright (c) 2011-2017, Jan-Christoph Borchardt <hey@jancborchardt.net>
  33. * @copyright Copyright (c) 2019-2020, Gary Kim <gary@garykim.dev>
  34. *
  35. * @license GNU AGPL version 3 or any later version
  36. *
  37. */
  38. html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, dialog, figure, footer, header, hgroup, nav, section {
  39. margin: 0;
  40. padding: 0;
  41. border: 0;
  42. font-weight: inherit;
  43. font-size: 100%;
  44. font-family: inherit;
  45. vertical-align: baseline;
  46. cursor: default;
  47. scrollbar-color: var(--color-border-dark) transparent;
  48. scrollbar-width: thin;
  49. }
  50. .js-focus-visible :focus:not(.focus-visible) {
  51. outline: none;
  52. }
  53. :focus-visible {
  54. box-shadow: inset 0 0 0 2px var(--color-primary);
  55. outline: none;
  56. }
  57. /** Let vue apps handle the focus themselves */
  58. #content-vue :focus-visible,
  59. #app-navigation-vue :focus-visible,
  60. .vue :focus-visible {
  61. box-shadow: none;
  62. outline: none;
  63. }
  64. html, body {
  65. height: 100%;
  66. }
  67. article, aside, dialog, figure, footer, header, hgroup, nav, section {
  68. display: block;
  69. }
  70. body {
  71. line-height: 1.5;
  72. }
  73. table {
  74. border-collapse: separate;
  75. border-spacing: 0;
  76. white-space: nowrap;
  77. }
  78. caption, th, td {
  79. text-align: left;
  80. font-weight: normal;
  81. }
  82. table, td, th {
  83. vertical-align: middle;
  84. }
  85. a {
  86. border: 0;
  87. color: var(--color-main-text);
  88. text-decoration: none;
  89. cursor: pointer;
  90. }
  91. a * {
  92. cursor: pointer;
  93. }
  94. a.external {
  95. margin: 0 3px;
  96. text-decoration: underline;
  97. }
  98. input {
  99. cursor: pointer;
  100. }
  101. input * {
  102. cursor: pointer;
  103. }
  104. select, .button span, label {
  105. cursor: pointer;
  106. }
  107. ul {
  108. list-style: none;
  109. }
  110. body {
  111. background-color: var(--color-main-background);
  112. font-weight: normal;
  113. /* bring the default font size up to 15px */
  114. font-size: var(--default-font-size);
  115. line-height: var(--default-line-height);
  116. font-family: var(--font-face);
  117. color: var(--color-main-text);
  118. }
  119. .two-factor-header {
  120. text-align: center;
  121. }
  122. .two-factor-provider {
  123. text-align: center;
  124. width: 258px !important;
  125. display: inline-block;
  126. margin-bottom: 0 !important;
  127. background-color: var(--color-background-darker) !important;
  128. border: none !important;
  129. }
  130. .two-factor-link {
  131. display: inline-block;
  132. padding: 12px;
  133. color: var(--color-text-lighter);
  134. }
  135. .float-spinner {
  136. height: 32px;
  137. display: none;
  138. }
  139. #nojavascript {
  140. position: fixed;
  141. top: 0;
  142. bottom: 0;
  143. left: 0;
  144. height: 100%;
  145. width: 100%;
  146. z-index: 9000;
  147. text-align: center;
  148. background-color: var(--color-background-darker);
  149. color: var(--color-primary-text);
  150. line-height: 125%;
  151. font-size: 24px;
  152. }
  153. #nojavascript div {
  154. display: block;
  155. position: relative;
  156. width: 50%;
  157. top: 35%;
  158. margin: 0px auto;
  159. }
  160. #nojavascript a {
  161. color: var(--color-primary-text);
  162. border-bottom: 2px dotted var(--color-main-background);
  163. }
  164. #nojavascript a:hover, #nojavascript a:focus {
  165. color: var(--color-primary-text-dark);
  166. }
  167. /* SCROLLING */
  168. ::-webkit-scrollbar {
  169. width: 12px;
  170. height: 12px;
  171. }
  172. ::-webkit-scrollbar-track-piece {
  173. background-color: transparent;
  174. }
  175. ::-webkit-scrollbar-thumb {
  176. background: var(--color-border-dark);
  177. border-radius: var(--border-radius-large);
  178. border: 2px solid transparent;
  179. background-clip: content-box;
  180. }
  181. /* SELECTION */
  182. ::selection {
  183. background-color: var(--color-primary-element);
  184. color: var(--color-primary-text);
  185. }
  186. /* CONTENT ------------------------------------------------------------------ */
  187. .files-controls {
  188. box-sizing: border-box;
  189. position: -webkit-sticky;
  190. position: sticky;
  191. height: 44px;
  192. padding: 0;
  193. margin: 0;
  194. background-color: var(--color-main-background-translucent);
  195. z-index: 62;
  196. /* must be above the filelist sticky header and texteditor menubar */
  197. -webkit-user-select: none;
  198. -moz-user-select: none;
  199. -ms-user-select: none;
  200. user-select: none;
  201. display: flex;
  202. top: 50px;
  203. }
  204. /* position controls for apps with app-navigation */
  205. .viewer-mode #app-navigation + #app-content .files-controls {
  206. left: 0;
  207. }
  208. #app-navigation * {
  209. box-sizing: border-box;
  210. }
  211. .files-controls .actions > div > .button, .files-controls .actions > div button, .files-controls .actions > .button, .files-controls .actions button {
  212. box-sizing: border-box;
  213. display: inline-block;
  214. display: flex;
  215. height: 36px;
  216. width: 36px;
  217. padding: 9px;
  218. align-items: center;
  219. justify-content: center;
  220. }
  221. .files-controls .actions > div .button.hidden, .files-controls .actions .button.hidden {
  222. display: none;
  223. }
  224. /* EMPTY CONTENT DISPLAY ------------------------------------------------------------ */
  225. #emptycontent,
  226. .emptycontent {
  227. color: var(--color-text-maxcontrast);
  228. text-align: center;
  229. margin-top: 30vh;
  230. width: 100%;
  231. }
  232. #app-sidebar #emptycontent,
  233. #app-sidebar .emptycontent {
  234. margin-top: 10vh;
  235. }
  236. #emptycontent .emptycontent-search,
  237. .emptycontent .emptycontent-search {
  238. position: static;
  239. }
  240. #emptycontent h2,
  241. .emptycontent h2 {
  242. margin-bottom: 10px;
  243. }
  244. #emptycontent [class^=icon-],
  245. #emptycontent [class*=icon-],
  246. .emptycontent [class^=icon-],
  247. .emptycontent [class*=icon-] {
  248. background-size: 64px;
  249. height: 64px;
  250. width: 64px;
  251. margin: 0 auto 15px;
  252. }
  253. #emptycontent [class^=icon-]:not([class^=icon-loading]), #emptycontent [class^=icon-]:not([class*=icon-loading]),
  254. #emptycontent [class*=icon-]:not([class^=icon-loading]),
  255. #emptycontent [class*=icon-]:not([class*=icon-loading]),
  256. .emptycontent [class^=icon-]:not([class^=icon-loading]),
  257. .emptycontent [class^=icon-]:not([class*=icon-loading]),
  258. .emptycontent [class*=icon-]:not([class^=icon-loading]),
  259. .emptycontent [class*=icon-]:not([class*=icon-loading]) {
  260. opacity: 0.4;
  261. }
  262. /* LOG IN & INSTALLATION ------------------------------------------------------------ */
  263. #datadirContent label {
  264. width: 100%;
  265. }
  266. /* strengthify wrapper */
  267. /* General new input field look */
  268. /* Nicely grouping input field sets */
  269. .grouptop, .groupmiddle, .groupbottom {
  270. position: relative;
  271. -webkit-user-select: none;
  272. -moz-user-select: none;
  273. -ms-user-select: none;
  274. user-select: none;
  275. }
  276. /* Show password toggle */
  277. #show, #dbpassword {
  278. position: absolute;
  279. right: 1em;
  280. top: 0.8em;
  281. float: right;
  282. }
  283. #show + label, #dbpassword + label {
  284. right: 21px;
  285. top: 15px !important;
  286. margin: -14px !important;
  287. padding: 14px !important;
  288. }
  289. #show:checked + label, #dbpassword:checked + label, #personal-show:checked + label {
  290. opacity: 0.8;
  291. }
  292. #show:focus-visible + label, #dbpassword-toggle:focus-visible + label, #personal-show:focus-visible + label {
  293. box-shadow: var(--color-primary) 0 0 0 2px;
  294. opacity: 1;
  295. border-radius: 9999px;
  296. }
  297. #show + label, #dbpassword + label, #personal-show + label {
  298. position: absolute !important;
  299. height: 20px;
  300. width: 24px;
  301. background-image: var(--icon-toggle-dark);
  302. background-repeat: no-repeat;
  303. background-position: center;
  304. opacity: 0.3;
  305. }
  306. /* Feedback for keyboard focus and mouse hover */
  307. #show:focus + label,
  308. #dbpassword:focus + label,
  309. #personal-show:focus + label {
  310. opacity: 1;
  311. }
  312. #show + label:hover,
  313. #dbpassword + label:hover,
  314. #personal-show + label:hover {
  315. opacity: 1;
  316. }
  317. #show + label:before, #dbpassword + label:before, #personal-show + label:before {
  318. display: none;
  319. }
  320. #pass2, input[name=personal-password-clone] {
  321. padding-right: 30px;
  322. }
  323. .personal-show-container {
  324. position: relative;
  325. display: inline-block;
  326. margin-right: 6px;
  327. }
  328. #personal-show + label {
  329. display: block;
  330. right: 0;
  331. margin-top: -43px;
  332. margin-right: -4px;
  333. padding: 22px;
  334. }
  335. /* Warnings and errors are the same */
  336. #body-user .warning, #body-settings .warning {
  337. margin-top: 8px;
  338. padding: 5px;
  339. border-radius: var(--border-radius);
  340. color: var(--color-main-text);
  341. background-color: rgba(var(--color-warning-rgb), 0.2);
  342. }
  343. .warning legend, .warning a {
  344. font-weight: bold !important;
  345. }
  346. .error:not(.toastify) a {
  347. color: white !important;
  348. font-weight: bold !important;
  349. }
  350. .error:not(.toastify) a.button {
  351. color: var(--color-text-lighter) !important;
  352. display: inline-block;
  353. text-align: center;
  354. }
  355. .error:not(.toastify) pre {
  356. white-space: pre-wrap;
  357. text-align: left;
  358. }
  359. .error-wide {
  360. width: 700px;
  361. margin-left: -200px !important;
  362. }
  363. .error-wide .button {
  364. color: black !important;
  365. }
  366. .warning-input {
  367. border-color: var(--color-error) !important;
  368. }
  369. /* fixes for update page TODO should be fixed some time in a proper way */
  370. /* this is just for an error while updating the Nextcloud instance */
  371. /* Sticky footer */
  372. /* round profile photos */
  373. .avatar, .avatardiv {
  374. border-radius: 50%;
  375. flex-shrink: 0;
  376. }
  377. .avatar > img, .avatardiv > img {
  378. border-radius: 50%;
  379. flex-shrink: 0;
  380. }
  381. td.avatar {
  382. border-radius: 0;
  383. }
  384. tr .action:not(.permanent), .selectedActions > a {
  385. opacity: 0;
  386. }
  387. tr:hover .action:not(.menuitem), tr:focus .action:not(.menuitem),
  388. tr .action.permanent:not(.menuitem) {
  389. opacity: 0.5;
  390. }
  391. .selectedActions > a {
  392. opacity: 0.5;
  393. position: relative;
  394. top: 2px;
  395. }
  396. .selectedActions > a:hover, .selectedActions > a:focus {
  397. opacity: 1;
  398. }
  399. tr .action {
  400. width: 16px;
  401. height: 16px;
  402. }
  403. .header-action {
  404. opacity: 0.8;
  405. }
  406. tr:hover .action:hover, tr:focus .action:focus {
  407. opacity: 1;
  408. }
  409. .selectedActions a:hover, .selectedActions a:focus {
  410. opacity: 1;
  411. }
  412. .header-action:hover, .header-action:focus {
  413. opacity: 1;
  414. }
  415. tbody tr:hover, tbody tr:focus, tbody tr:active {
  416. background-color: var(--color-background-dark);
  417. }
  418. code {
  419. font-family: "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", monospace;
  420. }
  421. .pager {
  422. list-style: none;
  423. float: right;
  424. display: inline;
  425. margin: 0.7em 13em 0 0;
  426. }
  427. .pager li {
  428. display: inline-block;
  429. }
  430. .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
  431. overflow: hidden;
  432. text-overflow: ellipsis;
  433. }
  434. .ui-icon-circle-triangle-e {
  435. background-image: url("../img/actions/play-next.svg?v=1");
  436. }
  437. .ui-icon-circle-triangle-w {
  438. background-image: url("../img/actions/play-previous.svg?v=1");
  439. }
  440. /* ---- jQuery UI datepicker ---- */
  441. .ui-widget.ui-datepicker {
  442. margin-top: 10px;
  443. padding: 4px 8px;
  444. width: auto;
  445. border-radius: var(--border-radius);
  446. border: none;
  447. z-index: 1600 !important;
  448. }
  449. .ui-widget.ui-datepicker .ui-state-default,
  450. .ui-widget.ui-datepicker .ui-widget-content .ui-state-default,
  451. .ui-widget.ui-datepicker .ui-widget-header .ui-state-default {
  452. border: 1px solid transparent;
  453. background: inherit;
  454. }
  455. .ui-widget.ui-datepicker .ui-widget-header {
  456. padding: 7px;
  457. font-size: 13px;
  458. border: none;
  459. background-color: var(--color-main-background);
  460. color: var(--color-main-text);
  461. }
  462. .ui-widget.ui-datepicker .ui-widget-header .ui-datepicker-title {
  463. line-height: 1;
  464. font-weight: normal;
  465. }
  466. .ui-widget.ui-datepicker .ui-widget-header .ui-icon {
  467. opacity: 0.5;
  468. }
  469. .ui-widget.ui-datepicker .ui-widget-header .ui-icon.ui-icon-circle-triangle-e {
  470. background: url("../img/actions/arrow-right.svg") center center no-repeat;
  471. }
  472. .ui-widget.ui-datepicker .ui-widget-header .ui-icon.ui-icon-circle-triangle-w {
  473. background: url("../img/actions/arrow-left.svg") center center no-repeat;
  474. }
  475. .ui-widget.ui-datepicker .ui-widget-header .ui-state-hover .ui-icon {
  476. opacity: 1;
  477. }
  478. .ui-widget.ui-datepicker .ui-datepicker-calendar th {
  479. font-weight: normal;
  480. color: var(--color-text-lighter);
  481. opacity: 0.8;
  482. width: 26px;
  483. padding: 2px;
  484. }
  485. .ui-widget.ui-datepicker .ui-datepicker-calendar tr:hover {
  486. background-color: inherit;
  487. }
  488. .ui-widget.ui-datepicker .ui-datepicker-calendar td.ui-datepicker-today a:not(.ui-state-hover) {
  489. background-color: var(--color-background-darker);
  490. }
  491. .ui-widget.ui-datepicker .ui-datepicker-calendar td.ui-datepicker-current-day a.ui-state-active,
  492. .ui-widget.ui-datepicker .ui-datepicker-calendar td .ui-state-hover,
  493. .ui-widget.ui-datepicker .ui-datepicker-calendar td .ui-state-focus {
  494. background-color: var(--color-primary);
  495. color: var(--color-primary-text);
  496. font-weight: bold;
  497. }
  498. .ui-widget.ui-datepicker .ui-datepicker-calendar td.ui-datepicker-week-end:not(.ui-state-disabled) :not(.ui-state-hover),
  499. .ui-widget.ui-datepicker .ui-datepicker-calendar td .ui-priority-secondary:not(.ui-state-hover) {
  500. color: var(--color-text-lighter);
  501. opacity: 0.8;
  502. }
  503. .ui-datepicker-prev, .ui-datepicker-next {
  504. border: var(--color-border-dark);
  505. background: var(--color-main-background);
  506. }
  507. /* ---- jQuery UI timepicker ---- */
  508. .ui-widget.ui-timepicker {
  509. margin-top: 10px !important;
  510. width: auto !important;
  511. border-radius: var(--border-radius);
  512. z-index: 1600 !important;
  513. /* AM/PM fix */
  514. }
  515. .ui-widget.ui-timepicker .ui-widget-content {
  516. border: none !important;
  517. }
  518. .ui-widget.ui-timepicker .ui-state-default,
  519. .ui-widget.ui-timepicker .ui-widget-content .ui-state-default,
  520. .ui-widget.ui-timepicker .ui-widget-header .ui-state-default {
  521. border: 1px solid transparent;
  522. background: inherit;
  523. }
  524. .ui-widget.ui-timepicker .ui-widget-header {
  525. padding: 7px;
  526. font-size: 13px;
  527. border: none;
  528. background-color: var(--color-main-background);
  529. color: var(--color-main-text);
  530. }
  531. .ui-widget.ui-timepicker .ui-widget-header .ui-timepicker-title {
  532. line-height: 1;
  533. font-weight: normal;
  534. }
  535. .ui-widget.ui-timepicker table.ui-timepicker tr .ui-timepicker-hour-cell:first-child {
  536. margin-left: 30px;
  537. }
  538. .ui-widget.ui-timepicker .ui-timepicker-table th {
  539. font-weight: normal;
  540. color: var(--color-text-lighter);
  541. opacity: 0.8;
  542. }
  543. .ui-widget.ui-timepicker .ui-timepicker-table th.periods {
  544. padding: 0;
  545. width: 30px;
  546. line-height: 30px;
  547. }
  548. .ui-widget.ui-timepicker .ui-timepicker-table tr:hover {
  549. background-color: inherit;
  550. }
  551. .ui-widget.ui-timepicker .ui-timepicker-table td.ui-timepicker-hour-cell a.ui-state-active, .ui-widget.ui-timepicker .ui-timepicker-table td.ui-timepicker-minute-cell a.ui-state-active,
  552. .ui-widget.ui-timepicker .ui-timepicker-table td .ui-state-hover,
  553. .ui-widget.ui-timepicker .ui-timepicker-table td .ui-state-focus {
  554. background-color: var(--color-primary);
  555. color: var(--color-primary-text);
  556. font-weight: bold;
  557. }
  558. .ui-widget.ui-timepicker .ui-timepicker-table td.ui-timepicker-minutes:not(.ui-state-hover) {
  559. color: var(--color-text-lighter);
  560. }
  561. .ui-widget.ui-timepicker .ui-timepicker-table td.ui-timepicker-hours {
  562. border-right: 1px solid var(--color-border);
  563. }
  564. /* ---- jQuery UI datepicker & timepicker global rules ---- */
  565. .ui-widget.ui-datepicker .ui-datepicker-calendar tr,
  566. .ui-widget.ui-timepicker table.ui-timepicker tr {
  567. display: flex;
  568. flex-wrap: nowrap;
  569. justify-content: space-between;
  570. }
  571. .ui-widget.ui-datepicker .ui-datepicker-calendar tr td,
  572. .ui-widget.ui-timepicker table.ui-timepicker tr td {
  573. flex: 1 1 auto;
  574. margin: 0;
  575. padding: 2px;
  576. height: 26px;
  577. width: 26px;
  578. display: flex;
  579. align-items: center;
  580. justify-content: center;
  581. }
  582. .ui-widget.ui-datepicker .ui-datepicker-calendar tr td > *,
  583. .ui-widget.ui-timepicker table.ui-timepicker tr td > * {
  584. border-radius: 50%;
  585. text-align: center;
  586. font-weight: normal;
  587. color: var(--color-main-text);
  588. display: block;
  589. line-height: 18px;
  590. width: 18px;
  591. height: 18px;
  592. padding: 3px;
  593. font-size: 0.9em;
  594. }
  595. /* ---- DIALOGS ---- */
  596. #oc-dialog-filepicker-content {
  597. position: relative;
  598. display: flex;
  599. flex-direction: column;
  600. }
  601. #oc-dialog-filepicker-content .dirtree {
  602. flex-wrap: wrap;
  603. box-sizing: border-box;
  604. padding-right: 140px;
  605. }
  606. #oc-dialog-filepicker-content .dirtree div:first-child a {
  607. background-image: var(--icon-home-dark);
  608. background-repeat: no-repeat;
  609. background-position: left center;
  610. }
  611. #oc-dialog-filepicker-content .dirtree span:not(:last-child) {
  612. cursor: pointer;
  613. }
  614. #oc-dialog-filepicker-content .dirtree span:last-child {
  615. font-weight: bold;
  616. }
  617. #oc-dialog-filepicker-content .dirtree span:not(:last-child)::after {
  618. content: ">";
  619. padding: 3px;
  620. }
  621. #oc-dialog-filepicker-content #picker-showgridview {
  622. position: absolute;
  623. background-color: transparent;
  624. border: none;
  625. margin: 0;
  626. padding: 22px;
  627. opacity: 0.5;
  628. right: 0;
  629. top: 0;
  630. }
  631. #oc-dialog-filepicker-content #picker-showgridview:hover, #oc-dialog-filepicker-content #picker-showgridview:active, #oc-dialog-filepicker-content #picker-showgridview:focus {
  632. box-shadow: 0 0 0 2px var(--color-primary);
  633. opacity: 1;
  634. }
  635. #oc-dialog-filepicker-content .actions.creatable {
  636. flex-wrap: wrap;
  637. padding: 0px;
  638. box-sizing: border-box;
  639. display: inline-flex;
  640. float: none;
  641. max-height: 36px;
  642. max-width: 36px;
  643. background-color: var(--color-background-dark);
  644. border: 1px solid var(--color-border-dark);
  645. border-radius: var(--border-radius-pill);
  646. position: relative;
  647. left: 15px;
  648. top: 3px;
  649. order: 1;
  650. }
  651. #oc-dialog-filepicker-content .actions.creatable .icon.icon-add {
  652. background-image: var(--icon-add-dark);
  653. background-size: 16px 16px;
  654. width: 34px;
  655. height: 34px;
  656. margin: 0px;
  657. opacity: 0.5;
  658. }
  659. #oc-dialog-filepicker-content .actions.creatable a {
  660. width: 36px;
  661. padding: 0px;
  662. position: static;
  663. }
  664. #oc-dialog-filepicker-content .actions.creatable .menu {
  665. top: 100%;
  666. margin-top: 10px;
  667. }
  668. #oc-dialog-filepicker-content .actions.creatable .menu form {
  669. display: flex;
  670. margin: 10px;
  671. }
  672. #oc-dialog-filepicker-content .filelist-container {
  673. box-sizing: border-box;
  674. display: inline-block;
  675. overflow-y: auto;
  676. flex: 1;
  677. /*height: 100%;*/
  678. /* overflow under the button row */
  679. width: 100%;
  680. overflow-x: hidden;
  681. }
  682. #oc-dialog-filepicker-content .emptycontent {
  683. color: var(--color-text-maxcontrast);
  684. text-align: center;
  685. margin-top: 80px;
  686. width: 100%;
  687. display: none;
  688. }
  689. #oc-dialog-filepicker-content .filelist {
  690. background-color: var(--color-main-background);
  691. width: 100%;
  692. }
  693. #oc-dialog-filepicker-content #picker-filestable.filelist {
  694. /* prevent the filepicker to overflow */
  695. min-width: initial;
  696. margin-bottom: 50px;
  697. }
  698. #oc-dialog-filepicker-content #picker-filestable.filelist thead tr {
  699. border-bottom: 1px solid var(--color-border);
  700. background-color: var(--color-main-background);
  701. }
  702. #oc-dialog-filepicker-content #picker-filestable.filelist thead tr th {
  703. width: 80%;
  704. border: none;
  705. }
  706. #oc-dialog-filepicker-content #picker-filestable.filelist th .columntitle {
  707. display: block;
  708. padding: 15px;
  709. height: 50px;
  710. box-sizing: border-box;
  711. -moz-box-sizing: border-box;
  712. vertical-align: middle;
  713. }
  714. #oc-dialog-filepicker-content #picker-filestable.filelist th .columntitle.name {
  715. padding-left: 5px;
  716. margin-left: 50px;
  717. }
  718. #oc-dialog-filepicker-content #picker-filestable.filelist th .sort-indicator {
  719. width: 10px;
  720. height: 8px;
  721. margin-left: 5px;
  722. display: inline-block;
  723. vertical-align: text-bottom;
  724. opacity: 0.3;
  725. }
  726. #oc-dialog-filepicker-content #picker-filestable.filelist .sort-indicator.hidden,
  727. #oc-dialog-filepicker-content #picker-filestable.filelist th:hover .sort-indicator.hidden,
  728. #oc-dialog-filepicker-content #picker-filestable.filelist th:focus .sort-indicator.hidden {
  729. visibility: hidden;
  730. }
  731. #oc-dialog-filepicker-content #picker-filestable.filelist th:hover .sort-indicator.hidden,
  732. #oc-dialog-filepicker-content #picker-filestable.filelist th:focus .sort-indicator.hidden {
  733. visibility: visible;
  734. }
  735. #oc-dialog-filepicker-content #picker-filestable.filelist td {
  736. padding: 14px;
  737. border-bottom: 1px solid var(--color-border);
  738. }
  739. #oc-dialog-filepicker-content #picker-filestable.filelist tr:last-child td {
  740. border-bottom: none;
  741. }
  742. #oc-dialog-filepicker-content #picker-filestable.filelist .filename {
  743. overflow: hidden;
  744. white-space: nowrap;
  745. text-overflow: ellipsis;
  746. background-size: 32px;
  747. background-repeat: no-repeat;
  748. padding-left: 51px;
  749. background-position: 7px 7px;
  750. cursor: pointer;
  751. max-width: 0;
  752. }
  753. #oc-dialog-filepicker-content #picker-filestable.filelist .filename .filename-parts {
  754. display: flex;
  755. }
  756. #oc-dialog-filepicker-content #picker-filestable.filelist .filename .filename-parts__first {
  757. overflow: hidden;
  758. white-space: pre;
  759. text-overflow: ellipsis;
  760. }
  761. #oc-dialog-filepicker-content #picker-filestable.filelist .filename .filename-parts__last {
  762. white-space: pre;
  763. }
  764. #oc-dialog-filepicker-content #picker-filestable.filelist .filesize, #oc-dialog-filepicker-content #picker-filestable.filelist .date {
  765. width: 80px;
  766. }
  767. #oc-dialog-filepicker-content #picker-filestable.filelist .filesize {
  768. text-align: right;
  769. }
  770. #oc-dialog-filepicker-content #picker-filestable.filelist.view-grid {
  771. display: flex;
  772. flex-direction: column;
  773. }
  774. #oc-dialog-filepicker-content #picker-filestable.filelist.view-grid tbody {
  775. display: grid;
  776. grid-template-columns: repeat(auto-fill, 120px);
  777. justify-content: space-around;
  778. row-gap: 15px;
  779. margin: 15px 0;
  780. }
  781. #oc-dialog-filepicker-content #picker-filestable.filelist.view-grid tbody tr {
  782. display: block;
  783. position: relative;
  784. border-radius: var(--border-radius);
  785. padding: 10px;
  786. display: flex;
  787. flex-direction: column;
  788. width: 100px;
  789. }
  790. #oc-dialog-filepicker-content #picker-filestable.filelist.view-grid tbody tr td {
  791. border: none;
  792. padding: 0;
  793. text-align: center;
  794. border-radius: var(--border-radius);
  795. }
  796. #oc-dialog-filepicker-content #picker-filestable.filelist.view-grid tbody tr td.filename {
  797. padding: 100px 0 0 0;
  798. background-position: center top;
  799. background-size: contain;
  800. line-height: 30px;
  801. max-width: none;
  802. }
  803. #oc-dialog-filepicker-content #picker-filestable.filelist.view-grid tbody tr td.filename .filename-parts {
  804. justify-content: center;
  805. }
  806. #oc-dialog-filepicker-content #picker-filestable.filelist.view-grid tbody tr td.filesize {
  807. line-height: 10px;
  808. width: 100%;
  809. }
  810. #oc-dialog-filepicker-content #picker-filestable.filelist.view-grid tbody tr td.date {
  811. display: none;
  812. }
  813. #oc-dialog-filepicker-content .filepicker_element_selected {
  814. background-color: var(--color-background-darker);
  815. }
  816. .ui-dialog {
  817. position: fixed !important;
  818. }
  819. span.ui-icon {
  820. float: left;
  821. margin: 3px 7px 30px 0;
  822. }
  823. /* ---- CONTACTS MENU ---- */
  824. #contactsmenu .menutoggle {
  825. cursor: pointer;
  826. }
  827. #contactsmenu .menutoggle:before {
  828. background-size: 20px 20px;
  829. background-repeat: no-repeat;
  830. background-position-x: 3px;
  831. background-position-y: 4px;
  832. padding: 14px;
  833. content: " ";
  834. background-image: var(--original-icon-contacts-white);
  835. filter: var(--primary-invert-if-bright);
  836. }
  837. #contactsmenu .menutoggle:hover, #contactsmenu .menutoggle:focus, #contactsmenu .menutoggle:active {
  838. opacity: 1 !important;
  839. }
  840. #contactsmenu #contactsmenu-menu a {
  841. padding: 2px;
  842. }
  843. #contactsmenu #contactsmenu-menu a:focus-visible {
  844. box-shadow: inset 0 0 0 2px var(--color-main-text) !important;
  845. }
  846. #header .header-right > div#contactsmenu > .menu {
  847. /* show 2.5 to 4.5 entries depending on the screen height */
  848. height: calc(100vh - 150px);
  849. max-height: 275px;
  850. min-height: 175px;
  851. width: 350px;
  852. }
  853. #header .header-right > div#contactsmenu > .menu .emptycontent {
  854. margin-top: 5vh !important;
  855. margin-bottom: 2vh;
  856. }
  857. #header .header-right > div#contactsmenu > .menu .emptycontent .icon-loading,
  858. #header .header-right > div#contactsmenu > .menu .emptycontent .icon-search {
  859. display: inline-block;
  860. }
  861. #header .header-right > div#contactsmenu > .menu .content {
  862. /* fixed max height of the parent container without the search input */
  863. height: calc(100vh - 150px - 50px);
  864. max-height: 225px;
  865. min-height: 125px;
  866. overflow-y: auto;
  867. }
  868. #header .header-right > div#contactsmenu > .menu .content .footer {
  869. text-align: center;
  870. }
  871. #header .header-right > div#contactsmenu > .menu .content .footer a {
  872. display: block;
  873. width: 100%;
  874. padding: 12px 0;
  875. opacity: 0.5;
  876. }
  877. #header .header-right > div#contactsmenu > .menu .contact {
  878. display: flex;
  879. position: relative;
  880. align-items: center;
  881. padding: 3px 3px 3px 10px;
  882. border-bottom: 1px solid var(--color-border);
  883. /* actions menu */
  884. }
  885. #header .header-right > div#contactsmenu > .menu .contact .avatar {
  886. height: 32px;
  887. width: 32px;
  888. display: inline-block;
  889. }
  890. #header .header-right > div#contactsmenu > .menu .contact .body {
  891. flex-grow: 1;
  892. padding-left: 8px;
  893. }
  894. #header .header-right > div#contactsmenu > .menu .contact .body div {
  895. position: relative;
  896. width: 100%;
  897. }
  898. #header .header-right > div#contactsmenu > .menu .contact .body .full-name, #header .header-right > div#contactsmenu > .menu .contact .body .last-message {
  899. /* TODO: don't use fixed width */
  900. max-width: 204px;
  901. overflow: hidden;
  902. white-space: nowrap;
  903. text-overflow: ellipsis;
  904. }
  905. #header .header-right > div#contactsmenu > .menu .contact .body .last-message {
  906. opacity: 0.5;
  907. }
  908. #header .header-right > div#contactsmenu > .menu .contact .top-action, #header .header-right > div#contactsmenu > .menu .contact .second-action, #header .header-right > div#contactsmenu > .menu .contact .other-actions {
  909. width: 16px;
  910. height: 16px;
  911. opacity: 0.5;
  912. cursor: pointer;
  913. }
  914. #header .header-right > div#contactsmenu > .menu .contact .top-action:not(button), #header .header-right > div#contactsmenu > .menu .contact .second-action:not(button), #header .header-right > div#contactsmenu > .menu .contact .other-actions:not(button) {
  915. padding: 14px;
  916. }
  917. #header .header-right > div#contactsmenu > .menu .contact .top-action:hover, #header .header-right > div#contactsmenu > .menu .contact .top-action:active, #header .header-right > div#contactsmenu > .menu .contact .top-action:focus, #header .header-right > div#contactsmenu > .menu .contact .second-action:hover, #header .header-right > div#contactsmenu > .menu .contact .second-action:active, #header .header-right > div#contactsmenu > .menu .contact .second-action:focus, #header .header-right > div#contactsmenu > .menu .contact .other-actions:hover, #header .header-right > div#contactsmenu > .menu .contact .other-actions:active, #header .header-right > div#contactsmenu > .menu .contact .other-actions:focus {
  918. opacity: 1;
  919. }
  920. #header .header-right > div#contactsmenu > .menu .contact button.other-actions {
  921. margin: 5px;
  922. }
  923. #header .header-right > div#contactsmenu > .menu .contact button.other-actions:focus {
  924. border-color: transparent;
  925. box-shadow: 0 0 0 2px var(--color-main-text);
  926. }
  927. #header .header-right > div#contactsmenu > .menu .contact button.other-actions:focus-visible {
  928. border-radius: var(--border-radius-pill);
  929. }
  930. #header .header-right > div#contactsmenu > .menu .contact .menu {
  931. top: 47px;
  932. margin-right: 13px;
  933. }
  934. #header .header-right > div#contactsmenu > .menu .contact .popovermenu::after {
  935. right: 2px;
  936. }
  937. #contactsmenu-search {
  938. width: calc(100% - 16px);
  939. margin: 8px;
  940. height: 34px;
  941. }
  942. /* ---- TOOLTIPS ---- */
  943. .extra-data {
  944. padding-right: 5px !important;
  945. }
  946. /* ---- TAGS ---- */
  947. #tagsdialog .content {
  948. width: 100%;
  949. height: 280px;
  950. }
  951. #tagsdialog .scrollarea {
  952. overflow: auto;
  953. border: 1px solid var(--color-background-darker);
  954. width: 100%;
  955. height: 240px;
  956. }
  957. #tagsdialog .bottombuttons {
  958. width: 100%;
  959. height: 30px;
  960. }
  961. #tagsdialog .bottombuttons * {
  962. float: left;
  963. }
  964. #tagsdialog .taglist li {
  965. background: var(--color-background-dark);
  966. padding: 0.3em 0.8em;
  967. white-space: nowrap;
  968. overflow: hidden;
  969. text-overflow: ellipsis;
  970. -webkit-transition: background-color 500ms;
  971. transition: background-color 500ms;
  972. }
  973. #tagsdialog .taglist li:hover, #tagsdialog .taglist li:active {
  974. background: var(--color-background-darker);
  975. }
  976. #tagsdialog .addinput {
  977. width: 90%;
  978. clear: both;
  979. }
  980. /* ---- BREADCRUMB ---- */
  981. .breadcrumb {
  982. display: inline-flex;
  983. }
  984. div.crumb {
  985. display: inline-flex;
  986. background-image: url("../img/breadcrumb.svg?v=1");
  987. background-repeat: no-repeat;
  988. background-position: right center;
  989. height: 44px;
  990. background-size: auto 24px;
  991. flex: 0 0 auto;
  992. order: 1;
  993. padding-right: 7px;
  994. }
  995. div.crumb.crumbmenu {
  996. order: 2;
  997. position: relative;
  998. }
  999. div.crumb.crumbmenu a {
  1000. opacity: 0.5;
  1001. }
  1002. div.crumb.crumbmenu.canDropChildren .popovermenu, div.crumb.crumbmenu.canDrop .popovermenu {
  1003. display: block;
  1004. }
  1005. div.crumb.crumbmenu .popovermenu {
  1006. top: 100%;
  1007. margin-right: 3px;
  1008. }
  1009. div.crumb.crumbmenu .popovermenu ul {
  1010. max-height: 345px;
  1011. overflow-y: auto;
  1012. overflow-x: hidden;
  1013. padding-right: 5px;
  1014. }
  1015. div.crumb.crumbmenu .popovermenu ul li.canDrop span:first-child {
  1016. background-image: url("../img/filetypes/folder-drag-accept.svg?v=1") !important;
  1017. }
  1018. div.crumb.crumbmenu .popovermenu .in-breadcrumb {
  1019. display: none;
  1020. }
  1021. div.crumb.hidden {
  1022. display: none;
  1023. }
  1024. div.crumb.hidden ~ .crumb {
  1025. order: 3;
  1026. }
  1027. div.crumb > a,
  1028. div.crumb > span {
  1029. position: relative;
  1030. padding: 12px;
  1031. opacity: 0.5;
  1032. text-overflow: ellipsis;
  1033. white-space: nowrap;
  1034. overflow: hidden;
  1035. flex: 0 0 auto;
  1036. max-width: 200px;
  1037. }
  1038. div.crumb > a.icon-home, div.crumb > a.icon-delete,
  1039. div.crumb > span.icon-home,
  1040. div.crumb > span.icon-delete {
  1041. text-indent: -9999px;
  1042. }
  1043. div.crumb > a[class^=icon-] {
  1044. padding: 0;
  1045. width: 44px;
  1046. }
  1047. div.crumb:last-child {
  1048. font-weight: bold;
  1049. margin-right: 10px;
  1050. }
  1051. div.crumb:last-child a ~ span {
  1052. padding-left: 0;
  1053. }
  1054. div.crumb:hover, div.crumb:focus, div.crumb a:focus, div.crumb:active {
  1055. opacity: 1;
  1056. }
  1057. div.crumb:hover > a,
  1058. div.crumb:hover > span, div.crumb:focus > a,
  1059. div.crumb:focus > span, div.crumb a:focus > a,
  1060. div.crumb a:focus > span, div.crumb:active > a,
  1061. div.crumb:active > span {
  1062. opacity: 0.7;
  1063. }
  1064. /* some feedback for hover/tap on breadcrumbs */
  1065. .appear {
  1066. opacity: 1;
  1067. -webkit-transition: opacity 500ms ease 0s;
  1068. -moz-transition: opacity 500ms ease 0s;
  1069. -ms-transition: opacity 500ms ease 0s;
  1070. -o-transition: opacity 500ms ease 0s;
  1071. transition: opacity 500ms ease 0s;
  1072. }
  1073. .appear.transparent {
  1074. opacity: 0;
  1075. }
  1076. /* LEGACY FIX only - do not use fieldsets for settings */
  1077. fieldset.warning legend, fieldset.update legend {
  1078. top: 18px;
  1079. position: relative;
  1080. }
  1081. fieldset.warning legend + p, fieldset.update legend + p {
  1082. margin-top: 12px;
  1083. }
  1084. /* for IE10 */
  1085. @-ms-viewport {
  1086. width: device-width;
  1087. }
  1088. /* hidden input type=file field */
  1089. .hiddenuploadfield {
  1090. display: none;
  1091. width: 0;
  1092. height: 0;
  1093. opacity: 0;
  1094. }
  1095. /*# sourceMappingURL=styles.css.map */