1
0

guest.css 20 KB

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