settings.scss 19 KB

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