styles.css 25 KB

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