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 24KB

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