Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

settings.scss 24KB

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