8
0

theme.scss 932 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. // Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
  2. // For licensing, see LICENSE.md or http://ckeditor.com/license
  3. @import '~@ckeditor/ckeditor5-theme-lark/theme/helpers/_spacing';
  4. @import '~@ckeditor/ckeditor5-theme-lark/theme/helpers/_fonts';
  5. .ck-heading_heading {
  6. &1 {
  7. font-size: 1.5em;
  8. }
  9. &2 {
  10. font-size: 1.3em;
  11. }
  12. &3 {
  13. font-size: 1.1em;
  14. }
  15. }
  16. // Using absolute units to make sure each element has the same height and padding.
  17. // https://github.com/ckeditor/ckeditor5-heading/issues/63
  18. [class*="ck-heading_"] {
  19. line-height: 1.8 * $ck-font-size-base;
  20. // Strip the units from $ck-def-spacing here.
  21. padding: $ck-def-spacing / ( $ck-def-spacing * 0 + 1 ) * $ck-font-size-base;
  22. }
  23. [class*="ck-heading_heading"] {
  24. font-weight: bold;
  25. }
  26. // Resize dropdown's button label.
  27. .ck-dropdown {
  28. &.ck-heading-dropdown {
  29. .ck-dropdown__button {
  30. .ck-button__label {
  31. width: 8em;
  32. }
  33. }
  34. }
  35. }