guest.css 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850
  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: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
  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. #reset-password-wrapper .submit-icon {
  142. position: absolute;
  143. top: 22px;
  144. right: 24px;
  145. transition: right 100ms ease-in-out;
  146. pointer-events: none; /* The submit icon is positioned on the submit button.
  147. From the user point of view the icon is part of the
  148. button, so the clicks on the icon have to be
  149. applied to the button instead. */
  150. }
  151. #submit-wrapper input.login:hover ~ .submit-icon.icon-confirm-white,
  152. #submit-wrapper input.login:focus ~ .submit-icon.icon-confirm-white,
  153. #submit-wrapper input.login:active ~ .submit-icon.icon-confirm-white {
  154. right: 20px;
  155. }
  156. #reset-password-submit {
  157. padding: 10px;
  158. overflow: hidden;
  159. text-overflow: ellipsis;
  160. }
  161. #submit-wrapper .icon-loading-small {
  162. position: absolute;
  163. top: 22px;
  164. right: 26px;
  165. }
  166. input, textarea, select, button, div[contenteditable=true] {
  167. 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';
  168. }
  169. input,
  170. input:not([type='range']),
  171. a.button {
  172. font-size: 20px;
  173. margin: 5px;
  174. padding: 11px 10px 9px;
  175. outline: none;
  176. border-radius: 3px; /* --border-radius */
  177. -webkit-appearance: none;
  178. }
  179. input[type='submit'],
  180. input[type='submit'].icon-confirm,
  181. input[type='button'],
  182. button,
  183. a.button,
  184. .button,
  185. select {
  186. display: inline-block;
  187. width: auto;
  188. min-width: 25px;
  189. padding: 12px;
  190. background-color: white;
  191. font-weight: bold;
  192. color: #555;
  193. border: none;
  194. border-radius: 100px; /* --border-radius-pill */
  195. cursor: pointer;
  196. }
  197. input[type='text'],
  198. input[type='tel'],
  199. input[type='password'],
  200. input[type='email'] {
  201. width: 249px;
  202. background: #fff;
  203. color: #555;
  204. cursor: text;
  205. font-family: inherit;
  206. -webkit-appearance: textfield;
  207. -moz-appearance: textfield;
  208. box-sizing: content-box;
  209. border: none;
  210. font-weight: normal;
  211. }
  212. input.login {
  213. width: 260px;
  214. height: 50px;
  215. background-position: right 16px center;
  216. }
  217. input[type='submit'],
  218. input[type='submit'].icon-confirm,
  219. input.updateButton,
  220. input.update-continue {
  221. padding: 10px 20px; /* larger log in and installation buttons */
  222. }
  223. .updateAnyways a.updateAnywaysButton {
  224. font-size: 14px;
  225. padding: 10px 20px;
  226. color: #666 !important;
  227. display: inline-block;
  228. border-radius: 100px; /* --border-radius-pill */
  229. margin: 15px 5px;
  230. }
  231. .updateAnyways a.updateAnywaysButton:hover {
  232. color: #222 !important;
  233. }
  234. /* Get rid of the inside dotted line in Firefox */
  235. button::-moz-focus-inner,
  236. input::-moz-focus-inner {
  237. border: 0;
  238. }
  239. input.primary,
  240. button.primary,
  241. a.primary {
  242. border: 1px solid #fff;
  243. background-color: #0082c9;
  244. color: #fff;
  245. transition: color 100ms ease-in-out;
  246. }
  247. input.primary:not(:disabled):hover,
  248. input.primary:not(:disabled):focus,
  249. button.primary:not(:disabled):hover,
  250. button.primary:not(:disabled):focus,
  251. a.primary:not(:disabled):hover,
  252. a.primary:not(:disabled):focus {
  253. color: rgba(255, 255, 255, .8);
  254. }
  255. /* Checkboxes - white only for login */
  256. input[type='checkbox'].checkbox {
  257. position: absolute;
  258. left: -10000px;
  259. top: auto;
  260. width: 1px;
  261. height: 1px;
  262. overflow: hidden;
  263. }
  264. input[type='checkbox'].checkbox + label {
  265. user-select: none;
  266. }
  267. input[type='checkbox'].checkbox:disabled + label,
  268. input[type='checkbox'].checkbox:disabled + label:before {
  269. cursor: default;
  270. }
  271. input[type='checkbox'].checkbox + label:before {
  272. content: '';
  273. display: inline-block;
  274. vertical-align: middle;
  275. margin: 3px;
  276. margin-top: 1px;
  277. border: 1px solid #888;
  278. border-radius: 1px;
  279. height: 10px;
  280. width: 10px;
  281. background-position: center;
  282. }
  283. input[type='checkbox'].checkbox--white + label:before {
  284. border-color: #ddd;
  285. }
  286. input[type='checkbox'].checkbox--white:not(:disabled):not(:checked) + label:hover:before,
  287. input[type='checkbox'].checkbox--white:focus + label:before {
  288. border-color: #fff;
  289. }
  290. input[type='checkbox'].checkbox--white:checked + label:before {
  291. background-color: #eee;
  292. border-color: #eee;
  293. }
  294. input[type='checkbox'].checkbox--white:disabled + label:before {
  295. background-color: #666 !important;
  296. border-color: #999 !important;
  297. }
  298. input[type='checkbox'].checkbox--white:checked:disabled + label:before {
  299. border-color: #666;
  300. background-color: #222;
  301. }
  302. input[type='checkbox'].checkbox--white:checked + label:before {
  303. background-color: transparent !important;
  304. border-color: #fff !important;
  305. background-image: url('../img/actions/checkbox-mark-white.svg');
  306. }
  307. /* Password strength meter */
  308. .strengthify-wrapper {
  309. display: inline-block;
  310. position: relative;
  311. left: 5px;
  312. top: -20px;
  313. width: 269px;
  314. border-radius: 0 0 3px 3px;
  315. overflow: hidden;
  316. height: 3px;
  317. }
  318. .tooltip-inner {
  319. font-weight: bold;
  320. color: #ccc;
  321. padding: 3px 6px;
  322. text-align: center;
  323. }
  324. /* Show password toggle */
  325. #show, #dbpassword-toggle {
  326. position: absolute;
  327. right: 1em;
  328. top: .8em;
  329. float: right;
  330. }
  331. #show + label, #dbpassword-toggle + label {
  332. right: 21px;
  333. top: 15px !important;
  334. margin: -14px !important;
  335. padding: 14px !important;
  336. }
  337. #show:checked + label, #dbpassword-toggle:checked + label, #personal-show:checked + label {
  338. opacity: .8;
  339. }
  340. #show + label, #dbpassword-toggle + label, #personal-show + label {
  341. position: absolute !important;
  342. height: 20px;
  343. width: 24px;
  344. background-image: url('../img/actions/toggle.svg?v=1');
  345. background-repeat: no-repeat;
  346. background-position: center;
  347. opacity: .3;
  348. }
  349. #show + label:before, #dbpassword-toggle + label:before, #personal-show + label:before {
  350. display: none;
  351. }
  352. /* Feedback for keyboard focus and mouse hover */
  353. #show:focus + label, #dbpassword-toggle:focus + label, #personal-show:focus + label,
  354. #show + label:hover, #dbpassword-toggle + label:hover, #personal-show + label:hover {
  355. opacity: 1;
  356. }
  357. #pass2, input[name='personal-password-clone'] {
  358. padding: .6em 2.5em .4em .4em;
  359. width: 8em;
  360. }
  361. #personal-show + label {
  362. height: 14px;
  363. margin-top: -25px;
  364. left: 295px;
  365. display: block;
  366. }
  367. #passwordbutton {
  368. margin-left: .5em;
  369. }
  370. /* Dark subtle label text */
  371. p.info,
  372. form fieldset legend,
  373. #datadirContent label,
  374. form fieldset .warning-info,
  375. form input[type='checkbox']+label {
  376. text-align: center;
  377. color: #fff;
  378. }
  379. /* overrides another !important statement that sets this to unreadable black */
  380. form .warning input[type='checkbox']:hover+label,
  381. form .warning input[type='checkbox']:focus+label,
  382. form .warning input[type='checkbox']+label {
  383. color: #fff !important;
  384. }
  385. .two-factor-provider {
  386. display: flex;
  387. border-radius: 3px; /* --border-radius */
  388. margin: 12px 0;
  389. border: 1px solid transparent;
  390. text-align: left;
  391. align-items: center;
  392. text-decoration: none !important;
  393. }
  394. .two-factor-provider:hover,
  395. .two-factor-provider:focus,
  396. .two-factor-provider:active {
  397. border: 1px solid #fff;
  398. }
  399. .two-factor-provider img {
  400. width: 64px;
  401. height: 64px;
  402. padding: 0 12px;
  403. }
  404. .two-factor-provider div {
  405. margin: 12px 0;
  406. }
  407. .two-factor-provider h3 {
  408. margin: 0;
  409. }
  410. .two-factor-provider p {
  411. font-weight: normal;
  412. }
  413. .two-factor-icon {
  414. width: 100px;
  415. display: block;
  416. margin: 0 auto;
  417. }
  418. .two-factor-submit {
  419. width: 100%;
  420. padding: 10px;
  421. margin: 0 0 5px 0;
  422. border-radius: 100px; /* --border-radius-pill */
  423. font-size: 20px;
  424. }
  425. .two-factor-primary {
  426. /* Fix for 'Use backup codes' button not taking correct styles */
  427. padding: 14px !important;
  428. width: 226px;
  429. }
  430. .two-factor-secondary {
  431. display: inline-block;
  432. padding: 12px;
  433. }
  434. /* Additional login options */
  435. #remember_login {
  436. margin: 18px 5px 0 16px !important;
  437. }
  438. .remember-login-container,
  439. .lost-password-container {
  440. display: inline-block;
  441. margin: 10px 0;
  442. text-align: center;
  443. width: 100%;
  444. text-shadow: 0 0 2px rgba(0, 0, 0, .4); /* better readability on bright background */
  445. }
  446. .lost-password-container #lost-password,
  447. .lost-password-container #lost-password-back {
  448. display: inline-block;
  449. font-weight: normal;
  450. padding: 12px;
  451. margin-top: -6px;
  452. color: #fff;
  453. cursor: pointer;
  454. }
  455. #forgot-password {
  456. padding: 11px;
  457. float: right;
  458. color: #fff;
  459. }
  460. /* Alternative Logins */
  461. #alternative-logins legend {
  462. margin-bottom: 10px;
  463. }
  464. #alternative-logins li {
  465. height: 40px;
  466. white-space: nowrap;
  467. padding: 05px;
  468. }
  469. #alternative-logins li a {
  470. width: 100%;
  471. display: inline-block;
  472. text-align: center;
  473. box-sizing: border-box;
  474. background-color: #0082c9;
  475. color: white;
  476. border-radius: 100px; /* --border-radius-pill */
  477. }
  478. /* fixes for update page TODO should be fixed some time in a proper way */
  479. /* this is just for an error while updating the ownCloud instance */
  480. .updateProgress .error {
  481. margin-top: 10px;
  482. margin-bottom: 10px;
  483. }
  484. /* Database selector on install page */
  485. form #selectDbType {
  486. text-align:center;
  487. white-space: nowrap;
  488. margin: 0;
  489. display: flex;
  490. }
  491. form #selectDbType .info {
  492. white-space: normal;
  493. }
  494. form #selectDbType label {
  495. flex-grow: 1;
  496. margin: 0 -1px 5px;
  497. font-size: 12px;
  498. background:#f8f8f8;
  499. color:#888;
  500. cursor:pointer;
  501. border: 1px solid #ddd;
  502. padding: 10px 17px;
  503. }
  504. form #selectDbType label.ui-state-hover,
  505. form #selectDbType label.ui-state-active {
  506. font-weight: normal;
  507. color:#000;
  508. background-color:#e8e8e8;
  509. }
  510. form #selectDbType .ui-visual-focus {
  511. box-shadow: none;
  512. }
  513. form #selectDbType label span {
  514. display: none;
  515. }
  516. /* Nicely grouping input field sets */
  517. .grouptop,
  518. .groupmiddle,
  519. .groupbottom {
  520. position: relative;
  521. -webkit-user-select: none;
  522. -moz-user-select: none;
  523. -ms-user-select: none;
  524. user-select: none;
  525. }
  526. .grouptop input {
  527. margin-bottom: 0 !important;
  528. border-bottom: 0 !important;
  529. border-bottom-left-radius: 0 !important;
  530. border-bottom-right-radius: 0 !important;
  531. }
  532. .groupmiddle input {
  533. margin-top: 0 !important;
  534. margin-bottom: 0 !important;
  535. border-top: 0 !important;
  536. border-bottom: 0 !important;
  537. border-radius: 0 !important;
  538. box-shadow: 0 1px 0 rgba(0,0,0,.1) inset !important;
  539. }
  540. .groupbottom input {
  541. margin-top: 0 !important;
  542. border-top: 0 !important;
  543. border-top-right-radius: 0 !important;
  544. border-top-left-radius: 0 !important;
  545. box-shadow: 0 1px 0 rgba(0,0,0,.1) inset !important;
  546. }
  547. .groupbottom input[type=submit] {
  548. box-shadow: none !important;
  549. }
  550. /* Errors */
  551. /* Warnings and errors are the same */
  552. .body-login-container,
  553. .warning,
  554. .update,
  555. .error {
  556. display: block;
  557. margin-top: 15px;
  558. padding: 15px;
  559. background-color: rgba(0,0,0,.3);
  560. color: #fff;
  561. text-align: left;
  562. word-wrap: break-word;
  563. border-radius: 10px; /* --border-radius-large */
  564. cursor: default;
  565. -moz-user-select: text;
  566. -webkit-user-select: text;
  567. -ms-user-select: text;
  568. user-select: text;
  569. }
  570. .body-login-container h2,
  571. .warning h2,
  572. .update h2,
  573. .error h2 {
  574. color: #fff;
  575. text-align: center;
  576. }
  577. /* TODO: Change all .warning/.update/.error to .body-login-container */
  578. .body-login-container .icon-big {
  579. background-size: 70px;
  580. height: 70px;
  581. }
  582. .body-login-container form {
  583. width: initial;
  584. }
  585. .body-login-container p:not(:last-child) {
  586. margin-bottom: 12px;
  587. }
  588. .warning.updateAnyways {
  589. text-align: center;
  590. }
  591. .warning legend,
  592. .warning a,
  593. .error a {
  594. color: #fff !important;
  595. font-weight: bold !important;
  596. opacity: 1;
  597. }
  598. .error a.button {
  599. color: #555 !important;
  600. display: inline-block;
  601. text-align: center;
  602. }
  603. .error pre {
  604. white-space: pre-wrap;
  605. text-align: left;
  606. }
  607. .error-wide {
  608. width: 700px;
  609. margin-left: -200px !important;
  610. margin-top: 35px;
  611. }
  612. .error-wide .button {
  613. color: black !important;
  614. }
  615. .warning-input {
  616. border-color: #ce3702 !important;
  617. }
  618. a.warning {
  619. cursor: pointer;
  620. }
  621. fieldset.warning legend,
  622. fieldset.update legend {
  623. top: 18px;
  624. position: relative;
  625. }
  626. fieldset.warning legend + p,
  627. fieldset.update legend + p {
  628. margin-top: 12px;
  629. }
  630. /* Various paragraph styles */
  631. .infogroup {
  632. margin: 8px 0;
  633. }
  634. .infogroup:last-child {
  635. margin-bottom: 0;
  636. }
  637. p.info {
  638. margin: 20px auto;
  639. text-shadow: 0 0 2px rgba(0, 0, 0, .4); /* better readability on bright background */
  640. -webkit-user-select: none;
  641. -moz-user-select: none;
  642. -ms-user-select: none;
  643. user-select: none;
  644. }
  645. /* Update */
  646. .update {
  647. width: inherit;
  648. text-align: center;
  649. }
  650. .update .appList {
  651. list-style: disc;
  652. text-align: left;
  653. margin-left: 25px;
  654. margin-right: 25px;
  655. }
  656. .update img.float-spinner {
  657. float: left;
  658. }
  659. .update a.update-show-detailed {
  660. border-bottom: inherit;
  661. }
  662. #update-progress-detailed {
  663. text-align: left;
  664. margin-bottom: 12px;
  665. }
  666. .update-show-detailed {
  667. padding: 12px;
  668. display: block;
  669. opacity: .75;
  670. }
  671. .update-show-detailed .icon-caret-white {
  672. display: inline-block;
  673. vertical-align: middle;
  674. }
  675. #update-progress-icon {
  676. height: 32px;
  677. margin: 10px;
  678. background-size: 32px;
  679. }
  680. /* Icons */
  681. .icon-info-white {
  682. background-image: url('../img/actions/info-white.svg?v=2');
  683. }
  684. .icon-error-white {
  685. background-image: url('../img/actions/error-white.svg?v=1');
  686. }
  687. .icon-caret-white {
  688. background-image: url('../img/actions/caret-white.svg?v=1');
  689. }
  690. .icon-confirm {
  691. background-image: url('../img/actions/confirm.svg?v=2');
  692. }
  693. .icon-confirm-white {
  694. background-image: url('../img/actions/confirm-white.svg?v=2');
  695. }
  696. .icon-checkmark-white {
  697. background-image: url('../img/actions/checkmark-white.svg?v=1');
  698. }
  699. /* Loading */
  700. .float-spinner {
  701. margin-top: -32px;
  702. padding-top: 32px;
  703. height: 32px;
  704. display: none;
  705. }
  706. [class^='icon-'], [class*=' icon-'] {
  707. background-repeat: no-repeat;
  708. background-position: center;
  709. min-width: 16px;
  710. min-height: 16px;
  711. }
  712. .loading, .loading-small, .icon-loading, .icon-loading-dark, .icon-loading-small, .icon-loading-small-dark {
  713. position: relative;
  714. }
  715. .loading:after, .loading-small:after, .icon-loading:after, .icon-loading-dark:after, .icon-loading-small:after, .icon-loading-small-dark:after {
  716. z-index: 2;
  717. content: '';
  718. height: 32px;
  719. width: 32px;
  720. margin: -17px 0 0 -17px;
  721. position: absolute;
  722. top: 50%;
  723. left: 50%;
  724. border-radius: 100%;
  725. -webkit-animation: rotate .8s infinite linear;
  726. animation: rotate .8s infinite linear;
  727. -webkit-transform-origin: center;
  728. -ms-transform-origin: center;
  729. transform-origin: center;
  730. }
  731. .loading:after, .loading-small:after, .icon-loading:after, .icon-loading-dark:after, .icon-loading-small:after, .icon-loading-small-dark:after {
  732. border: 2px solid rgba(150, 150, 150, 0.5);
  733. border-top-color: #646464;
  734. }
  735. .icon-loading-dark:after, .icon-loading-small-dark:after {
  736. border: 2px solid rgba(187, 187, 187, 0.5);
  737. border-top-color: #bbb;
  738. }
  739. .icon-loading-small:after, .icon-loading-small-dark:after {
  740. height: 16px;
  741. width: 16px;
  742. margin: -9px 0 0 -9px;
  743. }
  744. /* Css replaced elements don't have ::after nor ::before */
  745. 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 {
  746. background-image: url('../img/loading.gif');
  747. }
  748. 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 {
  749. background-image: url('../img/loading-dark.gif');
  750. }
  751. 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 {
  752. background-image: url('../img/loading-small.gif');
  753. }
  754. 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 {
  755. background-image: url('../img/loading-small-dark.gif');
  756. }
  757. @-webkit-keyframes rotate {
  758. from {
  759. -webkit-transform: rotate(0deg);
  760. transform: rotate(0deg);
  761. }
  762. to {
  763. -webkit-transform: rotate(360deg);
  764. transform: rotate(360deg);
  765. }
  766. }
  767. @keyframes rotate {
  768. from {
  769. -webkit-transform: rotate(0deg);
  770. transform: rotate(0deg);
  771. }
  772. to {
  773. -webkit-transform: rotate(360deg);
  774. transform: rotate(360deg);
  775. }
  776. }
  777. /* FOOTER */
  778. footer {
  779. height: 70px;
  780. margin-top: auto;
  781. }
  782. footer .info .entity-name {
  783. font-weight: bold;
  784. }
  785. .hidden {
  786. display: none;
  787. }
  788. /* keep the labels for screen readers but hide them since we use placeholders */
  789. label.infield,
  790. .hidden-visually {
  791. position: absolute;
  792. left:-10000px;
  793. top: auto;
  794. width: 1px;
  795. height: 1px;
  796. overflow: hidden;
  797. }
  798. a.legal {
  799. font-size: smaller;
  800. }