server.css 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. /**
  2. * SPDX-FileCopyrightText: 2017-2024 Nextcloud GmbH and Nextcloud contributors
  3. * SPDX-FileCopyrightText: 2015 ownCloud, Inc.
  4. * SPDX-License-Identifier: AGPL-3.0-only
  5. */
  6. /* header color */
  7. /* this is the main brand color */
  8. #body-user #header,
  9. #body-settings #header,
  10. #body-public #header {
  11. background-color: #745bca;
  12. }
  13. /* log in screen background color */
  14. /* gradient of the header color and a brighter shade */
  15. /* can also be a flat color or an image */
  16. #body-login {
  17. background: #745bca; /* Old browsers */
  18. background: -moz-linear-gradient(top, #947bea 0%, #745bca 100%); /* FF3.6+ */
  19. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#947bea), color-stop(100%,#745bca)); /* Chrome,Safari4+ */
  20. background: -webkit-linear-gradient(top, #947bea 0%,#745bca 100%); /* Chrome10+,Safari5.1+ */
  21. background: -o-linear-gradient(top, #947bea 0%,#745bca 100%); /* Opera11.10+ */
  22. background: -ms-linear-gradient(top, #947bea 0%,#745bca 100%); /* IE10+ */
  23. background: linear-gradient(top, #947bea 0%,#745bca 100%); /* W3C */
  24. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#947bea', endColorstr='#745bca',GradientType=0 ); /* IE6-9 */
  25. }
  26. /* primary action button, use sparingly */
  27. /* header color as border, brighter shade again, here as background */
  28. .primary,
  29. input[type="submit"].primary,
  30. input[type="button"].primary,
  31. button.primary,
  32. .button.primary,
  33. .primary:active,
  34. input[type="submit"].primary:active,
  35. input[type="button"].primary:active,
  36. button.primary:active,
  37. .button.primary:active {
  38. border-color: #745bca;
  39. background-color: #947bea;
  40. }
  41. .primary:hover,
  42. input[type="submit"].primary:hover,
  43. input[type="button"].primary:hover,
  44. button.primary:hover,
  45. .button.primary:hover,
  46. .primary:focus,
  47. input[type="submit"].primary:focus,
  48. input[type="button"].primary:focus,
  49. button.primary:focus,
  50. .button.primary:focus {
  51. background-color: #8b75e4;
  52. }
  53. .primary:active, input[type="submit"].primary:active, input[type="button"].primary:active, button.primary:active, .button.primary:active,
  54. .primary:disabled, input[type="submit"].primary:disabled, input[type="button"].primary:disabled, button.primary:disabled, .button.primary:disabled,
  55. .primary:disabled:hover, input[type="submit"].primary:disabled:hover, input[type="button"].primary:disabled:hover, button.primary:disabled:hover, .button.primary:disabled:hover,
  56. .primary:disabled:focus, input[type="submit"].primary:disabled:focus, input[type="button"].primary:disabled:focus, button.primary:disabled:focus, .button.primary:disabled:focus {
  57. background-color: #745bca;
  58. }
  59. /* use logos from theme */
  60. #header .logo,
  61. #firstrunwizard .logo {
  62. background-image: url('../img/logo.svg');
  63. width: 256px;
  64. height: 128px;
  65. }
  66. #header .logo-icon {
  67. width: 62px;
  68. height: 34px;
  69. }