balloonpanel.css 785 B

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