You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

guest.css 21KB

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