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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557
  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. &.displayName,
  475. &.mailAddress {
  476. min-width: 5em;
  477. max-width: 12em;
  478. cursor: pointer;
  479. span {
  480. width: 90%;
  481. display: inline-block;
  482. text-overflow: ellipsis;
  483. overflow: hidden;
  484. }
  485. }
  486. &.mailAddress {
  487. cursor: pointer;
  488. }
  489. &.password > span {
  490. margin-right: 1.2em;
  491. color: #C7C7C7;
  492. }
  493. }
  494. span.usersLastLoginTooltip {
  495. white-space: nowrap;
  496. }
  497. /* dropdowns will be relative to this element */
  498. #userlist {
  499. position: relative;
  500. .storageLocation, .userBackend, .lastLogin {
  501. display: none;
  502. }
  503. th.name {
  504. color: #000;
  505. }
  506. tr {
  507. height: 50px;
  508. }
  509. .mailAddress .loading-small {
  510. width: 16px;
  511. height: 16px;
  512. margin-left: -26px;
  513. position: relative;
  514. top: 3px;
  515. }
  516. .groupsListContainer.hidden {
  517. display: none;
  518. }
  519. thead th,
  520. thead tr {
  521. z-index: 100;
  522. background-color: var(--color-main-background);
  523. @include position('sticky');
  524. // positional attribute is required for position to take affect.
  525. top: 0;
  526. }
  527. }
  528. #newuser {
  529. .groupsListContainer.hidden {
  530. display: none;
  531. }
  532. .multiselect {
  533. min-width: 150px !important;
  534. position: relative;
  535. top: -1px;
  536. }
  537. input {
  538. &:not([type='submit']),
  539. &:not([type='reset']) {
  540. width: 100%;
  541. }
  542. }
  543. .userActions input {
  544. width: 44px;
  545. height: 44px;
  546. &.icon-close {
  547. border: none;
  548. background-color: initial;
  549. opacity: .5;
  550. }
  551. &:hover {
  552. opacity: 1;
  553. }
  554. }
  555. }
  556. /* used to highlight a user row in red */
  557. #userlist tr.row-warning {
  558. background-color: #FDD;
  559. }
  560. /* APPS */
  561. #app-content > svg.app-filter {
  562. float: left;
  563. height: 0;
  564. width: 0;
  565. }
  566. #app-category-app-bundles {
  567. margin-bottom: 20px;
  568. }
  569. .appinfo {
  570. margin: 1em 40px;
  571. }
  572. #app-navigation {
  573. /* Navigation icons */
  574. img {
  575. margin-bottom: -3px;
  576. margin-right: 6px;
  577. width: 16px;
  578. }
  579. li span.no-icon {
  580. padding-left: 32px;
  581. }
  582. ul li.active > span.utils {
  583. .delete, .rename {
  584. display: block;
  585. }
  586. }
  587. .appwarning {
  588. background: #fcc;
  589. }
  590. &.appwarning:hover {
  591. background: #fbb;
  592. }
  593. .app-external {
  594. color: var(--color-text-maxcontrast);
  595. }
  596. }
  597. span.version {
  598. margin-left: 1em;
  599. margin-right: 1em;
  600. color: var(--color-text-maxcontrast);
  601. }
  602. .app-version {
  603. color: var(--color-text-maxcontrast);
  604. }
  605. .app-level {
  606. margin-top: 8px;
  607. span {
  608. color: var(--color-text-maxcontrast);
  609. background-color: transparent;
  610. border: 1px solid var(--color-text-maxcontrast);
  611. border-radius: var(--border-radius);
  612. padding: 3px 6px;
  613. }
  614. a {
  615. padding: 10px;
  616. margin: -6px;
  617. white-space: nowrap;
  618. }
  619. .official {
  620. background-position: left center;
  621. background-position: 5px center;
  622. padding-left: 25px;
  623. }
  624. .supported {
  625. border-color: var(--color-success);
  626. background-position: left center;
  627. background-position: 5px center;
  628. padding-left: 25px;
  629. color: var(--color-success) ;
  630. }
  631. }
  632. .app-score {
  633. position: relative;
  634. top: 4px;
  635. opacity: .5;
  636. }
  637. .app-settings-content {
  638. #searchresults {
  639. display: none;
  640. }
  641. }
  642. #apps-list.store {
  643. .section {
  644. border: 0;
  645. }
  646. .app-name {
  647. display: block;
  648. margin: 5px 0;
  649. }
  650. .app-name, .app-image * {
  651. cursor: pointer;
  652. }
  653. .app-summary {
  654. opacity: .7;
  655. }
  656. .app-image-icon .icon-settings-dark {
  657. width: 100%;
  658. height: 150px;
  659. background-size: 45px;
  660. opacity: 0.5;
  661. }
  662. .app-score-image {
  663. height: 14px;
  664. }
  665. .actions {
  666. margin-top: 10px;
  667. }
  668. }
  669. #app-sidebar #app-details-view {
  670. h2 {
  671. .icon-settings-dark,
  672. svg {
  673. display: inline-block;
  674. width: 16px;
  675. height: 16px;
  676. margin-right: 10px;
  677. opacity: .7;
  678. }
  679. }
  680. .app-level {
  681. clear: right;
  682. width: 100%;
  683. .supported,
  684. .official {
  685. vertical-align: top;
  686. }
  687. .app-score-image {
  688. float: right;
  689. }
  690. }
  691. .app-author, .app-licence {
  692. color: var(--color-text-maxcontrast);
  693. }
  694. .app-dependencies {
  695. margin: 10px 0;
  696. }
  697. .app-description p {
  698. margin: 10px 0;
  699. }
  700. .close {
  701. position: absolute;
  702. top: 0;
  703. right: 0;
  704. padding: 14px;
  705. opacity: 0.5;
  706. z-index: 1;
  707. width: 44px;
  708. height: 44px;
  709. }
  710. .actions {
  711. display: flex;
  712. align-items: center;
  713. .app-groups{
  714. padding: 5px;
  715. }
  716. }
  717. .appslink {
  718. text-decoration: underline;
  719. margin-right: 5px;
  720. }
  721. .app-level,
  722. .actions,
  723. .documentation,
  724. .app-dependencies,
  725. .app-description {
  726. margin: 20px 0;
  727. }
  728. }
  729. @media only screen and (min-width: 1601px) {
  730. .store .section {
  731. width: 25%;
  732. }
  733. .with-app-sidebar .store .section {
  734. width: 33%;
  735. }
  736. }
  737. @media only screen and (max-width: 1600px) {
  738. .store .section {
  739. width: 25%;
  740. }
  741. .with-app-sidebar .store .section {
  742. width: 33%;
  743. }
  744. }
  745. @media only screen and (max-width: 1400px) {
  746. .store .section {
  747. width: 33%;
  748. }
  749. .with-app-sidebar .store .section {
  750. width: 50%;
  751. }
  752. }
  753. @media only screen and (max-width: 900px) {
  754. .store .section {
  755. width: 50%;
  756. }
  757. .with-app-sidebar .store .section {
  758. width: 100%;
  759. }
  760. }
  761. @media only screen and (max-width: $breakpoint-mobile) {
  762. .store .section {
  763. width: 50%;
  764. }
  765. }
  766. @media only screen and (max-width: 480px) {
  767. .store .section {
  768. width: 100%;
  769. }
  770. }
  771. /* hide app version and level on narrower screens */
  772. @media only screen and (max-width: 900px) {
  773. .apps-list.installed {
  774. .app-version, .app-level {
  775. display: none !important;
  776. }
  777. }
  778. }
  779. @media only screen and (max-width: 500px) {
  780. .apps-list.installed .app-groups {
  781. display: none !important;
  782. }
  783. }
  784. #version.section {
  785. border-bottom: none;
  786. }
  787. .section {
  788. margin-bottom: 0;
  789. /* section divider lines, none needed for last one */
  790. &:not(:last-child) {
  791. border-bottom: 1px solid var(--color-border);
  792. }
  793. /* correctly display help icons next to headings */
  794. h2 {
  795. margin-bottom: 22px;
  796. .icon-info {
  797. padding: 6px 20px;
  798. vertical-align: text-bottom;
  799. display: inline-block;
  800. }
  801. }
  802. }
  803. .personal-settings-setting-box .section {
  804. padding: 10px 30px;
  805. }
  806. .followupsection {
  807. display: block;
  808. padding: 0 30px 30px 30px;
  809. color: #555;
  810. }
  811. .app-image {
  812. position: relative;
  813. height: 150px;
  814. opacity: 1;
  815. overflow: hidden;
  816. }
  817. .app-name, .app-version, .app-score, .app-level {
  818. display: inline-block;
  819. }
  820. .app-description-toggle-show, .app-description-toggle-hide {
  821. clear: both;
  822. padding: 7px 0;
  823. cursor: pointer;
  824. opacity: .5;
  825. }
  826. .app-description-container {
  827. clear: both;
  828. position: relative;
  829. top: 7px;
  830. }
  831. .app-description {
  832. clear: both;
  833. }
  834. #app-category-1 {
  835. margin-bottom: 18px;
  836. }
  837. /* capitalize 'Other' category */
  838. #app-category-925 {
  839. text-transform: capitalize;
  840. }
  841. .app-dependencies {
  842. color: #ce3702;
  843. }
  844. .missing-dependencies {
  845. list-style: initial;
  846. list-style-type: initial;
  847. list-style-position: inside;
  848. }
  849. .apps-list {
  850. .section {
  851. cursor: pointer;
  852. }
  853. .app-list-move {
  854. transition: transform 1s;
  855. }
  856. &.installed {
  857. .apps-list-container {
  858. display: table;
  859. width: 100%;
  860. height: auto;
  861. }
  862. margin-bottom: 100px;
  863. .section {
  864. display: table-row;
  865. padding: 0;
  866. margin: 0;
  867. > * {
  868. display: table-cell;
  869. height: initial;
  870. vertical-align: middle;
  871. float: none;
  872. border-bottom: 1px solid var(--color-border);
  873. padding: 6px;
  874. box-sizing: border-box;
  875. }
  876. &.selected {
  877. background-color: var(--color-background-dark);
  878. }
  879. }
  880. .groups-enable {
  881. margin-top: 0;
  882. label {
  883. margin-right: 3px;
  884. }
  885. }
  886. .app-image {
  887. width: 44px;
  888. height: auto;
  889. text-align: right;
  890. }
  891. .app-image-icon svg,
  892. .app-image-icon .icon-settings-dark {
  893. margin-top: 5px;
  894. width: 20px;
  895. height: 20px;
  896. opacity: .5;
  897. background-size: cover;
  898. display: inline-block;
  899. }
  900. .actions {
  901. text-align: right;
  902. .icon-loading-small {
  903. display: inline-block;
  904. top: 4px;
  905. margin-right: 10px;
  906. }
  907. }
  908. }
  909. &:not(.installed) .app-image-icon svg {
  910. position: absolute;
  911. bottom: 43px;
  912. /* position halfway vertically */
  913. width: 64px;
  914. height: 64px;
  915. opacity: .1;
  916. }
  917. display: flex;
  918. flex-wrap: wrap;
  919. align-content: flex-start;
  920. &.hidden {
  921. display: none;
  922. }
  923. .section {
  924. position: relative;
  925. flex: 0 0 auto;
  926. h2.app-name {
  927. display: block;
  928. margin: 8px 0;
  929. }
  930. &:hover {
  931. background-color: var(--color-background-dark);
  932. }
  933. }
  934. .app-description {
  935. p {
  936. margin: 10px 0;
  937. }
  938. ul {
  939. list-style: disc;
  940. }
  941. ol {
  942. list-style: decimal;
  943. ol, ul {
  944. padding-left: 15px;
  945. }
  946. }
  947. > {
  948. ul, ol {
  949. margin-left: 19px;
  950. }
  951. }
  952. ul {
  953. ol, ul {
  954. padding-left: 15px;
  955. }
  956. }
  957. }
  958. /* Bundle header */
  959. .apps-header {
  960. display: table-row;
  961. position: relative;
  962. div {
  963. display: table-cell;
  964. height: 70px;
  965. }
  966. h2 {
  967. display: table-cell;
  968. position: absolute;
  969. padding-left: 6px;
  970. padding-top: 15px;
  971. .enable {
  972. position: relative;
  973. top: -1px;
  974. margin-left: 12px;
  975. }
  976. + .section {
  977. margin-top: 50px;
  978. }
  979. }
  980. }
  981. }
  982. #apps-list-search {
  983. .section {
  984. h2 {
  985. margin-bottom: 0;
  986. }
  987. }
  988. }
  989. /* LOG */
  990. #log {
  991. white-space: normal;
  992. margin-bottom: 14px;
  993. }
  994. #lessLog {
  995. display: none;
  996. }
  997. table.grid td.date {
  998. white-space: nowrap;
  999. }
  1000. #log-section p {
  1001. margin-top: 20px;
  1002. }
  1003. #security-warning-state-ok,
  1004. #security-warning-state-warning,
  1005. #security-warning-state-failure,
  1006. #security-warning-state-loading {
  1007. span {
  1008. vertical-align: middle;
  1009. &.message {
  1010. padding: 12px;
  1011. }
  1012. &.icon {
  1013. width: 32px;
  1014. height: 32px;
  1015. background-position: center center;
  1016. display: inline-block;
  1017. border-radius: 50%;
  1018. }
  1019. &.icon-checkmark-white {
  1020. background-color: var(--color-success);
  1021. }
  1022. &.icon-error-white {
  1023. background-color: var(--color-warning);
  1024. }
  1025. &.icon-close-white {
  1026. background-color: var(--color-error);
  1027. }
  1028. }
  1029. }
  1030. #shareAPI {
  1031. p {
  1032. padding-bottom: 0.8em;
  1033. }
  1034. input#shareapiExpireAfterNDays {
  1035. width: 40px;
  1036. }
  1037. .indent {
  1038. padding-left: 28px;
  1039. }
  1040. .double-indent {
  1041. padding-left: 56px;
  1042. }
  1043. .nocheckbox {
  1044. padding-left: 20px;
  1045. }
  1046. }
  1047. #shareApiDefaultPermissionsSection label {
  1048. margin-right: 20px;
  1049. }
  1050. #fileSharingSettings h3 {
  1051. display: inline-block;
  1052. }
  1053. #publicShareDisclaimerText {
  1054. width: calc(100% - 23px);
  1055. /* 20 px left margin, 3 px right margin */
  1056. max-width: 600px;
  1057. height: 150px;
  1058. margin-left: 20px;
  1059. box-sizing: border-box;
  1060. }
  1061. /* correctly display help icons next to headings */
  1062. .icon-info {
  1063. padding: 11px 20px;
  1064. vertical-align: text-bottom;
  1065. opacity: .5;
  1066. }
  1067. #two-factor-auth h2,
  1068. #shareAPI h2,
  1069. #encryptionAPI h2,
  1070. #mail_general_settings h2 {
  1071. display: inline-block;
  1072. }
  1073. #encryptionAPI li {
  1074. list-style-type: initial;
  1075. margin-left: 20px;
  1076. padding: 5px 0;
  1077. }
  1078. .mail_settings p {
  1079. label:first-child {
  1080. display: inline-block;
  1081. width: 300px;
  1082. text-align: right;
  1083. }
  1084. select:nth-child(2),
  1085. input:not([type='button']) {
  1086. width: 143px;
  1087. }
  1088. }
  1089. #mail_smtpport {
  1090. width: 40px;
  1091. }
  1092. .cronlog {
  1093. margin-left: 10px;
  1094. }
  1095. .status {
  1096. display: inline-block;
  1097. height: 16px;
  1098. width: 16px;
  1099. vertical-align: text-bottom;
  1100. &.success {
  1101. border-radius: 50%;
  1102. }
  1103. }
  1104. #selectGroups select {
  1105. box-sizing: border-box;
  1106. display: inline-block;
  1107. height: 36px;
  1108. padding: 7px 10px;
  1109. }
  1110. #log .log-message {
  1111. word-break: break-all;
  1112. min-width: 180px;
  1113. }
  1114. span {
  1115. &.success {
  1116. background-color: var(--color-success);
  1117. border-radius: var(--border-radius);
  1118. }
  1119. &.error {
  1120. background-color: var(--color-error);
  1121. }
  1122. &.indeterminate {
  1123. background-color: var(--color-warning);
  1124. border-radius: 40% 0;
  1125. }
  1126. }
  1127. /* OPERA hack for strengthify*/
  1128. doesnotexist:-o-prefocus, .strengthify-wrapper {
  1129. left: 185px;
  1130. width: 129px;
  1131. }
  1132. .trusted-domain-warning {
  1133. color: #fff;
  1134. padding: 5px;
  1135. background: #ce3702;
  1136. border-radius: 5px;
  1137. font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace;
  1138. }
  1139. /* HELP */
  1140. .help-includes {
  1141. overflow: hidden !important;
  1142. }
  1143. .help-iframe {
  1144. width: 100%;
  1145. height: 100%;
  1146. margin: 0;
  1147. padding: 0;
  1148. border: 0;
  1149. overflow: auto;
  1150. }
  1151. #postsetupchecks {
  1152. ul {
  1153. margin-left: 44px;
  1154. list-style: disc;
  1155. li {
  1156. margin: 10px 0;
  1157. }
  1158. ul {
  1159. list-style: circle;
  1160. }
  1161. }
  1162. .loading {
  1163. height: 50px;
  1164. background-position: left center;
  1165. }
  1166. .errors, .errors a {
  1167. color: var(--color-error);
  1168. }
  1169. .warnings, .warnings a {
  1170. color: var(--color-warning);
  1171. }
  1172. .hint {
  1173. margin: 20px 0;
  1174. }
  1175. }
  1176. #security-warning {
  1177. a {
  1178. text-decoration: underline;
  1179. }
  1180. .extra-top-margin {
  1181. margin-top: 12px;
  1182. }
  1183. }
  1184. #admin-tips li {
  1185. list-style: initial;
  1186. a {
  1187. display: inline-block;
  1188. padding: 3px 0;
  1189. }
  1190. }
  1191. #selectEncryptionModules {
  1192. margin-left: 30px;
  1193. padding: 10px;
  1194. }
  1195. #encryptionModules {
  1196. padding: 10px;
  1197. }
  1198. #warning {
  1199. color: red;
  1200. }
  1201. .settings-hint {
  1202. margin-top: -12px;
  1203. margin-bottom: 12px;
  1204. opacity: .7;
  1205. }
  1206. /* USERS LIST -------------------------------------------------------------- */
  1207. #body-settings {
  1208. $grid-row-height: 46px;
  1209. $grid-col-min-width: 120px;
  1210. #app-content.user-list-grid {
  1211. display: grid;
  1212. grid-auto-columns: 1fr;
  1213. grid-auto-rows: $grid-row-height;
  1214. grid-column-gap: 20px;
  1215. .row {
  1216. // TODO replace with css4 subgrid when available
  1217. // fallback for ie11 no grid
  1218. display: flex;
  1219. display: grid;
  1220. grid-row-start: span 1;
  1221. grid-gap: 3px;
  1222. align-items: center;
  1223. /* let's define the column until storage path,
  1224. what follows will be manually defined */
  1225. grid-template-columns: 44px minmax($grid-col-min-width + 30px, 1fr) repeat(auto-fit, minmax($grid-col-min-width, 1fr));
  1226. border-bottom: var(--color-border) 1px solid;
  1227. &.disabled {
  1228. opacity: .5;
  1229. }
  1230. /* grid col width */
  1231. .name,
  1232. .displayName,
  1233. .password,
  1234. .mailAddress,
  1235. .languages,
  1236. .storageLocation,
  1237. .userBackend,
  1238. .lastLogin {
  1239. min-width: $grid-col-min-width;
  1240. }
  1241. .groups,
  1242. .subadmins,
  1243. .quota {
  1244. .multiselect {
  1245. min-width: $grid-col-min-width;
  1246. }
  1247. }
  1248. .obfuscated {
  1249. width: 400px;
  1250. opacity: .7;
  1251. }
  1252. .userActions {
  1253. min-width: 44px;
  1254. }
  1255. /* various */
  1256. &#grid-header,
  1257. &#new-user {
  1258. @include position('sticky');
  1259. align-self: normal;
  1260. background-color: var(--color-main-background);
  1261. z-index: 55; /* above multiselect */
  1262. top: $header-height;
  1263. &.sticky {
  1264. box-shadow: 0 -2px 10px 1px var(--color-box-shadow);
  1265. }
  1266. /* fake input for groups validation */
  1267. input#newgroups {
  1268. position: absolute;
  1269. opacity: 0;
  1270. width: 80% !important;
  1271. margin: 0 10%;
  1272. z-index: 0;
  1273. }
  1274. }
  1275. // separate prop to set initial value to top: 50px
  1276. &#new-user {
  1277. top: $header-height + $grid-row-height;
  1278. }
  1279. &#grid-header {
  1280. color: var(--color-text-maxcontrast);
  1281. z-index: 60; /* above new-user */
  1282. #headerDisplayName,
  1283. #headerPassword,
  1284. #headerAddress,
  1285. #headerGroups,
  1286. #headerSubAdmins,
  1287. #headerQuota,
  1288. #headerLanguages {
  1289. /* Line up header text with column content for when there’s inputs */
  1290. padding-left: 7px;
  1291. }
  1292. }
  1293. &:hover {
  1294. input:not([type='submit']):not(:focus):not(:active) {
  1295. border-color: var(--color-border) !important;
  1296. }
  1297. &:not(#grid-header) {
  1298. box-shadow: 5px 0 0 var(--color-primary-element) inset;
  1299. }
  1300. }
  1301. > div,
  1302. > form {
  1303. grid-row: 1;
  1304. display: inline-flex;
  1305. align-items: center;
  1306. color: var(--color-text);
  1307. position: relative;
  1308. > input:not(:focus):not(:active) {
  1309. border-color: transparent;
  1310. cursor: pointer;
  1311. }
  1312. > input:focus, >input:active {
  1313. + .icon-confirm {
  1314. display: block !important;
  1315. }
  1316. }
  1317. /* inputs like mail, username, password */
  1318. &:not(.userActions) > input:not([type='submit']) {
  1319. width: 100%;
  1320. min-width: 0;
  1321. }
  1322. &.name {
  1323. word-break: break-all;
  1324. }
  1325. &.displayName,
  1326. &.mailAddress {
  1327. > input {
  1328. text-overflow: ellipsis;
  1329. }
  1330. }
  1331. &.name,
  1332. &.storageLocation {
  1333. /* better multi-line visual */
  1334. line-height: 1.3em;
  1335. max-height: 100%;
  1336. overflow : hidden;
  1337. /* not supported by all browsers
  1338. so we keep the overflow hidden
  1339. as a fallback */
  1340. text-overflow: ellipsis;
  1341. display: -webkit-box;
  1342. -webkit-line-clamp: 2;
  1343. -webkit-box-orient: vertical;
  1344. }
  1345. &.quota {
  1346. .multiselect--active + progress {
  1347. display: none;
  1348. }
  1349. progress {
  1350. position: absolute;
  1351. width: calc(100% - 4px); /* minus left and right */
  1352. left: 2px;
  1353. bottom: 2px;
  1354. height: 3px;
  1355. z-index: 5; /* above multiselect */
  1356. }
  1357. }
  1358. .icon-confirm {
  1359. flex: 0 0 auto;
  1360. cursor: pointer;
  1361. &:not(:active) {
  1362. display: none;
  1363. }
  1364. }
  1365. &.avatar {
  1366. height: 32px;
  1367. width: 32px;
  1368. margin: 6px;
  1369. img {
  1370. display: block;
  1371. }
  1372. }
  1373. &.userActions {
  1374. #newsubmit {
  1375. width: 100%;
  1376. }
  1377. .toggleUserActions {
  1378. position: relative;
  1379. .icon-more {
  1380. width: 44px;
  1381. height: 44px;
  1382. opacity: .5;
  1383. cursor: pointer;
  1384. &:hover {
  1385. opacity: .7;
  1386. }
  1387. }
  1388. }
  1389. .feedback {
  1390. display: flex;
  1391. align-items: center;
  1392. white-space: nowrap;
  1393. transition: opacity 200ms ease-in-out;
  1394. .icon-checkmark {
  1395. opacity: .5;
  1396. margin-right: 5px;
  1397. }
  1398. }
  1399. }
  1400. /* Fill the grid cell */
  1401. .multiselect.multiselect-vue {
  1402. width: 100%;
  1403. }
  1404. }
  1405. }
  1406. .infinite-loading-container {
  1407. display: flex;
  1408. align-items: center;
  1409. justify-content: center;
  1410. grid-row-start: span 4;
  1411. }
  1412. .users-list-end {
  1413. opacity: .5;
  1414. user-select: none;
  1415. }
  1416. }
  1417. }