1
0

guest.css 19 KB

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