guest.css 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898
  1. /* Copyright (c) 2011, Jan-Christoph Borchardt, http://jancborchardt.net
  2. This file is licensed under the Affero General Public License version 3 or later.
  3. See the COPYING-README file. */
  4. /* Default and reset */
  5. 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; }
  6. html { height:100%; }
  7. article, aside, dialog, figure, footer, header, hgroup, nav, section { display:block; }
  8. body { line-height:1.5; }
  9. table { border-collapse:separate; border-spacing:0; white-space:nowrap; }
  10. caption, th, td { text-align:left; font-weight:normal; }
  11. table, td, th { vertical-align:middle; }
  12. a { border:0; color:#000; text-decoration:none;}
  13. a, a *, input, input *, select, .button span, label { cursor:pointer; }
  14. ul { list-style:none; }
  15. body {
  16. background-color: #ffffff;
  17. font-weight: normal;
  18. font-size: .8em;
  19. line-height: 1.6em;
  20. font-family: 'Nunito', 'Open Sans', Frutiger, Calibri, 'Myriad Pro', Myriad, sans-serif;
  21. color: #000;
  22. text-align: center;
  23. background-color: #0082c9;
  24. background-image: url('../img/background.png?v=2');
  25. background-position: 50% 50%;
  26. background-repeat: no-repeat;
  27. background-size: cover;
  28. background-attachment: fixed; /* fix background gradient */
  29. min-height: 100%; /* fix sticky footer */
  30. height: auto;
  31. }
  32. /* Various fonts settings */
  33. #body-login a {
  34. color: #fff;
  35. font-weight: 600;
  36. }
  37. #body-login a:not(.button):hover,
  38. #body-login a:not(.button):focus {
  39. text-decoration: underline;
  40. text-decoration-skip-ink: auto;
  41. }
  42. #showAdvanced {
  43. color: #fff;
  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: url('../img/logo/logo.svg?v=1');
  73. background-repeat: no-repeat;
  74. background-size: 175px;
  75. background-position: center;
  76. width: 256px;
  77. min-height: 128px;
  78. max-height: 200px;
  79. margin: 0 auto;
  80. position: relative;
  81. left: unset;
  82. }
  83. #header .logo img {
  84. opacity: 0;
  85. max-width: 100%;
  86. max-height: 200px;
  87. }
  88. .wrapper {
  89. width: 300px;
  90. margin-top: 10vh;
  91. }
  92. /* Default FORM */
  93. form {
  94. position: relative;
  95. width: 280px;
  96. margin: auto;
  97. padding: 0;
  98. }
  99. form fieldset {
  100. margin-bottom: 20px;
  101. text-align: left;
  102. -webkit-user-select: none;
  103. -moz-user-select: none;
  104. -ms-user-select: none;
  105. user-select: none;
  106. }
  107. form #sqliteInformation {
  108. margin-top: -20px;
  109. margin-bottom: 20px;
  110. }
  111. form #adminaccount {
  112. margin-bottom: 15px;
  113. }
  114. form fieldset legend, #datadirContent label {
  115. width: 100%;
  116. }
  117. #datadirContent label {
  118. display: block;
  119. margin: 0;
  120. }
  121. form #datadirField legend {
  122. margin-bottom: 15px;
  123. }
  124. /* View more button */
  125. #showAdvanced {
  126. padding: 13px; /* increase clickable area of Advanced dropdown */
  127. }
  128. #showAdvanced img {
  129. vertical-align: middle; /* adjust position of Advanced dropdown arrow */
  130. }
  131. /* Buttons and input */
  132. #submit-wrapper,
  133. #reset-password-wrapper {
  134. display: flex;
  135. align-items: center;
  136. justify-content: center;
  137. position: relative; /* Make the wrapper the containing block of its
  138. absolutely positioned descendant icons */
  139. }
  140. #submit-wrapper .submit-icon {
  141. position: absolute;
  142. top: 22px;
  143. right: 24px;
  144. transition: right 100ms ease-in-out;
  145. pointer-events: none; /* The submit icon is positioned on the submit button.
  146. From the user point of view the icon is part of the
  147. button, so the clicks on the icon have to be
  148. applied to the button instead. */
  149. }
  150. #submit-wrapper input.login:hover ~ .submit-icon.icon-confirm-white,
  151. #submit-wrapper input.login:focus ~ .submit-icon.icon-confirm-white,
  152. #submit-wrapper input.login:active ~ .submit-icon.icon-confirm-white {
  153. right: 20px;
  154. }
  155. #reset-password-submit {
  156. padding: 10px;
  157. overflow: hidden;
  158. text-overflow: ellipsis;
  159. }
  160. #reset-password-wrapper .submit-icon {
  161. display: none;
  162. }
  163. #submit-wrapper .icon-loading-small {
  164. position: absolute;
  165. top: 22px;
  166. right: 26px;
  167. }
  168. input, textarea, select, button, div[contenteditable=true] {
  169. font-family: 'Nunito', 'Open Sans', Frutiger, Calibri, 'Myriad Pro', Myriad, sans-serif;
  170. }
  171. input,
  172. input:not([type='range']),
  173. a.button {
  174. font-size: 20px;
  175. margin: 5px;
  176. padding: 11px 10px 9px;
  177. outline: none;
  178. border-radius: 3px; /* --border-radius */
  179. -webkit-appearance: none;
  180. }
  181. input[type='submit'],
  182. input[type='submit'].icon-confirm,
  183. input[type='button'],
  184. button,
  185. a.button,
  186. .button,
  187. select {
  188. display: inline-block;
  189. width: auto;
  190. min-width: 25px;
  191. padding: 12px;
  192. background-color: white;
  193. font-weight: bold;
  194. color: #555;
  195. border: none;
  196. border-radius: 100px; /* --border-radius-pill */
  197. cursor: pointer;
  198. }
  199. input[type='text'],
  200. input[type='tel'],
  201. input[type='password'],
  202. input[type='email'] {
  203. width: 249px;
  204. background: #fff;
  205. color: #555;
  206. cursor: text;
  207. font-family: inherit;
  208. -webkit-appearance: textfield;
  209. -moz-appearance: textfield;
  210. box-sizing: content-box;
  211. border: none;
  212. font-weight: normal;
  213. }
  214. input.login {
  215. width: 260px;
  216. height: 50px;
  217. background-position: right 16px center;
  218. }
  219. input[type='submit'],
  220. input[type='submit'].icon-confirm,
  221. input.updateButton,
  222. input.update-continue {
  223. padding: 10px 20px; /* larger log in and installation buttons */
  224. }
  225. .updateAnyways a.updateAnywaysButton {
  226. font-size: 14px;
  227. padding: 10px 20px;
  228. color: #666 !important;
  229. display: inline-block;
  230. border-radius: 100px; /* --border-radius-pill */
  231. margin: 15px 5px;
  232. }
  233. .updateAnyways a.updateAnywaysButton:hover {
  234. color: #222 !important;
  235. }
  236. /* Get rid of the inside dotted line in Firefox */
  237. button::-moz-focus-inner,
  238. input::-moz-focus-inner {
  239. border: 0;
  240. }
  241. input.primary,
  242. button.primary,
  243. a.primary {
  244. border: 1px solid #fff;
  245. background-color: #0082c9;
  246. color: #fff;
  247. transition: color 100ms ease-in-out;
  248. }
  249. input.primary:not(:disabled):hover,
  250. input.primary:not(:disabled):focus,
  251. button.primary:not(:disabled):hover,
  252. button.primary:not(:disabled):focus,
  253. a.primary:not(:disabled):hover,
  254. a.primary:not(:disabled):focus {
  255. color: rgba(255, 255, 255, .8);
  256. }
  257. /* Checkboxes - white only for login */
  258. input[type='checkbox'].checkbox {
  259. position: absolute;
  260. left: -10000px;
  261. top: auto;
  262. width: 1px;
  263. height: 1px;
  264. overflow: hidden;
  265. }
  266. input[type='checkbox'].checkbox + label {
  267. user-select: none;
  268. }
  269. input[type='checkbox'].checkbox:disabled + label,
  270. input[type='checkbox'].checkbox:disabled + label:before {
  271. cursor: default;
  272. }
  273. input[type='checkbox'].checkbox + label:before {
  274. content: '';
  275. display: inline-block;
  276. vertical-align: middle;
  277. margin: 3px;
  278. margin-top: 1px;
  279. border: 1px solid #888;
  280. border-radius: 1px;
  281. height: 10px;
  282. width: 10px;
  283. background-position: center;
  284. }
  285. input[type='checkbox'].checkbox--white + label:before {
  286. border-color: #ddd;
  287. }
  288. input[type='checkbox'].checkbox--white:not(:disabled):not(:checked) + label:hover:before,
  289. input[type='checkbox'].checkbox--white:focus + label:before {
  290. border-color: #fff;
  291. }
  292. input[type='checkbox'].checkbox--white:checked + label:before {
  293. background-color: #eee;
  294. border-color: #eee;
  295. }
  296. input[type='checkbox'].checkbox--white:disabled + label:before {
  297. background-color: #666 !important;
  298. border-color: #999 !important;
  299. }
  300. input[type='checkbox'].checkbox--white:checked:disabled + label:before {
  301. border-color: #666;
  302. background-color: #222;
  303. }
  304. input[type='checkbox'].checkbox--white:checked + label:before {
  305. background-color: transparent !important;
  306. border-color: #fff !important;
  307. background-image: url('../img/actions/checkbox-mark-white.svg');
  308. }
  309. /* Password strength meter */
  310. .strengthify-wrapper {
  311. display: inline-block;
  312. position: relative;
  313. left: 5px;
  314. top: -20px;
  315. width: 269px;
  316. border-radius: 0 0 3px 3px;
  317. overflow: hidden;
  318. height: 3px;
  319. }
  320. .tooltip-inner {
  321. font-weight: bold;
  322. color: #ccc;
  323. padding: 3px 6px;
  324. text-align: center;
  325. }
  326. /* Show password toggle */
  327. #show, #dbpassword-toggle {
  328. position: absolute;
  329. right: 1em;
  330. top: .8em;
  331. float: right;
  332. }
  333. #show + label, #dbpassword-toggle + label {
  334. right: 21px;
  335. top: 15px !important;
  336. margin: -14px !important;
  337. padding: 14px !important;
  338. }
  339. #show:checked + label, #dbpassword-toggle:checked + label, #personal-show:checked + label {
  340. opacity: .8;
  341. }
  342. #show + label, #dbpassword-toggle + label, #personal-show + label {
  343. position: absolute !important;
  344. height: 20px;
  345. width: 24px;
  346. background-image: url('../img/actions/toggle.svg?v=1');
  347. background-repeat: no-repeat;
  348. background-position: center;
  349. opacity: .3;
  350. }
  351. #show + label:before, #dbpassword-toggle + label:before, #personal-show + label:before {
  352. display: none;
  353. }
  354. /* Feedback for keyboard focus and mouse hover */
  355. #show:focus + label, #dbpassword-toggle:focus + label, #personal-show:focus + label,
  356. #show + label:hover, #dbpassword-toggle + label:hover, #personal-show + label:hover {
  357. opacity: 1;
  358. }
  359. #pass2, input[name='personal-password-clone'] {
  360. padding: .6em 2.5em .4em .4em;
  361. width: 8em;
  362. }
  363. #personal-show + label {
  364. height: 14px;
  365. margin-top: -25px;
  366. left: 295px;
  367. display: block;
  368. }
  369. #passwordbutton {
  370. margin-left: .5em;
  371. }
  372. /* Dark subtle label text */
  373. p.info,
  374. form fieldset legend,
  375. #datadirContent label,
  376. form fieldset .warning-info,
  377. form input[type='checkbox']+label {
  378. text-align: center;
  379. color: #fff;
  380. }
  381. /* overrides another !important statement that sets this to unreadable black */
  382. form .warning input[type='checkbox']:hover+label,
  383. form .warning input[type='checkbox']:focus+label,
  384. form .warning input[type='checkbox']+label {
  385. color: #fff !important;
  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. .remember-login-container,
  441. .lost-password-container {
  442. display: inline-block;
  443. margin: 10px 0;
  444. text-align: center;
  445. width: 100%;
  446. text-shadow: 0 0 2px rgba(0, 0, 0, .4); /* better readability on bright background */
  447. }
  448. .lost-password-container #lost-password,
  449. .lost-password-container #lost-password-back {
  450. display: inline-block;
  451. font-weight: normal;
  452. padding: 12px;
  453. margin-top: -6px;
  454. color: #fff;
  455. cursor: pointer;
  456. }
  457. #forgot-password {
  458. padding: 11px;
  459. float: right;
  460. color: #fff;
  461. }
  462. /* Alternative Logins */
  463. #alternative-logins legend {
  464. margin-bottom: 10px;
  465. }
  466. #alternative-logins li {
  467. height: 40px;
  468. white-space: nowrap;
  469. padding: 05px;
  470. }
  471. #alternative-logins li a {
  472. width: 100%;
  473. display: inline-block;
  474. text-align: center;
  475. box-sizing: border-box;
  476. background-color: #0082c9;
  477. color: white;
  478. border-radius: 100px; /* --border-radius-pill */
  479. }
  480. /* fixes for update page TODO should be fixed some time in a proper way */
  481. /* this is just for an error while updating the ownCloud instance */
  482. .updateProgress .error {
  483. margin-top: 10px;
  484. margin-bottom: 10px;
  485. }
  486. /* Database selector on install page */
  487. form #selectDbType {
  488. text-align:center;
  489. white-space: nowrap;
  490. margin: 0;
  491. display: flex;
  492. }
  493. form #selectDbType .info {
  494. white-space: normal;
  495. }
  496. form #selectDbType label {
  497. flex-grow: 1;
  498. margin: 0 -1px 5px;
  499. font-size: 12px;
  500. background:#f8f8f8;
  501. color:#888;
  502. cursor:pointer;
  503. border: 1px solid #ddd;
  504. padding: 10px 17px;
  505. }
  506. form #selectDbType label.ui-state-hover,
  507. form #selectDbType label.ui-state-active {
  508. font-weight: normal;
  509. color:#000;
  510. background-color:#e8e8e8;
  511. }
  512. form #selectDbType .ui-visual-focus {
  513. box-shadow: none;
  514. }
  515. form #selectDbType label span {
  516. display: none;
  517. }
  518. /* Nicely grouping input field sets */
  519. .grouptop,
  520. .groupmiddle,
  521. .groupbottom {
  522. position: relative;
  523. -webkit-user-select: none;
  524. -moz-user-select: none;
  525. -ms-user-select: none;
  526. user-select: none;
  527. }
  528. .grouptop input {
  529. margin-bottom: 0 !important;
  530. border-bottom: 0 !important;
  531. border-bottom-left-radius: 0 !important;
  532. border-bottom-right-radius: 0 !important;
  533. }
  534. .groupmiddle input {
  535. margin-top: 0 !important;
  536. margin-bottom: 0 !important;
  537. border-top: 0 !important;
  538. border-bottom: 0 !important;
  539. border-radius: 0 !important;
  540. box-shadow: 0 1px 0 rgba(0,0,0,.1) inset !important;
  541. }
  542. .groupbottom input {
  543. margin-top: 0 !important;
  544. border-top: 0 !important;
  545. border-top-right-radius: 0 !important;
  546. border-top-left-radius: 0 !important;
  547. box-shadow: 0 1px 0 rgba(0,0,0,.1) inset !important;
  548. }
  549. .groupbottom input[type=submit] {
  550. box-shadow: none !important;
  551. }
  552. /* Errors */
  553. /* Warnings and errors are the same */
  554. .body-login-container,
  555. .warning,
  556. .update,
  557. .error {
  558. display: block;
  559. margin-top: 15px;
  560. padding: 15px;
  561. background-color: rgba(0,0,0,.3);
  562. color: #fff;
  563. text-align: left;
  564. word-wrap: break-word;
  565. border-radius: 10px; /* --border-radius-large */
  566. cursor: default;
  567. -moz-user-select: text;
  568. -webkit-user-select: text;
  569. -ms-user-select: text;
  570. user-select: text;
  571. }
  572. .body-login-container h2,
  573. .warning h2,
  574. .update h2,
  575. .error h2 {
  576. color: #fff;
  577. text-align: center;
  578. }
  579. /* TODO: Change all .warning/.update/.error to .body-login-container */
  580. .body-login-container .icon-big {
  581. background-size: 70px;
  582. height: 70px;
  583. }
  584. .body-login-container form {
  585. width: initial;
  586. }
  587. .body-login-container p:not(:last-child) {
  588. margin-bottom: 12px;
  589. }
  590. .warning.updateAnyways {
  591. text-align: center;
  592. }
  593. .warning legend,
  594. .warning a,
  595. .error a {
  596. color: #fff !important;
  597. font-weight: bold !important;
  598. opacity: 1;
  599. }
  600. .error a.button {
  601. color: #555 !important;
  602. display: inline-block;
  603. text-align: center;
  604. }
  605. .error pre {
  606. white-space: pre-wrap;
  607. text-align: left;
  608. }
  609. .error-wide {
  610. width: 700px;
  611. margin-left: -200px !important;
  612. margin-top: 35px;
  613. }
  614. .error-wide .button {
  615. color: black !important;
  616. }
  617. .warning-input {
  618. border-color: #ce3702 !important;
  619. }
  620. a.warning {
  621. cursor: pointer;
  622. }
  623. fieldset.warning legend,
  624. fieldset.update legend {
  625. top: 18px;
  626. position: relative;
  627. }
  628. fieldset.warning legend + p,
  629. fieldset.update legend + p {
  630. margin-top: 12px;
  631. }
  632. /* Various paragraph styles */
  633. .infogroup {
  634. margin: 8px 0;
  635. }
  636. .infogroup:last-child {
  637. margin-bottom: 0;
  638. }
  639. p.info {
  640. margin: 20px auto;
  641. text-shadow: 0 0 2px rgba(0, 0, 0, .4); /* better readability on bright background */
  642. -webkit-user-select: none;
  643. -moz-user-select: none;
  644. -ms-user-select: none;
  645. user-select: none;
  646. }
  647. /* Update */
  648. .update {
  649. width: inherit;
  650. text-align: center;
  651. }
  652. .update .appList {
  653. list-style: disc;
  654. text-align: left;
  655. margin-left: 25px;
  656. margin-right: 25px;
  657. }
  658. .update img.float-spinner {
  659. float: left;
  660. }
  661. .update a.update-show-detailed {
  662. border-bottom: inherit;
  663. }
  664. #update-progress-detailed {
  665. text-align: left;
  666. margin-bottom: 12px;
  667. }
  668. .update-show-detailed {
  669. padding: 12px;
  670. display: block;
  671. opacity: .75;
  672. }
  673. .update-show-detailed .icon-caret-white {
  674. display: inline-block;
  675. vertical-align: middle;
  676. }
  677. #update-progress-icon {
  678. height: 32px;
  679. margin: 10px;
  680. background-size: 32px;
  681. }
  682. /* Icons */
  683. .icon-info-white {
  684. background-image: url('../img/actions/info-white.svg?v=2');
  685. }
  686. .icon-error-white {
  687. background-image: url('../img/actions/error-white.svg?v=1');
  688. }
  689. .icon-caret-white {
  690. background-image: url('../img/actions/caret-white.svg?v=1');
  691. }
  692. .icon-confirm {
  693. background-image: url('../img/actions/confirm.svg?v=2');
  694. }
  695. .icon-confirm-white {
  696. background-image: url('../img/actions/confirm-white.svg?v=2');
  697. }
  698. .icon-checkmark-white {
  699. background-image: url('../img/actions/checkmark-white.svg?v=1');
  700. }
  701. /* Loading */
  702. .float-spinner {
  703. margin-top: -32px;
  704. padding-top: 32px;
  705. height: 32px;
  706. display: none;
  707. }
  708. [class^='icon-'], [class*=' icon-'] {
  709. background-repeat: no-repeat;
  710. background-position: center;
  711. min-width: 16px;
  712. min-height: 16px;
  713. }
  714. .loading, .loading-small, .icon-loading, .icon-loading-dark, .icon-loading-small, .icon-loading-small-dark {
  715. position: relative;
  716. }
  717. .loading:after, .loading-small:after, .icon-loading:after, .icon-loading-dark:after, .icon-loading-small:after, .icon-loading-small-dark:after {
  718. z-index: 2;
  719. content: '';
  720. height: 32px;
  721. width: 32px;
  722. margin: -17px 0 0 -17px;
  723. position: absolute;
  724. top: 50%;
  725. left: 50%;
  726. border-radius: 100%;
  727. -webkit-animation: rotate .8s infinite linear;
  728. animation: rotate .8s infinite linear;
  729. -webkit-transform-origin: center;
  730. -ms-transform-origin: center;
  731. transform-origin: center;
  732. }
  733. .loading:after, .loading-small:after, .icon-loading:after, .icon-loading-dark:after, .icon-loading-small:after, .icon-loading-small-dark:after {
  734. border: 2px solid rgba(150, 150, 150, 0.5);
  735. border-top-color: #646464;
  736. }
  737. .icon-loading-dark:after, .icon-loading-small-dark:after {
  738. border: 2px solid rgba(187, 187, 187, 0.5);
  739. border-top-color: #bbb;
  740. }
  741. .icon-loading-small:after, .icon-loading-small-dark:after {
  742. height: 16px;
  743. width: 16px;
  744. margin: -9px 0 0 -9px;
  745. }
  746. /* Css replaced elements don't have ::after nor ::before */
  747. 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 {
  748. background-image: url('../img/loading.gif');
  749. }
  750. 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 {
  751. background-image: url('../img/loading-dark.gif');
  752. }
  753. 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 {
  754. background-image: url('../img/loading-small.gif');
  755. }
  756. 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 {
  757. background-image: url('../img/loading-small-dark.gif');
  758. }
  759. @-webkit-keyframes rotate {
  760. from {
  761. -webkit-transform: rotate(0deg);
  762. transform: rotate(0deg);
  763. }
  764. to {
  765. -webkit-transform: rotate(360deg);
  766. transform: rotate(360deg);
  767. }
  768. }
  769. @keyframes rotate {
  770. from {
  771. -webkit-transform: rotate(0deg);
  772. transform: rotate(0deg);
  773. }
  774. to {
  775. -webkit-transform: rotate(360deg);
  776. transform: rotate(360deg);
  777. }
  778. }
  779. /* FOOTER */
  780. footer {
  781. height: 70px;
  782. margin-top: auto;
  783. }
  784. footer .info .entity-name {
  785. font-weight: bold;
  786. }
  787. .hidden {
  788. display: none;
  789. }
  790. /* keep the labels for screen readers but hide them since we use placeholders */
  791. label.infield,
  792. .hidden-visually {
  793. position: absolute;
  794. left:-10000px;
  795. top: auto;
  796. width: 1px;
  797. height: 1px;
  798. overflow: hidden;
  799. }
  800. a.legal {
  801. font-size: smaller;
  802. }
  803. /* latin-ext */
  804. @font-face {
  805. font-family: 'Nunito';
  806. font-style: normal;
  807. font-weight: 400; /* normal */
  808. src: local('Nunito Regular'), local('Nunito-Regular'),
  809. url('../fonts/Nunito-Regular-latin-ext.woff2') format('woff2'),
  810. url('../fonts/Nunito-Regular.ttf') format('truetype');
  811. unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
  812. }
  813. /* latin */
  814. @font-face {
  815. font-family: 'Nunito';
  816. font-style: normal;
  817. font-weight: 400; /* normal */
  818. src: local('Nunito Regular'), local('Nunito-Regular'),
  819. url('../fonts/Nunito-Regular.woff2') format('woff2'),
  820. url('../fonts/Nunito-Regular.ttf') format('truetype');
  821. unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  822. }
  823. /* latin-ext */
  824. @font-face {
  825. font-family: 'Nunito';
  826. font-style: normal;
  827. font-weight: 700; /* bold */
  828. src: local('Nunito Bold'), local('Nunito-Bold'),
  829. url('../fonts/Nunito-Bold-latin-ext.woff2') format('woff2'),
  830. url('../fonts/Nunito-Bold.ttf') format('truetype');
  831. unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
  832. }
  833. /* latin */
  834. @font-face {
  835. font-family: 'Nunito';
  836. font-style: normal;
  837. font-weight: 700; /* bold */
  838. src: local('Nunito Bold'), local('Nunito-Bold'),
  839. url('../fonts/Nunito-Bold.woff2') format('woff2'),
  840. url('../fonts/Nunito-Bold.ttf') format('truetype');
  841. unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  842. }