guest.css 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869
  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-primary-text);
  23. text-align: center;
  24. background-color: var(--color-primary);
  25. background-image: var(--image-background, var(--image-background-plain, url('../../../core/img/background.svg'), linear-gradient(40deg, #0082c9 0%, #30b6ff 100%)));
  26. background-position: 50% 50%;
  27. background-repeat: repeat;
  28. background-size: var(--image-background-size, 275px, contain);
  29. background-attachment: fixed; /* fix background gradient */
  30. min-height: 100%; /* fix sticky footer */
  31. height: auto;
  32. }
  33. /* Various fonts settings */
  34. #body-login a {
  35. font-weight: 600;
  36. }
  37. #body-login footer a {
  38. color: var(--color-primary-text);
  39. }
  40. #body-login a:not(.button):hover,
  41. #body-login a:not(.button):focus {
  42. text-decoration: underline;
  43. text-decoration-skip-ink: auto;
  44. }
  45. em {
  46. font-style: normal;
  47. opacity: .5;
  48. }
  49. /* heading styles */
  50. h2,
  51. h3,
  52. h4 {
  53. font-weight: bold;
  54. }
  55. h2 {
  56. font-size: 20px;
  57. margin-bottom: 12px;
  58. line-height: 140%;
  59. }
  60. h3 {
  61. font-size: 15px;
  62. margin: 12px 0;
  63. }
  64. /* Global content */
  65. body {
  66. display: flex;
  67. flex-direction: column;
  68. justify-content: center;
  69. align-items: center;
  70. }
  71. #header .logo {
  72. background-image: var(--image-logo, url('../../core/img/logo/logo.svg'));
  73. background-repeat: no-repeat;
  74. background-size: contain;
  75. background-position: center;
  76. width: 175px;
  77. height: 130px;
  78. margin: 0 auto;
  79. position: relative;
  80. left: unset;
  81. }
  82. #header .logo img {
  83. opacity: 0;
  84. max-width: 100%;
  85. max-height: 200px;
  86. }
  87. .wrapper {
  88. width: 100%;
  89. max-width: 700px;
  90. margin-top: 10vh;
  91. }
  92. /* Default FORM */
  93. form {
  94. position: relative;
  95. margin: auto;
  96. padding: 0;
  97. }
  98. form fieldset {
  99. width: 260px;
  100. margin-top: 8px;
  101. -webkit-user-select: none;
  102. -moz-user-select: none;
  103. -ms-user-select: none;
  104. user-select: none;
  105. }
  106. form #sqliteInformation {
  107. margin-top: 0px;
  108. margin-bottom: 20px;
  109. }
  110. form #adminaccount {
  111. margin-bottom: 15px;
  112. }
  113. form #advancedHeader {
  114. width: 100%;
  115. }
  116. form fieldset legend, #datadirContent label {
  117. width: 100%;
  118. }
  119. #datadirContent label {
  120. display: block;
  121. margin: 0;
  122. }
  123. form #datadirField legend {
  124. margin-bottom: 15px;
  125. }
  126. /* View more button */
  127. #showAdvanced {
  128. padding: 13px; /* increase clickable area of Advanced dropdown */
  129. }
  130. #showAdvanced img {
  131. vertical-align: middle; /* adjust position of Advanced dropdown arrow */
  132. }
  133. /* Buttons and input */
  134. #submit-wrapper,
  135. #reset-password-wrapper {
  136. display: flex;
  137. align-items: center;
  138. justify-content: center;
  139. padding: 10px 5px;
  140. position: relative; /* Make the wrapper the containing block of its
  141. absolutely positioned descendant icons */
  142. }
  143. @media only screen and (max-width: 1024px) {
  144. .wrapper {
  145. margin-top: 0;
  146. }
  147. .alternative-logins {
  148. margin: auto;
  149. }
  150. }
  151. #submit-wrapper .submit-icon,
  152. #reset-password-wrapper .submit-icon {
  153. position: absolute;
  154. right: 24px;
  155. transition: right 100ms ease-in-out;
  156. pointer-events: none; /* The submit icon is positioned on the submit button.
  157. From the user point of view the icon is part of the
  158. button, so the clicks on the icon have to be
  159. applied to the button instead. */
  160. }
  161. #submit-wrapper {
  162. margin: 0 auto;
  163. }
  164. #submit-wrapper input.login:hover ~ .submit-icon.icon-confirm-white,
  165. #submit-wrapper input.login:focus ~ .submit-icon.icon-confirm-white,
  166. #submit-wrapper input.login:active ~ .submit-icon.icon-confirm-white {
  167. right: 20px;
  168. }
  169. #reset-password-submit {
  170. padding: 10px;
  171. overflow: hidden;
  172. text-overflow: ellipsis;
  173. }
  174. #submit-wrapper .icon-loading-small {
  175. position: absolute;
  176. top: 22px;
  177. right: 26px;
  178. }
  179. input, textarea, select, button, div[contenteditable=true] {
  180. 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';
  181. }
  182. input,
  183. input:not([type='range']),
  184. input:not([type='text']),
  185. input:not([type='password']),
  186. a.button {
  187. font-size: 20px;
  188. margin: 5px;
  189. padding: 5px;
  190. outline: none;
  191. border-radius: 3px; /* --border-radius */
  192. -webkit-appearance: none;
  193. }
  194. input:not([type='radio']),
  195. input:not([type='range']) {
  196. border-width: 2px;
  197. }
  198. input:not([type='range']):focus-visible {
  199. box-shadow: none !important;
  200. }
  201. input[type='submit'],
  202. input[type='submit'].icon-confirm,
  203. input[type='button'],
  204. button,
  205. a.button,
  206. .button,
  207. select {
  208. display: inline-block;
  209. width: auto;
  210. min-width: 25px;
  211. padding: 12px;
  212. background-color: var(--color-main-background);
  213. font-weight: bold;
  214. color: var(--color-text);
  215. border: none;
  216. border-radius: 100px; /* --border-radius-pill */
  217. cursor: pointer;
  218. }
  219. .icon-confirm.input-button-inline {
  220. position: absolute;
  221. right: 3px;
  222. top: 5px;
  223. }
  224. input[type='submit']:focus {
  225. box-shadow: 0 0 0 2px inset var(--color-main-text) !important;
  226. }
  227. input[type='text'],
  228. input[type='tel'],
  229. input[type='password'],
  230. input[type='email'] {
  231. width: 266px;
  232. padding: 5px 10px;
  233. color: var(--color-text-lighter);
  234. cursor: text;
  235. font-family: inherit;
  236. -webkit-appearance: textfield;
  237. -moz-appearance: textfield;
  238. box-sizing: content-box;
  239. font-weight: normal;
  240. margin-left: 0;
  241. margin-right: 0;
  242. }
  243. input[type='text']:focus-visible,
  244. input[type='password']:focus-visible {
  245. outline: var(--color-primary) auto 2px !important;
  246. }
  247. input[type='password'].password-with-toggle, input[type='text'].password-with-toggle {
  248. width: 236px;
  249. padding-right: 40px;
  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-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: 286px;
  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: 4px;
  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-text) !important;
  381. }
  382. .body-login-container.two-factor {
  383. max-width: 290px;
  384. margin: 15px auto 0;
  385. }
  386. .two-factor-provider {
  387. display: flex;
  388. border-radius: 3px; /* --border-radius */
  389. margin: 12px 0;
  390. border: 1px solid transparent;
  391. text-align: left;
  392. align-items: center;
  393. text-decoration: none !important;
  394. }
  395. .two-factor-provider:hover,
  396. .two-factor-provider:focus,
  397. .two-factor-provider:active {
  398. border: 1px solid #fff;
  399. }
  400. .two-factor-provider img {
  401. width: 64px;
  402. height: 64px;
  403. padding: 0 12px;
  404. }
  405. .two-factor-provider div {
  406. margin: 12px 0;
  407. }
  408. .two-factor-provider h3 {
  409. margin: 0;
  410. }
  411. .two-factor-provider p {
  412. font-weight: normal;
  413. }
  414. .two-factor-icon {
  415. width: 100px;
  416. display: block;
  417. margin: 0 auto;
  418. }
  419. .two-factor-submit {
  420. width: 100%;
  421. padding: 10px;
  422. margin: 0 0 5px 0;
  423. border-radius: 100px; /* --border-radius-pill */
  424. font-size: 20px;
  425. }
  426. .two-factor-primary {
  427. /* Fix for 'Use backup codes' button not taking correct styles */
  428. padding: 14px !important;
  429. width: 226px;
  430. }
  431. .two-factor-secondary {
  432. display: inline-block;
  433. padding: 12px;
  434. }
  435. /* Additional login options */
  436. #remember_login {
  437. margin: 18px 5px 0 16px !important;
  438. }
  439. .lost-password-container {
  440. display: inline-block;
  441. margin: 10px 0;
  442. text-align: center;
  443. width: 100%;
  444. }
  445. #lost-password,
  446. #lost-password-back,
  447. #reset-password-wrapper + a {
  448. display: inline-block;
  449. font-weight: normal !important;
  450. padding: 12px 12px 0 12px;
  451. cursor: pointer;
  452. }
  453. #forgot-password {
  454. padding: 11px;
  455. float: right;
  456. color: var(--color-primary-text);
  457. }
  458. /* Alternative Logins */
  459. .alternative-logins legend {
  460. margin-bottom: 10px;
  461. }
  462. .alternative-logins li {
  463. height: 40px;
  464. white-space: nowrap;
  465. padding: 05px;
  466. }
  467. .alternative-logins a.button,
  468. .alternative-logins li a {
  469. width: 100%;
  470. display: inline-block;
  471. text-align: center;
  472. box-sizing: border-box;
  473. border: 2px solid var(--color-primary-text);
  474. background-color: var(--color-primary);
  475. color: var(--color-primary-text);
  476. border-radius: 100px; /* --border-radius-pill */
  477. }
  478. .alternative-logins a.button:focus,
  479. .alternative-logins li a:focus {
  480. border: 2px solid var(--color-primary-hover);
  481. background-image: linear-gradient(40deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  482. background-position: initial;
  483. }
  484. /* fixes for update page TODO should be fixed some time in a proper way */
  485. /* this is just for an error while updating the ownCloud instance */
  486. .updateProgress .error {
  487. margin-top: 10px;
  488. margin-bottom: 10px;
  489. }
  490. /* Database selector on install page */
  491. form #selectDbType {
  492. text-align:center;
  493. white-space: nowrap;
  494. margin: 0;
  495. display: flex;
  496. }
  497. form #selectDbType .info {
  498. white-space: normal;
  499. }
  500. form #selectDbType label {
  501. flex-grow: 1;
  502. margin: 0 -1px 5px;
  503. font-size: 12px;
  504. background: var(--color-background-hover);
  505. color: var(--color-main-text);
  506. cursor:pointer;
  507. border: 1px solid var(--color-border);
  508. padding: 10px 17px;
  509. }
  510. form #selectDbType label.ui-state-hover,
  511. form #selectDbType label.ui-state-active {
  512. font-weight: normal;
  513. background: var(--color-background-darker);
  514. color: var(--color-main-text);
  515. }
  516. form #selectDbType label span {
  517. display: none;
  518. }
  519. /* Nicely grouping input field sets */
  520. .grouptop,
  521. .groupmiddle,
  522. .groupbottom {
  523. position: relative;
  524. user-select: none;
  525. }
  526. .grouptop, .groupmiddle {
  527. margin-bottom: 8px !important;
  528. }
  529. .groupbottom {
  530. margin-bottom: 13px;
  531. }
  532. .groupbottom input[type=submit] {
  533. box-shadow: none !important;
  534. }
  535. .grouptop.groupbottom input {
  536. border-radius: 3px !important;
  537. margin: 5px 0 !important;
  538. }
  539. /* Errors */
  540. /* Warnings and errors are the same */
  541. .body-login-container {
  542. display: flex;
  543. flex-direction: column;
  544. text-align: left;
  545. word-wrap: break-word;
  546. border-radius: 10px; /* --border-radius-large */
  547. cursor: default;
  548. -moz-user-select: text;
  549. -webkit-user-select: text;
  550. -ms-user-select: text;
  551. user-select: text;
  552. }
  553. /* TODO: Change all .warning/.update/.error to .body-login-container */
  554. .body-login-container .icon-big {
  555. background-size: 70px;
  556. height: 70px;
  557. }
  558. .body-login-container form {
  559. width: initial;
  560. }
  561. .body-login-container p:not(:last-child) {
  562. margin-bottom: 12px;
  563. }
  564. /* Various paragraph styles */
  565. .infogroup {
  566. margin: 8px 0;
  567. }
  568. .infogroup:last-child {
  569. margin-bottom: 0;
  570. }
  571. p.info {
  572. margin: 20px auto;
  573. -webkit-user-select: none;
  574. -moz-user-select: none;
  575. -ms-user-select: none;
  576. user-select: none;
  577. }
  578. /* Update */
  579. .update {
  580. width: inherit;
  581. text-align: center;
  582. }
  583. .update .appList {
  584. list-style: disc;
  585. text-align: left;
  586. margin-left: 25px;
  587. margin-right: 25px;
  588. }
  589. .update img.float-spinner {
  590. float: left;
  591. }
  592. .update a.update-show-detailed {
  593. border-bottom: inherit;
  594. }
  595. #update-progress-detailed {
  596. text-align: left;
  597. margin-bottom: 12px;
  598. }
  599. .update-show-detailed {
  600. padding: 12px;
  601. display: block;
  602. opacity: .75;
  603. }
  604. .update-show-detailed .icon-caret-white {
  605. display: inline-block;
  606. vertical-align: middle;
  607. }
  608. #update-progress-icon {
  609. height: 32px;
  610. margin: 10px;
  611. background-size: 32px;
  612. }
  613. /* Icons */
  614. .icon-info-white {
  615. background-image: url('../img/actions/info-white.svg?v=2');
  616. }
  617. .icon-error-white {
  618. background-image: url('../img/actions/error-white.svg?v=1');
  619. }
  620. .icon-caret-white {
  621. background-image: url('../img/actions/caret-white.svg?v=1');
  622. }
  623. .icon-confirm {
  624. background-image: url('../img/actions/confirm.svg?v=2');
  625. }
  626. .icon-confirm-white {
  627. background-image: url('../img/actions/confirm-white.svg?v=2');
  628. }
  629. .icon-checkmark-white {
  630. background-image: url('../img/actions/checkmark-white.svg?v=1');
  631. }
  632. /* Loading */
  633. .float-spinner {
  634. margin-top: -32px;
  635. padding-top: 32px;
  636. height: 32px;
  637. display: none;
  638. }
  639. [class^='icon-'], [class*=' icon-'] {
  640. background-repeat: no-repeat;
  641. background-position: center;
  642. min-width: 16px;
  643. min-height: 16px;
  644. }
  645. .loading, .loading-small, .icon-loading, .icon-loading-dark, .icon-loading-small, .icon-loading-small-dark {
  646. position: relative;
  647. filter: var(--background-invert-if-dark)
  648. }
  649. .loading:after, .loading-small:after, .icon-loading:after, .icon-loading-dark:after, .icon-loading-small:after, .icon-loading-small-dark:after {
  650. z-index: 2;
  651. content: '';
  652. height: 32px;
  653. width: 32px;
  654. margin: -17px 0 0 -17px;
  655. position: absolute;
  656. top: 50%;
  657. left: 50%;
  658. border-radius: 100%;
  659. -webkit-animation: rotate .8s infinite linear;
  660. animation: rotate .8s infinite linear;
  661. -webkit-transform-origin: center;
  662. -ms-transform-origin: center;
  663. transform-origin: center;
  664. }
  665. .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 {
  666. filter: var(--primary-invert-if-bright)
  667. }
  668. .loading:after, .loading-small:after, .icon-loading:after, .icon-loading-dark:after, .icon-loading-small:after, .icon-loading-small-dark:after {
  669. border: 2px solid rgba(150, 150, 150, 0.5);
  670. border-top-color: #646464;
  671. }
  672. .icon-loading-dark:after, .icon-loading-small-dark:after {
  673. border: 2px solid rgba(187, 187, 187, 0.5);
  674. border-top-color: #bbb;
  675. }
  676. .icon-loading-small:after, .icon-loading-small-dark:after {
  677. height: 16px;
  678. width: 16px;
  679. margin: -9px 0 0 -9px;
  680. }
  681. /* Css replaced elements don't have ::after nor ::before */
  682. 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 {
  683. background-image: url('../img/loading.gif');
  684. }
  685. 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 {
  686. background-image: url('../img/loading-dark.gif');
  687. }
  688. 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 {
  689. background-image: url('../img/loading-small.gif');
  690. }
  691. 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 {
  692. background-image: url('../img/loading-small-dark.gif');
  693. }
  694. @-webkit-keyframes rotate {
  695. from {
  696. -webkit-transform: rotate(0deg);
  697. transform: rotate(0deg);
  698. }
  699. to {
  700. -webkit-transform: rotate(360deg);
  701. transform: rotate(360deg);
  702. }
  703. }
  704. @keyframes rotate {
  705. from {
  706. -webkit-transform: rotate(0deg);
  707. transform: rotate(0deg);
  708. }
  709. to {
  710. -webkit-transform: rotate(360deg);
  711. transform: rotate(360deg);
  712. }
  713. }
  714. /* FOOTER */
  715. footer {
  716. min-height: 70px;
  717. margin-top: auto;
  718. }
  719. footer .info .entity-name {
  720. font-weight: bold;
  721. }
  722. .hidden {
  723. display: none;
  724. }
  725. /* keep the labels for screen readers but hide them since we use placeholders */
  726. label.infield,
  727. .hidden-visually {
  728. position: absolute;
  729. left: -10000px;
  730. top: -10000px;
  731. width: 1px;
  732. height: 1px;
  733. overflow: hidden;
  734. }
  735. a.legal {
  736. font-size: smaller;
  737. }
  738. .notecard.success {
  739. --note-background: rgba(var(--color-success-rgb), 0.2);
  740. --note-theme: var(--color-success);
  741. }
  742. .notecard.error {
  743. --note-background: rgba(var(--color-error-rgb), 0.2);
  744. --note-theme: var(--color-error);
  745. }
  746. .notecard.warning {
  747. --note-background: rgba(var(--color-warning-rgb), 0.2);
  748. --note-theme: var(--color-warning);
  749. }
  750. .notecard {
  751. color: var(--color-text-light);
  752. background-color: var(--note-background);
  753. border: 1px solid var(--color-border);
  754. border-left: 4px solid var(--note-theme);
  755. border-radius: var(--border-radius);
  756. box-shadow: rgba(43, 42, 51, 0.05) 0px 1px 2px 0px;
  757. margin: 1rem 0;
  758. margin-top: 1rem;
  759. padding: 1rem;
  760. text-align: left;
  761. }
  762. .notecard:last-child {
  763. margin-bottom: 0;
  764. }
  765. .notecard pre {
  766. background-color: var(--color-background-dark);
  767. margin-top: 1rem;
  768. padding: 1em 1.3em;
  769. border-radius: var(--border-radius);
  770. }
  771. .guest-box, .body-login-container {
  772. color: var(--color-main-text);
  773. background-color: var(--color-main-background);
  774. padding: 16px;
  775. border-radius: var(--border-radius-large);
  776. box-shadow: 0 0 10px var(--color-box-shadow);
  777. display: inline-block;
  778. }
  779. .guest-box.wide {
  780. display: block;
  781. text-align: left;
  782. }
  783. .guest-box fieldset {
  784. margin-top: 0;
  785. }
  786. .guest-box pre {
  787. overflow-x: scroll;
  788. }
  789. button.toggle-password {
  790. background-color: transparent;
  791. border-width: 0;
  792. height: 44px;
  793. }
  794. /** Utilities */
  795. .margin-top {
  796. margin-top: 1rem !important;
  797. }
  798. .text-left {
  799. text-align: left !important;
  800. }