guest.css 21 KB

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