Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

styles.css 30KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209
  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: 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. #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 #controls {
  206. left: 0;
  207. }
  208. #app-navigation * {
  209. box-sizing: border-box;
  210. }
  211. #controls .actions > div > .button, #controls .actions > div button, #controls .actions > .button, #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. #controls .actions > div .button.hidden, #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-primary-text);
  341. background-color: var(--color-warning);
  342. }
  343. .warning legend, .warning a {
  344. color: var(--color-primary-text) !important;
  345. font-weight: bold !important;
  346. }
  347. .error:not(.toastify) a {
  348. color: white !important;
  349. font-weight: bold !important;
  350. }
  351. .error:not(.toastify) a.button {
  352. color: var(--color-text-lighter) !important;
  353. display: inline-block;
  354. text-align: center;
  355. }
  356. .error:not(.toastify) pre {
  357. white-space: pre-wrap;
  358. text-align: left;
  359. }
  360. .error-wide {
  361. width: 700px;
  362. margin-left: -200px !important;
  363. }
  364. .error-wide .button {
  365. color: black !important;
  366. }
  367. .warning-input {
  368. border-color: var(--color-error) !important;
  369. }
  370. /* fixes for update page TODO should be fixed some time in a proper way */
  371. /* this is just for an error while updating the Nextcloud instance */
  372. /* Sticky footer */
  373. /* round profile photos */
  374. .avatar, .avatardiv {
  375. border-radius: 50%;
  376. flex-shrink: 0;
  377. }
  378. .avatar > img, .avatardiv > img {
  379. border-radius: 50%;
  380. flex-shrink: 0;
  381. }
  382. td.avatar {
  383. border-radius: 0;
  384. }
  385. #notification-container {
  386. left: 50%;
  387. max-width: 60%;
  388. position: fixed;
  389. top: 0;
  390. text-align: center;
  391. transform: translateX(-50%);
  392. z-index: 8000;
  393. }
  394. #notification {
  395. margin: 0 auto;
  396. z-index: 8000;
  397. background-color: var(--color-main-background);
  398. border: 0;
  399. padding: 1px 8px;
  400. display: none;
  401. position: relative;
  402. top: 0;
  403. border-bottom-left-radius: 3px;
  404. border-bottom-right-radius: 3px;
  405. opacity: 0.9;
  406. overflow-x: hidden;
  407. overflow-y: auto;
  408. max-height: 100px;
  409. }
  410. #notification span {
  411. cursor: pointer;
  412. margin-left: 1em;
  413. }
  414. #notification .row {
  415. position: relative;
  416. }
  417. #notification .row .close {
  418. display: inline-block;
  419. vertical-align: middle;
  420. position: absolute;
  421. right: 0;
  422. top: 0;
  423. margin-top: 2px;
  424. }
  425. #notification .row.closeable {
  426. padding-right: 20px;
  427. }
  428. tr .action:not(.permanent), .selectedActions > a {
  429. opacity: 0;
  430. }
  431. tr:hover .action:not(.menuitem), tr:focus .action:not(.menuitem),
  432. tr .action.permanent:not(.menuitem) {
  433. opacity: 0.5;
  434. }
  435. .selectedActions > a {
  436. opacity: 0.5;
  437. position: relative;
  438. top: 2px;
  439. }
  440. .selectedActions > a:hover, .selectedActions > a:focus {
  441. opacity: 1;
  442. }
  443. tr .action {
  444. width: 16px;
  445. height: 16px;
  446. }
  447. .header-action {
  448. opacity: 0.8;
  449. }
  450. tr:hover .action:hover, tr:focus .action:focus {
  451. opacity: 1;
  452. }
  453. .selectedActions a:hover, .selectedActions a:focus {
  454. opacity: 1;
  455. }
  456. .header-action:hover, .header-action:focus {
  457. opacity: 1;
  458. }
  459. tbody tr:hover, tbody tr:focus, tbody tr:active {
  460. background-color: var(--color-background-dark);
  461. }
  462. code {
  463. font-family: "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", monospace;
  464. }
  465. .pager {
  466. list-style: none;
  467. float: right;
  468. display: inline;
  469. margin: 0.7em 13em 0 0;
  470. }
  471. .pager li {
  472. display: inline-block;
  473. }
  474. .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
  475. overflow: hidden;
  476. text-overflow: ellipsis;
  477. }
  478. .ui-icon-circle-triangle-e {
  479. background-image: url("../img/actions/play-next.svg?v=1");
  480. }
  481. .ui-icon-circle-triangle-w {
  482. background-image: url("../img/actions/play-previous.svg?v=1");
  483. }
  484. /* ---- jQuery UI datepicker ---- */
  485. .ui-widget.ui-datepicker {
  486. margin-top: 10px;
  487. padding: 4px 8px;
  488. width: auto;
  489. border-radius: var(--border-radius);
  490. border: none;
  491. z-index: 1600 !important;
  492. }
  493. .ui-widget.ui-datepicker .ui-state-default,
  494. .ui-widget.ui-datepicker .ui-widget-content .ui-state-default,
  495. .ui-widget.ui-datepicker .ui-widget-header .ui-state-default {
  496. border: 1px solid transparent;
  497. background: inherit;
  498. }
  499. .ui-widget.ui-datepicker .ui-widget-header {
  500. padding: 7px;
  501. font-size: 13px;
  502. border: none;
  503. background-color: var(--color-main-background);
  504. color: var(--color-main-text);
  505. }
  506. .ui-widget.ui-datepicker .ui-widget-header .ui-datepicker-title {
  507. line-height: 1;
  508. font-weight: normal;
  509. }
  510. .ui-widget.ui-datepicker .ui-widget-header .ui-icon {
  511. opacity: 0.5;
  512. }
  513. .ui-widget.ui-datepicker .ui-widget-header .ui-icon.ui-icon-circle-triangle-e {
  514. background: url("../img/actions/arrow-right.svg") center center no-repeat;
  515. }
  516. .ui-widget.ui-datepicker .ui-widget-header .ui-icon.ui-icon-circle-triangle-w {
  517. background: url("../img/actions/arrow-left.svg") center center no-repeat;
  518. }
  519. .ui-widget.ui-datepicker .ui-widget-header .ui-state-hover .ui-icon {
  520. opacity: 1;
  521. }
  522. .ui-widget.ui-datepicker .ui-datepicker-calendar th {
  523. font-weight: normal;
  524. color: var(--color-text-lighter);
  525. opacity: 0.8;
  526. width: 26px;
  527. padding: 2px;
  528. }
  529. .ui-widget.ui-datepicker .ui-datepicker-calendar tr:hover {
  530. background-color: inherit;
  531. }
  532. .ui-widget.ui-datepicker .ui-datepicker-calendar td.ui-datepicker-today a:not(.ui-state-hover) {
  533. background-color: var(--color-background-darker);
  534. }
  535. .ui-widget.ui-datepicker .ui-datepicker-calendar td.ui-datepicker-current-day a.ui-state-active,
  536. .ui-widget.ui-datepicker .ui-datepicker-calendar td .ui-state-hover,
  537. .ui-widget.ui-datepicker .ui-datepicker-calendar td .ui-state-focus {
  538. background-color: var(--color-primary);
  539. color: var(--color-primary-text);
  540. font-weight: bold;
  541. }
  542. .ui-widget.ui-datepicker .ui-datepicker-calendar td.ui-datepicker-week-end:not(.ui-state-disabled) :not(.ui-state-hover),
  543. .ui-widget.ui-datepicker .ui-datepicker-calendar td .ui-priority-secondary:not(.ui-state-hover) {
  544. color: var(--color-text-lighter);
  545. opacity: 0.8;
  546. }
  547. .ui-datepicker-prev, .ui-datepicker-next {
  548. border: var(--color-border-dark);
  549. background: var(--color-main-background);
  550. }
  551. /* ---- jQuery UI timepicker ---- */
  552. .ui-widget.ui-timepicker {
  553. margin-top: 10px !important;
  554. width: auto !important;
  555. border-radius: var(--border-radius);
  556. z-index: 1600 !important;
  557. /* AM/PM fix */
  558. }
  559. .ui-widget.ui-timepicker .ui-widget-content {
  560. border: none !important;
  561. }
  562. .ui-widget.ui-timepicker .ui-state-default,
  563. .ui-widget.ui-timepicker .ui-widget-content .ui-state-default,
  564. .ui-widget.ui-timepicker .ui-widget-header .ui-state-default {
  565. border: 1px solid transparent;
  566. background: inherit;
  567. }
  568. .ui-widget.ui-timepicker .ui-widget-header {
  569. padding: 7px;
  570. font-size: 13px;
  571. border: none;
  572. background-color: var(--color-main-background);
  573. color: var(--color-main-text);
  574. }
  575. .ui-widget.ui-timepicker .ui-widget-header .ui-timepicker-title {
  576. line-height: 1;
  577. font-weight: normal;
  578. }
  579. .ui-widget.ui-timepicker table.ui-timepicker tr .ui-timepicker-hour-cell:first-child {
  580. margin-left: 30px;
  581. }
  582. .ui-widget.ui-timepicker .ui-timepicker-table th {
  583. font-weight: normal;
  584. color: var(--color-text-lighter);
  585. opacity: 0.8;
  586. }
  587. .ui-widget.ui-timepicker .ui-timepicker-table th.periods {
  588. padding: 0;
  589. width: 30px;
  590. line-height: 30px;
  591. }
  592. .ui-widget.ui-timepicker .ui-timepicker-table tr:hover {
  593. background-color: inherit;
  594. }
  595. .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,
  596. .ui-widget.ui-timepicker .ui-timepicker-table td .ui-state-hover,
  597. .ui-widget.ui-timepicker .ui-timepicker-table td .ui-state-focus {
  598. background-color: var(--color-primary);
  599. color: var(--color-primary-text);
  600. font-weight: bold;
  601. }
  602. .ui-widget.ui-timepicker .ui-timepicker-table td.ui-timepicker-minutes:not(.ui-state-hover) {
  603. color: var(--color-text-lighter);
  604. }
  605. .ui-widget.ui-timepicker .ui-timepicker-table td.ui-timepicker-hours {
  606. border-right: 1px solid var(--color-border);
  607. }
  608. /* ---- jQuery UI datepicker & timepicker global rules ---- */
  609. .ui-widget.ui-datepicker .ui-datepicker-calendar tr,
  610. .ui-widget.ui-timepicker table.ui-timepicker tr {
  611. display: flex;
  612. flex-wrap: nowrap;
  613. justify-content: space-between;
  614. }
  615. .ui-widget.ui-datepicker .ui-datepicker-calendar tr td,
  616. .ui-widget.ui-timepicker table.ui-timepicker tr td {
  617. flex: 1 1 auto;
  618. margin: 0;
  619. padding: 2px;
  620. height: 26px;
  621. width: 26px;
  622. display: flex;
  623. align-items: center;
  624. justify-content: center;
  625. }
  626. .ui-widget.ui-datepicker .ui-datepicker-calendar tr td > *,
  627. .ui-widget.ui-timepicker table.ui-timepicker tr td > * {
  628. border-radius: 50%;
  629. text-align: center;
  630. font-weight: normal;
  631. color: var(--color-main-text);
  632. display: block;
  633. line-height: 18px;
  634. width: 18px;
  635. height: 18px;
  636. padding: 3px;
  637. font-size: 0.9em;
  638. }
  639. /* ---- DIALOGS ---- */
  640. #oc-dialog-filepicker-content {
  641. position: relative;
  642. display: flex;
  643. flex-direction: column;
  644. /* Grid view toggle */
  645. }
  646. #oc-dialog-filepicker-content .dirtree {
  647. flex-wrap: wrap;
  648. box-sizing: border-box;
  649. padding-right: 140px;
  650. }
  651. #oc-dialog-filepicker-content .dirtree div:first-child a {
  652. background-image: var(--icon-home-dark);
  653. background-repeat: no-repeat;
  654. background-position: left center;
  655. }
  656. #oc-dialog-filepicker-content .dirtree span:not(:last-child) {
  657. cursor: pointer;
  658. }
  659. #oc-dialog-filepicker-content .dirtree span:last-child {
  660. font-weight: bold;
  661. }
  662. #oc-dialog-filepicker-content .dirtree span:not(:last-child)::after {
  663. content: ">";
  664. padding: 3px;
  665. }
  666. #oc-dialog-filepicker-content #picker-view-toggle {
  667. position: absolute;
  668. background-color: transparent;
  669. border: none;
  670. margin: 0;
  671. padding: 22px;
  672. opacity: 0.5;
  673. right: 0;
  674. top: 0;
  675. }
  676. #oc-dialog-filepicker-content #picker-view-toggle:hover, #oc-dialog-filepicker-content #picker-view-toggle:focus {
  677. opacity: 1;
  678. }
  679. #oc-dialog-filepicker-content #picker-showgridview:focus + #picker-view-toggle {
  680. opacity: 1;
  681. }
  682. #oc-dialog-filepicker-content .actions.creatable {
  683. flex-wrap: wrap;
  684. padding: 0px;
  685. box-sizing: border-box;
  686. display: inline-flex;
  687. float: none;
  688. max-height: 36px;
  689. max-width: 36px;
  690. background-color: var(--color-background-dark);
  691. border: 1px solid var(--color-border-dark);
  692. border-radius: var(--border-radius-pill);
  693. position: relative;
  694. left: 15px;
  695. top: 3px;
  696. order: 1;
  697. }
  698. #oc-dialog-filepicker-content .actions.creatable .icon.icon-add {
  699. background-image: var(--icon-add-dark);
  700. background-size: 16px 16px;
  701. width: 34px;
  702. height: 34px;
  703. margin: 0px;
  704. opacity: 0.5;
  705. }
  706. #oc-dialog-filepicker-content .actions.creatable a {
  707. width: 36px;
  708. padding: 0px;
  709. position: static;
  710. }
  711. #oc-dialog-filepicker-content .actions.creatable .menu {
  712. top: 100%;
  713. margin-top: 10px;
  714. }
  715. #oc-dialog-filepicker-content .actions.creatable .menu form {
  716. display: flex;
  717. margin: 10px;
  718. }
  719. #oc-dialog-filepicker-content .filelist-container {
  720. box-sizing: border-box;
  721. display: inline-block;
  722. overflow-y: auto;
  723. flex: 1;
  724. /*height: 100%;*/
  725. /* overflow under the button row */
  726. width: 100%;
  727. overflow-x: hidden;
  728. }
  729. #oc-dialog-filepicker-content .emptycontent {
  730. color: var(--color-text-maxcontrast);
  731. text-align: center;
  732. margin-top: 80px;
  733. width: 100%;
  734. display: none;
  735. }
  736. #oc-dialog-filepicker-content .filelist {
  737. background-color: var(--color-main-background);
  738. width: 100%;
  739. }
  740. #oc-dialog-filepicker-content #picker-filestable.filelist {
  741. /* prevent the filepicker to overflow */
  742. min-width: initial;
  743. margin-bottom: 50px;
  744. }
  745. #oc-dialog-filepicker-content #picker-filestable.filelist thead tr {
  746. border-bottom: 1px solid var(--color-border);
  747. background-color: var(--color-main-background);
  748. }
  749. #oc-dialog-filepicker-content #picker-filestable.filelist thead tr th {
  750. width: 80%;
  751. border: none;
  752. }
  753. #oc-dialog-filepicker-content #picker-filestable.filelist th .columntitle {
  754. display: block;
  755. padding: 15px;
  756. height: 50px;
  757. box-sizing: border-box;
  758. -moz-box-sizing: border-box;
  759. vertical-align: middle;
  760. }
  761. #oc-dialog-filepicker-content #picker-filestable.filelist th .columntitle.name {
  762. padding-left: 5px;
  763. margin-left: 50px;
  764. }
  765. #oc-dialog-filepicker-content #picker-filestable.filelist th .sort-indicator {
  766. width: 10px;
  767. height: 8px;
  768. margin-left: 5px;
  769. display: inline-block;
  770. vertical-align: text-bottom;
  771. opacity: 0.3;
  772. }
  773. #oc-dialog-filepicker-content #picker-filestable.filelist .sort-indicator.hidden,
  774. #oc-dialog-filepicker-content #picker-filestable.filelist th:hover .sort-indicator.hidden,
  775. #oc-dialog-filepicker-content #picker-filestable.filelist th:focus .sort-indicator.hidden {
  776. visibility: hidden;
  777. }
  778. #oc-dialog-filepicker-content #picker-filestable.filelist th:hover .sort-indicator.hidden,
  779. #oc-dialog-filepicker-content #picker-filestable.filelist th:focus .sort-indicator.hidden {
  780. visibility: visible;
  781. }
  782. #oc-dialog-filepicker-content #picker-filestable.filelist td {
  783. padding: 14px;
  784. border-bottom: 1px solid var(--color-border);
  785. }
  786. #oc-dialog-filepicker-content #picker-filestable.filelist tr:last-child td {
  787. border-bottom: none;
  788. }
  789. #oc-dialog-filepicker-content #picker-filestable.filelist .filename {
  790. overflow: hidden;
  791. white-space: nowrap;
  792. text-overflow: ellipsis;
  793. background-size: 32px;
  794. background-repeat: no-repeat;
  795. padding-left: 51px;
  796. background-position: 7px 7px;
  797. cursor: pointer;
  798. max-width: 0;
  799. }
  800. #oc-dialog-filepicker-content #picker-filestable.filelist .filename .filename-parts {
  801. display: flex;
  802. }
  803. #oc-dialog-filepicker-content #picker-filestable.filelist .filename .filename-parts__first {
  804. overflow: hidden;
  805. white-space: pre;
  806. text-overflow: ellipsis;
  807. }
  808. #oc-dialog-filepicker-content #picker-filestable.filelist .filename .filename-parts__last {
  809. white-space: pre;
  810. }
  811. #oc-dialog-filepicker-content #picker-filestable.filelist .filesize, #oc-dialog-filepicker-content #picker-filestable.filelist .date {
  812. width: 80px;
  813. }
  814. #oc-dialog-filepicker-content #picker-filestable.filelist .filesize {
  815. text-align: right;
  816. }
  817. #oc-dialog-filepicker-content #picker-filestable.filelist.view-grid {
  818. display: flex;
  819. flex-direction: column;
  820. }
  821. #oc-dialog-filepicker-content #picker-filestable.filelist.view-grid tbody {
  822. display: grid;
  823. grid-template-columns: repeat(auto-fill, 120px);
  824. justify-content: space-around;
  825. row-gap: 15px;
  826. margin: 15px 0;
  827. }
  828. #oc-dialog-filepicker-content #picker-filestable.filelist.view-grid tbody tr {
  829. display: block;
  830. position: relative;
  831. border-radius: var(--border-radius);
  832. padding: 10px;
  833. display: flex;
  834. flex-direction: column;
  835. width: 100px;
  836. }
  837. #oc-dialog-filepicker-content #picker-filestable.filelist.view-grid tbody tr td {
  838. border: none;
  839. padding: 0;
  840. text-align: center;
  841. border-radius: var(--border-radius);
  842. }
  843. #oc-dialog-filepicker-content #picker-filestable.filelist.view-grid tbody tr td.filename {
  844. padding: 100px 0 0 0;
  845. background-position: center top;
  846. background-size: contain;
  847. line-height: 30px;
  848. max-width: none;
  849. }
  850. #oc-dialog-filepicker-content #picker-filestable.filelist.view-grid tbody tr td.filename .filename-parts {
  851. justify-content: center;
  852. }
  853. #oc-dialog-filepicker-content #picker-filestable.filelist.view-grid tbody tr td.filesize {
  854. line-height: 10px;
  855. width: 100%;
  856. }
  857. #oc-dialog-filepicker-content #picker-filestable.filelist.view-grid tbody tr td.date {
  858. display: none;
  859. }
  860. #oc-dialog-filepicker-content .filepicker_element_selected {
  861. background-color: var(--color-background-darker);
  862. }
  863. .ui-dialog {
  864. position: fixed !important;
  865. }
  866. span.ui-icon {
  867. float: left;
  868. margin: 3px 7px 30px 0;
  869. }
  870. /* ---- CONTACTS MENU ---- */
  871. #contactsmenu .menutoggle {
  872. cursor: pointer;
  873. }
  874. #contactsmenu .menutoggle:before {
  875. background-size: 20px 20px;
  876. background-repeat: no-repeat;
  877. background-position-x: 3px;
  878. background-position-y: 4px;
  879. padding: 14px;
  880. content: " ";
  881. background-image: var(--original-icon-contacts-white);
  882. filter: var(--primary-invert-if-bright);
  883. }
  884. #contactsmenu .menutoggle:hover, #contactsmenu .menutoggle:focus, #contactsmenu .menutoggle:active {
  885. opacity: 1 !important;
  886. }
  887. #header .header-right > div#contactsmenu > .menu {
  888. /* show 2.5 to 4.5 entries depending on the screen height */
  889. height: calc(100vh - 150px);
  890. max-height: 275px;
  891. min-height: 175px;
  892. width: 350px;
  893. }
  894. #header .header-right > div#contactsmenu > .menu .emptycontent {
  895. margin-top: 5vh !important;
  896. margin-bottom: 2vh;
  897. }
  898. #header .header-right > div#contactsmenu > .menu .emptycontent .icon-loading,
  899. #header .header-right > div#contactsmenu > .menu .emptycontent .icon-search {
  900. display: inline-block;
  901. }
  902. #header .header-right > div#contactsmenu > .menu .content {
  903. /* fixed max height of the parent container without the search input */
  904. height: calc(100vh - 150px - 50px);
  905. max-height: 225px;
  906. min-height: 125px;
  907. overflow-y: auto;
  908. }
  909. #header .header-right > div#contactsmenu > .menu .content .footer {
  910. text-align: center;
  911. }
  912. #header .header-right > div#contactsmenu > .menu .content .footer a {
  913. display: block;
  914. width: 100%;
  915. padding: 12px 0;
  916. opacity: 0.5;
  917. }
  918. #header .header-right > div#contactsmenu > .menu .contact {
  919. display: flex;
  920. position: relative;
  921. align-items: center;
  922. padding: 3px 3px 3px 10px;
  923. border-bottom: 1px solid var(--color-border);
  924. /* actions menu */
  925. }
  926. #header .header-right > div#contactsmenu > .menu .contact :last-of-type {
  927. border-bottom: none;
  928. }
  929. #header .header-right > div#contactsmenu > .menu .contact .avatar {
  930. height: 32px;
  931. width: 32px;
  932. display: inline-block;
  933. }
  934. #header .header-right > div#contactsmenu > .menu .contact .body {
  935. flex-grow: 1;
  936. padding-left: 8px;
  937. }
  938. #header .header-right > div#contactsmenu > .menu .contact .body div {
  939. position: relative;
  940. width: 100%;
  941. }
  942. #header .header-right > div#contactsmenu > .menu .contact .body .full-name, #header .header-right > div#contactsmenu > .menu .contact .body .last-message {
  943. /* TODO: don't use fixed width */
  944. max-width: 204px;
  945. overflow: hidden;
  946. white-space: nowrap;
  947. text-overflow: ellipsis;
  948. }
  949. #header .header-right > div#contactsmenu > .menu .contact .body .last-message {
  950. opacity: 0.5;
  951. }
  952. #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 {
  953. width: 16px;
  954. height: 16px;
  955. padding: 14px;
  956. opacity: 0.5;
  957. cursor: pointer;
  958. }
  959. #header .header-right > div#contactsmenu > .menu .contact .top-action :hover, #header .header-right > div#contactsmenu > .menu .contact .second-action :hover, #header .header-right > div#contactsmenu > .menu .contact .other-actions :hover {
  960. opacity: 1;
  961. }
  962. #header .header-right > div#contactsmenu > .menu .contact .menu {
  963. top: 47px;
  964. margin-right: 13px;
  965. }
  966. #header .header-right > div#contactsmenu > .menu .contact .popovermenu::after {
  967. right: 2px;
  968. }
  969. #contactsmenu-search {
  970. width: calc(100% - 16px);
  971. margin: 8px;
  972. height: 34px;
  973. }
  974. /* ---- TOOLTIPS ---- */
  975. .extra-data {
  976. padding-right: 5px !important;
  977. }
  978. /* ---- TAGS ---- */
  979. #tagsdialog .content {
  980. width: 100%;
  981. height: 280px;
  982. }
  983. #tagsdialog .scrollarea {
  984. overflow: auto;
  985. border: 1px solid var(--color-background-darker);
  986. width: 100%;
  987. height: 240px;
  988. }
  989. #tagsdialog .bottombuttons {
  990. width: 100%;
  991. height: 30px;
  992. }
  993. #tagsdialog .bottombuttons * {
  994. float: left;
  995. }
  996. #tagsdialog .taglist li {
  997. background: var(--color-background-dark);
  998. padding: 0.3em 0.8em;
  999. white-space: nowrap;
  1000. overflow: hidden;
  1001. text-overflow: ellipsis;
  1002. -webkit-transition: background-color 500ms;
  1003. transition: background-color 500ms;
  1004. }
  1005. #tagsdialog .taglist li:hover, #tagsdialog .taglist li:active {
  1006. background: var(--color-background-darker);
  1007. }
  1008. #tagsdialog .addinput {
  1009. width: 90%;
  1010. clear: both;
  1011. }
  1012. /* ---- BREADCRUMB ---- */
  1013. .breadcrumb {
  1014. display: inline-flex;
  1015. }
  1016. div.crumb {
  1017. display: inline-flex;
  1018. background-image: url("../img/breadcrumb.svg?v=1");
  1019. background-repeat: no-repeat;
  1020. background-position: right center;
  1021. height: 44px;
  1022. background-size: auto 24px;
  1023. flex: 0 0 auto;
  1024. order: 1;
  1025. padding-right: 7px;
  1026. }
  1027. div.crumb.crumbmenu {
  1028. order: 2;
  1029. position: relative;
  1030. }
  1031. div.crumb.crumbmenu a {
  1032. opacity: 0.5;
  1033. }
  1034. div.crumb.crumbmenu.canDropChildren .popovermenu, div.crumb.crumbmenu.canDrop .popovermenu {
  1035. display: block;
  1036. }
  1037. div.crumb.crumbmenu .popovermenu {
  1038. top: 100%;
  1039. margin-right: 3px;
  1040. }
  1041. div.crumb.crumbmenu .popovermenu ul {
  1042. max-height: 345px;
  1043. overflow-y: auto;
  1044. overflow-x: hidden;
  1045. padding-right: 5px;
  1046. }
  1047. div.crumb.crumbmenu .popovermenu ul li.canDrop span:first-child {
  1048. background-image: url("../img/filetypes/folder-drag-accept.svg?v=1") !important;
  1049. }
  1050. div.crumb.crumbmenu .popovermenu .in-breadcrumb {
  1051. display: none;
  1052. }
  1053. div.crumb.hidden {
  1054. display: none;
  1055. }
  1056. div.crumb.hidden ~ .crumb {
  1057. order: 3;
  1058. }
  1059. div.crumb > a,
  1060. div.crumb > span {
  1061. position: relative;
  1062. padding: 12px;
  1063. opacity: 0.5;
  1064. text-overflow: ellipsis;
  1065. white-space: nowrap;
  1066. overflow: hidden;
  1067. flex: 0 0 auto;
  1068. max-width: 200px;
  1069. }
  1070. div.crumb > a.icon-home, div.crumb > a.icon-delete,
  1071. div.crumb > span.icon-home,
  1072. div.crumb > span.icon-delete {
  1073. text-indent: -9999px;
  1074. }
  1075. div.crumb > a[class^=icon-] {
  1076. padding: 0;
  1077. width: 44px;
  1078. }
  1079. div.crumb:last-child {
  1080. font-weight: bold;
  1081. margin-right: 10px;
  1082. }
  1083. div.crumb:last-child a ~ span {
  1084. padding-left: 0;
  1085. }
  1086. div.crumb:hover, div.crumb:focus, div.crumb a:focus, div.crumb:active {
  1087. opacity: 1;
  1088. }
  1089. div.crumb:hover > a,
  1090. div.crumb:hover > span, div.crumb:focus > a,
  1091. div.crumb:focus > span, div.crumb a:focus > a,
  1092. div.crumb a:focus > span, div.crumb:active > a,
  1093. div.crumb:active > span {
  1094. opacity: 0.7;
  1095. }
  1096. /* some feedback for hover/tap on breadcrumbs */
  1097. .appear {
  1098. opacity: 1;
  1099. -webkit-transition: opacity 500ms ease 0s;
  1100. -moz-transition: opacity 500ms ease 0s;
  1101. -ms-transition: opacity 500ms ease 0s;
  1102. -o-transition: opacity 500ms ease 0s;
  1103. transition: opacity 500ms ease 0s;
  1104. }
  1105. .appear.transparent {
  1106. opacity: 0;
  1107. }
  1108. /* LEGACY FIX only - do not use fieldsets for settings */
  1109. fieldset.warning legend, fieldset.update legend {
  1110. top: 18px;
  1111. position: relative;
  1112. }
  1113. fieldset.warning legend + p, fieldset.update legend + p {
  1114. margin-top: 12px;
  1115. }
  1116. /* for IE10 */
  1117. @-ms-viewport {
  1118. width: device-width;
  1119. }
  1120. /* hidden input type=file field */
  1121. .hiddenuploadfield {
  1122. display: none;
  1123. width: 0;
  1124. height: 0;
  1125. opacity: 0;
  1126. }
  1127. /*# sourceMappingURL=styles.css.map */