splitbutton.css 729 B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
  3. * For licensing, see LICENSE.md.
  4. */
  5. .ck-rounded-corners .ck-splitbutton > .ck-button:not(.ck-splitbutton-arrow) {
  6. border-top-right-radius: unset;
  7. border-bottom-right-radius: unset;
  8. &:focus {
  9. z-index: calc(var(--ck-z-default) + 1);
  10. }
  11. }
  12. .ck-rounded-corners .ck-splitbutton > .ck-splitbutton-arrow {
  13. border-top-left-radius: unset;
  14. border-bottom-left-radius: unset;
  15. }
  16. .ck-dropdown {
  17. /* Enable font size inheritance, which allows fluid UI scaling. */
  18. font-size: inherit;
  19. & .ck-splitbutton .ck-splitbutton-arrow svg {
  20. position: static;
  21. top: initial;
  22. transform: initial;
  23. right: auto;
  24. width: var(--ck-dropdown-icon-size);
  25. }
  26. }