1
0

settings.scss 19 KB

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