guest.scss 19 KB

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