You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

settings.scss 26KB

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