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.

server.css 3.3KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. /**
  2. * @author Jan-Christoph Borchardt, http://jancborchardt.net
  3. * @copyright Copyright (c) 2015, ownCloud, Inc.
  4. * @license AGPL-3.0
  5. *
  6. * This code is free software: you can redistribute it and/or modify
  7. * it under the terms of the GNU Affero General Public License, version 3,
  8. * as published by the Free Software Foundation.
  9. *
  10. * This program is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. * GNU Affero General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU Affero General Public License, version 3,
  16. * along with this program. If not, see <http://www.gnu.org/licenses/>
  17. */
  18. /* header color */
  19. /* this is the main brand color */
  20. #body-user #header,
  21. #body-settings #header,
  22. #body-public #header {
  23. background-color: #745bca;
  24. }
  25. /* log in screen background color */
  26. /* gradient of the header color and a brighter shade */
  27. /* can also be a flat color or an image */
  28. #body-login {
  29. background: #745bca; /* Old browsers */
  30. background: -moz-linear-gradient(top, #947bea 0%, #745bca 100%); /* FF3.6+ */
  31. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#947bea), color-stop(100%,#745bca)); /* Chrome,Safari4+ */
  32. background: -webkit-linear-gradient(top, #947bea 0%,#745bca 100%); /* Chrome10+,Safari5.1+ */
  33. background: -o-linear-gradient(top, #947bea 0%,#745bca 100%); /* Opera11.10+ */
  34. background: -ms-linear-gradient(top, #947bea 0%,#745bca 100%); /* IE10+ */
  35. background: linear-gradient(top, #947bea 0%,#745bca 100%); /* W3C */
  36. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#947bea', endColorstr='#745bca',GradientType=0 ); /* IE6-9 */
  37. }
  38. /* primary action button, use sparingly */
  39. /* header color as border, brighter shade again, here as background */
  40. .primary,
  41. input[type="submit"].primary,
  42. input[type="button"].primary,
  43. button.primary,
  44. .button.primary,
  45. .primary:active,
  46. input[type="submit"].primary:active,
  47. input[type="button"].primary:active,
  48. button.primary:active,
  49. .button.primary:active {
  50. border-color: #745bca;
  51. background-color: #947bea;
  52. }
  53. .primary:hover,
  54. input[type="submit"].primary:hover,
  55. input[type="button"].primary:hover,
  56. button.primary:hover,
  57. .button.primary:hover,
  58. .primary:focus,
  59. input[type="submit"].primary:focus,
  60. input[type="button"].primary:focus,
  61. button.primary:focus,
  62. .button.primary:focus {
  63. background-color: #8b75e4;
  64. }
  65. .primary:active, input[type="submit"].primary:active, input[type="button"].primary:active, button.primary:active, .button.primary:active,
  66. .primary:disabled, input[type="submit"].primary:disabled, input[type="button"].primary:disabled, button.primary:disabled, .button.primary:disabled,
  67. .primary:disabled:hover, input[type="submit"].primary:disabled:hover, input[type="button"].primary:disabled:hover, button.primary:disabled:hover, .button.primary:disabled:hover,
  68. .primary:disabled:focus, input[type="submit"].primary:disabled:focus, input[type="button"].primary:disabled:focus, button.primary:disabled:focus, .button.primary:disabled:focus {
  69. background-color: #745bca;
  70. }
  71. /* use logos from theme */
  72. #header .logo,
  73. #firstrunwizard .logo {
  74. background-image: url('../img/logo.svg');
  75. width: 256px;
  76. height: 128px;
  77. }
  78. #header .logo-icon {
  79. width: 62px;
  80. height: 34px;
  81. }