guest.css 14 KB

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