guest.css 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640
  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, body { 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: 400;
  18. font-size: .8em;
  19. line-height: 1.6em;
  20. font-family: 'Open Sans', Frutiger, Calibri, 'Myriad Pro', Myriad, sans-serif;
  21. color: #000;
  22. text-align: center;
  23. background-color: #0082c9;
  24. background-image: url('../img/background.jpg?v=1');
  25. background-position: 50% 50%;
  26. background-repeat: no-repeat;
  27. background-size: cover;
  28. background-attachment: fixed; /* fix background gradient */
  29. height: 100%; /* fix sticky footer */
  30. }
  31. /* Various fonts settings */
  32. p.info a,
  33. #showAdvanced {
  34. color: #fff;
  35. }
  36. #remember_login:hover+label,
  37. #forgot-password:hover,
  38. p.info a:hover {
  39. opacity: .6;
  40. }
  41. em {
  42. font-style: normal;
  43. -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=50)';
  44. opacity: .5;
  45. }
  46. /* heading styles */
  47. h2 {
  48. font-size: 20px;
  49. font-weight: 300;
  50. margin-bottom: 12px;
  51. line-height: 140%;
  52. }
  53. h3 {
  54. font-size: 15px;
  55. font-weight: 300;
  56. margin: 12px 0;
  57. }
  58. /* Global content */
  59. #header {
  60. padding-top: 100px;
  61. }
  62. #header .logo {
  63. background-image: url('../img/logo-icon.svg?v=1');
  64. background-repeat: no-repeat;
  65. background-size: 175px;
  66. background-position: center;
  67. width: 252px;
  68. height: 120px;
  69. margin: 0 auto;
  70. }
  71. .wrapper {
  72. min-height: 100%;
  73. margin: 0 auto -70px;
  74. width: 300px;
  75. }
  76. .v-align {
  77. width: inherit;
  78. }
  79. /* Default FORM */
  80. form {
  81. position: relative;
  82. width: 280px;
  83. margin: 16px auto;
  84. padding: 0;
  85. }
  86. form fieldset {
  87. margin-bottom: 20px;
  88. text-align: left;
  89. -webkit-user-select: none;
  90. -moz-user-select: none;
  91. -ms-user-select: none;
  92. user-select: none;
  93. }
  94. form #sqliteInformation {
  95. margin-top: -20px;
  96. margin-bottom: 20px;
  97. }
  98. form #adminaccount {
  99. margin-bottom: 15px;
  100. }
  101. form fieldset legend, #datadirContent label {
  102. width: 100%;
  103. }
  104. #datadirContent label {
  105. display: block;
  106. margin: 0;
  107. }
  108. form #datadirField legend {
  109. margin-bottom: 15px;
  110. }
  111. /* View more button */
  112. #showAdvanced {
  113. padding: 13px; /* increase clickable area of Advanced dropdown */
  114. }
  115. #showAdvanced img {
  116. vertical-align: middle; /* adjust position of Advanced dropdown arrow */
  117. }
  118. /* Buttons and input */
  119. input, textarea, select, button {
  120. font-family: 'Open Sans', Frutiger, Calibri, 'Myriad Pro', Myriad, sans-serif;
  121. }
  122. input {
  123. font-size: 20px;
  124. margin: 5px;
  125. padding: 11px 10px 9px;
  126. outline: none;
  127. border-radius: 3px;
  128. }
  129. input[type='submit'],
  130. input[type='button'],
  131. button, .button,
  132. select {
  133. width: auto;
  134. min-width: 25px;
  135. padding: 5px;
  136. background-color: rgba(240,240,240,.9);
  137. font-weight: 600;
  138. color: #555;
  139. border: 1px solid rgba(240,240,240,.9);
  140. cursor: pointer;
  141. }
  142. input[type='text'],
  143. input[type='tel'],
  144. input[type='password'],
  145. input[type='email'] {
  146. width: 249px;
  147. background: #fff;
  148. color: #555;
  149. cursor: text;
  150. font-family: inherit;
  151. -webkit-appearance: textfield;
  152. -moz-appearance: textfield;
  153. box-sizing: content-box;
  154. border: none;
  155. font-weight: 300;
  156. }
  157. input.login {
  158. width: 269px;
  159. background-position: right 16px center;
  160. }
  161. input[type='submit'],
  162. input.updateButton,
  163. input.update-continue {
  164. padding: 10px 20px; /* larger log in and installation buttons */
  165. }
  166. input.primary,
  167. button.primary {
  168. border: 1px solid #0082c9;
  169. background-color: #00a2e9;
  170. color: #fff;
  171. }
  172. /* Checkboxes - white only for login */
  173. input[type='checkbox'].checkbox {
  174. position: absolute;
  175. left: -10000px;
  176. top: auto;
  177. width: 1px;
  178. height: 1px;
  179. overflow: hidden;
  180. }
  181. input[type='checkbox'].checkbox + label {
  182. user-select: none;
  183. }
  184. input[type='checkbox'].checkbox:disabled + label,
  185. input[type='checkbox'].checkbox:disabled + label:before {
  186. cursor: default;
  187. }
  188. input[type='checkbox'].checkbox + label:before {
  189. content: '';
  190. display: inline-block;
  191. vertical-align: middle;
  192. margin: 3px;
  193. margin-top: 1px;
  194. border: 1px solid #888;
  195. border-radius: 1px;
  196. height: 10px;
  197. width: 10px;
  198. background-position: center;
  199. }
  200. input[type='checkbox'].checkbox--white + label:before {
  201. border-color: #ddd;
  202. }
  203. input[type='checkbox'].checkbox--white:not(:disabled):not(:checked) + label:hover:before,
  204. input[type='checkbox'].checkbox--white:focus + label:before {
  205. border-color: #fff;
  206. }
  207. input[type='checkbox'].checkbox--white:checked + label:before {
  208. background-color: #eee;
  209. border-color: #eee;
  210. }
  211. input[type='checkbox'].checkbox--white:disabled + label:before {
  212. background-color: #666 !important;
  213. border-color: #999 !important;
  214. }
  215. input[type='checkbox'].checkbox--white:checked:disabled + label:before {
  216. border-color: #666;
  217. background-color: #222;
  218. }
  219. input[type='checkbox'].checkbox--white:checked + label:before {
  220. background-color: transparent !important;
  221. border-color: #fff !important;
  222. background-image: url('../img/actions/checkbox-mark-white.svg');
  223. }
  224. /* keep the labels for screen readers but hide them since we use placeholders */
  225. label.infield {
  226. display: none;
  227. }
  228. /* Password strength meter */
  229. .strengthify-wrapper {
  230. display: inline-block;
  231. position: relative;
  232. left: 15px;
  233. top: -23px;
  234. width: 250px;
  235. }
  236. .tooltip-inner {
  237. font-weight: bold;
  238. color: #ccc;
  239. padding: 3px 6px;
  240. text-align: center;
  241. }
  242. /* Show password toggle */
  243. #show, #dbpassword-toggle {
  244. position: absolute;
  245. right: 1em;
  246. top: .8em;
  247. float: right;
  248. }
  249. #show, #dbpassword-toggle, #personal-show {
  250. display: none;
  251. }
  252. #show + label, #dbpassword-toggle + label {
  253. right: 21px;
  254. top: 15px !important;
  255. margin: -14px !important;
  256. padding: 14px !important;
  257. }
  258. #show:checked + label, #dbpassword-toggle:checked + label, #personal-show:checked + label {
  259. -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=80)';
  260. opacity: .8;
  261. }
  262. #show + label, #dbpassword-toggle + label, #personal-show + label {
  263. position: absolute !important;
  264. height: 20px;
  265. width: 24px;
  266. background-image: url('../img/actions/toggle.svg?v=1');
  267. background-repeat: no-repeat;
  268. background-position: center;
  269. -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=30)';
  270. opacity: .3;
  271. }
  272. #show + label:before, #dbpassword-toggle + label:before, #personal-show + label:before {
  273. display: none;
  274. }
  275. #pass2, input[name='personal-password-clone'] {
  276. padding: .6em 2.5em .4em .4em;
  277. width: 8em;
  278. }
  279. #personal-show + label {
  280. height: 14px;
  281. margin-top: -25px;
  282. left: 295px;
  283. display: block;
  284. }
  285. #passwordbutton {
  286. margin-left: .5em;
  287. }
  288. /* Dark subtle label text */
  289. p.info,
  290. form fieldset legend,
  291. #datadirContent label,
  292. form fieldset .warning-info,
  293. form input[type='checkbox']+label {
  294. text-align: center;
  295. color: #fff;
  296. }
  297. /* overrides another !important statement that sets this to unreadable black */
  298. form .warning input[type='checkbox']:hover+label,
  299. form .warning input[type='checkbox']:focus+label,
  300. form .warning input[type='checkbox']+label {
  301. color: #fff !important;
  302. }
  303. /* TOTP */
  304. .two-factor-header {
  305. text-align: center;
  306. }
  307. .two-factor-provider {
  308. text-align: center;
  309. width: 258px !important;
  310. display: inline-block;
  311. margin-bottom: 0 !important;
  312. background-color: rgba(0, 0, 0, 0.3) !important;
  313. border: none !important;
  314. }
  315. .two-factor-link {
  316. display: inline-block;
  317. padding: 12px;
  318. color: rgba(255, 255, 255, 0.75);
  319. }
  320. /* Additional login options */
  321. #remember_login {
  322. margin: 18px 5px 0 16px !important;
  323. }
  324. .remember-login-container {
  325. display: inline-block;
  326. margin: 10px 0;
  327. text-align: center;
  328. width: 100%;
  329. }
  330. #forgot-password {
  331. padding: 11px;
  332. float: right;
  333. color: #fff;
  334. }
  335. /* Alternative Logins */
  336. #alternative-logins legend { margin-bottom:10px; }
  337. #alternative-logins li { height:40px; display:inline-block; white-space:nowrap; }
  338. /* fixes for update page TODO should be fixed some time in a proper way */
  339. /* this is just for an error while updating the ownCloud instance */
  340. .updateProgress .error {
  341. margin-top: 10px;
  342. margin-bottom: 10px;
  343. }
  344. /* Database selector on install page */
  345. form #selectDbType {
  346. text-align:center;
  347. white-space: nowrap;
  348. margin: 0;
  349. }
  350. form #selectDbType .info {
  351. white-space: normal;
  352. }
  353. form #selectDbType label {
  354. position: static;
  355. margin: 0 -3px 5px;
  356. font-size: 12px;
  357. background:#f8f8f8;
  358. color:#888;
  359. cursor:pointer;
  360. border: 1px solid #ddd;
  361. }
  362. form #selectDbType label span {
  363. cursor: pointer;
  364. padding: 10px 20px;
  365. }
  366. form #selectDbType label.ui-state-hover,
  367. form #selectDbType label.ui-state-active {
  368. color:#000;
  369. background-color:#e8e8e8; }
  370. /* Nicely grouping input field sets */
  371. .grouptop,
  372. .groupmiddle,
  373. .groupbottom {
  374. position: relative;
  375. -webkit-user-select: none;
  376. -moz-user-select: none;
  377. -ms-user-select: none;
  378. user-select: none;
  379. }
  380. .grouptop input {
  381. margin-bottom: 0 !important;
  382. border-bottom: 0 !important;
  383. border-bottom-left-radius: 0 !important;
  384. border-bottom-right-radius: 0 !important;
  385. }
  386. .groupmiddle input {
  387. margin-top: 0 !important;
  388. margin-bottom: 0 !important;
  389. border-top: 0 !important;
  390. border-bottom: 0 !important;
  391. border-radius: 0 !important;
  392. box-shadow: 0 1px 0 rgba(0,0,0,.1) inset !important;
  393. }
  394. .groupbottom input {
  395. margin-top: 0 !important;
  396. border-top: 0 !important;
  397. border-top-right-radius: 0 !important;
  398. border-top-left-radius: 0 !important;
  399. box-shadow: 0 1px 0 rgba(0,0,0,.1) inset !important;
  400. }
  401. .groupbottom input[type=submit] {
  402. box-shadow: none !important;
  403. }
  404. /* Errors */
  405. /* Warnings and errors are the same */
  406. .warning,
  407. .update,
  408. .error {
  409. display: block;
  410. padding: 10px;
  411. background-color: rgba(0,0,0,.3);
  412. color: #fff;
  413. text-align: left;
  414. border-radius: 3px;
  415. cursor: default;
  416. }
  417. .warning legend,
  418. .warning a,
  419. .error a {
  420. color: #fff !important;
  421. font-weight: 600 !important;
  422. -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=100)';
  423. opacity: 1;
  424. }
  425. .error a.button {
  426. color: #555 !important;
  427. display: inline-block;
  428. text-align: center;
  429. }
  430. .error pre {
  431. white-space: pre-wrap;
  432. text-align: left;
  433. }
  434. .error-wide {
  435. width: 700px;
  436. margin-left: -200px !important;
  437. margin-top: 35px;
  438. }
  439. .error-wide .button {
  440. color: black !important;
  441. }
  442. .warning-input {
  443. border-color: #ce3702 !important;
  444. }
  445. a.warning {
  446. cursor: pointer;
  447. }
  448. fieldset.warning legend,
  449. fieldset.update legend {
  450. top: 18px;
  451. position: relative;
  452. }
  453. fieldset.warning legend + p,
  454. fieldset.update legend + p {
  455. margin-top: 12px;
  456. }
  457. /* Various paragraph styles */
  458. .infogroup {
  459. margin-bottom: 15px;
  460. }
  461. p.info {
  462. margin: 0 auto;
  463. padding-top: 20px;
  464. -webkit-user-select: none;
  465. -moz-user-select: none;
  466. -ms-user-select: none;
  467. user-select: none;
  468. }
  469. /* Update */
  470. .update {
  471. width: inherit;
  472. text-align: center;
  473. }
  474. .update .appList {
  475. list-style: disc;
  476. text-align: left;
  477. margin-left: 25px;
  478. margin-right: 25px;
  479. }
  480. .update img.float-spinner {
  481. float: left;
  482. }
  483. .update h2 {
  484. margin: 0 0 20px;
  485. }
  486. .update a {
  487. color: #fff;
  488. border-bottom: 1px solid #aaa;
  489. }
  490. .update a.update-show-detailed {
  491. border-bottom: inherit;
  492. }
  493. #update-progress-detailed {
  494. text-align: left;
  495. }
  496. .update-show-detailed {
  497. padding: 13px;
  498. display: block;
  499. opacity: .75;
  500. }
  501. #update-progress-icon {
  502. height: 32px;
  503. margin: 10px;
  504. background-size: 32px;
  505. }
  506. /* Icons */
  507. .icon-info-white {
  508. background-image: url('../img/actions/info-white.svg?v=2');
  509. }
  510. .icon-confirm {
  511. background-image: url('../img/actions/confirm.svg?v=2');
  512. }
  513. .icon-confirm-white {
  514. background-image: url('../img/actions/confirm-white.svg?v=2');
  515. }
  516. .icon-checkmark-white {
  517. background-image: url('../img/actions/checkmark-white.svg?v=1');
  518. }
  519. /* Loading */
  520. .float-spinner {
  521. margin-top: -32px;
  522. padding-top: 32px;
  523. }
  524. [class^='icon-'], [class*=' icon-'] {
  525. background-repeat: no-repeat;
  526. background-position: center;
  527. min-width: 16px;
  528. min-height: 16px;
  529. }
  530. .loading, .loading-small, .icon-loading, .icon-loading-dark, .icon-loading-small, .icon-loading-small-dark {
  531. position: relative;
  532. }
  533. .loading:after, .loading-small:after, .icon-loading:after, .icon-loading-dark:after, .icon-loading-small:after, .icon-loading-small-dark:after {
  534. z-index: 2;
  535. content: '';
  536. height: 32px;
  537. width: 32px;
  538. margin: -17px 0 0 -17px;
  539. position: absolute;
  540. top: 50%;
  541. left: 50%;
  542. border-radius: 100%;
  543. -webkit-animation: rotate .8s infinite linear;
  544. animation: rotate .8s infinite linear;
  545. -webkit-transform-origin: center;
  546. -ms-transform-origin: center;
  547. transform-origin: center;
  548. }
  549. .loading:after, .loading-small:after, .icon-loading:after, .icon-loading-dark:after, .icon-loading-small:after, .icon-loading-small-dark:after {
  550. border: 2px solid rgba(150, 150, 150, 0.5);
  551. border-top-color: #646464;
  552. }
  553. .icon-loading-dark:after, .icon-loading-small-dark:after {
  554. border: 2px solid rgba(187, 187, 187, 0.5);
  555. border-top-color: #bbb;
  556. }
  557. .icon-loading-small:after, .icon-loading-small-dark:after {
  558. height: 16px;
  559. width: 16px;
  560. margin: -9px 0 0 -9px;
  561. }
  562. /* Css replaced elements don't have ::after nor ::before */
  563. img.icon-loading, object.icon-loading, video.icon-loading, button.icon-loading, textarea.icon-loading, input.icon-loading, select.icon-loading {
  564. background-image: url('../img/loading.gif');
  565. }
  566. 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 {
  567. background-image: url('../img/loading-dark.gif');
  568. }
  569. 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 {
  570. background-image: url('../img/loading-small.gif');
  571. }
  572. 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 {
  573. background-image: url('../img/loading-small-dark.gif');
  574. }
  575. @-webkit-keyframes rotate {
  576. from {
  577. -webkit-transform: rotate(0deg);
  578. transform: rotate(0deg);
  579. }
  580. to {
  581. -webkit-transform: rotate(360deg);
  582. transform: rotate(360deg);
  583. }
  584. }
  585. @keyframes rotate {
  586. from {
  587. -webkit-transform: rotate(0deg);
  588. transform: rotate(0deg);
  589. }
  590. to {
  591. -webkit-transform: rotate(360deg);
  592. transform: rotate(360deg);
  593. }
  594. }
  595. /* FOOTER */
  596. footer,
  597. .push {
  598. height: 70px;
  599. }
  600. .hidden {
  601. display: none;
  602. }
  603. .hidden-visually {
  604. position: absolute;
  605. left:-10000px;
  606. top: auto;
  607. width: 1px;
  608. height: 1px;
  609. overflow: hidden;
  610. }