settings.scss 26 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777
  1. /* Copyright (c) 2011, Jan-Christoph Borchardt, http://jancborchardt.net
  2. This file is licensed under the Affero General Public License version 3 or later.
  3. See the COPYING-README file. */
  4. @use 'variables';
  5. @import 'functions';
  6. input {
  7. &#openid, &#webdav {
  8. width: 20em;
  9. }
  10. }
  11. /* PERSONAL */
  12. .clear {
  13. clear: both;
  14. }
  15. /* icons for sidebar */
  16. .nav-icon-personal-settings {
  17. @include icon-color('personal', 'settings', variables.$color-black);
  18. }
  19. .nav-icon-security {
  20. @include icon-color('toggle-filelist', 'settings', variables.$color-black);
  21. }
  22. .nav-icon-clientsbox {
  23. @include icon-color('change', 'settings', variables.$color-black);
  24. }
  25. .nav-icon-federated-cloud {
  26. @include icon-color('share', 'settings', variables.$color-black);
  27. }
  28. .nav-icon-second-factor-backup-codes, .nav-icon-ssl-root-certificate {
  29. @include icon-color('password', 'settings', variables.$color-black);
  30. }
  31. #avatarform {
  32. .avatardiv {
  33. margin: 10px auto;
  34. }
  35. .warning {
  36. width: 100%;
  37. }
  38. .jcrop-keymgr {
  39. display: none !important;
  40. }
  41. }
  42. #displayavatar {
  43. text-align: center;
  44. }
  45. #uploadavatarbutton, #selectavatar, #removeavatar {
  46. padding: 21px;
  47. }
  48. #selectavatar, #removeavatar {
  49. vertical-align: top;
  50. }
  51. .jcrop-holder {
  52. z-index: 500;
  53. }
  54. #cropper {
  55. float: left;
  56. z-index: 500;
  57. /* float cropper above settings page to prevent unexpected flowing from dynamically sized element */
  58. position: fixed;
  59. background-color: rgba(0, 0, 0, 0.2);
  60. box-sizing: border-box;
  61. top: 45px;
  62. left: 0;
  63. width: 100%;
  64. height: calc(100% - 45px);
  65. .inner-container {
  66. z-index: 2001;
  67. /* above the top bar if needed */
  68. position: absolute;
  69. top: 50%;
  70. left: 50%;
  71. transform: translate(-50%, -50%);
  72. background: #fff;
  73. color: #333;
  74. border-radius: var(--border-radius-large);
  75. box-shadow: 0 0 10px var(--color-box-shadow);
  76. padding: 15px;
  77. .jcrop-holder,
  78. .jcrop-holder img,
  79. img.jcrop-preview {
  80. border-radius: var(--border-radius);
  81. }
  82. .button {
  83. margin-top: 15px;
  84. }
  85. .primary {
  86. float: right;
  87. }
  88. }
  89. }
  90. #personal-settings-avatar-container {
  91. display: inline-grid;
  92. grid-template-columns: 1fr;
  93. grid-template-rows: 2fr 1fr 2fr;
  94. vertical-align: top;
  95. }
  96. .profile-settings-container {
  97. display: inline-grid;
  98. grid-template-columns: 1fr;
  99. grid-template-rows: 1fr 1fr 1fr 2fr;
  100. #locale {
  101. h3 {
  102. height: 32px;
  103. }
  104. }
  105. }
  106. .personal-show-container {
  107. width: 100%;
  108. }
  109. .personal-settings-setting-box {
  110. .section {
  111. padding: 10px 30px;
  112. h3 {
  113. margin-bottom: 0;
  114. }
  115. input {
  116. &[type='text'], &[type='email'], &[type='tel'], &[type='url'] {
  117. width: 100%;
  118. }
  119. }
  120. }
  121. }
  122. select {
  123. &#timezone,
  124. &#languageinput,
  125. &#localeinput {
  126. width: 100%;
  127. }
  128. }
  129. #personal-settings {
  130. display: grid;
  131. padding: 20px;
  132. max-width: 1500px;
  133. grid-template-columns: 1fr 2fr 1fr;
  134. .section {
  135. padding: 10px 10px;
  136. border: 0;
  137. h2 {
  138. margin-bottom: 12px;
  139. }
  140. }
  141. .personal-info {
  142. margin-right: 10%;
  143. margin-bottom: 12px;
  144. margin-top: 12px;
  145. }
  146. .personal-info[class^='icon-'], .personal-info[class*=' icon-'] {
  147. background-position: 0px 2px;
  148. padding-left: 30px;
  149. opacity: 0.7;
  150. }
  151. }
  152. // Button for 'Reasons to use Nextcloud in your organization'
  153. .development-notice {
  154. text-align: center;
  155. a:not(.link-button) {
  156. text-decoration: underline;
  157. &:hover {
  158. background-color: var(--color-primary-element-lighter);
  159. }
  160. }
  161. }
  162. .link-button {
  163. display: inline-block;
  164. margin: 16px;
  165. padding: 14px 20px;
  166. background-color: var(--color-primary);
  167. color: #fff;
  168. border-radius: var(--border-radius-pill);
  169. border: 1px solid var(--color-primary);
  170. box-shadow: 0 2px 9px var(--color-box-shadow);
  171. &:active,
  172. &:hover,
  173. &:focus {
  174. color: var(--color-primary);
  175. background-color: var(--color-primary-text);
  176. border-color: var(--color-primary) !important;
  177. }
  178. &.icon-file {
  179. padding-left: 48px;
  180. background-position: 24px;
  181. }
  182. }
  183. @media (min-width: 1200px) and (max-width: 1400px) {
  184. #personal-settings {
  185. display: grid;
  186. grid-template-columns: 1fr 2fr;
  187. #personal-settings-avatar-container {
  188. grid-template-columns: 1fr;
  189. grid-template-rows: 1fr;
  190. }
  191. .personal-settings-container {
  192. grid-template-columns: 1fr 1fr;
  193. grid-template-rows: 1fr 1fr 1fr 1fr;
  194. }
  195. .profile-settings-container {
  196. grid-template-columns: 1fr 1fr;
  197. grid-template-rows: 1fr;
  198. grid-column: 2;
  199. }
  200. }
  201. }
  202. @media (max-width: 1200px) {
  203. #personal-settings {
  204. display: grid;
  205. grid-template-columns: 1fr;
  206. #personal-settings-avatar-container {
  207. grid-template-rows: 1fr;
  208. }
  209. .personal-settings-container {
  210. grid-template-columns: 1fr 1fr;
  211. grid-template-rows: 1fr 1fr 1fr 1fr;
  212. }
  213. .profile-settings-container {
  214. grid-template-columns: 1fr 1fr;
  215. grid-template-rows: 1fr;
  216. }
  217. }
  218. }
  219. @media (max-width: 560px) {
  220. #personal-settings {
  221. display: grid;
  222. grid-template-columns: 1fr;
  223. #personal-settings-avatar-container {
  224. grid-template-rows: 1fr;
  225. }
  226. .personal-settings-container {
  227. grid-template-columns: 1fr;
  228. grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr;
  229. }
  230. .profile-settings-container {
  231. grid-template-columns: 1fr;
  232. grid-template-rows: 1fr 1fr;
  233. }
  234. }
  235. }
  236. .personal-settings-container {
  237. display: inline-grid;
  238. grid-template-columns: 1fr 1fr;
  239. grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
  240. &:after {
  241. clear: both;
  242. }
  243. > div {
  244. h3 {
  245. position: relative;
  246. display: inline-flex;
  247. flex-wrap: nowrap;
  248. justify-content: flex-start;
  249. width: 100%;
  250. > label {
  251. white-space: nowrap;
  252. text-overflow: ellipsis;
  253. overflow: hidden;
  254. }
  255. }
  256. > form span {
  257. &[class^='icon-checkmark'], &[class^='icon-error'] {
  258. position: relative;
  259. right: 8px;
  260. top: -28px;
  261. pointer-events: none;
  262. float: right;
  263. }
  264. }
  265. }
  266. .verify {
  267. position: relative;
  268. left: 100%;
  269. top: 0;
  270. height: 0;
  271. img {
  272. padding: 12px 7px 6px;
  273. }
  274. }
  275. .verify-action {
  276. cursor: pointer;
  277. }
  278. input:disabled {
  279. background-color: white;
  280. color: black;
  281. border: none;
  282. opacity: 100;
  283. }
  284. }
  285. #body-settings #quota {
  286. cursor: default;
  287. position: relative;
  288. progress {
  289. height: 6px;
  290. &::-moz-progress-bar {
  291. border-radius: 3px 0 0 3px;
  292. }
  293. &::-webkit-progress-value {
  294. border-radius: 3px 0 0 3px;
  295. }
  296. }
  297. div {
  298. font-weight: normal;
  299. white-space: nowrap;
  300. }
  301. }
  302. /* verify accounts */
  303. /* only show pointer cursor when popup will be there */
  304. .verification-dialog {
  305. display: none;
  306. right: -9px;
  307. top: 40px;
  308. width: 275px;
  309. p {
  310. padding: 10px;
  311. }
  312. .verificationCode {
  313. font-family: monospace;
  314. display: block;
  315. overflow-wrap: break-word;
  316. }
  317. }
  318. .federation-menu {
  319. position: relative;
  320. cursor: pointer;
  321. width: 44px;
  322. height: 44px;
  323. padding: 10px;
  324. margin: -12px 0 0 8px;
  325. background: none;
  326. border: none;
  327. &:hover,
  328. &:focus {
  329. background-color: var(--color-background-hover);
  330. border-radius: var(--border-radius-pill);
  331. .icon-federation-menu {
  332. opacity: 0.8;
  333. }
  334. }
  335. .icon-federation-menu {
  336. padding-left: 16px;
  337. background-size: 16px;
  338. background-position: left center;
  339. opacity: .3;
  340. cursor: inherit;
  341. .icon-triangle-s {
  342. display: inline-block;
  343. vertical-align: middle;
  344. cursor: inherit;
  345. }
  346. }
  347. .federationScopeMenu {
  348. top: 44px;
  349. &.popovermenu {
  350. .menuitem {
  351. // override h3 heading font size
  352. font-size: 12.8px;
  353. line-height: 1.6em;
  354. .menuitem-text-detail {
  355. opacity: .75;
  356. }
  357. &.active {
  358. box-shadow: inset 2px 0 var(--color-primary);
  359. .menuitem-text {
  360. font-weight: bold;
  361. }
  362. }
  363. &.disabled {
  364. opacity: .5;
  365. cursor: default;
  366. * {
  367. cursor: default;
  368. }
  369. }
  370. }
  371. }
  372. }
  373. }
  374. #groups-groups {
  375. padding-top: 5px;
  376. }
  377. .clientsbox img {
  378. height: 60px;
  379. }
  380. #sslCertificate {
  381. tr.expired {
  382. background-color: rgba(255, 0, 0, 0.5);
  383. }
  384. td {
  385. padding: 5px;
  386. }
  387. }
  388. #displaynameerror,
  389. #displaynamechanged {
  390. display: none;
  391. }
  392. input#identity {
  393. width: 20em;
  394. }
  395. #showWizard {
  396. display: inline-block;
  397. }
  398. .msg {
  399. &.success {
  400. color: #fff;
  401. background-color: #47a447;
  402. padding: 3px;
  403. }
  404. &.error {
  405. color: #fff;
  406. background-color: #d2322d;
  407. padding: 3px;
  408. }
  409. }
  410. table.nostyle {
  411. label {
  412. margin-right: 2em;
  413. }
  414. td {
  415. padding: 0.2em 0;
  416. }
  417. }
  418. #security-password {
  419. #passwordform {
  420. display: flex;
  421. flex-wrap: wrap;
  422. #pass1, .personal-show-container, #passwordbutton {
  423. flex-shrink: 1;
  424. width: 200px;
  425. min-width: 150px;
  426. }
  427. #pass2 {
  428. width: 100%;
  429. }
  430. .password-state {
  431. display: inline-block;
  432. }
  433. .strengthify-wrapper {
  434. position: absolute;
  435. left: 0;
  436. width: 100%;
  437. border-radius: 0 0 2px 2px;
  438. margin-top: -6px;
  439. overflow: hidden;
  440. height: 3px;
  441. }
  442. }
  443. }
  444. /* Two-Factor Authentication (2FA) */
  445. #two-factor-auth {
  446. h3 {
  447. margin-top: 24px;
  448. }
  449. li > div {
  450. margin-left: 20px;
  451. }
  452. .two-factor-provider-settings-icon {
  453. width: 16px;
  454. height: 16px;
  455. vertical-align: sub;
  456. }
  457. }
  458. /* USERS */
  459. .isgroup {
  460. .groupname {
  461. width: 85%;
  462. display: block;
  463. overflow: hidden;
  464. text-overflow: ellipsis;
  465. }
  466. &.active .groupname {
  467. width: 65%;
  468. }
  469. }
  470. li.active {
  471. .delete,
  472. .rename {
  473. display: block;
  474. }
  475. }
  476. .app-navigation-entry-utils {
  477. .delete,
  478. .rename {
  479. display: none;
  480. }
  481. }
  482. #usersearchform {
  483. position: absolute;
  484. top: 2px;
  485. right: 0;
  486. input {
  487. width: 150px;
  488. }
  489. label {
  490. font-weight: bold;
  491. }
  492. }
  493. /* display table at full width */
  494. table.grid {
  495. width: 100%;
  496. th {
  497. height: 2em;
  498. color: #999;
  499. border-bottom: 1px solid var(--color-border);
  500. padding: 0 .5em;
  501. padding-left: .8em;
  502. text-align: left;
  503. font-weight: normal;
  504. }
  505. td {
  506. border-bottom: 1px solid var(--color-border);
  507. padding: 0 .5em;
  508. padding-left: .8em;
  509. text-align: left;
  510. font-weight: normal;
  511. }
  512. }
  513. td, th {
  514. &.name {
  515. padding-left: .8em;
  516. min-width: 5em;
  517. max-width: 12em;
  518. text-overflow: ellipsis;
  519. overflow: hidden;
  520. }
  521. &.password {
  522. padding-left: .8em;
  523. > img {
  524. visibility: hidden;
  525. }
  526. }
  527. &.displayName > img {
  528. visibility: hidden;
  529. }
  530. &.password,
  531. &.mailAddress {
  532. min-width: 5em;
  533. max-width: 12em;
  534. cursor: pointer;
  535. span {
  536. width: 90%;
  537. display: inline-block;
  538. text-overflow: ellipsis;
  539. overflow: hidden;
  540. }
  541. }
  542. &.mailAddress {
  543. cursor: pointer;
  544. }
  545. &.password > span {
  546. margin-right: 1.2em;
  547. color: #C7C7C7;
  548. }
  549. }
  550. span.usersLastLoginTooltip {
  551. white-space: nowrap;
  552. }
  553. /* APPS */
  554. #app-content > svg.app-filter {
  555. float: left;
  556. height: 0;
  557. width: 0;
  558. }
  559. #app-category-app-bundles {
  560. margin-bottom: 20px;
  561. }
  562. .appinfo {
  563. margin: 1em 40px;
  564. }
  565. #app-navigation {
  566. /* Navigation icons */
  567. img {
  568. margin-bottom: -3px;
  569. margin-right: 6px;
  570. width: 16px;
  571. }
  572. li span.no-icon {
  573. padding-left: 32px;
  574. }
  575. ul li.active > span.utils {
  576. .delete, .rename {
  577. display: block;
  578. }
  579. }
  580. .appwarning {
  581. background: #fcc;
  582. }
  583. &.appwarning:hover {
  584. background: #fbb;
  585. }
  586. .app-external {
  587. color: var(--color-text-maxcontrast);
  588. }
  589. }
  590. span.version {
  591. margin-left: 1em;
  592. margin-right: 1em;
  593. color: var(--color-text-maxcontrast);
  594. }
  595. .app-version {
  596. color: var(--color-text-maxcontrast);
  597. }
  598. .app-level {
  599. span {
  600. color: var(--color-text-maxcontrast);
  601. background-color: transparent;
  602. border: 1px solid var(--color-text-maxcontrast);
  603. border-radius: var(--border-radius);
  604. padding: 3px 6px;
  605. }
  606. a {
  607. padding: 10px;
  608. margin: -6px;
  609. white-space: nowrap;
  610. }
  611. .official {
  612. background-position: left center;
  613. background-position: 5px center;
  614. padding-left: 25px;
  615. }
  616. .supported {
  617. border-color: var(--color-success);
  618. background-position: left center;
  619. background-position: 5px center;
  620. padding-left: 25px;
  621. color: var(--color-success);
  622. }
  623. }
  624. .app-score {
  625. position: relative;
  626. top: 4px;
  627. opacity: .5;
  628. }
  629. .app-settings-content {
  630. #searchresults {
  631. display: none;
  632. }
  633. }
  634. #apps-list.store {
  635. .section {
  636. border: 0;
  637. }
  638. .app-name {
  639. display: block;
  640. margin: 5px 0;
  641. }
  642. .app-name, .app-image * {
  643. cursor: pointer;
  644. }
  645. .app-summary {
  646. opacity: .7;
  647. }
  648. .app-image-icon .icon-settings-dark {
  649. width: 100%;
  650. height: 150px;
  651. background-size: 45px;
  652. opacity: 0.5;
  653. }
  654. .app-score-image {
  655. height: 14px;
  656. }
  657. .actions {
  658. margin-top: 10px;
  659. }
  660. }
  661. #app-sidebar #app-details-view {
  662. h2 {
  663. .icon-settings-dark,
  664. svg {
  665. display: inline-block;
  666. width: 16px;
  667. height: 16px;
  668. margin-right: 10px;
  669. opacity: .7;
  670. }
  671. }
  672. .app-level {
  673. clear: right;
  674. width: 100%;
  675. .supported,
  676. .official {
  677. vertical-align: top;
  678. }
  679. .app-score-image {
  680. float: right;
  681. }
  682. }
  683. .app-author, .app-licence {
  684. color: var(--color-text-maxcontrast);
  685. }
  686. .app-dependencies {
  687. margin: 10px 0;
  688. }
  689. .app-description p {
  690. margin: 10px 0;
  691. }
  692. .close {
  693. position: absolute;
  694. top: 0;
  695. right: 0;
  696. padding: 14px;
  697. opacity: 0.5;
  698. z-index: 1;
  699. width: 44px;
  700. height: 44px;
  701. }
  702. .actions {
  703. display: flex;
  704. align-items: center;
  705. .app-groups {
  706. padding: 5px;
  707. }
  708. }
  709. .appslink {
  710. text-decoration: underline;
  711. margin-right: 5px;
  712. }
  713. .app-level,
  714. .actions,
  715. .documentation,
  716. .app-dependencies,
  717. .app-description {
  718. margin: 20px 0;
  719. }
  720. }
  721. @media only screen and (min-width: 1601px) {
  722. .store .section {
  723. width: 25%;
  724. }
  725. .with-app-sidebar .store .section {
  726. width: 33%;
  727. }
  728. }
  729. @media only screen and (max-width: 1600px) {
  730. .store .section {
  731. width: 25%;
  732. }
  733. .with-app-sidebar .store .section {
  734. width: 33%;
  735. }
  736. }
  737. @media only screen and (max-width: 1400px) {
  738. .store .section {
  739. width: 33%;
  740. }
  741. .with-app-sidebar .store .section {
  742. width: 50%;
  743. }
  744. }
  745. @media only screen and (max-width: 900px) {
  746. .store .section {
  747. width: 50%;
  748. }
  749. .with-app-sidebar .store .section {
  750. width: 100%;
  751. }
  752. }
  753. @media only screen and (max-width: variables.$breakpoint-mobile) {
  754. .store .section {
  755. width: 50%;
  756. }
  757. }
  758. @media only screen and (max-width: 480px) {
  759. .store .section {
  760. width: 100%;
  761. }
  762. }
  763. /* hide app version and level on narrower screens */
  764. @media only screen and (max-width: 900px) {
  765. .apps-list.installed {
  766. .app-version, .app-level {
  767. display: none !important;
  768. }
  769. }
  770. }
  771. @media only screen and (max-width: 500px) {
  772. .apps-list.installed .app-groups {
  773. display: none !important;
  774. }
  775. }
  776. #version.section {
  777. border-bottom: none;
  778. }
  779. .section {
  780. margin-bottom: 0;
  781. /* section divider lines, none needed for last one */
  782. &:not(:last-child) {
  783. border-bottom: 1px solid var(--color-border);
  784. }
  785. /* correctly display help icons next to headings */
  786. h2 {
  787. margin-bottom: 22px;
  788. .icon-info {
  789. padding: 6px 20px;
  790. vertical-align: text-bottom;
  791. display: inline-block;
  792. }
  793. }
  794. }
  795. .followupsection {
  796. display: block;
  797. padding: 0 30px 30px 30px;
  798. color: #555;
  799. }
  800. .app-image {
  801. position: relative;
  802. height: 150px;
  803. opacity: 1;
  804. overflow: hidden;
  805. }
  806. .app-name, .app-version, .app-score, .app-level {
  807. display: inline-block;
  808. }
  809. .app-description-toggle-show, .app-description-toggle-hide {
  810. clear: both;
  811. padding: 7px 0;
  812. cursor: pointer;
  813. opacity: .5;
  814. }
  815. .app-description-container {
  816. clear: both;
  817. position: relative;
  818. top: 7px;
  819. }
  820. .app-description {
  821. clear: both;
  822. }
  823. #app-category-1 {
  824. margin-bottom: 18px;
  825. }
  826. /* capitalize 'Other' category */
  827. #app-category-925 {
  828. text-transform: capitalize;
  829. }
  830. .app-dependencies {
  831. color: #ce3702;
  832. }
  833. .missing-dependencies {
  834. list-style: initial;
  835. list-style-type: initial;
  836. list-style-position: inside;
  837. }
  838. .apps-list {
  839. $toolbar-padding: 8px;
  840. $toolbar-height: 44px + $toolbar-padding * 2;
  841. .section {
  842. cursor: pointer;
  843. }
  844. .app-list-move {
  845. transition: transform 1s;
  846. }
  847. #app-list-update-all {
  848. margin-left: 10px;
  849. }
  850. .toolbar {
  851. height: $toolbar-height;
  852. padding: $toolbar-padding;
  853. // Leave room for app-navigation-toggle
  854. padding-left: $toolbar-height;
  855. width: 100%;
  856. background-color: var(--color-main-background);
  857. position: fixed;
  858. z-index: 1;
  859. display: flex;
  860. align-items: center;
  861. }
  862. &.installed {
  863. .apps-list-container {
  864. display: table;
  865. width: 100%;
  866. height: auto;
  867. margin-top: $toolbar-height;
  868. }
  869. margin-bottom: 100px;
  870. .section {
  871. display: table-row;
  872. padding: 0;
  873. margin: 0;
  874. > * {
  875. display: table-cell;
  876. height: initial;
  877. vertical-align: middle;
  878. float: none;
  879. border-bottom: 1px solid var(--color-border);
  880. padding: 6px;
  881. box-sizing: border-box;
  882. }
  883. &.selected {
  884. background-color: var(--color-background-dark);
  885. }
  886. }
  887. .groups-enable {
  888. margin-top: 0;
  889. label {
  890. margin-right: 3px;
  891. }
  892. }
  893. .app-image {
  894. width: 44px;
  895. height: auto;
  896. text-align: right;
  897. }
  898. .app-image-icon svg,
  899. .app-image-icon .icon-settings-dark {
  900. margin-top: 5px;
  901. width: 20px;
  902. height: 20px;
  903. opacity: .5;
  904. background-size: cover;
  905. display: inline-block;
  906. }
  907. .actions {
  908. text-align: right;
  909. .icon-loading-small {
  910. display: inline-block;
  911. top: 4px;
  912. margin-right: 10px;
  913. }
  914. }
  915. }
  916. &:not(.installed) .app-image-icon svg {
  917. position: absolute;
  918. bottom: 43px;
  919. /* position halfway vertically */
  920. width: 64px;
  921. height: 64px;
  922. opacity: .1;
  923. }
  924. display: flex;
  925. flex-wrap: wrap;
  926. align-content: flex-start;
  927. &.hidden {
  928. display: none;
  929. }
  930. .section {
  931. position: relative;
  932. flex: 0 0 auto;
  933. h2.app-name {
  934. display: block;
  935. margin: 8px 0;
  936. }
  937. &:hover {
  938. background-color: var(--color-background-dark);
  939. }
  940. }
  941. .app-description {
  942. p {
  943. margin: 10px 0;
  944. }
  945. ul {
  946. list-style: disc;
  947. }
  948. ol {
  949. list-style: decimal;
  950. ol, ul {
  951. padding-left: 15px;
  952. }
  953. }
  954. > {
  955. ul, ol {
  956. margin-left: 19px;
  957. }
  958. }
  959. ul {
  960. ol, ul {
  961. padding-left: 15px;
  962. }
  963. }
  964. }
  965. /* Bundle header */
  966. .apps-header {
  967. display: table-row;
  968. position: relative;
  969. div {
  970. display: table-cell;
  971. height: 70px;
  972. }
  973. h2 {
  974. display: table-cell;
  975. position: absolute;
  976. padding-left: 6px;
  977. padding-top: 15px;
  978. .enable {
  979. position: relative;
  980. top: -1px;
  981. margin-left: 12px;
  982. }
  983. + .section {
  984. margin-top: 50px;
  985. }
  986. }
  987. }
  988. }
  989. #apps-list-search {
  990. .section {
  991. h2 {
  992. margin-bottom: 0;
  993. }
  994. }
  995. }
  996. /* LOG */
  997. #log {
  998. white-space: normal;
  999. margin-bottom: 14px;
  1000. }
  1001. #lessLog {
  1002. display: none;
  1003. }
  1004. table.grid td.date {
  1005. white-space: nowrap;
  1006. }
  1007. #log-section p {
  1008. margin-top: 20px;
  1009. }
  1010. #security-warning-state-ok,
  1011. #security-warning-state-warning,
  1012. #security-warning-state-failure,
  1013. #security-warning-state-loading {
  1014. span {
  1015. vertical-align: middle;
  1016. &.message {
  1017. padding: 12px;
  1018. }
  1019. &.icon {
  1020. width: 32px;
  1021. height: 32px;
  1022. background-position: center center;
  1023. display: inline-block;
  1024. border-radius: 50%;
  1025. }
  1026. &.icon-checkmark-white {
  1027. background-color: var(--color-success);
  1028. }
  1029. &.icon-error-white {
  1030. background-color: var(--color-warning);
  1031. }
  1032. &.icon-close-white {
  1033. background-color: var(--color-error);
  1034. }
  1035. }
  1036. }
  1037. #shareAPI {
  1038. p {
  1039. padding-bottom: 0.8em;
  1040. }
  1041. input#shareapiExpireAfterNDays {
  1042. width: 40px;
  1043. }
  1044. .indent {
  1045. padding-left: 28px;
  1046. }
  1047. .double-indent {
  1048. padding-left: 56px;
  1049. }
  1050. .nocheckbox {
  1051. padding-left: 20px;
  1052. }
  1053. }
  1054. #shareApiDefaultPermissionsSection label {
  1055. margin-right: 20px;
  1056. }
  1057. #fileSharingSettings h3 {
  1058. display: inline-block;
  1059. }
  1060. #publicShareDisclaimerText {
  1061. width: calc(100% - 23px);
  1062. /* 20 px left margin, 3 px right margin */
  1063. max-width: 600px;
  1064. height: 150px;
  1065. margin-left: 20px;
  1066. box-sizing: border-box;
  1067. }
  1068. /* correctly display help icons next to headings */
  1069. .icon-info {
  1070. padding: 11px 20px;
  1071. vertical-align: text-bottom;
  1072. opacity: .5;
  1073. }
  1074. #two-factor-auth h2,
  1075. #shareAPI h2,
  1076. #encryptionAPI h2,
  1077. #mail_general_settings h2 {
  1078. display: inline-block;
  1079. }
  1080. #encryptionAPI li {
  1081. list-style-type: initial;
  1082. margin-left: 20px;
  1083. padding: 5px 0;
  1084. }
  1085. .mail_settings p {
  1086. label:first-child {
  1087. display: inline-block;
  1088. width: 300px;
  1089. text-align: right;
  1090. }
  1091. select:nth-child(2),
  1092. input:not([type='button']) {
  1093. width: 143px;
  1094. }
  1095. }
  1096. #mail_smtpport {
  1097. width: 40px;
  1098. }
  1099. .cronlog {
  1100. margin-left: 10px;
  1101. }
  1102. .status {
  1103. display: inline-block;
  1104. height: 16px;
  1105. width: 16px;
  1106. vertical-align: text-bottom;
  1107. &.success {
  1108. border-radius: 50%;
  1109. }
  1110. }
  1111. #selectGroups select {
  1112. box-sizing: border-box;
  1113. display: inline-block;
  1114. height: 36px;
  1115. padding: 7px 10px;
  1116. }
  1117. #log .log-message {
  1118. word-break: break-all;
  1119. min-width: 180px;
  1120. }
  1121. span {
  1122. &.success {
  1123. background-color: var(--color-success);
  1124. border-radius: var(--border-radius);
  1125. }
  1126. &.error {
  1127. background-color: var(--color-error);
  1128. }
  1129. &.indeterminate {
  1130. background-color: var(--color-warning);
  1131. border-radius: 40% 0;
  1132. }
  1133. }
  1134. /* OPERA hack for strengthify*/
  1135. doesnotexist:-o-prefocus, .strengthify-wrapper {
  1136. left: 185px;
  1137. width: 129px;
  1138. }
  1139. .trusted-domain-warning {
  1140. color: #fff;
  1141. padding: 5px;
  1142. background: #ce3702;
  1143. border-radius: 5px;
  1144. font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace;
  1145. }
  1146. #postsetupchecks {
  1147. ul {
  1148. margin-left: 44px;
  1149. list-style: disc;
  1150. li {
  1151. margin: 10px 0;
  1152. }
  1153. ul {
  1154. list-style: circle;
  1155. }
  1156. }
  1157. .loading {
  1158. height: 50px;
  1159. background-position: left center;
  1160. }
  1161. .errors, .errors a {
  1162. color: var(--color-error);
  1163. }
  1164. .warnings, .warnings a {
  1165. color: var(--color-warning);
  1166. }
  1167. .hint {
  1168. margin: 20px 0;
  1169. }
  1170. }
  1171. #security-warning {
  1172. a {
  1173. text-decoration: underline;
  1174. }
  1175. .extra-top-margin {
  1176. margin-top: 12px;
  1177. }
  1178. }
  1179. #admin-tips li {
  1180. list-style: initial;
  1181. a {
  1182. display: inline-block;
  1183. padding: 3px 0;
  1184. }
  1185. }
  1186. #selectEncryptionModules {
  1187. margin-left: 30px;
  1188. padding: 10px;
  1189. }
  1190. #encryptionModules {
  1191. padding: 10px;
  1192. }
  1193. #warning {
  1194. color: red;
  1195. }
  1196. .settings-hint {
  1197. margin-top: -12px;
  1198. margin-bottom: 12px;
  1199. opacity: .7;
  1200. }
  1201. /* USERS LIST -------------------------------------------------------------- */
  1202. #body-settings {
  1203. $grid-row-height: 60px;
  1204. $grid-col-min-width: 160px;
  1205. overflow-x: scroll;
  1206. min-height: 100%;
  1207. height: auto;
  1208. #app-content.user-list-grid {
  1209. display: grid;
  1210. grid-column-gap: 20px;
  1211. grid-auto-rows: minmax(60px, max-content);
  1212. .row {
  1213. // TODO replace with css4 subgrid when available
  1214. // fallback for ie11 no grid
  1215. display: flex;
  1216. display: grid;
  1217. min-height: $grid-row-height;
  1218. grid-row-start: span 1;
  1219. grid-gap: 3px;
  1220. align-items: center;
  1221. /* let's define the column until storage path,
  1222. what follows will be manually defined */
  1223. grid-template-columns:
  1224. 44px
  1225. minmax($grid-col-min-width + 30px, 1fr) // username, displayname
  1226. minmax($grid-col-min-width, 1fr) // password
  1227. minmax($grid-col-min-width, 1fr) // email
  1228. minmax(1.5*$grid-col-min-width, 1fr) // groups
  1229. minmax(1.5*$grid-col-min-width, 1fr) // group admins
  1230. repeat(auto-fit, minmax($grid-col-min-width, 1fr));
  1231. border-bottom: var(--color-border) 1px solid;
  1232. &.disabled {
  1233. opacity: .5;
  1234. }
  1235. /* grid col width */
  1236. .name,
  1237. .password,
  1238. .mailAddress,
  1239. .languages,
  1240. .storageLocation,
  1241. .userBackend,
  1242. .lastLogin {
  1243. min-width: $grid-col-min-width;
  1244. doesnotexist:-o-prefocus, .strengthify-wrapper {
  1245. color: var(--color-text-dark);
  1246. vertical-align: baseline;
  1247. text-overflow: ellipsis;
  1248. }
  1249. }
  1250. &:not(.row--editable) {
  1251. &.name,
  1252. &.password,
  1253. &.displayName,
  1254. &.mailAddress,
  1255. &.userBackend,
  1256. &.languages {
  1257. overflow: hidden;
  1258. }
  1259. }
  1260. .groups,
  1261. .subadmins,
  1262. .quota {
  1263. min-width: $grid-col-min-width;
  1264. .multiselect {
  1265. width: 100%;
  1266. color: var(--color-text-dark);
  1267. vertical-align: baseline;
  1268. }
  1269. }
  1270. .obfuscated {
  1271. width: 400px;
  1272. opacity: .7;
  1273. }
  1274. .userActions {
  1275. display: flex;
  1276. justify-content: flex-end;
  1277. position: sticky;
  1278. right: 0px;
  1279. min-width: 88px;
  1280. background-color: var(--color-main-background);
  1281. }
  1282. .subtitle {
  1283. color: var(--color-text-maxcontrast);
  1284. vertical-align: baseline;
  1285. }
  1286. /* various */
  1287. &#grid-header {
  1288. position: sticky;
  1289. align-self: normal;
  1290. background-color: var(--color-main-background);
  1291. z-index: 100; /* above multiselect */
  1292. top: variables.$header-height;
  1293. &.sticky {
  1294. box-shadow: 0 -2px 10px 1px var(--color-box-shadow);
  1295. }
  1296. }
  1297. &#grid-header {
  1298. color: var(--color-text-maxcontrast);
  1299. border-bottom-width: thin;
  1300. #headerDisplayName,
  1301. #headerPassword,
  1302. #headerAddress,
  1303. #headerGroups,
  1304. #headerSubAdmins,
  1305. #theHeaderUserBackend,
  1306. #theHeaderLastLogin,
  1307. #headerQuota,
  1308. #theHeaderStorageLocation,
  1309. #headerLanguages {
  1310. /* Line up header text with column content for when there’s inputs */
  1311. padding-left: 7px;
  1312. text-transform: none;
  1313. color: var(--color-text-maxcontrast);
  1314. vertical-align: baseline;
  1315. }
  1316. }
  1317. &:hover {
  1318. input:not([type='submit']):not(:focus):not(:active) {
  1319. border-color: var(--color-border) !important;
  1320. }
  1321. &:not(#grid-header) {
  1322. box-shadow: 5px 0 0 var(--color-primary-element) inset;
  1323. }
  1324. }
  1325. > form {
  1326. width: 100%;
  1327. }
  1328. > div,
  1329. > .displayName > form,
  1330. > form {
  1331. grid-row: 1;
  1332. display: inline-flex;
  1333. color: var(--color-text-lighter);
  1334. flex-grow: 1;
  1335. > input:not(:focus):not(:active) {
  1336. border-color: transparent;
  1337. cursor: pointer;
  1338. }
  1339. > input:focus, > input:active {
  1340. + .icon-confirm {
  1341. display: block !important;
  1342. }
  1343. }
  1344. /* inputs like mail, username, password */
  1345. &:not(.userActions) > input:not([type='submit']) {
  1346. width: 100%;
  1347. min-width: 0;
  1348. }
  1349. &.name {
  1350. word-break: break-all;
  1351. }
  1352. &.displayName,
  1353. &.mailAddress {
  1354. > input {
  1355. text-overflow: ellipsis;
  1356. flex-grow: 1;
  1357. }
  1358. }
  1359. &.name,
  1360. &.userBackend {
  1361. /* better multi-line visual */
  1362. line-height: 1.3em;
  1363. max-height: 100%;
  1364. overflow: hidden;
  1365. /* not supported by all browsers
  1366. so we keep the overflow hidden
  1367. as a fallback */
  1368. text-overflow: ellipsis;
  1369. display: -webkit-box;
  1370. -webkit-line-clamp: 2;
  1371. -webkit-box-orient: vertical;
  1372. }
  1373. &.quota {
  1374. display: flex;;
  1375. justify-content: left;
  1376. white-space: nowrap;
  1377. position: relative;
  1378. progress {
  1379. width: 150px;
  1380. margin-top: 35px;
  1381. height: 3px;
  1382. }
  1383. }
  1384. .icon-confirm {
  1385. flex: 0 0 auto;
  1386. cursor: pointer;
  1387. &:not(:active) {
  1388. display: none;
  1389. }
  1390. }
  1391. &.avatar {
  1392. height: 32px;
  1393. width: 32px;
  1394. margin: 6px;
  1395. img {
  1396. display: block;
  1397. }
  1398. }
  1399. &.userActions {
  1400. display: flex;
  1401. justify-content: flex-end;
  1402. #newsubmit {
  1403. width: 100%;
  1404. }
  1405. .toggleUserActions {
  1406. position: relative;
  1407. display: flex;
  1408. align-items: center;
  1409. background-color: var(--color-main-background);
  1410. .icon-more {
  1411. width: 44px;
  1412. height: 44px;
  1413. opacity: .5;
  1414. cursor: pointer;
  1415. &:focus,
  1416. &:hover,
  1417. &:active {
  1418. opacity: .7;
  1419. background-color: var(--color-background-dark)
  1420. }
  1421. }
  1422. }
  1423. .feedback {
  1424. display: flex;
  1425. align-items: center;
  1426. white-space: nowrap;
  1427. transition: opacity 200ms ease-in-out;
  1428. .icon-checkmark {
  1429. opacity: .5;
  1430. margin-right: 5px;
  1431. }
  1432. }
  1433. }
  1434. /* Fill the grid cell */
  1435. .multiselect.multiselect-vue {
  1436. width: 100%;
  1437. }
  1438. }
  1439. }
  1440. .infinite-loading-container {
  1441. display: flex;
  1442. align-items: center;
  1443. justify-content: center;
  1444. grid-row-start: span 4;
  1445. }
  1446. .users-list-end {
  1447. opacity: .5;
  1448. user-select: none;
  1449. }
  1450. }
  1451. }
  1452. .animated {
  1453. animation: blink-animation 1s steps(5, start) 4;
  1454. }
  1455. @keyframes blink-animation {
  1456. to {
  1457. opacity: 0.6;
  1458. }
  1459. }
  1460. @-webkit-keyframes blink-animation {
  1461. to {
  1462. opacity: 1;
  1463. }
  1464. }