default.css 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. /** SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors */
  2. /** SPDX-License-Identifier: AGPL-3.0-or-later */
  3. :root {
  4. --color-main-background: #ffffff;
  5. --color-main-background-rgb: 255,255,255;
  6. --color-main-background-translucent: rgba(var(--color-main-background-rgb), .97);
  7. --color-main-background-blur: rgba(var(--color-main-background-rgb), .8);
  8. --filter-background-blur: blur(25px);
  9. --gradient-main-background: var(--color-main-background) 0%, var(--color-main-background-translucent) 85%, transparent 100%;
  10. --color-background-hover: #f5f5f5;
  11. /** Can be used e.g. to colorize selected table rows */
  12. --color-background-dark: #ededed;
  13. /** This should only be used for elements, not as a text background! Otherwise it will not work for accessibility. */
  14. --color-background-darker: #dbdbdb;
  15. --color-placeholder-light: #e6e6e6;
  16. --color-placeholder-dark: #cccccc;
  17. --color-main-text: #222222;
  18. --color-text-maxcontrast: #6b6b6b;
  19. --color-text-maxcontrast-default: #6b6b6b;
  20. --color-text-maxcontrast-background-blur: #595959;
  21. /** @deprecated use ` --color-main-text` instead */
  22. --color-text-light: var(--color-main-text);
  23. /** @deprecated use `--color-text-maxcontrast` instead */
  24. --color-text-lighter: var(--color-text-maxcontrast);
  25. --color-scrollbar: var(--color-border-maxcontrast) transparent;
  26. --color-error: #DB0606;
  27. --color-error-rgb: 219,6,6;
  28. --color-error-hover: #df2525;
  29. --color-error-text: #c20505;
  30. --color-warning: #A37200;
  31. --color-warning-rgb: 163,114,0;
  32. --color-warning-hover: #8a6000;
  33. --color-warning-text: #7f5900;
  34. --color-success: #2d7b41;
  35. --color-success-rgb: 45,123,65;
  36. --color-success-hover: #428854;
  37. --color-success-text: #286c39;
  38. --color-info: #0071ad;
  39. --color-info-rgb: 0,113,173;
  40. --color-info-hover: #197fb5;
  41. --color-info-text: #006499;
  42. --color-favorite: #A37200;
  43. --color-loading-light: #cccccc;
  44. --color-loading-dark: #444444;
  45. --color-box-shadow-rgb: 77,77,77;
  46. --color-box-shadow: rgba(var(--color-box-shadow-rgb), 0.5);
  47. --color-border: #ededed;
  48. --color-border-dark: #dbdbdb;
  49. --color-border-maxcontrast: #7d7d7d;
  50. --font-face: system-ui, -apple-system, 'Segoe UI', Roboto, Oxygen-Sans, Cantarell, Ubuntu, 'Helvetica Neue', 'Noto Sans', 'Liberation Sans', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
  51. --default-font-size: 15px;
  52. --font-size-small: 13px;
  53. /* 1.5 x font-size for accessibility */
  54. --default-line-height: 1.5;
  55. --animation-quick: 100ms;
  56. --animation-slow: 300ms;
  57. /** Border width for input elements such as text fields and selects */
  58. --border-width-input: 1px;
  59. --border-width-input-focused: 2px;
  60. /* Border radii (new values) */
  61. --border-radius-small: 4px; /* For smaller elements */
  62. --border-radius-element: 8px; /* For interactive elements such as buttons, input, navigation and list items */
  63. --border-radius-container: 12px; /* For smaller containers like action menus */
  64. --border-radius-container-large: 16px; /* For larger containers like body or modals */
  65. /* Border radii (deprecated) */
  66. --border-radius: var(--border-radius-small);
  67. --border-radius-large: var(--border-radius-element);
  68. --border-radius-rounded: 28px;
  69. --border-radius-pill: 100px;
  70. --default-clickable-area: 34px;
  71. --clickable-area-large: 48px;
  72. --clickable-area-small: 24px;
  73. --default-grid-baseline: 4px;
  74. --header-height: 50px;
  75. --header-menu-item-height: 44px;
  76. --navigation-width: 300px;
  77. --sidebar-min-width: 300px;
  78. --sidebar-max-width: 500px;
  79. /* Border radius of the body container */
  80. --body-container-radius: var(--border-radius-container-large);
  81. /* Margin of the body container */
  82. --body-container-margin: calc(var(--default-grid-baseline) * 2);
  83. /* Height of the body container to fully fill the view port */
  84. --body-height: calc(100% - env(safe-area-inset-bottom) - var(--header-height) - var(--body-container-margin));
  85. --breakpoint-mobile: 1024px;
  86. --background-invert-if-dark: no;
  87. --background-invert-if-bright: invert(100%);
  88. --background-image-invert-if-bright: no;
  89. --primary-invert-if-bright: no;
  90. --primary-invert-if-dark: invert(100%);
  91. --color-primary: #00679e;
  92. --color-primary-text: #ffffff;
  93. --color-primary-hover: #3285b1;
  94. --color-primary-light: #e5eff5;
  95. --color-primary-light-text: #00293f;
  96. --color-primary-light-hover: #dbe4ea;
  97. --color-primary-element: #00679e;
  98. --color-primary-element-hover: #005a8a;
  99. --color-primary-element-text: #ffffff;
  100. --color-primary-element-text-dark: #f5f5f5;
  101. --color-primary-element-light: #e5eff5;
  102. --color-primary-element-light-hover: #dbe4ea;
  103. --color-primary-element-light-text: #00293f;
  104. --gradient-primary-background: linear-gradient(40deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
  105. --color-background-plain: #00679e;
  106. --color-background-plain-text: #ffffff;
  107. --image-background: url('/apps/theming/img/background/jenna-kim-the-globe.webp');
  108. }