settings.scss 25 KB

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