balloonpanel.css 756 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /*
  2. * Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
  3. * For licensing, see LICENSE.md.
  4. */
  5. .ck-balloon-panel {
  6. display: none;
  7. position: absolute;
  8. z-index: var(--ck-z-modal);
  9. &.ck-balloon-panel_with-arrow {
  10. &::before,
  11. &::after {
  12. content: "";
  13. position: absolute;
  14. }
  15. &::before {
  16. z-index: var(--ck-z-default);
  17. }
  18. &::after {
  19. z-index: calc(var(--ck-z-default) + 1 );
  20. }
  21. }
  22. &[class*="arrow_n"] {
  23. &::before {
  24. z-index: var(--ck-z-default);
  25. }
  26. &::after {
  27. z-index: calc(var(--ck-z-default) + 1);
  28. }
  29. }
  30. &[class*="arrow_s"] {
  31. &::before {
  32. z-index: var(--ck-z-default);
  33. }
  34. &::after {
  35. z-index: calc(var(--ck-z-default) + 1);
  36. }
  37. }
  38. }
  39. .ck-balloon-panel_visible {
  40. display: block;
  41. }