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.css 19KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823
  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. /* As guest, there is no color-background-plain */
  25. background-color: var(--color-background-plain, var(--color-primary-default, #0082c9));
  26. /* As guest, there is no user background (--image-background)
  27. 1. User background if logged in ('no' if removed, that way the variable is _defined_)
  28. 2. Empty background if enabled ('yes' is used, that way the variable is _defined_)
  29. 3. Else default background
  30. 4. Finally default gradient (should not happened, the background is always defined anyway) */
  31. background-image: var(--image-background, var(--image-background-plain, var(--image-background-default, 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 a {
  40. font-weight: 600;
  41. }
  42. #body-login footer a {
  43. color: var(--color-text);
  44. }
  45. #body-login a:not(.button):hover,
  46. #body-login a:not(.button):focus {
  47. text-decoration: underline;
  48. text-decoration-skip-ink: auto;
  49. }
  50. em {
  51. font-style: normal;
  52. opacity: .5;
  53. }
  54. /* heading styles */
  55. h2,
  56. h3,
  57. h4 {
  58. font-weight: bold;
  59. }
  60. h2 {
  61. font-size: 20px;
  62. margin-bottom: 12px;
  63. line-height: 140%;
  64. }
  65. h3 {
  66. font-size: 15px;
  67. margin: 12px 0;
  68. }
  69. /* Global content */
  70. body {
  71. display: flex;
  72. flex-direction: column;
  73. justify-content: center;
  74. align-items: center;
  75. }
  76. #header .logo {
  77. background-image: var(--image-logo, url('../../core/img/logo/logo.svg'));
  78. background-repeat: no-repeat;
  79. background-size: contain;
  80. background-position: center;
  81. width: 175px;
  82. height: 130px;
  83. margin: 0 auto;
  84. position: relative;
  85. left: unset;
  86. }
  87. #header .logo img {
  88. opacity: 0;
  89. max-width: 100%;
  90. max-height: 200px;
  91. }
  92. .wrapper {
  93. width: 100%;
  94. max-width: 700px;
  95. margin-top: 10vh;
  96. }
  97. /* Default FORM */
  98. form {
  99. position: relative;
  100. margin: auto;
  101. padding: 0;
  102. }
  103. form.install-form {
  104. max-width: 300px;
  105. }
  106. form.install-form fieldset,
  107. form.install-form fieldset input {
  108. width: 100%;
  109. }
  110. form.install-form .strengthify-wrapper {
  111. bottom: 17px;
  112. width: calc(100% - 8px);
  113. left: 4px;
  114. top: unset;
  115. }
  116. form.install-form #show {
  117. top: 18px;
  118. }
  119. form #sqliteInformation {
  120. margin-top: 0.5rem;
  121. margin-bottom: 20px;
  122. }
  123. form #adminaccount, form #use_other_db {
  124. margin-bottom: 15px;
  125. text-align: left;
  126. }
  127. form #adminaccount > legend,
  128. form #adminlogin {
  129. margin-bottom: 1rem;
  130. }
  131. form #advancedHeader {
  132. width: 100%;
  133. }
  134. form fieldset legend, #datadirContent label {
  135. width: 100%;
  136. }
  137. #datadirContent label {
  138. display: block;
  139. margin: 0;
  140. }
  141. form #datadirField legend {
  142. margin-bottom: 15px;
  143. }
  144. /* View more button */
  145. #showAdvanced {
  146. padding: 13px; /* increase clickable area of Advanced dropdown */
  147. }
  148. #showAdvanced img {
  149. vertical-align: middle; /* adjust position of Advanced dropdown arrow */
  150. }
  151. /* Buttons and input */
  152. #submit-wrapper {
  153. display: flex;
  154. align-items: center;
  155. justify-content: center;
  156. padding: 10px 5px;
  157. position: relative; /* Make the wrapper the containing block of its
  158. absolutely positioned descendant icons */
  159. }
  160. @media only screen and (max-width: 1024px) {
  161. .wrapper {
  162. margin-top: 0;
  163. }
  164. }
  165. #submit-wrapper .submit-icon {
  166. position: absolute;
  167. right: 24px;
  168. transition: right 100ms ease-in-out;
  169. pointer-events: none; /* The submit icon is positioned on the submit button.
  170. From the user point of view the icon is part of the
  171. button, so the clicks on the icon have to be
  172. applied to the button instead. */
  173. }
  174. #submit-wrapper {
  175. margin: 0 auto;
  176. }
  177. #submit-wrapper input.login:hover ~ .submit-icon.icon-confirm-white,
  178. #submit-wrapper input.login:focus ~ .submit-icon.icon-confirm-white,
  179. #submit-wrapper input.login:active ~ .submit-icon.icon-confirm-white {
  180. right: 20px;
  181. }
  182. #submit-wrapper .icon-loading-small {
  183. position: absolute;
  184. top: 22px;
  185. right: 26px;
  186. }
  187. input, textarea, select, button, div[contenteditable=true] {
  188. 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';
  189. }
  190. input,
  191. input:not([type='range']),
  192. input:not([type='text']),
  193. input:not([type='password']),
  194. a.button {
  195. font-size: 20px;
  196. margin: 5px;
  197. padding: 5px;
  198. outline: none;
  199. border-radius: 3px; /* --border-radius */
  200. -webkit-appearance: none;
  201. }
  202. input:not([type='radio']),
  203. input:not([type='range']) {
  204. border-width: 2px;
  205. }
  206. input:not([type='range']):focus-visible {
  207. box-shadow: none !important;
  208. }
  209. input[type='submit'],
  210. input[type='submit'].icon-confirm,
  211. input[type='button'],
  212. button,
  213. a.button,
  214. .button,
  215. select {
  216. display: inline-block;
  217. width: auto;
  218. min-width: 25px;
  219. padding: 12px;
  220. background-color: var(--color-main-background);
  221. font-weight: bold;
  222. color: var(--color-text);
  223. border: none;
  224. border-radius: 100px; /* --border-radius-pill */
  225. cursor: pointer;
  226. }
  227. .icon-confirm.input-button-inline {
  228. position: absolute;
  229. right: 3px;
  230. top: 5px;
  231. }
  232. input[type='submit']:focus {
  233. box-shadow: 0 0 0 2px inset var(--color-main-text) !important;
  234. }
  235. input[type='text'],
  236. input[type='tel'],
  237. input[type='password'],
  238. input[type='email'] {
  239. width: 266px;
  240. padding: 5px 10px;
  241. color: var(--color-text-lighter);
  242. cursor: text;
  243. font-family: inherit;
  244. font-weight: normal;
  245. margin-left: 0;
  246. margin-right: 0;
  247. }
  248. input[type='password'].password-with-toggle, input[type='text'].password-with-toggle {
  249. width: 238px;
  250. padding-right: 40px !important;
  251. }
  252. input.login {
  253. width: 260px;
  254. height: 50px;
  255. background-position: right 16px center;
  256. }
  257. input[type='submit'],
  258. input[type='submit'].icon-confirm,
  259. input.updateButton,
  260. input.update-continue {
  261. padding: 10px 20px; /* larger log in and installation buttons */
  262. overflow: hidden;
  263. text-overflow: ellipsis;
  264. }
  265. /* Get rid of the inside dotted line in Firefox */
  266. button::-moz-focus-inner,
  267. input::-moz-focus-inner {
  268. border: 0;
  269. }
  270. input.primary:not(:disabled):hover,
  271. input.primary:not(:disabled):focus,
  272. button.primary:not(:disabled):hover,
  273. button.primary:not(:disabled):focus,
  274. a.primary:not(:disabled):hover,
  275. a.primary:not(:disabled):focus {
  276. color: var(--color-primary-text);
  277. }
  278. /* Checkboxes - white only for login */
  279. input[type='checkbox'].checkbox {
  280. position: absolute;
  281. left: -10000px;
  282. top: auto;
  283. width: 1px;
  284. height: 1px;
  285. overflow: hidden;
  286. }
  287. input[type='checkbox'].checkbox + label {
  288. user-select: none;
  289. }
  290. input[type='checkbox'].checkbox:disabled + label,
  291. input[type='checkbox'].checkbox:disabled + label:before {
  292. cursor: default;
  293. }
  294. input[type='checkbox'].checkbox + label:before {
  295. content: '';
  296. display: inline-block;
  297. vertical-align: middle;
  298. margin: 3px;
  299. margin-top: 1px;
  300. border: 1px solid #888;
  301. border-radius: 1px;
  302. height: 10px;
  303. width: 10px;
  304. background-position: center;
  305. }
  306. input[type='checkbox'].checkbox--white + label:before {
  307. border-color: #ddd;
  308. }
  309. input[type='checkbox'].checkbox--white:not(:disabled):not(:checked) + label:hover:before,
  310. input[type='checkbox'].checkbox--white:focus + label:before {
  311. border-color: #fff;
  312. }
  313. input[type='checkbox'].checkbox--white:checked + label:before {
  314. background-color: #eee;
  315. border-color: #eee;
  316. }
  317. input[type='checkbox'].checkbox--white:disabled + label:before {
  318. background-color: #666 !important;
  319. border-color: #999 !important;
  320. }
  321. input[type='checkbox'].checkbox--white:checked:disabled + label:before {
  322. border-color: #666;
  323. background-color: #222;
  324. }
  325. input[type='checkbox'].checkbox--white:checked + label:before {
  326. background-color: transparent !important;
  327. border-color: #fff !important;
  328. background-image: url('../img/actions/checkbox-mark-white.svg');
  329. }
  330. /* Password strength meter */
  331. .strengthify-wrapper {
  332. display: inline-block;
  333. position: relative;
  334. top: -20px;
  335. width: 250px;
  336. border-radius: 0 0 3px 3px;
  337. overflow: hidden;
  338. height: 3px;
  339. }
  340. .tooltip-inner {
  341. font-weight: bold;
  342. padding: 3px 6px;
  343. text-align: center;
  344. }
  345. /* Show password toggle */
  346. #show, #dbpassword-toggle {
  347. position: absolute;
  348. right: 2px;
  349. top: -3px;
  350. display: flex;
  351. justify-content: center;
  352. width: 44px;
  353. align-content: center;
  354. padding: 13px;
  355. }
  356. #pass2, input[name='personal-password-clone'] {
  357. padding: .6em 2.5em .4em .4em;
  358. width: 8em;
  359. }
  360. #personal-show + label {
  361. height: 14px;
  362. margin-top: -25px;
  363. left: 295px;
  364. display: block;
  365. }
  366. #passwordbutton {
  367. margin-left: .5em;
  368. }
  369. /* Dark subtle label text */
  370. p.info,
  371. form fieldset legend,
  372. #datadirContent label,
  373. form fieldset .warning-info,
  374. form input[type='checkbox']+label {
  375. text-align: center;
  376. }
  377. /* overrides another !important statement that sets this to unreadable black */
  378. form .warning input[type='checkbox']:hover+label,
  379. form .warning input[type='checkbox']:focus+label,
  380. form .warning input[type='checkbox']+label {
  381. color: var(--color-primary-text) !important;
  382. }
  383. .body-login-container.two-factor {
  384. max-width: 290px;
  385. margin: 15px auto 0;
  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. }
  396. .two-factor-provider:hover,
  397. .two-factor-provider:focus,
  398. .two-factor-provider:active {
  399. border: 1px solid #fff;
  400. }
  401. .two-factor-provider img {
  402. width: 64px;
  403. height: 64px;
  404. padding: 0 12px;
  405. }
  406. .two-factor-provider div {
  407. margin: 12px 0;
  408. }
  409. .two-factor-provider h3 {
  410. margin: 0;
  411. }
  412. .two-factor-provider p {
  413. font-weight: normal;
  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. }
  453. form #selectDbType .info {
  454. white-space: normal;
  455. }
  456. form #selectDbType label {
  457. flex-grow: 1;
  458. margin: 0 -1px 5px;
  459. font-size: 12px;
  460. background: var(--color-background-hover);
  461. color: var(--color-main-text);
  462. cursor:pointer;
  463. border: 1px solid var(--color-border);
  464. padding: 10px 17px;
  465. }
  466. form #selectDbType label.ui-state-hover,
  467. form #selectDbType label.ui-state-active {
  468. font-weight: normal;
  469. background: var(--color-background-darker);
  470. color: var(--color-main-text);
  471. }
  472. form #selectDbType label span {
  473. display: none;
  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. }
  509. /* TODO: Change all .warning/.update/.error to .body-login-container */
  510. .body-login-container .icon-big {
  511. background-size: 70px;
  512. height: 70px;
  513. }
  514. .body-login-container form {
  515. width: initial;
  516. }
  517. .body-login-container p:not(:last-child) {
  518. margin-bottom: 12px;
  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. }
  539. .update .appList {
  540. list-style: disc;
  541. text-align: left;
  542. margin-left: 25px;
  543. margin-right: 25px;
  544. }
  545. .update img.float-spinner {
  546. float: left;
  547. }
  548. .update a.update-show-detailed {
  549. border-bottom: inherit;
  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. }
  560. .update-show-detailed .icon-caret-white {
  561. display: inline-block;
  562. vertical-align: middle;
  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. min-height: 70px;
  673. margin-top: auto;
  674. }
  675. footer .info .entity-name {
  676. font-weight: bold;
  677. }
  678. .hidden {
  679. display: none;
  680. }
  681. /* keep the labels for screen readers but hide them since we use placeholders */
  682. label.infield,
  683. .hidden-visually {
  684. position: absolute;
  685. left: -10000px;
  686. top: -10000px;
  687. width: 1px;
  688. height: 1px;
  689. overflow: hidden;
  690. }
  691. a.legal {
  692. font-size: smaller;
  693. }
  694. .notecard.success {
  695. --note-background: rgba(var(--color-success-rgb), 0.1);
  696. --note-theme: var(--color-success);
  697. }
  698. .notecard.error {
  699. --note-background: rgba(var(--color-error-rgb), 0.1);
  700. --note-theme: var(--color-error);
  701. }
  702. .notecard.warning {
  703. --note-background: rgba(var(--color-warning-rgb), 0.1);
  704. --note-theme: var(--color-warning);
  705. }
  706. .notecard {
  707. color: var(--color-text-light);
  708. background-color: var(--note-background);
  709. border-left: 4px solid var(--note-theme);
  710. border-radius: var(--border-radius);
  711. margin: 1rem 0;
  712. margin-top: 1rem;
  713. padding: 1rem;
  714. text-align: left;
  715. }
  716. .notecard:last-child {
  717. margin-bottom: 0;
  718. }
  719. .notecard 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. .guest-box, .body-login-container {
  726. color: var(--color-main-text);
  727. background-color: var(--color-main-background);
  728. padding: 16px;
  729. border-radius: var(--border-radius-large);
  730. box-shadow: 0 0 10px var(--color-box-shadow);
  731. display: inline-block;
  732. }
  733. .guest-box.wide {
  734. display: block;
  735. text-align: left;
  736. }
  737. .guest-box fieldset {
  738. margin-top: 0;
  739. }
  740. .guest-box pre {
  741. overflow-x: scroll;
  742. }
  743. button.toggle-password {
  744. background-color: transparent;
  745. border-width: 0;
  746. height: 44px;
  747. }
  748. /** Utilities */
  749. .margin-top {
  750. margin-top: 1rem !important;
  751. }
  752. .text-left {
  753. text-align: left !important;
  754. }