8
0

custom.css 4.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. /*
  2. * Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
  3. * For licensing, see LICENSE.md.
  4. */
  5. :root {
  6. /* Overrides the border-radius setting in the theme. */
  7. --ck-border-radius: 4px;
  8. /* Overrides the default font size in the theme. */
  9. --ck-font-size-base: 14px;
  10. /* Helper variables to avoid duplication in the colors. */
  11. --ck-custom-background: hsl(270, 1%, 29%);
  12. --ck-custom-foreground: hsl(255, 3%, 18%);
  13. --ck-custom-border: hsl(300, 1%, 22%);
  14. --ck-custom-white: hsl(0, 0%, 100%);
  15. /* -- Overrides generic colors -------------------------------------------------------------- */
  16. --ck-color-base-foreground: var(--ck-custom-background);
  17. --ck-color-focus-border: hsl(208, 90%, 62%);
  18. --ck-color-text: hsl(0, 0%, 98%);
  19. --ck-color-shadow-drop: hsla(0, 0%, 0%, 0.2);
  20. --ck-color-shadow-inner: hsla(0, 0%, 0%, 0.1);
  21. /* -- Overrides the default .ck-button class colors ----------------------------------------- */
  22. --ck-color-button-default-background: var(--ck-custom-background);
  23. --ck-color-button-default-focus-background: hsl(270, 1%, 22%);
  24. --ck-color-button-default-active-background: hsl(270, 2%, 20%);
  25. --ck-color-button-default-active-shadow: hsl(270, 2%, 23%);
  26. --ck-color-button-default-disabled-background: var(--ck-custom-background);
  27. --ck-color-button-on-background: var(--ck-custom-foreground);
  28. --ck-color-button-on-focus-background: hsl(255, 4%, 16%);
  29. --ck-color-button-on-active-background: hsl(255, 4%, 14%);
  30. --ck-color-button-on-active-shadow: hsl(240, 3%, 19%);
  31. --ck-color-button-on-disabled-background: var(--ck-custom-foreground);
  32. --ck-color-button-action-background: hsl(168, 76%, 42%);
  33. --ck-color-button-action-focus-background: hsl(168, 76%, 38%);
  34. --ck-color-button-action-active-background: hsl(168, 76%, 36%);
  35. --ck-color-button-action-active-shadow: hsl(168, 75%, 34%);
  36. --ck-color-button-action-disabled-background: hsl(168, 76%, 42%);
  37. --ck-color-button-action-text: var(--ck-custom-white);
  38. /* -- Overrides the default .ck-dropdown class colors --------------------------------------- */
  39. --ck-color-dropdown-panel-background: var(--ck-custom-background);
  40. --ck-color-dropdown-panel-border: var(--ck-custom-foreground);
  41. /* -- Overrides the default .ck-input class colors ------------------------------------------ */
  42. --ck-color-input-background: var(--ck-custom-foreground);
  43. --ck-color-input-border: hsl(257, 3%, 43%);
  44. --ck-color-input-text: hsl(0, 0%, 98%);
  45. --ck-color-input-disabled-background: hsl(255, 4%, 21%);
  46. --ck-color-input-disabled-border: hsl(250, 3%, 38%);
  47. --ck-color-input-disabled-text: hsl(0, 0%, 46%);
  48. /* -- Overrides the default .ck-list class colors ------------------------------------------- */
  49. --ck-color-list-background: var(--ck-custom-background);
  50. --ck-color-list-item-background-hover: var(--ck-custom-foreground);
  51. --ck-color-list-item-background-active: hsl(208, 88%, 52%);
  52. --ck-color-list-item-text-active: var(--ck-custom-white);
  53. /* -- Overrides the default .ck-balloon-panel class colors ---------------------------------- */
  54. --ck-color-panel-background: var(--ck-custom-background);
  55. --ck-color-panel-border: var(--ck-custom-border);
  56. /* -- Overrides the default .ck-toolbar class colors ---------------------------------------- */
  57. --ck-color-toolbar-background: var(--ck-custom-background);
  58. --ck-color-toolbar-border: var(--ck-custom-border);
  59. /* -- Overrides the default .ck-tooltip class colors ---------------------------------------- */
  60. --ck-color-tooltip-background: hsl(252, 7%, 14%);
  61. --ck-color-tooltip-text: hsl(0, 0%, 93%);
  62. /* -- Overrides the default colors used by ckeditor5-image package -------------------------- */
  63. --ck-color-image-caption-background: hsl(0, 0%, 97%);
  64. --ck-color-image-caption-text: hsl(0, 0%, 20%);
  65. /* -- Overrides the default colors used by ckeditor5-widget package ------------------------- */
  66. --ck-color-widget-border-blurred: hsl(0, 0%, 87%);
  67. --ck-color-widget-border-hover: hsl(43, 100%, 68%);
  68. --ck-color-widget-editable-focused-background: var(--ck-custom-white);
  69. /* -- Overrides the default colors used by ckeditor5-link package ------------------------- */
  70. --ck-color-link-default: hsl(190, 100%, 75%);
  71. }