1
0

styles.scss 19 KB

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