You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

guest.scss 19KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847
  1. /**
  2. * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
  3. * SPDX-FileCopyrightText: 2016 ownCloud, Inc.
  4. * SPDX-License-Identifier: AGPL-3.0-or-later
  5. */
  6. @import 'animations.scss';
  7. $guest-container-padding: 16px;
  8. /* Default and reset */
  9. html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, dialog, figure, footer, header, hgroup, nav, section { margin:0; padding:0; border:0; outline:0; font-weight:inherit; font-size:100%; font-family:inherit; vertical-align:baseline; cursor:default; }
  10. html { height:100%; }
  11. article, aside, dialog, figure, footer, header, hgroup, nav, section { display:block; }
  12. body { line-height:1.5; }
  13. table { border-collapse:separate; border-spacing:0; white-space:nowrap; }
  14. caption, th, td { text-align:left; font-weight:normal; }
  15. table, td, th { vertical-align:middle; }
  16. a { border:0; color: var(--color-main-text); text-decoration:none;}
  17. a, a *, input, input *, select, .button span, label { cursor:pointer; }
  18. ul { list-style:none; }
  19. body {
  20. font-weight: normal;
  21. /* bring the default font size up to 14px */
  22. font-size: .875em;
  23. line-height: 1.6em;
  24. font-family: system-ui, -apple-system, "Segoe UI", Roboto, Oxygen-Sans, Cantarell, Ubuntu, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  25. color: var(--color-background-plain-text, #ffffff);
  26. text-align: center;
  27. background-color: var(--color-background-plain, #0082c9);
  28. /*
  29. User background if logged in ('no' if removed, that way the variable is _defined_)
  30. Fallback to default gradient (should not happened, the background is always defined anyway) */
  31. background-image: var(--image-background, linear-gradient(40deg, #0082c9 0%, #30b6ff 100%));
  32. background-attachment: fixed;
  33. min-height: 100%; /* fix sticky footer */
  34. height: auto;
  35. overflow: auto;
  36. position: static;
  37. }
  38. /* Various fonts settings */
  39. #body-login {
  40. a {
  41. font-weight: 600;
  42. }
  43. footer a {
  44. color: var(--color-text);
  45. }
  46. a:not(.button):hover,
  47. a:not(.button):focus {
  48. text-decoration: underline;
  49. text-decoration-skip-ink: auto;
  50. }
  51. }
  52. em {
  53. font-style: normal;
  54. opacity: .5;
  55. }
  56. /* heading styles */
  57. h2,
  58. h3,
  59. h4 {
  60. font-weight: bold;
  61. }
  62. h2 {
  63. font-size: 20px;
  64. margin-bottom: 12px;
  65. line-height: 140%;
  66. }
  67. h3 {
  68. font-size: 15px;
  69. margin: 12px 0;
  70. }
  71. /* Global content */
  72. body {
  73. display: flex;
  74. flex-direction: column;
  75. justify-content: center;
  76. align-items: center;
  77. }
  78. #header {
  79. .logo {
  80. background-image: var(--image-logo, url('../../core/img/logo/logo.svg'));
  81. background-repeat: no-repeat;
  82. background-size: contain;
  83. background-position: center;
  84. width: 175px;
  85. height: 130px;
  86. margin: 0 auto;
  87. position: relative;
  88. left: unset;
  89. }
  90. }
  91. .wrapper {
  92. width: 100%;
  93. max-width: 700px;
  94. margin-block: 10vh auto;
  95. }
  96. /* Default FORM */
  97. form {
  98. position: relative;
  99. margin: auto;
  100. padding: 0;
  101. }
  102. form.install-form {
  103. max-width: 300px;
  104. }
  105. form.install-form fieldset,
  106. form.install-form fieldset input {
  107. width: 100%;
  108. }
  109. form.install-form .strengthify-wrapper {
  110. bottom: 17px;
  111. width: calc(100% - 8px);
  112. left: 4px;
  113. top: unset;
  114. }
  115. form.install-form #show {
  116. top: 18px;
  117. }
  118. form #sqliteInformation {
  119. margin-top: 0.5rem;
  120. margin-bottom: 20px;
  121. }
  122. form #adminaccount, form #use_other_db {
  123. margin-bottom: 15px;
  124. text-align: left;
  125. }
  126. form #adminaccount > legend,
  127. form #adminlogin {
  128. margin-bottom: 1rem;
  129. }
  130. form #advancedHeader {
  131. width: 100%;
  132. }
  133. form fieldset legend, #datadirContent label {
  134. width: 100%;
  135. }
  136. #datadirContent label {
  137. display: block;
  138. margin: 0;
  139. }
  140. form #datadirField legend {
  141. margin-bottom: 15px;
  142. }
  143. /* View more button */
  144. #showAdvanced {
  145. padding: 13px; /* increase clickable area of Advanced dropdown */
  146. }
  147. #showAdvanced img {
  148. vertical-align: middle; /* adjust position of Advanced dropdown arrow */
  149. }
  150. /* Buttons and input */
  151. #submit-wrapper {
  152. display: flex;
  153. align-items: center;
  154. justify-content: center;
  155. padding: 10px 5px;
  156. position: relative; /* Make the wrapper the containing block of its
  157. absolutely positioned descendant icons */
  158. }
  159. @media only screen and (max-width: 1024px) {
  160. .wrapper {
  161. margin-top: 0;
  162. }
  163. }
  164. #submit-wrapper {
  165. margin: 0 auto;
  166. .submit-icon {
  167. position: absolute;
  168. right: 24px;
  169. transition: right 100ms ease-in-out;
  170. pointer-events: none; /* The submit icon is positioned on the submit button.
  171. From the user point of view the icon is part of the
  172. button, so the clicks on the icon have to be
  173. applied to the button instead. */
  174. }
  175. input.login:hover ~ .submit-icon.icon-confirm-white,
  176. input.login:focus ~ .submit-icon.icon-confirm-white,
  177. input.login:active ~ .submit-icon.icon-confirm-white {
  178. right: 20px;
  179. }
  180. .icon-loading-small {
  181. position: absolute;
  182. top: 22px;
  183. right: 26px;
  184. }
  185. }
  186. input, textarea, select, button, div[contenteditable=true] {
  187. font-family: system-ui, -apple-system, "Segoe UI", Roboto, Oxygen-Sans, Cantarell, Ubuntu, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  188. }
  189. input,
  190. input:not([type='range']),
  191. input:not([type='text']),
  192. input:not([type='password']),
  193. a.button {
  194. font-size: 20px;
  195. margin: 5px;
  196. padding: 5px;
  197. outline: none;
  198. border-radius: 3px; /* --border-radius */
  199. -webkit-appearance: none;
  200. }
  201. input:not([type='radio']),
  202. input:not([type='range']) {
  203. border-width: 2px;
  204. }
  205. input:not([type='range']):focus-visible {
  206. box-shadow: none !important;
  207. }
  208. input[type='submit'],
  209. input[type='submit'].icon-confirm,
  210. input[type='button'],
  211. button,
  212. a.button,
  213. .button,
  214. select {
  215. display: inline-block;
  216. width: auto;
  217. min-width: 25px;
  218. padding: 12px;
  219. background-color: var(--color-main-background);
  220. font-weight: bold;
  221. color: var(--color-text);
  222. border: none;
  223. border-radius: 100px; /* --border-radius-pill */
  224. cursor: pointer;
  225. }
  226. .icon-confirm.input-button-inline {
  227. position: absolute;
  228. right: 3px;
  229. top: 5px;
  230. }
  231. input[type='submit']:focus {
  232. box-shadow: 0 0 0 2px inset var(--color-main-text) !important;
  233. }
  234. input[type='text'],
  235. input[type='tel'],
  236. input[type='password'],
  237. input[type='email'] {
  238. width: 266px;
  239. padding: 5px 10px;
  240. color: var(--color-text-lighter);
  241. cursor: text;
  242. font-family: inherit;
  243. font-weight: normal;
  244. margin-left: 0;
  245. margin-right: 0;
  246. }
  247. input[type='password'].password-with-toggle, input[type='text'].password-with-toggle {
  248. width: 238px;
  249. padding-right: 40px !important;
  250. }
  251. input.login {
  252. width: 260px;
  253. height: 50px;
  254. background-position: right 16px center;
  255. }
  256. input[type='submit'],
  257. input[type='submit'].icon-confirm,
  258. input.updateButton,
  259. input.update-continue {
  260. padding: 10px 20px; /* larger log in and installation buttons */
  261. overflow: hidden;
  262. text-overflow: ellipsis;
  263. }
  264. /* Get rid of the inside dotted line in Firefox */
  265. button::-moz-focus-inner,
  266. input::-moz-focus-inner {
  267. border: 0;
  268. }
  269. input.primary:not(:disabled):hover,
  270. input.primary:not(:disabled):focus,
  271. button.primary:not(:disabled):hover,
  272. button.primary:not(:disabled):focus,
  273. a.primary:not(:disabled):hover,
  274. a.primary:not(:disabled):focus {
  275. color: var(--color-primary-element-text);
  276. }
  277. /* Checkboxes - white only for login */
  278. input[type='checkbox'].checkbox {
  279. position: absolute;
  280. left: -10000px;
  281. top: auto;
  282. width: 1px;
  283. height: 1px;
  284. overflow: hidden;
  285. }
  286. input[type='checkbox'].checkbox + label {
  287. user-select: none;
  288. }
  289. input[type='checkbox'].checkbox:disabled + label,
  290. input[type='checkbox'].checkbox:disabled + label:before {
  291. cursor: default;
  292. }
  293. input[type='checkbox'].checkbox + label:before {
  294. content: '';
  295. display: inline-block;
  296. vertical-align: middle;
  297. margin: 3px;
  298. margin-top: 1px;
  299. border: 1px solid #888;
  300. border-radius: 1px;
  301. height: 10px;
  302. width: 10px;
  303. background-position: center;
  304. }
  305. input[type='checkbox'].checkbox--white + label:before {
  306. border-color: #ddd;
  307. }
  308. input[type='checkbox'].checkbox--white:not(:disabled):not(:checked) + label:hover:before,
  309. input[type='checkbox'].checkbox--white:focus + label:before {
  310. border-color: #fff;
  311. }
  312. input[type='checkbox'].checkbox--white:checked + label:before {
  313. background-color: #eee;
  314. border-color: #eee;
  315. }
  316. input[type='checkbox'].checkbox--white:disabled + label:before {
  317. background-color: #666 !important;
  318. border-color: #999 !important;
  319. }
  320. input[type='checkbox'].checkbox--white:checked:disabled + label:before {
  321. border-color: #666;
  322. background-color: #222;
  323. }
  324. input[type='checkbox'].checkbox--white:checked + label:before {
  325. background-color: transparent !important;
  326. border-color: #fff !important;
  327. background-image: url('../img/actions/checkbox-mark-white.svg');
  328. }
  329. /* Password strength meter */
  330. .strengthify-wrapper {
  331. display: inline-block;
  332. position: relative;
  333. top: -20px;
  334. width: 250px;
  335. border-radius: 0 0 3px 3px;
  336. overflow: hidden;
  337. height: 3px;
  338. }
  339. .tooltip-inner {
  340. font-weight: bold;
  341. padding: 3px 6px;
  342. text-align: center;
  343. }
  344. /* Show password toggle */
  345. #show, #dbpassword-toggle {
  346. position: absolute;
  347. right: 2px;
  348. top: -3px;
  349. display: flex;
  350. justify-content: center;
  351. width: 44px;
  352. align-content: center;
  353. padding: 13px;
  354. }
  355. #pass2, input[name='personal-password-clone'] {
  356. padding: .6em 2.5em .4em .4em;
  357. width: 8em;
  358. }
  359. #personal-show + label {
  360. height: 14px;
  361. margin-top: -25px;
  362. left: 295px;
  363. display: block;
  364. }
  365. #passwordbutton {
  366. margin-left: .5em;
  367. }
  368. /* Dark subtle label text */
  369. p.info,
  370. form fieldset legend,
  371. #datadirContent label,
  372. form fieldset .warning-info,
  373. form input[type='checkbox']+label {
  374. text-align: center;
  375. }
  376. /* overrides another !important statement that sets this to unreadable black */
  377. form .warning input[type='checkbox']:hover+label,
  378. form .warning input[type='checkbox']:focus+label,
  379. form .warning input[type='checkbox']+label {
  380. color: var(--color-primary-element-text) !important;
  381. }
  382. .body-login-container.two-factor {
  383. // Same size as login box and dashboard panels
  384. width: 320px;
  385. box-sizing: border-box;
  386. }
  387. .two-factor-provider {
  388. display: flex;
  389. border-radius: 3px; /* --border-radius */
  390. margin: 12px 0;
  391. border: 1px solid transparent;
  392. text-align: left;
  393. align-items: center;
  394. text-decoration: none !important;
  395. &:hover,
  396. &:focus,
  397. &:active {
  398. border: 1px solid #fff;
  399. }
  400. img {
  401. width: 64px;
  402. height: 64px;
  403. padding: 0 12px;
  404. }
  405. div {
  406. margin: 12px 0;
  407. }
  408. h3 {
  409. margin: 0;
  410. }
  411. p {
  412. font-weight: normal;
  413. }
  414. }
  415. .two-factor-icon {
  416. width: 100px;
  417. display: block;
  418. margin: 0 auto;
  419. }
  420. .two-factor-submit {
  421. width: 100%;
  422. padding: 10px;
  423. margin: 0 0 5px 0;
  424. border-radius: 100px; /* --border-radius-pill */
  425. font-size: 20px;
  426. }
  427. .two-factor-primary {
  428. /* Fix for 'Use backup codes' button not taking correct styles */
  429. padding: 14px !important;
  430. width: 226px;
  431. }
  432. .two-factor-secondary {
  433. display: inline-block;
  434. padding: 12px;
  435. }
  436. /* Additional login options */
  437. #remember_login {
  438. margin: 18px 5px 0 16px !important;
  439. }
  440. /* fixes for update page TODO should be fixed some time in a proper way */
  441. /* this is just for an error while updating the ownCloud instance */
  442. .updateProgress .error {
  443. margin-top: 10px;
  444. margin-bottom: 10px;
  445. }
  446. /* Database selector on install page */
  447. form #selectDbType {
  448. text-align:center;
  449. white-space: nowrap;
  450. margin: 0;
  451. display: flex;
  452. .info {
  453. white-space: normal;
  454. }
  455. label {
  456. flex-grow: 1;
  457. margin: 0 -1px 5px;
  458. font-size: 12px;
  459. background: var(--color-background-hover);
  460. color: var(--color-main-text);
  461. cursor:pointer;
  462. border: 1px solid var(--color-border);
  463. padding: 10px 17px;
  464. }
  465. label.ui-state-hover,
  466. label.ui-state-active {
  467. font-weight: normal;
  468. background: var(--color-background-darker);
  469. color: var(--color-main-text);
  470. }
  471. label span {
  472. display: none;
  473. }
  474. }
  475. /* Nicely grouping input field sets */
  476. .grouptop,
  477. .groupmiddle,
  478. .groupbottom {
  479. position: relative;
  480. user-select: none;
  481. }
  482. .grouptop, .groupmiddle {
  483. margin-bottom: 8px !important;
  484. }
  485. .groupbottom {
  486. margin-bottom: 13px;
  487. }
  488. .groupbottom input[type=submit] {
  489. box-shadow: none !important;
  490. }
  491. .grouptop.groupbottom input {
  492. border-radius: 3px !important;
  493. margin: 5px 0 !important;
  494. }
  495. /* Errors */
  496. /* Warnings and errors are the same */
  497. .body-login-container {
  498. display: flex;
  499. flex-direction: column;
  500. text-align: left;
  501. word-wrap: break-word;
  502. border-radius: 10px; /* --border-radius-large */
  503. cursor: default;
  504. -moz-user-select: text;
  505. -webkit-user-select: text;
  506. -ms-user-select: text;
  507. user-select: text;
  508. /* TODO: Change all .warning/.update/.error to .body-login-container */
  509. .icon-big {
  510. background-size: 70px;
  511. height: 70px;
  512. }
  513. form {
  514. width: initial;
  515. }
  516. p:not(:last-child) {
  517. margin-bottom: 12px;
  518. }
  519. }
  520. /* Various paragraph styles */
  521. .infogroup {
  522. margin: 8px 0;
  523. }
  524. .infogroup:last-child {
  525. margin-bottom: 0;
  526. }
  527. p.info {
  528. margin: 20px auto;
  529. -webkit-user-select: none;
  530. -moz-user-select: none;
  531. -ms-user-select: none;
  532. user-select: none;
  533. }
  534. /* Update */
  535. .update {
  536. width: calc(100% - 32px);
  537. text-align: center;
  538. .appList {
  539. list-style: disc;
  540. text-align: left;
  541. margin-left: 25px;
  542. margin-right: 25px;
  543. }
  544. img.float-spinner {
  545. float: left;
  546. }
  547. a.update-show-detailed {
  548. border-bottom: inherit;
  549. }
  550. }
  551. #update-progress-detailed {
  552. text-align: left;
  553. margin-bottom: 12px;
  554. }
  555. .update-show-detailed {
  556. padding: 12px;
  557. display: block;
  558. opacity: .75;
  559. .icon-caret-white {
  560. display: inline-block;
  561. vertical-align: middle;
  562. }
  563. }
  564. #update-progress-icon {
  565. height: 32px;
  566. margin: 10px;
  567. background-size: 32px;
  568. }
  569. /* Icons */
  570. .icon-info-white {
  571. background-image: url('../img/actions/info-white.svg?v=2');
  572. }
  573. .icon-error-white {
  574. background-image: url('../img/actions/error-white.svg?v=1');
  575. }
  576. .icon-caret-white {
  577. background-image: url('../img/actions/caret-white.svg?v=1');
  578. }
  579. .icon-confirm {
  580. background-image: url('../img/actions/confirm.svg?v=2');
  581. }
  582. .icon-confirm-white {
  583. background-image: url('../img/actions/confirm-white.svg?v=2');
  584. }
  585. .icon-checkmark-white {
  586. background-image: url('../img/actions/checkmark-white.svg?v=1');
  587. }
  588. /* Loading */
  589. .float-spinner {
  590. margin-top: -32px;
  591. padding-top: 32px;
  592. height: 32px;
  593. display: none;
  594. }
  595. [class^='icon-'], [class*=' icon-'] {
  596. background-repeat: no-repeat;
  597. background-position: center;
  598. min-width: 16px;
  599. min-height: 16px;
  600. }
  601. .loading, .loading-small, .icon-loading, .icon-loading-dark, .icon-loading-small, .icon-loading-small-dark {
  602. position: relative;
  603. filter: var(--background-invert-if-dark)
  604. }
  605. .loading:after, .loading-small:after, .icon-loading:after, .icon-loading-dark:after, .icon-loading-small:after, .icon-loading-small-dark:after {
  606. z-index: 2;
  607. content: '';
  608. height: 32px;
  609. width: 32px;
  610. margin: -17px 0 0 -17px;
  611. position: absolute;
  612. top: 50%;
  613. left: 50%;
  614. border-radius: 100%;
  615. -webkit-animation: rotate .8s infinite linear;
  616. animation: rotate .8s infinite linear;
  617. -webkit-transform-origin: center;
  618. -ms-transform-origin: center;
  619. transform-origin: center;
  620. }
  621. .primary .loading,.primary+.loading,.primary .loading-small,.primary+.loading-small,.primary .icon-loading,.primary+.icon-loading,.primary .icon-loading-dark,.primary+.icon-loading-dark,.primary .icon-loading-small,.primary+.icon-loading-small,.primary .icon-loading-small-dark,.primary+.icon-loading-small-dark {
  622. filter: var(--primary-invert-if-bright)
  623. }
  624. .loading:after, .loading-small:after, .icon-loading:after, .icon-loading-dark:after, .icon-loading-small:after, .icon-loading-small-dark:after {
  625. border: 2px solid rgba(150, 150, 150, 0.5);
  626. border-top-color: #646464;
  627. }
  628. .icon-loading-dark:after, .icon-loading-small-dark:after {
  629. border: 2px solid rgba(187, 187, 187, 0.5);
  630. border-top-color: #bbb;
  631. }
  632. .icon-loading-small:after, .icon-loading-small-dark:after {
  633. height: 16px;
  634. width: 16px;
  635. margin: -9px 0 0 -9px;
  636. }
  637. /* Css replaced elements don't have ::after nor ::before */
  638. img.icon-loading, object.icon-loading, video.icon-loading, button.icon-loading, textarea.icon-loading, input.icon-loading, select.icon-loading, div[contenteditable=true].icon-loading {
  639. background-image: url('../img/loading.gif');
  640. }
  641. img.icon-loading-dark, object.icon-loading-dark, video.icon-loading-dark, button.icon-loading-dark, textarea.icon-loading-dark, input.icon-loading-dark, select.icon-loading-dark, div[contenteditable=true].icon-loading-dark {
  642. background-image: url('../img/loading-dark.gif');
  643. }
  644. img.icon-loading-small, object.icon-loading-small, video.icon-loading-small, button.icon-loading-small, textarea.icon-loading-small, input.icon-loading-small, select.icon-loading-small, div[contenteditable=true].icon-loading-small {
  645. background-image: url('../img/loading-small.gif');
  646. }
  647. img.icon-loading-small-dark, object.icon-loading-small-dark, video.icon-loading-small-dark, button.icon-loading-small-dark, textarea.icon-loading-small-dark, input.icon-loading-small-dark, select.icon-loading-small-dark, div[contenteditable=true].icon-loading-small-dark {
  648. background-image: url('../img/loading-small-dark.gif');
  649. }
  650. @-webkit-keyframes rotate {
  651. from {
  652. -webkit-transform: rotate(0deg);
  653. transform: rotate(0deg);
  654. }
  655. to {
  656. -webkit-transform: rotate(360deg);
  657. transform: rotate(360deg);
  658. }
  659. }
  660. @keyframes rotate {
  661. from {
  662. -webkit-transform: rotate(0deg);
  663. transform: rotate(0deg);
  664. }
  665. to {
  666. -webkit-transform: rotate(360deg);
  667. transform: rotate(360deg);
  668. }
  669. }
  670. /* FOOTER */
  671. footer {
  672. .info .entity-name {
  673. font-weight: bold;
  674. }
  675. &.guest-box {
  676. padding: 6px 24px;
  677. margin-bottom: 1rem;
  678. .info {
  679. margin: 0;
  680. }
  681. }
  682. }
  683. /* keep the labels for screen readers but hide them since we use placeholders */
  684. label.infield,
  685. .hidden-visually {
  686. position: absolute;
  687. left: -10000px;
  688. top: -10000px;
  689. width: 1px;
  690. height: 1px;
  691. overflow: hidden;
  692. }
  693. a.legal {
  694. font-size: smaller;
  695. }
  696. .notecard {
  697. color: var(--color-text-light);
  698. background-color: var(--note-background);
  699. border-left: 4px solid var(--note-theme);
  700. border-radius: var(--border-radius);
  701. margin: 1rem 0;
  702. padding: 1rem;
  703. text-align: left;
  704. &.success {
  705. --note-background: rgba(var(--color-success-rgb), 0.1);
  706. --note-theme: var(--color-success);
  707. }
  708. &.error {
  709. --note-background: rgba(var(--color-error-rgb), 0.1);
  710. --note-theme: var(--color-error);
  711. }
  712. &.warning {
  713. --note-background: rgba(var(--color-warning-rgb), 0.1);
  714. --note-theme: var(--color-warning);
  715. }
  716. &:last-child {
  717. margin-bottom: 0;
  718. }
  719. pre {
  720. background-color: var(--color-background-dark);
  721. margin-top: 1rem;
  722. padding: 1em 1.3em;
  723. border-radius: var(--border-radius);
  724. }
  725. }
  726. .guest-box, .body-login-container {
  727. // Ensure the maxcontrast color is set for the background
  728. --color-text-maxcontrast: var(--color-text-maxcontrast-background-blur, var(--color-main-text));
  729. color: var(--color-main-text);
  730. background-color: var(--color-main-background-blur);
  731. padding: $guest-container-padding;
  732. border-radius: var(--border-radius-rounded);
  733. box-shadow: 0 0 10px var(--color-box-shadow);
  734. display: inline-block;
  735. -webkit-backdrop-filter: var(--filter-background-blur);
  736. backdrop-filter: var(--filter-background-blur);
  737. }
  738. .guest-box {
  739. &.wide {
  740. display: block;
  741. text-align: left;
  742. }
  743. fieldset {
  744. margin-top: 0;
  745. }
  746. .pre {
  747. overflow-x: scroll;
  748. }
  749. }
  750. button.toggle-password {
  751. background-color: transparent;
  752. border-width: 0;
  753. height: 44px;
  754. }
  755. /** Utilities */
  756. .margin-top {
  757. margin-top: 1rem !important;
  758. }
  759. .text-left {
  760. text-align: left !important;
  761. }
  762. .hidden {
  763. display: none;
  764. }